diff options
author | Vika <vika@fireburn.ru> | 2023-07-09 01:22:46 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2023-07-09 01:22:46 +0300 |
commit | 82346b89c7d166817f3450759cc9f6df1ec7c74d (patch) | |
tree | 41cebe9ff2fefc88b20dd080d42a2730b5c6c1b8 /kittybox-rs/src/media/storage | |
parent | b56bbffbd421f7f047970d19ad86f8f10c217e9b (diff) | |
download | kittybox-82346b89c7d166817f3450759cc9f6df1ec7c74d.tar.zst |
database{,/file}: clean up code, add documentation and logging
`filter_post` is now out of here and moved into the frontend. This kind of non-intrusive filtering can be done on the frontend, and the database need not concern itself with this. It can still be done as an optimisation... probably? but the frontend is going to sanitize things like location in the post by itself now, so it is not required anymore (and might be harmful, if frontend starts indicating that there are some hidden fields by replacing them with placeholders that ask one to log in to view information).
Diffstat (limited to 'kittybox-rs/src/media/storage')
0 files changed, 0 insertions, 0 deletions