aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* database_entity_crud -> api_entity_crudBryan Newbold2018-09-101-1/+1
|
* fmtBryan Newbold2018-09-071-1/+1
|
* major CRUD refactorBryan Newbold2018-09-071-0/+1
| | | | | | | | | | | | | | | 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-0/+4
|
* pull in sha1 library (for abstracts)Bryan Newbold2018-07-251-0/+1
|
* more external ident handlingBryan Newbold2018-07-251-0/+7
|
* whole bunch of clippy fixesBryan Newbold2018-07-241-1/+2
|
* rust: base32 encoded identsBryan Newbold2018-07-201-20/+6
|
* entity ident (fcid) UUID helpersBryan Newbold2018-07-201-0/+21
| | | | | Could perhaps implement these as impl methods on the uuid::Uuid struct instead?
* refactor massive rust api_server into api_wrappersBryan Newbold2018-06-301-0/+1
| | | | | The wrappers file contains the "glue" code to map to fatcat-api (openapi2 codegen) function signatures.
* actually log errorsBryan Newbold2018-06-211-0/+2
|
* implement (most) of stats endpointBryan Newbold2018-06-191-0/+2
|
* batch POST methodsBryan Newbold2018-05-271-0/+1
|
* WIP on API spec improvementsBryan Newbold2018-05-241-3/+2
| | | | Fixes a bunch of i64/i32/isize stuff
* basic test for editgroup acceptBryan Newbold2018-05-241-13/+18
|
* get_or_create_editgroup() helper for POSTsBryan Newbold2018-05-241-0/+1
|
* clean up unused macro etc warningsBryan Newbold2018-05-241-2/+0
|
* run diesel migrations in testsBryan Newbold2018-05-241-2/+18
|
* use diesel::r2d2 instead of r2d2 directlyBryan Newbold2018-05-241-3/+2
|
* refactor error handlingBryan Newbold2018-05-151-1/+11
|
* fmtBryan Newbold2018-05-151-2/+2
|
* hack around JSON serialization for nowBryan Newbold2018-05-151-0/+1
|
* progress on database lookupBryan Newbold2018-05-151-1/+5
|
* more cleanupsBryan Newbold2018-05-151-1/+1
|
* start ripping out cruftBryan Newbold2018-05-151-4/+2
|
* fmtBryan Newbold2018-05-151-12/+16
|
* working db_pool and responseBryan Newbold2018-05-151-3/+14
|
* fix build (non-functional though)Bryan Newbold2018-05-151-1/+0
|
* broken diesel+iron integrationBryan Newbold2018-05-151-0/+2
|
* implement HTTP header middlewareBryan Newbold2018-05-151-3/+18
| | | | getting more familar with iron
* revert to v2.3.1 codegenBryan Newbold2018-05-151-15/+3
| | | | | This reverts back to something compatible with Iron and simple (blocking) parallelism, instead of the new async hyper 0.11 stuff.
* regenerated and pseudo-integratedBryan Newbold2018-05-141-6/+34
|
* add scratch rust stuffBryan Newbold2018-05-131-0/+18