Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid using capfd to test cliHEADmaster | Tomasz Kramkowski | 2023-04-04 | 1 | -4/+6 |
| | |||||
* | very basic cli test | Tomasz Kramkowski | 2023-03-29 | 1 | -0/+12 |
| | |||||
* | remove unused variable | Tomasz Kramkowski | 2023-03-28 | 1 | -1/+0 |
| | |||||
* | remove unused imports | Tomasz Kramkowski | 2023-03-28 | 2 | -2/+2 |
| | |||||
* | Make authenticate easier to test without monkeypatching | Tomasz Kramkowski | 2023-03-28 | 1 | -22/+17 |
| | | | | | | By having authenticate be a function taking a parameter to a getter which can get an Auth from an Env, it's now possible to test it without needing monkeypatching. | ||||
* | remove superfluous import | Tomasz Kramkowski | 2023-03-28 | 1 | -1/+0 |
| | |||||
* | Split Store into Store and Auth | Tomasz Kramkowski | 2023-03-28 | 2 | -5/+5 |
| | | | | This separates the concerns | ||||
* | Switch back to centralised opening of the database | Tomasz Kramkowski | 2023-03-28 | 3 | -19/+30 |
| | | | | | | Create Store instances when needed This will make more sense with following commits | ||||
* | rename open_database to open_store | Tomasz Kramkowski | 2023-03-27 | 1 | -3/+3 |
| | |||||
* | tests/middleware/open_database: simplify test | Tomasz Kramkowski | 2023-03-27 | 1 | -36/+13 |
| | |||||
* | Throw all data manipulation code in one place | Tomasz Kramkowski | 2023-03-27 | 3 | -34/+32 |
| | | | | | This means that everything now goes through a Store object, which should make testing a little bit easier. | ||||
* | POST request support | Tomasz Kramkowski | 2023-03-27 | 1 | -0/+17 |
| | |||||
* | functional tests | Tomasz Kramkowski | 2023-03-27 | 1 | -0/+240 |
| | |||||
* | tests/db: pass URI to connect | Tomasz Kramkowski | 2023-03-27 | 1 | -2/+2 |
| | |||||
* | paste.db: readd missing import of sha256 | Tomasz Kramkowski | 2023-03-27 | 1 | -0/+6 |
| | |||||
* | if_none_match: quote ETag values | Tomasz Kramkowski | 2023-03-27 | 1 | -0/+3 |
| | |||||
* | Respond to auth failures with WWW-Authenticate | Tomasz Kramkowski | 2023-03-27 | 1 | -0/+3 |
| | |||||
* | tests/middleware/if_none_match: remove duplicate test | Tomasz Kramkowski | 2023-03-27 | 1 | -7/+0 |
| | |||||
* | add middleware tests | Tomasz Kramkowski | 2023-03-24 | 8 | -0/+483 |
| | |||||
* | add tests for paste.db | Tomasz Kramkowski | 2023-03-24 | 2 | -0/+53 |