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 | 1 | -0/+1 |
| | |||||
* | 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 | 7 | -1/+3782 |
| | |||||
* | impl edit_id change | Bryan Newbold | 2018-12-26 | 4 | -15/+17 |
| | |||||
* | codegen | Bryan Newbold | 2018-12-26 | 8 | -407/+553 |
| | |||||
* | schemas: editor_id as UUID (not int) | Bryan Newbold | 2018-12-26 | 1 | -7/+7 |
| | |||||
* | 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 | 1 | -2/+2 |
| | |||||
* | fileset/web support for exports | Bryan Newbold | 2018-12-26 | 1 | -0/+10 |
| | |||||
* | most basic fileset/web access tests | Bryan Newbold | 2018-12-26 | 3 | -9/+190 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | fileset and webcapture SQL schemas | Bryan Newbold | 2018-12-24 | 1 | -1/+115 |
| | |||||
* | update TODOs | Bryan Newbold | 2018-12-24 | 1 | -9/+1 |
| | |||||
* | remove unused postgres-backed stats stuff | Bryan Newbold | 2018-12-24 | 13 | -345/+10 |
| | | | | Will replace with elasticsearch-based dash in webface | ||||
* | rust impl of API harmonization | Bryan Newbold | 2018-12-24 | 6 | -66/+66 |
| | |||||
* | API harmonization codegen | Bryan Newbold | 2018-12-24 | 9 | -1053/+1136 |
| | |||||
* | implement release_year (and rustfmt) | Bryan Newbold | 2018-12-24 | 7 | -23/+127 |
| | |||||
* | codegen release_year | Bryan Newbold | 2018-12-24 | 4 | -4/+18 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | allow expand creators in release gets | Bryan Newbold | 2018-12-21 | 1 | -0/+12 |
| | |||||
* | test prev_rev behavior | Bryan Newbold | 2018-12-21 | 1 | -3/+8 |
| | |||||
* | more edit edgecases; editgroup status check | Bryan Newbold | 2018-12-21 | 3 | -1/+22 |
| | |||||
* | more state/edit edge case tests | Bryan Newbold | 2018-12-21 | 2 | -5/+63 |
| | |||||
* | GET methods not in transactions | Bryan Newbold | 2018-12-20 | 1 | -15/+15 |
| | |||||
* | ident table redirect lookups | Bryan Newbold | 2018-12-20 | 1 | -0/+5 |
| | |||||
* | fix order of entity update | Bryan Newbold | 2018-12-20 | 1 | -17/+20 |
| | |||||
* | disallow self-redirects | Bryan Newbold | 2018-12-20 | 1 | -4/+13 |
| | |||||
* | enforce no-recursive-redirects | Bryan Newbold | 2018-12-20 | 1 | -12/+39 |
| | |||||
* | allow deletion of redirect-to-deletion | Bryan Newbold | 2018-12-20 | 2 | -2/+3 |
| | |||||
* | many redirect implementations | Bryan Newbold | 2018-12-14 | 5 | -38/+272 |
| | | | | | | | | | | | | | | | | | | Probably should have split this commit up, it's huge: - accept the state of "redirect to a deletion", where redirect_id is Some but rev_id is None. call this a "redirect"; previously this was an invalid state. - GET for a deleted entity returns a 200 and a stub entity, not a 404 - to PUT a redirect, or to "revert" an entity to point at a specific pre-existing revision, PUT a stub entity. things are getting messy here... to detect this state, ensure the 'state' field is blank/none (this is for API usage ergonomics, where results from a GET are often re-used in a PUT or even POST) - rustfmt - maybe even more small tweaks along the way? mystery meat! Tests are in python, not rust (and a future commit) | ||||
* | better return status for some error conditions | Bryan Newbold | 2018-12-14 | 3 | -13/+31 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 4 | -35/+240 |
| |