Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rust: fix macaroon expiry check | Bryan Newbold | 2019-04-09 | 1 | -0/+7 |
| | | | | | | | | | | | | | There were two bugs with this code: the expiry timestamps were getting enclosed in double-quotes (which caused parse bugs), and the actual caveat check itself was backwards (expires < now instead of expires > now). An underlying issue was that these caveats weren't actually getting checked in the tests. Should fix a bug where users don't get auth'd correctly when logging in via mechanisms other than tokens. | ||||
* | more old rust tests removed | Bryan Newbold | 2019-02-05 | 2 | -302/+1 |
| | |||||
* | remove test client helper | Bryan Newbold | 2019-02-05 | 1 | -36/+0 |
| | |||||
* | rust: remove client tests (unused) | Bryan Newbold | 2019-02-05 | 1 | -25/+0 |
| | | | | Basically all of this has moved to python, which is fine. | ||||
* | allow passing description+extra to batch endpoints | Bryan Newbold | 2019-01-22 | 1 | -2/+4 |
| | | | | | | Pretty messy, but I needed some way to do this. In particular, requires json.dumps() in python code, for now. Blech. | ||||
* | impl cdx timestamps as datetime | Bryan Newbold | 2019-01-18 | 1 | -1/+1 |
| | |||||
* | fix autoaccept test | Bryan Newbold | 2019-01-18 | 1 | -2/+2 |
| | |||||
* | rust fmt | Bryan Newbold | 2019-01-17 | 1 | -37/+43 |
| | |||||
* | add test for parameter parsing | Bryan Newbold | 2019-01-17 | 1 | -0/+83 |
| | |||||
* | add test for refs blob stuff in rust itself | Bryan Newbold | 2019-01-14 | 1 | -0/+161 |
| | |||||
* | minimal crude rust tests for new endpoints | Bryan Newbold | 2019-01-11 | 2 | -1/+152 |
| | |||||
* | implement since/before ordering for range requests | Bryan Newbold | 2019-01-11 | 1 | -0/+1 |
| | |||||
* | refactor editgroup creation in test_api_server_http | Bryan Newbold | 2019-01-11 | 2 | -39/+42 |
| | |||||
* | refactor: FatCatId -> FatcatId | Bryan Newbold | 2019-01-09 | 4 | -87/+158 |
| | |||||
* | fix a bunch of test issues | Bryan Newbold | 2019-01-09 | 2 | -78/+83 |
| | | | | | I previously was only running a single test locally; oops! CI caught them. | ||||
* | impl AsRef, From, Into for FatCatId | Bryan Newbold | 2019-01-09 | 1 | -5/+22 |
| | |||||
* | rust impl required editgroup_id | Bryan Newbold | 2019-01-09 | 2 | -23/+59 |
| | |||||
* | start removing active editgroup code | Bryan Newbold | 2019-01-09 | 2 | -37/+37 |
| | |||||
* | refactor to have consistent db conn argument order | Bryan Newbold | 2019-01-09 | 1 | -8/+8 |
| | | | | 'conn' parameter always comes first. | ||||
* | revert pg_tmp parallel tests (for now) | Bryan Newbold | 2019-01-09 | 1 | -2/+2 |
| | | | | | I really want these to work, but even with jitter get frequent test failures, and CI is broken. | ||||
* | huge refactor of rust modules/files | Bryan Newbold | 2019-01-08 | 6 | -42/+18 |
| | | | | | | 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 | 3 | -139/+136 |
| | | | | Only the basics to get things to compile/test again in this commit. | ||||
* | squelch more build warnings | Bryan Newbold | 2019-01-08 | 1 | -1/+0 |
| | |||||
* | integrate pg_tmp into tests | Bryan Newbold | 2019-01-08 | 1 | -0/+1 |
| | |||||
* | 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 | ||||
* | squelch more test warnings | Bryan Newbold | 2019-01-08 | 2 | -1/+5 |
| | |||||
* | rust fmt | Bryan Newbold | 2019-01-08 | 1 | -1/+2 |
| | |||||
* | iterate on macaroon time caveat names | Bryan Newbold | 2019-01-08 | 1 | -2/+1 |
| | |||||
* | add superuser role/flag | Bryan Newbold | 2019-01-04 | 1 | -3/+3 |
| | |||||
* | rust fmt | Bryan Newbold | 2018-12-31 | 2 | -10/+3 |
| | |||||
* | make editor_id optional when createding editgroup | Bryan Newbold | 2018-12-31 | 2 | -2/+38 |
| | | | | The editor_id can be infered from auth metadata. | ||||
* | crude admin auth in tests | Bryan Newbold | 2018-12-31 | 4 | -21/+69 |
| | |||||
* | 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 | 1 | -7/+5 |
| | |||||
* | include unwrap() in tests | Bryan Newbold | 2018-12-29 | 1 | -1/+1 |
| | |||||
* | basic auth unittests | Bryan Newbold | 2018-12-28 | 1 | -0/+48 |
| | |||||
* | rust impl last webcapture schema tweaks | Bryan Newbold | 2018-12-26 | 1 | -1/+1 |
| | |||||
* | most basic fileset/web access tests | Bryan Newbold | 2018-12-26 | 1 | -1/+182 |
| | |||||
* | remove unused postgres-backed stats stuff | Bryan Newbold | 2018-12-24 | 1 | -20/+0 |
| | | | | Will replace with elasticsearch-based dash in webface | ||||
* | rust impl of API harmonization | Bryan Newbold | 2018-12-24 | 2 | -4/+4 |
| | |||||
* | implement release_year (and rustfmt) | Bryan Newbold | 2018-12-24 | 1 | -0/+76 |
| | |||||
* | verify checksum against regexes | Bryan Newbold | 2018-12-21 | 1 | -2/+11 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 1 | -1/+151 |
| | |||||
* | new rustfmt (1.31) | Bryan Newbold | 2018-12-14 | 1 | -14/+13 |
| | |||||
* | skeleton out new schema features | Bryan Newbold | 2018-12-13 | 1 | -4/+8 |
| | |||||
* | rustfmt | Bryan Newbold | 2018-12-13 | 1 | -1/+5 |
| | |||||
* | implement hide flag | Bryan Newbold | 2018-11-26 | 2 | -5/+15 |
| | |||||
* | add (disabled) test that invalid fields should error | Bryan Newbold | 2018-11-14 | 1 | -0/+16 |
| | |||||
* | implement new controlled vocabularies | Bryan Newbold | 2018-11-14 | 2 | -14/+47 |
| |