summaryrefslogtreecommitdiffstats
path: root/rust/src
Commit message (Collapse)AuthorAgeFilesLines
* refactor out OtherBadRequest (just use BadRequest)Bryan Newbold2019-01-113-25/+19
|
* yet more edit lifecycle progressBryan Newbold2019-01-118-70/+113
|
* fix expandflag test (for editors)Bryan Newbold2019-01-111-3/+4
|
* more progress on editing changesBryan Newbold2019-01-113-76/+76
|
* WIP on annotations and editgroup accessorsBryan Newbold2019-01-115-4/+335
|
* minor SQL schema tweaks (column order and extra indexes)Bryan Newbold2019-01-111-1/+1
|
* WIP on annotations and changesBryan Newbold2019-01-106-48/+224
|
* code docs/comments and rustfmtBryan Newbold2019-01-1010-22/+49
|
* narrow down many glob importsBryan Newbold2019-01-108-24/+21
|
* return error enum variant name (only)Bryan Newbold2019-01-101-1/+2
|
* crude metrics integration (only a handful for now)Bryan Newbold2019-01-103-20/+76
|
* cleanups; NotFound errorsBryan Newbold2019-01-102-31/+23
|
* HUGE refactor of error types (to use failure)Bryan Newbold2019-01-099-879/+546
|
* refactor: FatCatId -> FatcatIdBryan Newbold2019-01-098-138/+137
|
* impl AsRef, From, Into for FatCatIdBryan Newbold2019-01-091-2/+20
|
* implement Display (not ToString) for FatCatIdBryan Newbold2019-01-091-3/+5
|
* rust impl response typesBryan Newbold2019-01-091-98/+200
|
* wire up basic sentry error reportingBryan Newbold2019-01-092-0/+37
|
* rust impl required editgroup_idBryan Newbold2019-01-091-24/+12
|
* start removing active editgroup codeBryan Newbold2019-01-093-20/+4
|
* refactor to have consistent db conn argument orderBryan Newbold2019-01-094-42/+42
| | | | 'conn' parameter always comes first.
* revert pg_tmp parallel tests (for now)Bryan Newbold2019-01-091-14/+5
| | | | | I really want these to work, but even with jitter get frequent test failures, and CI is broken.
* some clippy nitsBryan Newbold2019-01-097-57/+58
|
* huge refactor of rust modules/filesBryan Newbold2019-01-0813-590/+550
| | | | | | Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also.
* rust 2018 edition!Bryan Newbold2019-01-087-31/+31
| | | | Only the basics to get things to compile/test again in this commit.
* integrate pg_tmp into testsBryan Newbold2019-01-081-5/+21
|
* rust fmtBryan Newbold2019-01-082-26/+31
|
* better rust auth error handling/responsesBryan Newbold2019-01-081-8/+22
|
* /auth/oidc endpoint has 31 day limitBryan Newbold2019-01-081-2/+2
|
* iterate on macaroon time caveat namesBryan Newbold2019-01-081-20/+19
|
* add auth/check endpointBryan Newbold2019-01-072-19/+98
|
* commit missing bits from username length changeBryan Newbold2019-01-071-1/+3
|
* only superusers get auto-magic-privsBryan Newbold2019-01-072-2/+2
|
* add superuser role/flagBryan Newbold2019-01-044-21/+33
|
* fix rust side of loginBryan Newbold2019-01-032-8/+18
|
* editor updateBryan Newbold2019-01-032-4/+127
|
* start to impl oidc authBryan Newbold2019-01-034-8/+146
|
* rust fmtBryan Newbold2018-12-311-1/+1
|
* make editor_id optional when createding editgroupBryan Newbold2018-12-315-7/+24
| | | | The editor_id can be infered from auth metadata.
* allow multiple 'alt' keys to be specified in envBryan Newbold2018-12-313-1/+32
|
* 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.
* rustfmt; implement role-based auth checksBryan Newbold2018-12-317-100/+299
|
* wire-up auth config via ENVBryan Newbold2018-12-314-49/+54
|
* basic auth unittestsBryan Newbold2018-12-283-6/+7
|
* 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
|
* sql codegen and WIP on auth commandBryan Newbold2018-12-274-25/+70
|
* start skeleton of auth internal bitsBryan Newbold2018-12-264-9/+222
|
* impl edit_id changeBryan Newbold2018-12-264-15/+17
|