summaryrefslogtreecommitdiffstats
path: root/rust/src/api_helpers.rs
Commit message (Collapse)AuthorAgeFilesLines
* basic auth unittestsBryan Newbold2018-12-281-1/+1
|
* more auth refactoringBryan Newbold2018-12-281-0/+12
|
* fileset/web basic implementationBryan Newbold2018-12-261-3/+39
| | | | | | As well as small consistency and bugfix implementations. No new tests yet...
* implement release_year (and rustfmt)Bryan Newbold2018-12-241-7/+15
|
* verify checksum against regexesBryan Newbold2018-12-211-1/+72
|
* more edit edgecases; editgroup status checkBryan Newbold2018-12-211-0/+17
|
* new rustfmt (1.31)Bryan Newbold2018-12-141-8/+16
|
* implement hide flagBryan Newbold2018-11-261-23/+70
|
* enforce some controlled vocabularies in APIBryan Newbold2018-11-141-0/+106
|
* fix rust in-line tests, and parse_line takes refBryan Newbold2018-09-121-5/+5
| | | | Forgot to run tests before pushing... thanks CI!
* use idiomatic from_str for ExpandFlagsBryan Newbold2018-09-111-13/+17
|
* implement new editgroup_id behaviorBryan Newbold2018-09-111-16/+25
|
* 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-111-1/+1
|
* rust clippy (lint) tweaksBryan Newbold2018-09-111-1/+2
|
* many small API cleanupsBryan Newbold2018-09-101-16/+19
| | | | | | - 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-101-0/+29
| | | | | | | | 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.
* database_entity_crud -> api_entity_crudBryan Newbold2018-09-101-1/+1
|
* generic edit accept, and per-row variantBryan Newbold2018-09-091-38/+12
| | | | The per-row variant is for use with cockroach.
* fixes after autoaccept mergeBryan Newbold2018-09-071-0/+1
|
* fmtBryan Newbold2018-09-071-2/+3
|
* major CRUD refactorBryan Newbold2018-09-071-0/+27
| | | | | | | | | | | | | | | 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)
* correct EditgroupAlreadyAccepted responseBryan Newbold2018-08-311-4/+1
|
* ORCIDs can end in X characterBryan Newbold2018-08-161-1/+9
|
* big transaction/conn refactorBryan Newbold2018-07-251-71/+69
|
* abstracts; more testsBryan Newbold2018-07-251-25/+30
|
* more external ident handlingBryan Newbold2018-07-251-0/+84
|
* whole bunch of clippy fixesBryan Newbold2018-07-241-1/+1
|
* editor_id and editgroup_id as idents; revisions as raw UUIDBryan Newbold2018-07-201-5/+8
|
* rust: base32 encoded identsBryan Newbold2018-07-201-0/+21
|
* WIP on API spec improvementsBryan Newbold2018-05-241-16/+9
| | | | Fixes a bunch of i64/i32/isize stuff
* editgroup accept functionBryan Newbold2018-05-241-1/+67
|
* get_or_create_editgroup() helper for POSTsBryan Newbold2018-05-241-0/+28