about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed the in-memory database, it's dragging me downVika2021-05-053-214/+0
|
* Deleted a loose TODOVika2021-05-051-1/+0
|
* Moved the Redis spawner to the Redis module where it belongs, refactored ↵Vika2021-05-053-78/+110
| | | | tests to use the Redis database instead of a fake one
* Added a connection pool to the RedisDatabaseVika2021-05-051-17/+27
|
* Refactored error handling in RedisStorage using the ? operatorVika2021-05-051-184/+124
|
* Made some StorageError fields private and added getters insteadVika2021-05-051-2/+5
|
* Clippy lintsVika2021-05-045-34/+27
|
* Made StorageErrors directly convertible into Micropub JSON responsesVika2021-05-043-15/+22
|
* Fixed Redis testsVika2021-05-042-4/+6
|
* Implemented MemoryStorage::update_post()Vika2021-05-042-1/+84
|
* Refactored the database module and its testsVika2021-05-046-387/+423
|
* Initial commitVika2021-05-049-0/+1854
Working features: - Sending posts from the database - Reading posts from the database - Responding with MF2-JSON (only in debug mode!) - Not locking the database when not needed - All database actions are atomic (except for a small race where UIDs can clash, but that's not gonna happen often) TODOs: - Send webmentions - Send syndication requests - Send WebSub notifications - Make tombstones for deleted posts (update adding dt-deleted) - Rich reply contexts (possibly on the frontend part?) - Frontend? - Fix UID race Code maintenance TODOs: - Split the database module - Finish implementing the in-memory test database - Make RedisDatabase unit tests launch their own Redis instances (see redis-rs/tests/support/mod.rs for more info) - Write more unit-tests!!!