Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | start trying 'macaroons' cratex-attic-auth-other-macaroon-lib | Bryan Newbold | 2018-12-29 | 4 | -97/+46 |
| | | | | | | | | | | I initially thought that this might be better than 'macaroon'; macaroons, despite being in "archive" mode, had more crates.io downloads and I hoped might be better implemented. It seems half-complete though, and, eg, doesn't support the V2 macaroon encoding format. This patch isn't complete (didn't figure out verification), but I probably won't pursure it. | ||||
* | basic auth unittests | Bryan Newbold | 2018-12-28 | 4 | -6/+55 |
| | |||||
* | more auth refactoring | Bryan Newbold | 2018-12-28 | 4 | -59/+76 |
| | |||||
* | start refactor of auth code | Bryan Newbold | 2018-12-28 | 7 | -188/+121 |
| | | | | | | | Pulls auth code (which requires the persistent state of a signing keyring) into a struct. Doesn't try verify macaroon in middleware, do it in individual wrappers. | ||||
* | more basic work on auth | Bryan Newbold | 2018-12-27 | 4 | -47/+200 |
| | |||||
* | bump busted libmacaroons-rs dependency | Bryan Newbold | 2018-12-27 | 2 | -4/+4 |
| | |||||
* | sql codegen and WIP on auth command | Bryan Newbold | 2018-12-27 | 4 | -25/+70 |
| | |||||
* | sql: add index on editor username | Bryan Newbold | 2018-12-27 | 1 | -0/+1 |
| | |||||
* | add libsodium-dev as a dep | Bryan Newbold | 2018-12-26 | 2 | -1/+2 |
| | |||||
* | start skeleton of auth internal bits | Bryan Newbold | 2018-12-26 | 4 | -9/+222 |
| | |||||
* | add macaroon dep | Bryan Newbold | 2018-12-26 | 2 | -0/+96 |
| | | | | Unfortunately, a patched copy for now. :( | ||||
* | first attempt at auth in DB schema | Bryan Newbold | 2018-12-26 | 1 | -1/+4 |
| | |||||
* | first attempt at auth in API spec | Bryan Newbold | 2018-12-26 | 8 | -1/+3819 |
| | |||||
* | impl edit_id change | Bryan Newbold | 2018-12-26 | 4 | -15/+17 |
| | |||||
* | codegen | Bryan Newbold | 2018-12-26 | 16 | -458/+913 |
| | |||||
* | api schema: more types/regex on parameters | Bryan Newbold | 2018-12-26 | 1 | -67/+49 |
| | |||||
* | schemas: editor_id as UUID (not int) | Bryan Newbold | 2018-12-26 | 2 | -38/+22 |
| | |||||
* | rust impl last webcapture schema tweaks | Bryan Newbold | 2018-12-26 | 9 | -34/+31 |
| | |||||
* | webcapture: status_code nullable; cdx timestamp string | Bryan Newbold | 2018-12-26 | 2 | -6/+4 |
| | |||||
* | fileset/web support for exports | Bryan Newbold | 2018-12-26 | 1 | -0/+10 |
| | |||||
* | python codegren for fileset/web | Bryan Newbold | 2018-12-26 | 17 | -10/+4142 |
| | |||||
* | most basic fileset/web access tests | Bryan Newbold | 2018-12-26 | 4 | -10/+191 |
| | |||||
* | basic fileset/web SQL entities | Bryan Newbold | 2018-12-26 | 1 | -0/+58 |
| | |||||
* | fileset/web basic implementation | Bryan Newbold | 2018-12-26 | 6 | -38/+928 |
| | | | | | | As well as small consistency and bugfix implementations. No new tests yet... | ||||
* | rust codegen | Bryan Newbold | 2018-12-26 | 10 | -42/+7838 |
| | |||||
* | sql: table deletion updates | Bryan Newbold | 2018-12-26 | 1 | -1/+15 |
| | |||||
* | openapi schema: add fileset/web endpoints | Bryan Newbold | 2018-12-26 | 1 | -2/+482 |
| | |||||
* | openapi schema: small consistency fixes | Bryan Newbold | 2018-12-26 | 1 | -8/+26 |
| | |||||
* | sql: fixes to fileset/web; *_rev_release | Bryan Newbold | 2018-12-26 | 1 | -21/+21 |
| | | | | | Several "ENTITY_release" tables renamed to "ENTITY_rev_release" for consistency. | ||||
* | sql: size_bytes (size is a keyword) | Bryan Newbold | 2018-12-26 | 1 | -2/+2 |
| | |||||
* | notes on fileset/webcapture | Bryan Newbold | 2018-12-24 | 1 | -0/+29 |
| | |||||
* | fileset and webcapture openapi entities | Bryan Newbold | 2018-12-24 | 1 | -0/+123 |
| | |||||
* | fileset and webcapture SQL schemas | Bryan Newbold | 2018-12-24 | 1 | -1/+115 |
| | |||||
* | update TODOs | Bryan Newbold | 2018-12-24 | 2 | -36/+16 |
| | |||||
* | remove unused postgres-backed stats stuff | Bryan Newbold | 2018-12-24 | 23 | -626/+10 |
| | | | | Will replace with elasticsearch-based dash in webface | ||||
* | remove redundant transform_release.py ES script | Bryan Newbold | 2018-12-24 | 2 | -88/+1 |
| | |||||
* | implement transform-releases in export script | Bryan Newbold | 2018-12-24 | 1 | -1/+20 |
| | |||||
* | python impl of API ident harmonization | Bryan Newbold | 2018-12-24 | 11 | -173/+173 |
| | |||||
* | rust impl of API harmonization | Bryan Newbold | 2018-12-24 | 6 | -66/+66 |
| | |||||
* | API harmonization codegen | Bryan Newbold | 2018-12-24 | 14 | -1861/+1944 |
| | |||||
* | significantly harmonize API 'id' parameters | Bryan Newbold | 2018-12-24 | 1 | -79/+79 |
| | | | | | | | | | | | | | | | | This commit is to reduce confusion and ambiguity between: entity idents ('ident'), editor ids ('editor_id'), editgroup ids ('editgroup_id'), entity edit ids ('edit_id'), entity revision ids ('rev_id'). Additionally, 'file.releases' is now 'file.release_ids'. The biggest downside of this patch, to me, is the verbosity of passing things like: api.create_entity(entity, editgroup_id=eg.editgroup_id) Previously, "editgroup_id=eg.id" could be used. I think this is acceptable though. | ||||
* | implement release_year (and rustfmt) | Bryan Newbold | 2018-12-24 | 15 | -38/+160 |
| | |||||
* | codegen release_year | Bryan Newbold | 2018-12-24 | 6 | -7/+47 |
| | |||||
* | add release_year (for when whole date isn't available) | Bryan Newbold | 2018-12-24 | 1 | -0/+4 |
| | |||||
* | verify checksum against regexes | Bryan Newbold | 2018-12-21 | 6 | -22/+141 |
| | |||||
* | clarify expand of non-concrete release | Bryan Newbold | 2018-12-21 | 1 | -2/+5 |
| | |||||
* | more subentity/UI tests | Bryan Newbold | 2018-12-21 | 1 | -0/+224 |
| | |||||
* | expand files for target of redirect | Bryan Newbold | 2018-12-21 | 1 | -1/+6 |
| | |||||
* | don't expand deleted entities | Bryan Newbold | 2018-12-21 | 1 | -0/+4 |
| | |||||
* | start handling redirects and deletions in webface | Bryan Newbold | 2018-12-21 | 2 | -0/+63 |
| |