summaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* small number of additional release_typesBryan Newbold2019-02-141-0/+4
|
* auth editor not-found is a 403 auth responseBryan Newbold2019-01-291-1/+13
|
* better database NotFound error propagationBryan Newbold2019-01-293-11/+51
|
* fix rust comment typosBryan Newbold2019-01-281-1/+1
|
* rustfmtBryan Newbold2019-01-281-3/+6
|
* get regular log lines flowing through slogBryan Newbold2019-01-281-0/+2
| | | | | The plan here is to replace slog with env_logger (much simpler!), but not there yet.
* squelch some rust unused importsBryan Newbold2019-01-282-2/+0
|
* 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.
* allow passing description+extra to batch endpointsBryan Newbold2019-01-223-87/+105
| | | | | | Pretty messy, but I needed some way to do this. In particular, requires json.dumps() in python code, for now. Blech.
* allow arxiv and jstor lookupsBryan Newbold2019-01-212-7/+31
|
* rust impl of new fieldsBryan Newbold2019-01-213-14/+38
|