about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2023-07-09 01:22:46 +0300
committerVika <vika@fireburn.ru>2023-07-09 01:22:46 +0300
commit82346b89c7d166817f3450759cc9f6df1ec7c74d (patch)
tree41cebe9ff2fefc88b20dd080d42a2730b5c6c1b8 /src
parentb56bbffbd421f7f047970d19ad86f8f10c217e9b (diff)
downloadkittybox-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 'src')
0 files changed, 0 insertions, 0 deletions