Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added file updates and fixed a bug with truncated JSON files | Vika | 2021-09-26 | 2 | -3/+154 | |
| | | | | | | | | | | | There was a bug where `File::write()` would not write the entire buffer, and this condition was left unchecked by the code. All `File::write()` calls are now replaced with `File::write_all()` which ensures the whole buffer is written to the backing file. Additionally added a smoke check for the file updates. It is in no way comprehensive nor it is able to catch all the possible failures but it's a good way of testing the functionality without way too much hassle. | |||||
* | Added a WIP file backend | Vika | 2021-08-15 | 2 | -30/+210 | |
| | | | | | | | Currently unavailable for use and only has basic GET and POST operations implemented. A lot more work is needed to make it truly usable. Locking is implemented using flock() system call on Linux. | |||||
* | Improved Redis module code quality | Vika | 2021-08-15 | 1 | -13/+10 | |
| | ||||||
* | Shortened a connection timeout and installed a lifetime limit for connection | Vika | 2021-08-06 | 1 | -1/+4 | |
| | ||||||
* | Trying to mitigate and log more about the HTTP 500s | Vika | 2021-08-05 | 1 | -10/+12 | |
| | ||||||
* | Fixed a VERY WRONG way to handle stream errors | Vika | 2021-08-04 | 2 | -31/+25 | |
| | | | | | | for future reference: stream operations returning Result satisfy conditions for the futures::stream::TryStreamExt trait, allowing you to use `TryStreamExt::try_collect::<T>()` and receive a Result<T>. | |||||
* | Appease rustfmt, clippy and cargo check | Vika | 2021-07-29 | 1 | -2/+8 | |
| | ||||||
* | Relaxed anti-takeover URL check to simply not place redirects at foreign URLs | Vika Shleina | 2021-07-19 | 2 | -5/+5 | |
| | ||||||
* | Make rustfmt happy again after Clippy edits | Vika | 2021-05-18 | 1 | -4/+1 | |
| | ||||||
* | Make clippy happy | Vika | 2021-05-17 | 1 | -12/+8 | |
| | ||||||
* | Make rustfmt happy | Vika | 2021-05-17 | 2 | -127/+316 | |
| | ||||||
* | Added setting store per-user | Vika | 2021-05-17 | 2 | -0/+28 | |
| | ||||||
* | Update CI configuration and GitLab WebIDE settings | Vika | 2021-05-17 | 1 | -1/+1 | |
| | ||||||
* | Added a note to future self | Vika | 2021-05-05 | 1 | -0/+7 | |
| | ||||||
* | Refactored the Redis instance spawning in tests to automatically kill Redis | Vika | 2021-05-05 | 2 | -13/+28 | |
| | ||||||
* | Removed the in-memory database, it's dragging me down | Vika | 2021-05-05 | 2 | -203/+0 | |
| | ||||||
* | Moved the Redis spawner to the Redis module where it belongs, refactored ↵ | Vika | 2021-05-05 | 2 | -42/+49 | |
| | | | | tests to use the Redis database instead of a fake one | |||||
* | Added a connection pool to the RedisDatabase | Vika | 2021-05-05 | 1 | -17/+27 | |
| | ||||||
* | Refactored error handling in RedisStorage using the ? operator | Vika | 2021-05-05 | 1 | -184/+124 | |
| | ||||||
* | Made some StorageError fields private and added getters instead | Vika | 2021-05-05 | 1 | -2/+5 | |
| | ||||||
* | Clippy lints | Vika | 2021-05-04 | 2 | -22/+16 | |
| | ||||||
* | Made StorageErrors directly convertible into Micropub JSON responses | Vika | 2021-05-04 | 1 | -0/+16 | |
| | ||||||
* | Fixed Redis tests | Vika | 2021-05-04 | 2 | -4/+6 | |
| | ||||||
* | Implemented MemoryStorage::update_post() | Vika | 2021-05-04 | 2 | -1/+84 | |
| | ||||||
* | Refactored the database module and its tests | Vika | 2021-05-04 | 4 | -0/+767 | |