about summary refs log tree commit diff
path: root/src/database/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Added a WIP file backendVika2021-08-151-30/+37
| | | | | | | 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.
* Fixed a VERY WRONG way to handle stream errorsVika2021-08-041-1/+9
| | | | | | 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 checkVika2021-07-291-2/+8
|
* Relaxed anti-takeover URL check to simply not place redirects at foreign URLsVika Shleina2021-07-191-3/+3
|
* Make rustfmt happyVika2021-05-171-44/+106
|
* Added setting store per-userVika2021-05-171-0/+18
|
* Refactored the Redis instance spawning in tests to automatically kill RedisVika2021-05-051-10/+6
|
* Removed the in-memory database, it's dragging me downVika2021-05-051-15/+0
|
* Moved the Redis spawner to the Redis module where it belongs, refactored ↵Vika2021-05-051-42/+10
| | | | tests to use the Redis database instead of a fake one
* Made some StorageError fields private and added getters insteadVika2021-05-051-2/+5
|
* Clippy lintsVika2021-05-041-4/+4
|
* Made StorageErrors directly convertible into Micropub JSON responsesVika2021-05-041-0/+16
|
* Fixed Redis testsVika2021-05-041-3/+5
|
* Implemented MemoryStorage::update_post()Vika2021-05-041-0/+2
|
* Refactored the database module and its testsVika2021-05-041-0/+263