summaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* use idiomatic from_str for ExpandFlagsBryan Newbold2018-09-112-14/+18
|
* more subtle local ident check in release.db_expand()Bryan Newbold2018-09-111-4/+4
|
* first pass fast exportBryan Newbold2018-09-112-1/+162
|
* implement new editgroup_id behaviorBryan Newbold2018-09-114-59/+52
|
* refactor entity get and 'expansion'Bryan Newbold2018-09-113-81/+64
|
* derive PartialEq for FatCatIdBryan Newbold2018-09-111-1/+1
|
* add ExpandFlags typeBryan Newbold2018-09-111-0/+72
|
* finish fatcat-api => fatcat-api-spec refactorBryan Newbold2018-09-117-14/+14
|
* new rustfmtBryan Newbold2018-09-112-26/+35
|
* rust clippy (lint) tweaksBryan Newbold2018-09-114-14/+15
|
* use JSONB over JSONBryan Newbold2018-09-101-13/+13
| | | | | | Sort of an impulsive "why not" decision. From earlier tests, expect this to consume a few % more disk (but not index)... adds a lot more query flexibility if we want that in the future. Seems worth the price.
* many small API cleanupsBryan Newbold2018-09-105-193/+148
| | | | | | - use FatCatId much more often (though not everywhere yet) - more consistent types - remove redundant error handling code in wrappers
* continue CRUD refactor, removing CUD handlersBryan Newbold2018-09-104-276/+60
| | | | | | | | Can't remove the "get" handlers because of the expand parameter, which is only implemented for releases and in the handler (not in the CRUD trait, yet). Also didn't do the batch handler stuff yet.
* squelch unused macro warningBryan Newbold2018-09-101-0/+2
|
* database_entity_crud -> api_entity_crudBryan Newbold2018-09-104-3/+3
|
* generic edit accept, and per-row variantBryan Newbold2018-09-092-44/+158
| | | | The per-row variant is for use with cockroach.
* api_server: give up and use star schema importBryan Newbold2018-09-091-6/+1
|
* parallelize abstracts insertionBryan Newbold2018-09-091-15/+20
|
* TODO and commentBryan Newbold2018-09-071-1/+0
|
* fixes after autoaccept mergeBryan Newbold2018-09-074-49/+41
|
* fmtBryan Newbold2018-09-075-207/+364
|
* Merge branch 'autoaccept' into http-verbsBryan Newbold2018-09-072-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 uuidBryan Newbold2018-08-301-1/+1
| |
| * editgroup parameter for batch insertsBryan Newbold2018-08-302-6/+21
| |
| * implement autoacceptBryan Newbold2018-08-202-20/+46
| | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag
* | fix/replace a lot of expect() callsBryan Newbold2018-09-072-47/+46
| |
* | 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-074-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 worksBryan Newbold2018-09-062-2/+228
| | | | | | | | Other entities just stubs
* | correct EditgroupAlreadyAccepted responseBryan Newbold2018-08-314-5/+14
|/
* use index_val, not index, in SQL schemaBryan Newbold2018-08-203-12/+12
|
* add NOT NULL to other lookupsBryan Newbold2018-08-191-0/+6
|
* add hints for postgres query plannerBryan Newbold2018-08-191-0/+6
|
* ORCIDs can end in X characterBryan Newbold2018-08-161-1/+9
|
* trivial implementation of core_id field on releasesBryan Newbold2018-08-143-3/+7
|
* remove accidental printlnBryan Newbold2018-07-261-1/+0
|
* refactoring; expand keyword implBryan Newbold2018-07-252-45/+82
|
* 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-251-3/+3
|
* abstracts; more testsBryan Newbold2018-07-254-41/+93
|
* pull in sha1 library (for abstracts)Bryan Newbold2018-07-251-0/+1
|
* more external ident handlingBryan Newbold2018-07-254-10/+144
|
* whole bunch of clippy fixesBryan Newbold2018-07-245-72/+73
|
* partial implementation of new API featuresBryan Newbold2018-07-243-60/+195
|
* oops, forgot revisions should be UUIDBryan Newbold2018-07-202-6/+6
|
* editor_id and editgroup_id as idents; revisions as raw UUIDBryan Newbold2018-07-205-106/+109
|