aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-202-2/+3
|
* many redirect implementationsBryan Newbold2018-12-145-38/+272
| | | | | | | | | | | | | | | | | | 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-143-13/+31
|
* lookups implBryan Newbold2018-12-142-30/+85
|
* new rustfmt (1.31)Bryan Newbold2018-12-145-63/+114
|
* skeleton out new schema featuresBryan Newbold2018-12-134-71/+485
|
* implement hide flagBryan Newbold2018-11-265-105/+227
|
* enforce some controlled vocabularies in APIBryan Newbold2018-11-144-0/+128
|
* 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-226-105/+75
|
* squelch diesel macro warningsBryan Newbold2018-09-182-0/+4
|
* fatcat-export rustfmtBryan Newbold2018-09-171-28/+50
|
* re-generate database_schema.rsBryan Newbold2018-09-171-23/+23
|
* fix CHECK clausesBryan Newbold2018-09-171-15/+15
|
* remove is_not_null redundant lookup conditionsBryan Newbold2018-09-151-12/+0
|
* switch to new null (not \N) dump formatBryan Newbold2018-09-131-4/+4
|
* fix rust in-line tests, and parse_line takes refBryan Newbold2018-09-122-7/+7
| | | | Forgot to run tests before pushing... thanks CI!
* improvements to fatcat-export outputBryan Newbold2018-09-111-24/+65
|
* improvements to fatcat-exportBryan Newbold2018-09-111-28/+77
|
* use idiomatic from_str for ExpandFlagsBryan Newbold2018-09-112-14/+18
|
* more subtle local ident check in release.db_expand()Bryan Newbold2018-09-111-4/+4
|
* first pass fast exportBryan Newbold2018-09-112-1/+162
|
* implement new editgroup_id behaviorBryan Newbold2018-09-114-59/+52
|
* refactor entity get and 'expansion'Bryan Newbold2018-09-113-81/+64
|
* derive PartialEq for FatCatIdBryan Newbold2018-09-111-1/+1
|
* add ExpandFlags typeBryan Newbold2018-09-111-0/+72
|
* finish fatcat-api => fatcat-api-spec refactorBryan Newbold2018-09-117-14/+14
|
* new rustfmtBryan Newbold2018-09-112-26/+35
|
* rust clippy (lint) tweaksBryan Newbold2018-09-114-14/+15
|
* use JSONB over JSONBryan Newbold2018-09-101-13/+13
| | | | | | Sort of an impulsive "why not" decision. From earlier tests, expect this to consume a few % more disk (but not index)... adds a lot more query flexibility if we want that in the future. Seems worth the price.
* many small API cleanupsBryan Newbold2018-09-105-193/+148
| | | | | | - 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-104-276/+60
| | | | | | | | 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-104-3/+3
|
* generic edit accept, and per-row variantBryan Newbold2018-09-092-44/+158
| | | | The per-row variant is for use with cockroach.
* api_server: give up and use star schema importBryan Newbold2018-09-091-6/+1
|
* parallelize abstracts insertionBryan Newbold2018-09-091-15/+20
|
* TODO and commentBryan Newbold2018-09-071-1/+0
|
* fixes after autoaccept mergeBryan Newbold2018-09-074-49/+41
|
* fmtBryan Newbold2018-09-075-207/+364
|
* Merge branch 'autoaccept' into http-verbsBryan Newbold2018-09-072-3/+34
|\ | | | | | | | | | | | | | | | | Started resolving conflicts in: TODO notes/cloud_instances.txt rust/fatcat-api/README.md rust/src/api_server.rs
| * editgroup IDs are fcid, not uuidBryan Newbold2018-08-301-1/+1
| |
| * editgroup parameter for batch insertsBryan Newbold2018-08-302-6/+21
| |
| * implement autoacceptBryan Newbold2018-08-202-20/+46
| | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag
* | fix/replace a lot of expect() callsBryan Newbold2018-09-072-47/+46
| |
* | mostly done with CRUD refactorBryan Newbold2018-09-073-625/+745
| | | | | | | | One failing test in this commit.
* | batch inserts by defaultBryan Newbold2018-09-073-27/+95
| |