Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rust: handle database read-only mode (as 5xx errors, not 4xx) | Bryan Newbold | 2022-01-21 | 2 | -8/+16 |
| | |||||
* | rust: implement content_scope | Bryan Newbold | 2021-11-17 | 4 | -0/+19 |
| | |||||
* | 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: expand valid hdl identifiers | Bryan Newbold | 2021-10-13 | 1 | -3/+7 |
| | | | | Based on real examples found on dblp.org | ||||
* | 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 | 5 | -38/+353 |
| | |||||
* | rust: handle new migrations in test helper | Bryan Newbold | 2021-10-13 | 1 | -1/+1 |
| | |||||
* | rust: implement recent SQL changes | Bryan Newbold | 2021-10-13 | 2 | -0/+12 |
| | |||||
* | fatcatd: display version correctly, and at startup | Bryan Newbold | 2021-10-13 | 1 | -2/+8 |
| | |||||
* | 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! | ||||
* | rust: fix malformed ext id error type | Bryan Newbold | 2020-12-17 | 1 | -2/+2 |
| | | | | This bug was due to copy/paste of SHA-1 check | ||||
* | rust: rename and improve dblp key (id) syntax check | Bryan Newbold | 2020-12-17 | 2 | -9/+17 |
| | |||||
* | update fatcatd rust code for 'oai' external identifier | Bryan Newbold | 2020-11-19 | 4 | -11/+189 |
| | |||||
* | rustfmt | Bryan Newbold | 2020-11-19 | 4 | -86/+134 |
| | |||||
* | rust: fatcatd changes for DOAJ+dblp identifiers | Bryan Newbold | 2020-11-19 | 4 | -10/+126 |
| | |||||
* | fatcat export: flush after batch, not per-line | Bryan Newbold | 2020-08-05 | 1 | -1/+1 |
| | | | | Good catch, thanks Martin | ||||
* | group-by-work mode for fatcat-export | Bryan Newbold | 2020-08-04 | 1 | -15/+157 |
| | |||||
* | 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! | ||||
* | add 'component' as a release_type | Bryan Newbold | 2019-11-04 | 1 | -0/+1 |
| | |||||
* | entirely remove unused https flag to fatcatd | Bryan Newbold | 2019-09-29 | 1 | -15/+6 |
| | |||||
* | rust impl token endpoint (and bump crate version) | Bryan Newbold | 2019-09-18 | 1 | -0/+51 |
| | |||||
* | API docs default to redoc, not swagger-ui | Bryan Newbold | 2019-09-13 | 1 | -1/+10 |
| | |||||
* | update missing rust crate names | Bryan Newbold | 2019-09-05 | 3 | -4/+4 |
| | |||||
* | rename rust crate fatcat-api-spec -> fatcat-openapi | Bryan Newbold | 2019-09-05 | 8 | -12/+12 |
| | |||||
* | cargo fix ('dyn' keywords) | Bryan Newbold | 2019-08-26 | 2 | -30/+30 |
| | |||||
* | allow editing of WIP entities | Bryan Newbold | 2019-06-14 | 1 | -6/+1 |
| | |||||
* | truncated oauth_oidc generated username | Bryan Newbold | 2019-06-07 | 1 | -2/+2 |
| | |||||
* | truncated oidc username creation | Bryan Newbold | 2019-06-07 | 1 | -1/+2 |
| | |||||
* | Revert "allow somewhat longer usernames" | Bryan Newbold | 2019-06-07 | 1 | -3/+1 |
| | | | | This reverts commit 123cc92cadb57e3a9e536e08a66ea54adab660ad. | ||||
* | allow somewhat longer usernames | Bryan Newbold | 2019-06-07 | 1 | -1/+3 |
| | |||||
* | 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. | ||||
* | rust fmt | Bryan Newbold | 2019-05-20 | 1 | -2/+0 |
| | |||||
* | actually check withdrawn status | Bryan Newbold | 2019-05-20 | 1 | -0/+3 |
| | |||||
* | basic controlled vocabulary for withdrawn_stage | Bryan Newbold | 2019-05-20 | 1 | -2/+38 |
| | |||||
* | include edit_extra on single-entity creates | Bryan Newbold | 2019-05-20 | 1 | -0/+1 |
| | |||||
* | make some XXX into TODO | Bryan Newbold | 2019-05-20 | 1 | -1/+0 |
| | |||||
* | allow versioned PMCID | Bryan Newbold | 2019-05-20 | 1 | -2/+5 |
| | |||||
* | rust/schema: allow 'retraction' release_type | Bryan Newbold | 2019-05-16 | 1 | -0/+2 |
| | |||||
* | codegen and rust impl created timestamp | Bryan Newbold | 2019-05-14 | 3 | -10/+18 |
| | |||||
* | rust: return editors and cl index for editgroup more often | Bryan Newbold | 2019-05-14 | 5 | -15/+20 |
| | |||||
* | rust impl endpoint changes | Bryan Newbold | 2019-05-14 | 4 | -173/+163 |
| | |||||
* | rust codegen and impl | Bryan Newbold | 2019-05-14 | 2 | -22/+21 |
| | |||||
* | rust: fill in missing extid checkers | Bryan Newbold | 2019-05-13 | 3 | -19/+251 |
| | |||||
* | 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 |
| | |||||
* | rust: fix creator field order mangling | Bryan Newbold | 2019-05-13 | 1 | -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 changes | Bryan Newbold | 2019-05-10 | 5 | -108/+191 |
| | |||||
* | impl withdrawn_status | Bryan Newbold | 2019-05-10 | 3 | -6/+6 |
| |