Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | api_server: give up and use star schema import | Bryan Newbold | 2018-09-09 | 1 | -6/+1 |
| | |||||
* | parallelize abstracts insertion | Bryan Newbold | 2018-09-09 | 1 | -15/+20 |
| | |||||
* | TODO and comment | Bryan Newbold | 2018-09-07 | 1 | -1/+0 |
| | |||||
* | fixes after autoaccept merge | Bryan Newbold | 2018-09-07 | 4 | -49/+41 |
| | |||||
* | fmt | Bryan Newbold | 2018-09-07 | 5 | -207/+364 |
| | |||||
* | Merge branch 'autoaccept' into http-verbs | Bryan Newbold | 2018-09-07 | 2 | -3/+34 |
|\ | | | | | | | | | | | | | | | | | Started resolving conflicts in: TODO notes/cloud_instances.txt rust/fatcat-api/README.md rust/src/api_server.rs | ||||
| * | editgroup IDs are fcid, not uuid | Bryan Newbold | 2018-08-30 | 1 | -1/+1 |
| | | |||||
| * | editgroup parameter for batch inserts | Bryan Newbold | 2018-08-30 | 2 | -6/+21 |
| | | |||||
| * | implement autoaccept | Bryan Newbold | 2018-08-20 | 2 | -20/+46 |
| | | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag | ||||
* | | fix/replace a lot of expect() calls | Bryan Newbold | 2018-09-07 | 2 | -47/+46 |
| | | |||||
* | | mostly done with CRUD refactor | Bryan Newbold | 2018-09-07 | 3 | -625/+745 |
| | | | | | | | | One failing test in this commit. | ||||
* | | batch inserts by default | Bryan Newbold | 2018-09-07 | 3 | -27/+95 |
| | | |||||
* | | generic create (multiple inserts) | Bryan Newbold | 2018-09-07 | 1 | -26/+24 |
| | | | | | | | | | | | | | | This does away entirely with the fancy CTE-based custom SQL inserts. Because performance is currently only important for batch inserts, I think this is acceptable, and will refactor to do batch inserts as actual batch SQL operations next. | ||||
* | | crud: refactor to split out rev insert | Bryan Newbold | 2018-09-07 | 1 | -43/+51 |
| | | |||||
* | | major CRUD refactor | Bryan Newbold | 2018-09-07 | 4 | -85/+302 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the start of a large refactor to move all entity CRUD (create, read, update, delete) model/database code into it's own file. HACKING has been updated with an overview of what happens in each file. Next steps: - split rev (and sub-table) insertion in to db_rev_insert and make create/update generic - inserts should be batch (vector) by default - move all other entities into this new trait framework - bypass api_server wrappers and call into CRUD from api_wrappers for entity ops (should be a big cleanup) | ||||
* | | skeleton create/delete endpoints for works | Bryan Newbold | 2018-09-06 | 2 | -2/+228 |
| | | | | | | | | Other entities just stubs | ||||
* | | correct EditgroupAlreadyAccepted response | Bryan Newbold | 2018-08-31 | 4 | -5/+14 |
|/ | |||||
* | use index_val, not index, in SQL schema | Bryan Newbold | 2018-08-20 | 3 | -12/+12 |
| | |||||
* | add NOT NULL to other lookups | Bryan Newbold | 2018-08-19 | 1 | -0/+6 |
| | |||||
* | add hints for postgres query planner | Bryan Newbold | 2018-08-19 | 1 | -0/+6 |
| | |||||
* | ORCIDs can end in X character | Bryan Newbold | 2018-08-16 | 1 | -1/+9 |
| | |||||
* | trivial implementation of core_id field on releases | Bryan Newbold | 2018-08-14 | 3 | -3/+7 |
| | |||||
* | remove accidental println | Bryan Newbold | 2018-07-26 | 1 | -1/+0 |
| | |||||
* | refactoring; expand keyword impl | Bryan Newbold | 2018-07-25 | 2 | -45/+82 |
| | |||||
* | big transaction/conn refactor | Bryan Newbold | 2018-07-25 | 3 | -236/+189 |
| | |||||
* | have get_editgroup take optional conn | Bryan Newbold | 2018-07-25 | 2 | -10/+19 |
| | |||||
* | actually ON CONFLICT abstract creation (and test) | Bryan Newbold | 2018-07-25 | 1 | -3/+3 |
| | |||||
* | abstracts; more tests | Bryan Newbold | 2018-07-25 | 4 | -41/+93 |
| | |||||
* | pull in sha1 library (for abstracts) | Bryan Newbold | 2018-07-25 | 1 | -0/+1 |
| | |||||
* | more external ident handling | Bryan Newbold | 2018-07-25 | 4 | -10/+144 |
| | |||||
* | whole bunch of clippy fixes | Bryan Newbold | 2018-07-24 | 5 | -72/+73 |
| | |||||
* | partial implementation of new API features | Bryan Newbold | 2018-07-24 | 3 | -60/+195 |
| | |||||
* | oops, forgot revisions should be UUID | Bryan Newbold | 2018-07-20 | 2 | -6/+6 |
| | |||||
* | editor_id and editgroup_id as idents; revisions as raw UUID | Bryan Newbold | 2018-07-20 | 5 | -106/+109 |
| | |||||
* | format InvalidFatcatId errors in API response (hack) | Bryan Newbold | 2018-07-20 | 1 | -4/+8 |
| | |||||
* | rust: base32 encoded idents | Bryan Newbold | 2018-07-20 | 5 | -63/+79 |
| | |||||
* | entity ident (fcid) UUID helpers | Bryan Newbold | 2018-07-20 | 1 | -0/+21 |
| | | | | | Could perhaps implement these as impl methods on the uuid::Uuid struct instead? | ||||
* | refactor massive rust api_server into api_wrappers | Bryan Newbold | 2018-06-30 | 3 | -439/+468 |
| | | | | | The wrappers file contains the "glue" code to map to fatcat-api (openapi2 codegen) function signatures. | ||||
* | generic changelog endpoints | Bryan Newbold | 2018-06-30 | 2 | -7/+79 |
| | |||||
* | respect more flag for stats endpoint | Bryan Newbold | 2018-06-30 | 1 | -23/+30 |
| | |||||
* | fix release ref and contrib ordering | Bryan Newbold | 2018-06-30 | 1 | -0/+2 |
| | |||||
* | add remaining history endpoints | Bryan Newbold | 2018-06-30 | 1 | -82/+105 |
| | |||||
* | history for container entities | Bryan Newbold | 2018-06-30 | 2 | -1/+81 |
| | |||||
* | refactor changelog entry spec structure | Bryan Newbold | 2018-06-30 | 1 | -2/+2 |
| | |||||
* | auto-create works for releases | Bryan Newbold | 2018-06-28 | 1 | -2/+19 |
| | | | | | | | If a work_id isn't supplied, create a new work and link it. Note that the work_id doesn't get passed back in the response, only the release_id. | ||||
* | no more default/mangled HTTP status codes | Bryan Newbold | 2018-06-21 | 2 | -17/+25 |
| | |||||
* | actually log errors | Bryan Newbold | 2018-06-21 | 2 | -12/+32 |
| | |||||
* | have fatcatd declare it's port on startup | Bryan Newbold | 2018-06-20 | 1 | -1/+4 |
| | |||||
* | handle UUID errors as HTTP 400 | Bryan Newbold | 2018-06-20 | 1 | -2/+6 |
| | |||||
* | consistent volume/issue/pages ordering | Bryan Newbold | 2018-06-19 | 2 | -4/+4 |
| |