Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 5 | -85/+336 |
| | | | | | | | | | | | | | | | 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) | ||||
* | update TODO | Bryan Newbold | 2018-09-06 | 1 | -0/+7 |
| | |||||
* | skeleton create/delete endpoints for works | Bryan Newbold | 2018-09-06 | 3 | -2/+293 |
| | | | | Other entities just stubs | ||||
* | codegen put/delete | Bryan Newbold | 2018-09-06 | 9 | -42/+3101 |
| | |||||
* | correct EditgroupAlreadyAccepted response | Bryan Newbold | 2018-08-31 | 4 | -5/+14 |
| | |||||
* | add bad request response type for eg accept | Bryan Newbold | 2018-08-31 | 7 | -10/+14 |
| | |||||
* | split/move docs around | Bryan Newbold | 2018-08-24 | 3 | -84/+61 |
| | |||||
* | NOTES => rust_libraries.txt | Bryan Newbold | 2018-08-24 | 1 | -19/+0 |
| | |||||
* | use index_val, not index, in SQL schema | Bryan Newbold | 2018-08-20 | 4 | -16/+16 |
| | |||||
* | 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 |
| | |||||
* | add index on release_rev_abstract SHA1 column | Bryan Newbold | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | add index on file_rev_url file_rev | Bryan Newbold | 2018-08-19 | 1 | -0/+2 |
| | |||||
* | create index on release_rev_abstracts | Bryan Newbold | 2018-08-18 | 1 | -0/+2 |
| | |||||
* | ORCIDs can end in X character | Bryan Newbold | 2018-08-16 | 4 | -6/+14 |
| | |||||
* | trivial implementation of core_id field on releases | Bryan Newbold | 2018-08-14 | 8 | -4/+20 |
| | |||||
* | add core_id to schemas | Bryan Newbold | 2018-08-14 | 1 | -4/+6 |
| | |||||
* | rust backups notes | Bryan Newbold | 2018-08-10 | 1 | -0/+30 |
| | |||||
* | remove accidental println | Bryan Newbold | 2018-07-26 | 1 | -1/+0 |
| | |||||
* | quick test for expand behavior | Bryan Newbold | 2018-07-25 | 1 | -0/+11 |
| | |||||
* | expand, not expend | Bryan Newbold | 2018-07-25 | 8 | -81/+81 |
| | |||||
* | refactoring; expand keyword impl | Bryan Newbold | 2018-07-25 | 2 | -45/+82 |
| | |||||
* | API schema: identifier checking, expand query param | Bryan Newbold | 2018-07-25 | 9 | -86/+520 |
| | |||||
* | 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 | 2 | -3/+24 |
| | |||||
* | update to most recent diesel | Bryan Newbold | 2018-07-25 | 1 | -4/+4 |
| | |||||
* | abstracts; more tests | Bryan Newbold | 2018-07-25 | 5 | -47/+142 |
| | |||||
* | pull in sha1 library (for abstracts) | Bryan Newbold | 2018-07-25 | 3 | -0/+9 |
| | |||||
* | contribs: raw -> raw_name | Bryan Newbold | 2018-07-25 | 5 | -14/+14 |
| | |||||
* | more external ident handling | Bryan Newbold | 2018-07-25 | 7 | -15/+380 |
| | |||||
* | actually add wikidata QIDs to the API | Bryan Newbold | 2018-07-25 | 4 | -19/+49 |
| | |||||
* | whole bunch of clippy fixes | Bryan Newbold | 2018-07-24 | 5 | -72/+73 |
| | |||||
* | update error-chain to fix warnings | Bryan Newbold | 2018-07-24 | 2 | -2/+11 |
| | |||||
* | use test db when debugging schema | Bryan Newbold | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | partial implementation of new API features | Bryan Newbold | 2018-07-24 | 13 | -120/+481 |
| | |||||
* | tweaks/fixes to SQL changes | Bryan Newbold | 2018-07-24 | 2 | -7/+10 |
| | |||||
* | bunch of SQL updates | Bryan Newbold | 2018-07-23 | 1 | -48/+105 |
| | | | | | | | | | - file urls as a table - more external identifiers (eg, pmcid, wikidata) - release ref and contrib mostly as JSON - abstracts - timestamps - fixed size external identifiers (CHAR not TEXT) | ||||
* | sql: work really an empty stub | Bryan Newbold | 2018-07-20 | 1 | -8/+4 |
| | |||||
* | oops, forgot revisions should be UUID | Bryan Newbold | 2018-07-20 | 3 | -6/+17 |
| | |||||
* | at least some rust editor/group test | Bryan Newbold | 2018-07-20 | 1 | -0/+35 |
| | |||||
* | editor_id and editgroup_id as idents; revisions as raw UUID | Bryan Newbold | 2018-07-20 | 7 | -115/+129 |
| | |||||
* | update fatcat-api lib with schema changes | Bryan Newbold | 2018-07-20 | 9 | -431/+419 |
| | |||||
* | update schema (sql and api) for rev ids, editor_id, editgroup_id | Bryan Newbold | 2018-07-20 | 1 | -113/+112 |
| | |||||
* | format InvalidFatcatId errors in API response (hack) | Bryan Newbold | 2018-07-20 | 1 | -4/+8 |
| | |||||
* | more fcid tests | Bryan Newbold | 2018-07-20 | 1 | -0/+4 |
| |