summaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
Commit message (Collapse)AuthorAgeFilesLines
* rust: fix creator field order manglingBryan Newbold2019-05-131-4/+4
| | | | | It's sort of disturbing that this sort of typo/bug can have an actual runtime impact. (struct field order must match schema order)
* basic impl of extid changesBryan Newbold2019-05-101-10/+8
|
* impl withdrawn_statusBryan Newbold2019-05-101-2/+2
|
* rust impl cdx extra_json removalBryan Newbold2019-05-091-2/+0
|
* basic impl of new SQL schema in rust code (not wired to API)Bryan Newbold2019-05-081-6/+30
|
* rust impl of new fieldsBryan Newbold2019-01-211-4/+12
|
* impl cdx timestamps as datetimeBryan Newbold2019-01-181-3/+3
|
* rust fmtBryan Newbold2019-01-171-1/+3
|
* add interstitial JSON serde model to citation internmentBryan Newbold2019-01-141-10/+82
|
* first draft implementation of ref interningBryan Newbold2019-01-111-16/+13
|
* implement since/before ordering for range requestsBryan Newbold2019-01-111-1/+2
|
* yet more edit lifecycle progressBryan Newbold2019-01-111-0/+2
|
* 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
|