aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* acutaly expand filesets/webcapturesBryan Newbold2019-01-181-1/+21
|
* impl cdx timestamps as datetimeBryan Newbold2019-01-182-4/+4
|
* rust fmtBryan Newbold2019-01-172-7/+15
|
* Merge branch 'citation-efficiency'Bryan Newbold2019-01-174-67/+184
|\ | | | | | | | | Manually merged conflict in: - ./TODO
| * add interstitial JSON serde model to citation internmentBryan Newbold2019-01-142-14/+87
| |
| * add serde deps directly to fatcat crateBryan Newbold2019-01-141-0/+2
| |
| * correct release refs return value when emptyBryan Newbold2019-01-141-1/+5
| |
| * first draft implementation of ref interningBryan Newbold2019-01-113-64/+102
| |
* | rust: autoaccept requires adminBryan Newbold2019-01-151-2/+8
| |
* | remove spurious/debug line from fatcatdBryan Newbold2019-01-141-1/+0
|/
* cleanups and TODOsBryan Newbold2019-01-113-107/+90
|
* implement --env-format for fatcat-authBryan Newbold2019-01-111-7/+15
|
* implement since/before ordering for range requestsBryan Newbold2019-01-116-75/+131
|
* tone down fatcat-export commentsBryan Newbold2019-01-111-2/+2
|
* refactor out OtherBadRequest (just use BadRequest)Bryan Newbold2019-01-113-25/+19
|
* yet more edit lifecycle progressBryan Newbold2019-01-118-70/+113
|
* fix expandflag test (for editors)Bryan Newbold2019-01-111-3/+4
|
* more progress on editing changesBryan Newbold2019-01-113-76/+76
|
* WIP on annotations and editgroup accessorsBryan Newbold2019-01-115-4/+335
|
* minor SQL schema tweaks (column order and extra indexes)Bryan Newbold2019-01-111-1/+1
|
* WIP on annotations and changesBryan Newbold2019-01-106-48/+224
|
* code docs/comments and rustfmtBryan Newbold2019-01-1010-22/+49
|
* narrow down many glob importsBryan Newbold2019-01-108-24/+21
|
* return error enum variant name (only)Bryan Newbold2019-01-101-1/+2
|
* crude metrics integration (only a handful for now)Bryan Newbold2019-01-103-20/+76
|
* cleanups; NotFound errorsBryan Newbold2019-01-102-31/+23
|
* HUGE refactor of error types (to use failure)Bryan Newbold2019-01-099-879/+546
|