summaryrefslogtreecommitdiffstats
path: root/rust
Commit message (Collapse)AuthorAgeFilesLines
* refactor to have consistent db conn argument orderBryan Newbold2019-01-095-50/+50
| | | | 'conn' parameter always comes first.
* update HACKING with new file namesBryan Newbold2019-01-091-3/+3
|
* revert pg_tmp parallel tests (for now)Bryan Newbold2019-01-093-20/+7
| | | | | 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-0819-632/+568
| | | | | | 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-0811-170/+168
| | | | Only the basics to get things to compile/test again in this commit.
* update Cargo dependenciesBryan Newbold2019-01-082-356/+500
|
* squelch more build warningsBryan Newbold2019-01-081-1/+0
|
* integrate pg_tmp into testsBryan Newbold2019-01-083-5/+26
|
* pg_tmp: hack to find pg binaries on debian/ubuntuBryan Newbold2019-01-081-0/+2
|
* add pg_tmp.shBryan Newbold2019-01-081-0/+131
| | | | | | Unmodified, as downloaded from: https://bitbucket.org/eradman/ephemeralpg/raw/08896d00f50f7c1d1e8c851f9598fc7f7ddb675a/pg_tmp.sh
* rename diesel migrations folder nameBryan Newbold2019-01-083-1/+1
|
* squelch more test warningsBryan Newbold2019-01-082-1/+5
|
* fix typo in rust/env.exampleBryan Newbold2019-01-081-1/+1
|
* rust fmtBryan Newbold2019-01-083-27/+33
|
* 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-082-22/+20
|
* add auth/check endpointBryan Newbold2019-01-0712-47/+454
|
* commit missing bits from username length changeBryan Newbold2019-01-071-1/+3
|
* bump allowed username length to 25 charsBryan Newbold2019-01-071-1/+1
|
* only superusers get auto-magic-privsBryan Newbold2019-01-073-3/+3
|
* fix base64 bogus auth keysBryan Newbold2019-01-041-2/+2
|
* add superuser role/flagBryan Newbold2019-01-046-31/+44
|
* rust: TODO updatesBryan Newbold2019-01-041-4/+7
|
* update rust READMEBryan Newbold2019-01-041-1/+16
|
* document rust fatcatd configBryan Newbold2019-01-043-9/+36
|
* fix rust side of loginBryan Newbold2019-01-032-8/+18
|
* allow passing prefered_username in oidc signup/loginBryan Newbold2019-01-034-2/+12
|
* editor updateBryan Newbold2019-01-032-4/+127
|
* rust codegenBryan Newbold2019-01-039-5/+433
|
* better username constraints in SQLBryan Newbold2019-01-031-1/+3
|
* start to impl oidc authBryan Newbold2019-01-034-8/+146
|
* OIDC auth table, and is_active editor flagBryan Newbold2019-01-032-0/+13
|
* crude /auth/oidc endpoint (and codegen)Bryan Newbold2019-01-0310-39/+605
|
* rust fmtBryan Newbold2018-12-313-11/+4
|
* add missing security/auth declarationsBryan Newbold2018-12-314-1/+151
|
* make editor_id optional when createding editgroupBryan Newbold2018-12-3111-17/+67
| | | | The editor_id can be infered from auth metadata.
* make admin auth_epoch old so test tokens don't expireBryan Newbold2018-12-311-4/+4
|
* allow multiple 'alt' keys to be specified in envBryan Newbold2018-12-313-1/+32
|
* bit of auth docsBryan Newbold2018-12-312-0/+7
|
* crude admin auth in testsBryan Newbold2018-12-314-21/+69
|
* 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
|
* wire-up auth config via ENVBryan Newbold2018-12-316-49/+56
|
* 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
|