summaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
Commit message (Collapse)AuthorAgeFilesLines
* WIP on annotations and editgroup accessorsBryan Newbold2019-01-111-2/+26
|
* WIP on annotations and changesBryan Newbold2019-01-101-0/+6
|
* start removing active editgroup codeBryan Newbold2019-01-091-1/+0
|
* huge refactor of rust modules/filesBryan Newbold2019-01-081-2/+2
| | | | | | Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also.
* rust 2018 edition!Bryan Newbold2019-01-081-3/+3
| | | | Only the basics to get things to compile/test again in this commit.
* add superuser role/flagBryan Newbold2019-01-041-0/+1
|
* start to impl oidc authBryan Newbold2019-01-031-2/+26
|
* make editor_id optional when createding editgroupBryan Newbold2018-12-311-1/+1
| | | | The editor_id can be infered from auth metadata.
* start refactor of auth codeBryan Newbold2018-12-281-1/+1
| | | | | | | Pulls auth code (which requires the persistent state of a signing keyring) into a struct. Doesn't try verify macaroon in middleware, do it in individual wrappers.
* sql codegen and WIP on auth commandBryan Newbold2018-12-271-0/+3
|
* impl edit_id changeBryan Newbold2018-12-261-2/+2
|
* rust impl last webcapture schema tweaksBryan Newbold2018-12-261-4/+4
|
* fileset/web basic implementationBryan Newbold2018-12-261-4/+151
| | | | | | As well as small consistency and bugfix implementations. No new tests yet...
* 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