aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/entity_crud.rs
Commit message (Collapse)AuthorAgeFilesLines
* rust: implement content_scopeBryan Newbold2021-11-171-0/+9
|
* api: add SQL 'ORDER BY' to many reads to stabilize API array orderingBryan Newbold2021-11-051-3/+14
| | | | | | | | | | | | | | The hope is to make things like file entity URLs, fileset manifests, and other arrays in the JSON API "stable", meaning that if you create an entity with a list of a given order, a read back (in any environment, including prod/QA, bulk dumps, etc) will return the array with the same sort order. This was informally happening most of the time, but occasionally not (!) Assumption is that these sorts will have little or no performance impact, as the common case is less than a dozen elements, and the hard cases are a few thousand at most, and there is already a sorted index.
* rust: prep for possible DOI lowercase enforcementBryan Newbold2021-10-131-1/+5
| | | | | | See also: https://github.com/internetarchive/fatcat/issues/83 This commit is no behavior change, just leaving a note to self.
* rust: implement scheman and API changesBryan Newbold2021-10-131-0/+34
|
* fatcat-api: enforce more release ext_id checks at create/updateBryan Newbold2021-10-131-2/+15
| | | | Not enforcing these was a serious bug!
* update fatcatd rust code for 'oai' external identifierBryan Newbold2020-11-191-0/+10
|
* rustfmtBryan Newbold2020-11-191-3/+5
|
* rust: fatcatd changes for DOAJ+dblp identifiersBryan Newbold2020-11-191-0/+20
|
* fatcatd: fix corner-case in abstracts insertionBryan Newbold2020-01-151-1/+4
| | | | | | | | | | | | | Both the release_abstract relation table and the abstracts table inserts were being gated by a check on new abstracts table rows. I *think* the chance of this having caused problems is low. The most likely would have been updates to exiting entities that somehow removed the abstracts content, but not the sha1 keys. This is not the default behavior of the API: either the entire abstract (content and hash) is returned, or the abstracts are hidden entirely (via `hide` flag). Still, best to be careful!
* rename rust crate fatcat-api-spec -> fatcat-openapiBryan Newbold2019-09-051-1/+1
|
* allow editing of WIP entitiesBryan Newbold2019-06-141-6/+1
|
* hide abstracts and refs in release expansionsBryan Newbold2019-05-201-3/+12
|
* rust impl release expansionBryan Newbold2019-05-201-3/+84
| | | | Not very DRY.
* actually check withdrawn statusBryan Newbold2019-05-201-0/+3
|
* include edit_extra on single-entity createsBryan Newbold2019-05-201-0/+1
|
* codegen and rust impl created timestampBryan Newbold2019-05-141-8/+9
|
* rust: return editors and cl index for editgroup more oftenBryan Newbold2019-05-141-3/+5
|
* rust impl endpoint changesBryan Newbold2019-05-141-5/+7
|
* rust codegen and implBryan Newbold2019-05-141-21/+19
|
* rust: fill in missing extid checkersBryan Newbold2019-05-131-1/+16
|
* remove no-longer-necessary castBryan Newbold2019-05-131-1/+1
|
* rust: size_bytes -> sizeBryan Newbold2019-05-131-2/+2
|
* rust: fix subtitle/original_title typoBryan Newbold2019-05-131-1/+1
|
* basic impl of extid changesBryan Newbold2019-05-101-34/+94
|
* impl withdrawn_statusBryan Newbold2019-05-101-3/+3
|
* rust impl cdx extra_json removalBryan Newbold2019-05-091-2/+0
|
* initial API schema rust implBryan Newbold2019-05-091-32/+36
|
* basic impl of new SQL schema in rust code (not wired to API)Bryan Newbold2019-05-081-4/+32
|
* verify release_status fieldBryan Newbold2019-02-141-0/+3
|
* rustfmtBryan Newbold2019-01-281-3/+6
|
* allow importing contrib/refs listsBryan Newbold2019-01-241-4/+25
| | | | | | The motivation here isn't really to support these gigantic lists on principle, but to be able to ingest large corpuses without having to decide whether to filter out or crop such lists.
* rust impl of new fieldsBryan Newbold2019-01-211-8/+20
|
* acutaly expand filesets/webcapturesBryan Newbold2019-01-181-1/+21
|
* rust fmtBryan Newbold2019-01-171-6/+12
|
* add interstitial JSON serde model to citation internmentBryan Newbold2019-01-141-4/+5
|
* correct release refs return value when emptyBryan Newbold2019-01-141-1/+5
|
* first draft implementation of ref interningBryan Newbold2019-01-111-38/+76
|
* implement since/before ordering for range requestsBryan Newbold2019-01-111-1/+1
|
* refactor out OtherBadRequest (just use BadRequest)Bryan Newbold2019-01-111-15/+14
|
* yet more edit lifecycle progressBryan Newbold2019-01-111-4/+4
|
* fix expandflag test (for editors)Bryan Newbold2019-01-111-3/+4
|
* WIP on annotations and editgroup accessorsBryan Newbold2019-01-111-0/+6
|
* code docs/comments and rustfmtBryan Newbold2019-01-101-3/+11
|
* narrow down many glob importsBryan Newbold2019-01-101-2/+2
|
* cleanups; NotFound errorsBryan Newbold2019-01-101-2/+12
|
* HUGE refactor of error types (to use failure)Bryan Newbold2019-01-091-18/+18
|
* refactor: FatCatId -> FatcatIdBryan Newbold2019-01-091-65/+65
|
* refactor to have consistent db conn argument orderBryan Newbold2019-01-091-1/+1
| | | | 'conn' parameter always comes first.
* some clippy nitsBryan Newbold2019-01-091-20/+21
|
* huge refactor of rust modules/filesBryan Newbold2019-01-081-0/+2162
Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also.