summaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
Commit message (Collapse)AuthorAgeFilesLines
* rust impl of API harmonizationBryan Newbold2018-12-241-1/+1
|
* implement release_year (and rustfmt)Bryan Newbold2018-12-241-0/+2
|
* allow deletion of redirect-to-deletionBryan Newbold2018-12-201-1/+2
|
* many redirect implementationsBryan Newbold2018-12-141-2/+2
| | | | | | | | | | | | | | | | | | Probably should have split this commit up, it's huge: - accept the state of "redirect to a deletion", where redirect_id is Some but rev_id is None. call this a "redirect"; previously this was an invalid state. - GET for a deleted entity returns a 200 and a stub entity, not a 404 - to PUT a redirect, or to "revert" an entity to point at a specific pre-existing revision, PUT a stub entity. things are getting messy here... to detect this state, ensure the 'state' field is blank/none (this is for API usage ergonomics, where results from a GET are often re-used in a PUT or even POST) - rustfmt - maybe even more small tweaks along the way? mystery meat! Tests are in python, not rust (and a future commit)
* new rustfmt (1.31)Bryan Newbold2018-12-141-1/+2
|
* rustfmt, and implement schema tweaksBryan Newbold2018-09-221-8/+8
|
* squelch diesel macro warningsBryan Newbold2018-09-181-0/+2
|
* finish fatcat-api => fatcat-api-spec refactorBryan Newbold2018-09-111-1/+1
|
* fmtBryan Newbold2018-09-071-5/+24
|
* mostly done with CRUD refactorBryan Newbold2018-09-071-0/+57
| | | | One failing test in this commit.
* batch inserts by defaultBryan Newbold2018-09-071-6/+39
|
* use index_val, not index, in SQL schemaBryan Newbold2018-08-201-4/+4
|
* trivial implementation of core_id field on releasesBryan Newbold2018-08-141-0/+1
|
* abstracts; more testsBryan Newbold2018-07-251-2/+9
|
* whole bunch of clippy fixesBryan Newbold2018-07-241-4/+4
|
* partial implementation of new API featuresBryan Newbold2018-07-241-8/+53
|
* oops, forgot revisions should be UUIDBryan Newbold2018-07-201-1/+1
|
* editor_id and editgroup_id as idents; revisions as raw UUIDBryan Newbold2018-07-201-25/+25
|
* rust: base32 encoded identsBryan Newbold2018-07-201-2/+3
|
* generic changelog endpointsBryan Newbold2018-06-301-0/+1
|
* history for container entitiesBryan Newbold2018-06-301-1/+25
|
* consistent volume/issue/pages orderingBryan Newbold2018-06-191-1/+1
|
* update rust/api for schema extensionsBryan Newbold2018-06-041-6/+22
|
* refactor editgroup getBryan Newbold2018-05-261-1/+1
|
* even more refactoringBryan Newbold2018-05-261-0/+19
|
* tweak schema (api and sql)Bryan Newbold2018-05-261-6/+11
|
* return all edits for an editgroup GETBryan Newbold2018-05-251-1/+1
|
* index for contribsBryan Newbold2018-05-251-2/+2
|
* file_releaseBryan Newbold2018-05-251-2/+1
|
* refs and contribsBryan Newbold2018-05-251-13/+33
|
* edit lists, refs, contribsBryan Newbold2018-05-251-2/+0
|
* revision publish date as DateBryan Newbold2018-05-241-1/+1
|
* extra_json in SQL schema and implementationBryan Newbold2018-05-241-6/+6
|
* end-to-end extra_json exampleBryan Newbold2018-05-241-1/+1
|
* update codegen and hack-fix testsBryan Newbold2018-05-241-2/+2
|
* more i64 cleanupBryan Newbold2018-05-241-1/+1
|
* WIP on API spec improvementsBryan Newbold2018-05-241-8/+8
| | | | Fixes a bunch of i64/i32/isize stuff
* add state param generationBryan Newbold2018-05-241-0/+37
|
* progressBryan Newbold2018-05-161-10/+10
|
* implement simplifications and more GETsBryan Newbold2018-05-161-4/+2
|
* fmtBryan Newbold2018-05-151-9/+21
|
* progress on insertsBryan Newbold2018-05-151-4/+2
| | | | Using a huge sql_query() to do raw multi-table inserts for now.
* hack around JSON serialization for nowBryan Newbold2018-05-151-2/+3
|
* flush out more database modelsBryan Newbold2018-05-151-182/+118
|
* progress on database lookupBryan Newbold2018-05-151-0/+222