summaryrefslogtreecommitdiffstats
path: root/rust/src/api_entity_crud.rs
Commit message (Collapse)AuthorAgeFilesLines
* impl edit_id changeBryan Newbold2018-12-261-4/+4
|
* rust impl last webcapture schema tweaksBryan Newbold2018-12-261-1/+1
|
* most basic fileset/web access testsBryan Newbold2018-12-261-2/+2
|
* fileset/web basic implementationBryan Newbold2018-12-261-18/+448
| | | | | | As well as small consistency and bugfix implementations. No new tests yet...
* rust impl of API harmonizationBryan Newbold2018-12-241-3/+3
|
* implement release_year (and rustfmt)Bryan Newbold2018-12-241-9/+25
|
* verify checksum against regexesBryan Newbold2018-12-211-0/+13
|
* clarify expand of non-concrete releaseBryan Newbold2018-12-211-2/+5
|
* expand files for target of redirectBryan Newbold2018-12-211-1/+6
|
* don't expand deleted entitiesBryan Newbold2018-12-211-0/+4
|
* allow expand creators in release getsBryan Newbold2018-12-211-0/+12
|
* test prev_rev behaviorBryan Newbold2018-12-211-3/+8
|
* more state/edit edge case testsBryan Newbold2018-12-211-5/+37
|
* fix order of entity updateBryan Newbold2018-12-201-17/+20
|
* disallow self-redirectsBryan Newbold2018-12-201-4/+13
|
* enforce no-recursive-redirectsBryan Newbold2018-12-201-12/+39
|
* allow deletion of redirect-to-deletionBryan Newbold2018-12-201-1/+1
|
* many redirect implementationsBryan Newbold2018-12-141-10/+235
| | | | | | | | | | | | | | | | | | 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)
* better return status for some error conditionsBryan Newbold2018-12-141-12/+9
|
* new rustfmt (1.31)Bryan Newbold2018-12-141-39/+70
|
* skeleton out new schema featuresBryan Newbold2018-12-131-7/+73
|
* implement hide flagBryan Newbold2018-11-261-60/+79
|
* enforce some controlled vocabularies in APIBryan Newbold2018-11-141-0/+10
|
* fix date/datetime confusion on rust/API sideBryan Newbold2018-11-141-5/+2
| | | | | | Should have dug in to this earlier; python code was getting confused. This is a breaking API change, from a practical standpoint, as both python and rust code had been hacked to work around this.
* rustfmt, and implement schema tweaksBryan Newbold2018-09-221-69/+39
|
* more subtle local ident check in release.db_expand()Bryan Newbold2018-09-111-4/+4
|
* implement new editgroup_id behaviorBryan Newbold2018-09-111-29/+8
|
* refactor entity get and 'expansion'Bryan Newbold2018-09-111-5/+32
|
* finish fatcat-api => fatcat-api-spec refactorBryan Newbold2018-09-111-1/+1
|
* new rustfmtBryan Newbold2018-09-111-9/+14
|
* rust clippy (lint) tweaksBryan Newbold2018-09-111-6/+6
|
* many small API cleanupsBryan Newbold2018-09-101-57/+25
| | | | | | - 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-8/+0
| | | | | | | | 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.
* squelch unused macro warningBryan Newbold2018-09-101-0/+2
|
* database_entity_crud -> api_entity_crudBryan Newbold2018-09-101-0/+1145