aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* fatcat-api: enforce more release ext_id checks at create/updateBryan Newbold2021-10-131-2/+15
| | | | Not enforcing these was a serious bug!
* rust: fix malformed ext id error typeBryan Newbold2020-12-171-2/+2
| | | | This bug was due to copy/paste of SHA-1 check
* rust: rename and improve dblp key (id) syntax checkBryan Newbold2020-12-172-9/+17
|
* update fatcatd rust code for 'oai' external identifierBryan Newbold2020-11-194-11/+189
|
* rustfmtBryan Newbold2020-11-194-86/+134
|
* rust: fatcatd changes for DOAJ+dblp identifiersBryan Newbold2020-11-194-10/+126
|
* fatcat export: flush after batch, not per-lineBryan Newbold2020-08-051-1/+1
| | | | Good catch, thanks Martin
* group-by-work mode for fatcat-exportBryan Newbold2020-08-041-15/+157
|
* 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!
* add 'component' as a release_typeBryan Newbold2019-11-041-0/+1
|
* entirely remove unused https flag to fatcatdBryan Newbold2019-09-291-15/+6
|
* rust impl token endpoint (and bump crate version)Bryan Newbold2019-09-181-0/+51
|
* API docs default to redoc, not swagger-uiBryan Newbold2019-09-131-1/+10
|
* update missing rust crate namesBryan Newbold2019-09-053-4/+4
|
* rename rust crate fatcat-api-spec -> fatcat-openapiBryan Newbold2019-09-058-12/+12
|
* cargo fix ('dyn' keywords)Bryan Newbold2019-08-262-30/+30
|
* allow editing of WIP entitiesBryan Newbold2019-06-141-6/+1
|
* truncated oauth_oidc generated usernameBryan Newbold2019-06-071-2/+2
|
* truncated oidc username creationBryan Newbold2019-06-071-1/+2
|
* Revert "allow somewhat longer usernames"Bryan Newbold2019-06-071-3/+1
| | | | This reverts commit 123cc92cadb57e3a9e536e08a66ea54adab660ad.
* allow somewhat longer usernamesBryan Newbold2019-06-071-1/+3
|
* hide abstracts and refs in release expansionsBryan Newbold2019-05-201-3/+12
|
* rust impl release expansionBryan Newbold2019-05-201-3/+84
| | | | Not very DRY.
* rust fmtBryan Newbold2019-05-201-2/+0
|
* actually check withdrawn statusBryan Newbold2019-05-201-0/+3
|
* basic controlled vocabulary for withdrawn_stageBryan Newbold2019-05-201-2/+38
|
* include edit_extra on single-entity createsBryan Newbold2019-05-201-0/+1
|
* make some XXX into TODOBryan Newbold2019-05-201-1/+0
|
* allow versioned PMCIDBryan Newbold2019-05-201-2/+5
|
* rust/schema: allow 'retraction' release_typeBryan Newbold2019-05-161-0/+2
|
* codegen and rust impl created timestampBryan Newbold2019-05-143-10/+18
|
* rust: return editors and cl index for editgroup more oftenBryan Newbold2019-05-145-15/+20
|
* rust impl endpoint changesBryan Newbold2019-05-144-173/+163
|
* rust codegen and implBryan Newbold2019-05-142-22/+21
|
* rust: fill in missing extid checkersBryan Newbold2019-05-133-19/+251
|
* 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
|
* rust: fix creator field order manglingBryan Newbold2019-05-131-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 changesBryan Newbold2019-05-105-108/+191
|
* impl withdrawn_statusBryan Newbold2019-05-103-6/+6
|
* rust impl cdx extra_json removalBryan Newbold2019-05-093-5/+0
|
* revet/run both migrations in rust testsBryan Newbold2019-05-091-0/+2
|
* initial API schema rust implBryan Newbold2019-05-093-40/+70
|
* basic impl of new SQL schema in rust code (not wired to API)Bryan Newbold2019-05-083-19/+71
|
* codegen diesel rust schemaBryan Newbold2019-05-081-1/+13
| | | | | | | | The number of fields on release_rev went over 32, so we need the (slow) 64 column feature of diesel. Might be possible to get back under that if we don't use some of these columns after all.
* rust: API lower-cases DOI lookupsBryan Newbold2019-04-181-2/+4
|
* rustfmtBryan Newbold2019-04-091-1/+4
|
* rust: fix macaroon expiry checkBryan Newbold2019-04-091-10/+19
| | | | | | | | | | | | | There were two bugs with this code: the expiry timestamps were getting enclosed in double-quotes (which caused parse bugs), and the actual caveat check itself was backwards (expires < now instead of expires > now). An underlying issue was that these caveats weren't actually getting checked in the tests. Should fix a bug where users don't get auth'd correctly when logging in via mechanisms other than tokens.
* verify release_status fieldBryan Newbold2019-02-142-0/+35
|