Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | api: add SQL 'ORDER BY' to many reads to stabilize API array ordering | Bryan Newbold | 2021-11-05 | 1 | -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 enforcement | Bryan Newbold | 2021-10-13 | 1 | -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 changes | Bryan Newbold | 2021-10-13 | 1 | -0/+34 |
| | |||||
* | fatcat-api: enforce more release ext_id checks at create/update | Bryan Newbold | 2021-10-13 | 1 | -2/+15 |
| | | | | Not enforcing these was a serious bug! | ||||
* | update fatcatd rust code for 'oai' external identifier | Bryan Newbold | 2020-11-19 | 1 | -0/+10 |
| | |||||
* | rustfmt | Bryan Newbold | 2020-11-19 | 1 | -3/+5 |
| | |||||
* | rust: fatcatd changes for DOAJ+dblp identifiers | Bryan Newbold | 2020-11-19 | 1 | -0/+20 |
| | |||||
* | fatcatd: fix corner-case in abstracts insertion | Bryan Newbold | 2020-01-15 | 1 | -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-openapi | Bryan Newbold | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | allow editing of WIP entities | Bryan Newbold | 2019-06-14 | 1 | -6/+1 |
| | |||||
* | hide abstracts and refs in release expansions | Bryan Newbold | 2019-05-20 | 1 | -3/+12 |
| | |||||
* | rust impl release expansion | Bryan Newbold | 2019-05-20 | 1 | -3/+84 |
| | | | | Not very DRY. | ||||
* | actually check withdrawn status | Bryan Newbold | 2019-05-20 | 1 | -0/+3 |
| | |||||
* | include edit_extra on single-entity creates | Bryan Newbold | 2019-05-20 | 1 | -0/+1 |
| | |||||
* | codegen and rust impl created timestamp | Bryan Newbold | 2019-05-14 | 1 | -8/+9 |
| | |||||
* | rust: return editors and cl index for editgroup more often | Bryan Newbold | 2019-05-14 | 1 | -3/+5 |
| | |||||
* | rust impl endpoint changes | Bryan Newbold | 2019-05-14 | 1 | -5/+7 |
| | |||||
* | rust codegen and impl | Bryan Newbold | 2019-05-14 | 1 | -21/+19 |
| | |||||
* | rust: fill in missing extid checkers | Bryan Newbold | 2019-05-13 | 1 | -1/+16 |
| | |||||
* | remove no-longer-necessary cast | Bryan Newbold | 2019-05-13 | 1 | -1/+1 |
| | |||||
* | rust: size_bytes -> size | Bryan Newbold | 2019-05-13 | 1 | -2/+2 |
| | |||||
* | rust: fix subtitle/original_title typo | Bryan Newbold | 2019-05-13 | 1 | -1/+1 |
| | |||||
* | basic impl of extid changes | Bryan Newbold | 2019-05-10 | 1 | -34/+94 |
| | |||||
* | impl withdrawn_status | Bryan Newbold | 2019-05-10 | 1 | -3/+3 |
| | |||||
* | rust impl cdx extra_json removal | Bryan Newbold | 2019-05-09 | 1 | -2/+0 |
| | |||||
* | initial API schema rust impl | Bryan Newbold | 2019-05-09 | 1 | -32/+36 |
| | |||||
* | basic impl of new SQL schema in rust code (not wired to API) | Bryan Newbold | 2019-05-08 | 1 | -4/+32 |
| | |||||
* | verify release_status field | Bryan Newbold | 2019-02-14 | 1 | -0/+3 |
| | |||||
* | rustfmt | Bryan Newbold | 2019-01-28 | 1 | -3/+6 |
| | |||||
* | allow importing contrib/refs lists | Bryan Newbold | 2019-01-24 | 1 | -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 fields | Bryan Newbold | 2019-01-21 | 1 | -8/+20 |
| | |||||
* | acutaly expand filesets/webcaptures | Bryan Newbold | 2019-01-18 | 1 | -1/+21 |
| | |||||
* | rust fmt | Bryan Newbold | 2019-01-17 | 1 | -6/+12 |
| | |||||
* | add interstitial JSON serde model to citation internment | Bryan Newbold | 2019-01-14 | 1 | -4/+5 |
| | |||||
* | correct release refs return value when empty | Bryan Newbold | 2019-01-14 | 1 | -1/+5 |
| | |||||
* | first draft implementation of ref interning | Bryan Newbold | 2019-01-11 | 1 | -38/+76 |
| | |||||
* | implement since/before ordering for range requests | Bryan Newbold | 2019-01-11 | 1 | -1/+1 |
| | |||||
* | refactor out OtherBadRequest (just use BadRequest) | Bryan Newbold | 2019-01-11 | 1 | -15/+14 |
| | |||||
* | yet more edit lifecycle progress | Bryan Newbold | 2019-01-11 | 1 | -4/+4 |
| | |||||
* | fix expandflag test (for editors) | Bryan Newbold | 2019-01-11 | 1 | -3/+4 |
| | |||||
* | WIP on annotations and editgroup accessors | Bryan Newbold | 2019-01-11 | 1 | -0/+6 |
| | |||||
* | code docs/comments and rustfmt | Bryan Newbold | 2019-01-10 | 1 | -3/+11 |
| | |||||
* | narrow down many glob imports | Bryan Newbold | 2019-01-10 | 1 | -2/+2 |
| | |||||
* | cleanups; NotFound errors | Bryan Newbold | 2019-01-10 | 1 | -2/+12 |
| | |||||
* | HUGE refactor of error types (to use failure) | Bryan Newbold | 2019-01-09 | 1 | -18/+18 |
| | |||||
* | refactor: FatCatId -> FatcatId | Bryan Newbold | 2019-01-09 | 1 | -65/+65 |
| | |||||
* | refactor to have consistent db conn argument order | Bryan Newbold | 2019-01-09 | 1 | -1/+1 |
| | | | | 'conn' parameter always comes first. | ||||
* | some clippy nits | Bryan Newbold | 2019-01-09 | 1 | -20/+21 |
| | |||||
* | huge refactor of rust modules/files | Bryan Newbold | 2019-01-08 | 1 | -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. |