Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor to have consistent db conn argument order | Bryan Newbold | 2019-01-09 | 5 | -50/+50 |
| | | | | 'conn' parameter always comes first. | ||||
* | update HACKING with new file names | Bryan Newbold | 2019-01-09 | 1 | -3/+3 |
| | |||||
* | revert pg_tmp parallel tests (for now) | Bryan Newbold | 2019-01-09 | 3 | -20/+7 |
| | | | | | I really want these to work, but even with jitter get frequent test failures, and CI is broken. | ||||
* | some clippy nits | Bryan Newbold | 2019-01-09 | 7 | -57/+58 |
| | |||||
* | huge refactor of rust modules/files | Bryan Newbold | 2019-01-08 | 19 | -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 Newbold | 2019-01-08 | 11 | -170/+168 |
| | | | | Only the basics to get things to compile/test again in this commit. | ||||
* | update Cargo dependencies | Bryan Newbold | 2019-01-08 | 2 | -356/+500 |
| | |||||
* | squelch more build warnings | Bryan Newbold | 2019-01-08 | 1 | -1/+0 |
| | |||||
* | integrate pg_tmp into tests | Bryan Newbold | 2019-01-08 | 3 | -5/+26 |
| | |||||
* | pg_tmp: hack to find pg binaries on debian/ubuntu | Bryan Newbold | 2019-01-08 | 1 | -0/+2 |
| | |||||
* | add pg_tmp.sh | Bryan Newbold | 2019-01-08 | 1 | -0/+131 |
| | | | | | | Unmodified, as downloaded from: https://bitbucket.org/eradman/ephemeralpg/raw/08896d00f50f7c1d1e8c851f9598fc7f7ddb675a/pg_tmp.sh | ||||
* | rename diesel migrations folder name | Bryan Newbold | 2019-01-08 | 3 | -1/+1 |
| | |||||
* | squelch more test warnings | Bryan Newbold | 2019-01-08 | 2 | -1/+5 |
| | |||||
* | fix typo in rust/env.example | Bryan Newbold | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | rust fmt | Bryan Newbold | 2019-01-08 | 3 | -27/+33 |
| | |||||
* | better rust auth error handling/responses | Bryan Newbold | 2019-01-08 | 1 | -8/+22 |
| | |||||
* | /auth/oidc endpoint has 31 day limit | Bryan Newbold | 2019-01-08 | 1 | -2/+2 |
| | |||||
* | iterate on macaroon time caveat names | Bryan Newbold | 2019-01-08 | 2 | -22/+20 |
| | |||||
* | add auth/check endpoint | Bryan Newbold | 2019-01-07 | 12 | -47/+454 |
| | |||||
* | commit missing bits from username length change | Bryan Newbold | 2019-01-07 | 1 | -1/+3 |
| | |||||
* | bump allowed username length to 25 chars | Bryan Newbold | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | only superusers get auto-magic-privs | Bryan Newbold | 2019-01-07 | 3 | -3/+3 |
| | |||||
* | fix base64 bogus auth keys | Bryan Newbold | 2019-01-04 | 1 | -2/+2 |
| | |||||
* | add superuser role/flag | Bryan Newbold | 2019-01-04 | 6 | -31/+44 |
| | |||||
* | rust: TODO updates | Bryan Newbold | 2019-01-04 | 1 | -4/+7 |
| | |||||
* | update rust README | Bryan Newbold | 2019-01-04 | 1 | -1/+16 |
| | |||||
* | document rust fatcatd config | Bryan Newbold | 2019-01-04 | 3 | -9/+36 |
| | |||||
* | fix rust side of login | Bryan Newbold | 2019-01-03 | 2 | -8/+18 |
| | |||||
* | allow passing prefered_username in oidc signup/login | Bryan Newbold | 2019-01-03 | 4 | -2/+12 |
| | |||||
* | editor update | Bryan Newbold | 2019-01-03 | 2 | -4/+127 |
| | |||||
* | rust codegen | Bryan Newbold | 2019-01-03 | 9 | -5/+433 |
| | |||||
* | better username constraints in SQL | Bryan Newbold | 2019-01-03 | 1 | -1/+3 |
| | |||||
* | start to impl oidc auth | Bryan Newbold | 2019-01-03 | 4 | -8/+146 |
| | |||||
* | OIDC auth table, and is_active editor flag | Bryan Newbold | 2019-01-03 | 2 | -0/+13 |
| | |||||
* | crude /auth/oidc endpoint (and codegen) | Bryan Newbold | 2019-01-03 | 10 | -39/+605 |
| | |||||
* | rust fmt | Bryan Newbold | 2018-12-31 | 3 | -11/+4 |
| | |||||
* | add missing security/auth declarations | Bryan Newbold | 2018-12-31 | 4 | -1/+151 |
| | |||||
* | make editor_id optional when createding editgroup | Bryan Newbold | 2018-12-31 | 11 | -17/+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 |
| | |||||
* | bit of auth docs | Bryan Newbold | 2018-12-31 | 2 | -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 |
| | |||||
* | wire-up auth config via ENV | Bryan Newbold | 2018-12-31 | 6 | -49/+56 |
| | |||||
* | 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 |
| |