Commit Graph

9 Commits

Author SHA1 Message Date
efc1845aa0 Update TODO comment
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 13:36:52 -07:00
4e5203c61b Add check to prevent completely blank posts
This isn't perfect, but if a user tries to make a completely blank post,
they will be blocked from doing so

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 13:30:12 -07:00
3a35a35caf Add posting cooldown
If a user tries to post more than once in a certain amount of time, they
will be blocked from doing so until their cooldown is over. This
required a little bit of hacking to get the board and IP address set
*before* the validation checks were made, but it all appears to work.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 13:24:43 -07:00
771dba1515 Remove todo
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-06 22:03:21 -07:00
27045c11c2 Add thread pruning for threads that pass the maximum page threshhold
Each board is allowed a number of threads per page, and a maximum number
of pages (default 10 for both). If a thread falls off the last page, it
is deleted.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-06 22:00:54 -07:00
e9585544d5 Add underline back to links in the style
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-06 21:59:45 -07:00
6ed47f9957 Add max image upload size limit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-04 21:14:00 -07:00
e6c60ff93c Add image upload support
Images can be uploaded, thumbnails are created, they're displayed within
the threads themselves. Just like four chans!

There is not an upload size limit set yet. Gotta get on that next.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-04 19:45:36 -07:00
126db039e2 Initial commit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:04 -07:00