aboutsummaryrefslogtreecommitdiffstats
path: root/rust
Commit message (Collapse)AuthorAgeFilesLines
* rust: bump macaroon crate to v0.3.0 (upstream)Bryan Newbold2022-10-213-56/+127
|
* Merge branch 'bnewbold-fix-editing-4xx' into 'master'bnewbold2022-10-061-4/+5
|\ | | | | | | | | small fixes to editing process (python and rust) See merge request webgroup/fatcat!139
| * rust: don't set prev_rev on re-update if entity is createdBryan Newbold2022-03-091-4/+5
| | | | | | | | | | | | | | | | | | This applies when re-editing any entity within an editgroup, when the entity does not yet exist other than the current editgroup. The current behavior was resulting in "updated" status, with "prev_rev" pointing to a revision which never existing in the catalog (aka, had never been merged).
* | rust: clippy cleanupsBryan Newbold2022-10-0510-62/+60
| |
* | rust: more makefile commandsBryan Newbold2022-10-051-1/+17
| |
* | rust: add some more macaroons/auth test coverageBryan Newbold2022-10-052-7/+93
| |
* | rust: switch to patched version of macaroon v0.2.0, for legacy HMACsBryan Newbold2022-10-052-6/+5
| |
* | rust: switch from patched macaroons to upstream v0.2.0Bryan Newbold2022-09-263-772/+1164
| | | | | | | | | | Much fo the changes here are to deal with the 'ByteString' type that is included as part of the macaroons library itself.
* | Merge branch 'bnewbold-fill-changelog-gaps' into 'master'bnewbold2022-09-062-1/+97
|\ \ | | | | | | | | | | | | rust: fill changelog gap helper tool See merge request webgroup/fatcat!142
| * | rust: new fatcat-doctor fixup tool, with changelog gap fillerBryan Newbold2022-08-121-0/+97
| | |
| * | gitignore: don't skip run bin filesBryan Newbold2022-08-121-1/+0
| |/
* / RIP Peter EckersleyBryan Newbold2022-09-061-1/+1
|/ | | | "A man is not dead while his name is still spoken."
* update rust README dependency section (ubuntu focal)Bryan Newbold2022-01-261-4/+6
|
* upgrade gitlab CI, docs, and various scripts from postgresql 11 to 13Bryan Newbold2022-01-263-2/+3
| | | | | | | | Expecting few if any compatibility issues with this transition. Actually upgrading the production databases will be some work, but will hopefully yield disk savings from changes in the B-Tree index on-disk format.
* rust: handle database read-only mode (as 5xx errors, not 4xx)Bryan Newbold2022-01-212-8/+16
|
* rust: swith postgresql database to 'fatcat_dev' (distinct from 'fatcat_test')Bryan Newbold2022-01-213-3/+3
|
* codespell fixes to various other docsBryan Newbold2021-11-243-3/+3
|
* bump rust code to 0.5.0Bryan Newbold2021-11-175-6/+7
|
* rust: bump crate version and lockfileBryan Newbold2021-11-172-3/+3
|
* rust: implement content_scopeBryan Newbold2021-11-175-0/+22
|
* SQL implementation of content_scopeBryan Newbold2021-11-172-0/+36
|
* codegen rust code for content_scopeBryan Newbold2021-11-173-4/+19
|
* api: add SQL 'ORDER BY' to many reads to stabilize API array orderingBryan Newbold2021-11-051-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 identifiersBryan Newbold2021-10-131-3/+7
| | | | Based on real examples found on dblp.org
* rust: partial test coverage of schema changesBryan Newbold2021-10-131-2/+32
|
* rust: prep for possible DOI lowercase enforcementBryan Newbold2021-10-131-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 changesBryan Newbold2021-10-135-38/+353
|
* rust: handle new migrations in test helperBryan Newbold2021-10-131-1/+1
|
* rust: implement recent SQL changesBryan Newbold2021-10-132-0/+12
|
* fatcatd: display version correctly, and at startupBryan Newbold2021-10-131-2/+8
|
* fatcat-api: enforce more release ext_id checks at create/updateBryan Newbold2021-10-131-2/+15
| | | | Not enforcing these was a serious bug!
* sql: v0.4 schema implementation (as diesel migration)Bryan Newbold2021-10-132-0/+58
|
* bump rust code version to v0.4.0Bryan Newbold2021-10-133-5/+7
|
* rust codegen for v0.4Bryan Newbold2021-10-138-25/+307
|
* guide and openapi schema: fix QA URLs, and disclaim QA instanceBryan Newbold2021-04-121-2/+2
|
* rust: update Cargo.lock (openapi dep was updated)Bryan Newbold2021-01-051-1/+1
|
* rust makefile: rename 'dev' to 'serve'Bryan Newbold2021-01-051-2/+2
|
* rust openapi lib: bump version to v0.3.3Bryan Newbold2020-12-241-1/+1
|
* rust: update lazy_static dependencyBryan Newbold2020-12-243-35/+26
| | | | | The motivation for this is to quiet very verbose warnings about some deprecated use of std::sync. Expect no actual runtime/behavior change.
* 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
|
* cargo: update sentry to fix memory initialization issueBryan Newbold2020-11-202-274/+332
| | | | | | | | | | | | | | | | | | Older sentry had an unsafe memory initialization error, which wasn't caught by older compilers. Rust 1.48 catches the problem at runtime and raises a panic. This meant that new builds (eg, on QA machine after update) were panic-ing. Newest versions of sentry have modern dependencies, which breaks our crufty old 'iron' dependency tree. Work-around is to only partially update (v0.12 to v0.15). This is a fairly frustrating situation. I'm hopeful that when we update to a different web framework and openapi generator 5.0 (not yet released), many of these dependency issues will be resolved, but i'm not certain. I did notice that if we entirely remove Sentry, which has not really been used much (only a small handful of issues reported over several years), we might be able to resolve openssl dependency issues.
* update fatcatd rust code for 'oai' external identifierBryan Newbold2020-11-194-11/+189
|
* codegen rust schema crateBryan Newbold2020-11-196-3/+20
|
* rustfmtBryan Newbold2020-11-195-87/+138
|
* rust: fatcatd changes for DOAJ+dblp identifiersBryan Newbold2020-11-196-949/+1062
|
* codegen rust crate for v0.3.3Bryan Newbold2020-11-198-227/+244
|
* 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
|
* rust Makefile: fix test commandBryan Newbold2020-08-041-2/+1
|