minilauta / miniboard

Minimalistic oldschool imageboard software
MIT License
7 stars 5 forks source link

archive? #26

Closed ghost closed 2 years ago

ghost commented 2 years ago

Was wondering, do you plan to implement archive of any type? One thing that separates boards is archive functions. Why? Because someone can just post like 100 times to destroy an entire board if the board is set to delete the 100th post. The archive feature prevents people from trying to clear the entire board by posting 100 times.

denamuumi commented 2 years ago

In other words: eg. TinyIB has maximum amount of threads per board and when new thread is posted the least active thread is deleted?

Simple but suboptimal solution. A more sophisticated criteria for clearing inactive threads would be more than welcome I think.

First solution to combat this vulnerability would be to not delete threads when max amount exceeds so that they are visible again after the spam threads are deleted.

Anonyymi commented 2 years ago

We can just mark threads deleted instead of actually deleting them. Then a scheduled background job could delete them daily.