summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add auth middleware back inBryan Newbold2018-12-312-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 testsBryan Newbold2018-12-312-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 checksBryan Newbold2018-12-318-107/+304
|
* codegenBryan Newbold2018-12-317-2035/+1380
|
* api spec: more auth responsesBryan Newbold2018-12-311-5/+47
|
* wire-up auth config via ENVBryan Newbold2018-12-316-49/+56
|
* notes and TODO (WIP)Bryan Newbold2018-12-292-2/+49
|
* include unwrap() in testsBryan Newbold2018-12-291-1/+1
|
* basic auth unittestsBryan Newbold2018-12-284-6/+55
|
* more auth refactoringBryan Newbold2018-12-284-59/+76
|
* start refactor of auth codeBryan Newbold2018-12-287-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 authBryan Newbold2018-12-274-47/+200
|
* bump busted libmacaroons-rs dependencyBryan Newbold2018-12-272-4/+4
|
* sql codegen and WIP on auth commandBryan Newbold2018-12-274-25/+70
|
* sql: add index on editor usernameBryan Newbold2018-12-271-0/+1
|
* add libsodium-dev as a depBryan Newbold2018-12-262-1/+2
|
* start skeleton of auth internal bitsBryan Newbold2018-12-264-9/+222
|
* add macaroon depBryan Newbold2018-12-262-0/+96
| | | | Unfortunately, a patched copy for now. :(
* first attempt at auth in DB schemaBryan Newbold2018-12-261-1/+4
|
* first attempt at auth in API specBryan Newbold2018-12-268-1/+3819
|
* impl edit_id changeBryan Newbold2018-12-264-15/+17
|
* codegenBryan Newbold2018-12-2616-458/+913
|
* api schema: more types/regex on parametersBryan Newbold2018-12-261-67/+49
|
* schemas: editor_id as UUID (not int)Bryan Newbold2018-12-262-38/+22
|
* rust impl last webcapture schema tweaksBryan Newbold2018-12-269-34/+31
|
* webcapture: status_code nullable; cdx timestamp stringBryan Newbold2018-12-262-6/+4
|
* fileset/web support for exportsBryan Newbold2018-12-261-0/+10
|
* python codegren for fileset/webBryan Newbold2018-12-2617-10/+4142
|
* most basic fileset/web access testsBryan Newbold2018-12-264-10/+191
|
* basic fileset/web SQL entitiesBryan Newbold2018-12-261-0/+58
|
* fileset/web basic implementationBryan Newbold2018-12-266-38/+928
| | | | | | As well as small consistency and bugfix implementations. No new tests yet...
* rust codegenBryan Newbold2018-12-2610-42/+7838
|
* sql: table deletion updatesBryan Newbold2018-12-261-1/+15
|
* openapi schema: add fileset/web endpointsBryan Newbold2018-12-261-2/+482
|
* openapi schema: small consistency fixesBryan Newbold2018-12-261-8/+26
|
* sql: fixes to fileset/web; *_rev_releaseBryan Newbold2018-12-261-21/+21
| | | | | Several "ENTITY_release" tables renamed to "ENTITY_rev_release" for consistency.
* sql: size_bytes (size is a keyword)Bryan Newbold2018-12-261-2/+2
|
* notes on fileset/webcaptureBryan Newbold2018-12-241-0/+29
|
* fileset and webcapture openapi entitiesBryan Newbold2018-12-241-0/+123
|
* fileset and webcapture SQL schemasBryan Newbold2018-12-241-1/+115
|
* update TODOsBryan Newbold2018-12-242-36/+16
|
* remove unused postgres-backed stats stuffBryan Newbold2018-12-2423-626/+10
| | | | Will replace with elasticsearch-based dash in webface
* remove redundant transform_release.py ES scriptBryan Newbold2018-12-242-88/+1
|
* implement transform-releases in export scriptBryan Newbold2018-12-241-1/+20
|
* python impl of API ident harmonizationBryan Newbold2018-12-2411-173/+173
|
* rust impl of API harmonizationBryan Newbold2018-12-246-66/+66
|
* API harmonization codegenBryan Newbold2018-12-2414-1861/+1944
|
* significantly harmonize API 'id' parametersBryan Newbold2018-12-241-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 Newbold2018-12-2415-38/+160
|
* codegen release_yearBryan Newbold2018-12-246-7/+47
|