Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make editor_id optional when createding editgroup | Bryan Newbold | 2018-12-31 | 12 | -19/+67 |
| | | | | The editor_id can be infered from auth metadata. | ||||
* | make admin auth_epoch old so test tokens don't expire | Bryan Newbold | 2018-12-31 | 1 | -4/+4 |
| | |||||
* | allow multiple 'alt' keys to be specified in env | Bryan Newbold | 2018-12-31 | 3 | -1/+32 |
| | |||||
* | add dummy key to gitlab CI env | Bryan Newbold | 2018-12-31 | 1 | -0/+3 |
| | |||||
* | bit of auth docs | Bryan Newbold | 2018-12-31 | 3 | -0/+7 |
| | |||||
* | crude admin auth in tests | Bryan Newbold | 2018-12-31 | 4 | -21/+69 |
| | |||||
* | add auth middleware back in | Bryan Newbold | 2018-12-31 | 2 | -3/+95 |
| | | | | | | | | | I was hoping I didn't need this middleware, but I actually do, or the swagger generated code returns unauthenticated. The middleware doesn't actually do much validation, just extracts the (string) token and does nothing with it. Acutal verification happens in user code using AuthData struct. | ||||
* | tests: disable client tests | Bryan Newbold | 2018-12-31 | 2 | -23/+25 |
| | | | | | | | | | | | | But un-comments a bunch of code (and fixes type bugs with that). Something about calling iron::http() has broken, such that the call blocks. I thought it might be a port thing, but doesn't seem like it. Presumably this is what was causing problems with the "old_python_tests" second test previously. For now, just disabling; these integration-level tests best done from python anyways. | ||||
* | rustfmt; implement role-based auth checks | Bryan Newbold | 2018-12-31 | 8 | -107/+304 |
| | |||||
* | codegen | Bryan Newbold | 2018-12-31 | 7 | -2035/+1380 |
| | |||||
* | api spec: more auth responses | Bryan Newbold | 2018-12-31 | 1 | -5/+47 |
| | |||||
* | wire-up auth config via ENV | Bryan Newbold | 2018-12-31 | 6 | -49/+56 |
| | |||||
* | notes and TODO (WIP) | Bryan Newbold | 2018-12-29 | 2 | -2/+49 |
| | |||||
* | include unwrap() in tests | Bryan Newbold | 2018-12-29 | 1 | -1/+1 |
| | |||||
* | 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 |
| |