aboutsummaryrefslogtreecommitdiffstats
path: root/rust
Commit message (Collapse)AuthorAgeFilesLines
* mostly done with CRUD refactorBryan Newbold2018-09-073-625/+745
| | | | One failing test in this commit.
* batch inserts by defaultBryan Newbold2018-09-073-27/+95
|
* generic create (multiple inserts)Bryan Newbold2018-09-071-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 insertBryan Newbold2018-09-071-43/+51
|
* major CRUD refactorBryan Newbold2018-09-075-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 TODOBryan Newbold2018-09-061-0/+7
|
* skeleton create/delete endpoints for worksBryan Newbold2018-09-063-2/+293
| | | | Other entities just stubs
* codegen put/deleteBryan Newbold2018-09-069-42/+3101
|
* correct EditgroupAlreadyAccepted responseBryan Newbold2018-08-314-5/+14
|
* add bad request response type for eg acceptBryan Newbold2018-08-317-10/+14
|
* split/move docs aroundBryan Newbold2018-08-243-84/+61
|
* NOTES => rust_libraries.txtBryan Newbold2018-08-241-19/+0
|
* use index_val, not index, in SQL schemaBryan Newbold2018-08-204-16/+16
|
* add NOT NULL to other lookupsBryan Newbold2018-08-191-0/+6
|
* add hints for postgres query plannerBryan Newbold2018-08-191-0/+6
|
* add index on release_rev_abstract SHA1 columnBryan Newbold2018-08-191-0/+1
|
* add index on file_rev_url file_revBryan Newbold2018-08-191-0/+2
|
* create index on release_rev_abstractsBryan Newbold2018-08-181-0/+2
|
* ORCIDs can end in X characterBryan Newbold2018-08-164-6/+14
|
* trivial implementation of core_id field on releasesBryan Newbold2018-08-148-4/+20
|
* add core_id to schemasBryan Newbold2018-08-141-4/+6
|
* rust backups notesBryan Newbold2018-08-101-0/+30
|
* remove accidental printlnBryan Newbold2018-07-261-1/+0
|
* quick test for expand behaviorBryan Newbold2018-07-251-0/+11
|
* expand, not expendBryan Newbold2018-07-258-81/+81
|
* refactoring; expand keyword implBryan Newbold2018-07-252-45/+82
|
* API schema: identifier checking, expand query paramBryan Newbold2018-07-259-86/+520
|
* big transaction/conn refactorBryan Newbold2018-07-253-236/+189
|
* have get_editgroup take optional connBryan Newbold2018-07-252-10/+19
|
* actually ON CONFLICT abstract creation (and test)Bryan Newbold2018-07-252-3/+24
|
* update to most recent dieselBryan Newbold2018-07-251-4/+4
|
* abstracts; more testsBryan Newbold2018-07-255-47/+142
|
* pull in sha1 library (for abstracts)Bryan Newbold2018-07-253-0/+9
|
* contribs: raw -> raw_nameBryan Newbold2018-07-255-14/+14
|
* more external ident handlingBryan Newbold2018-07-257-15/+380
|
* actually add wikidata QIDs to the APIBryan Newbold2018-07-254-19/+49
|
* whole bunch of clippy fixesBryan Newbold2018-07-245-72/+73
|
* update error-chain to fix warningsBryan Newbold2018-07-242-2/+11
|
* use test db when debugging schemaBryan Newbold2018-07-241-1/+1
|
* partial implementation of new API featuresBryan Newbold2018-07-2413-120/+481
|
* tweaks/fixes to SQL changesBryan Newbold2018-07-242-7/+10
|
* bunch of SQL updatesBryan Newbold2018-07-231-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 stubBryan Newbold2018-07-201-8/+4
|
* oops, forgot revisions should be UUIDBryan Newbold2018-07-203-6/+17
|
* at least some rust editor/group testBryan Newbold2018-07-201-0/+35
|
* editor_id and editgroup_id as idents; revisions as raw UUIDBryan Newbold2018-07-207-115/+129
|
* update fatcat-api lib with schema changesBryan Newbold2018-07-209-431/+419
|
* update schema (sql and api) for rev ids, editor_id, editgroup_idBryan Newbold2018-07-201-113/+112
|
* format InvalidFatcatId errors in API response (hack)Bryan Newbold2018-07-201-4/+8
|
* more fcid testsBryan Newbold2018-07-201-0/+4
|