Thomas Lynch
0b03b05d7c
add a few missing things for this to globalsettings
4 years ago
Thomas Lynch
da266a5d0c
add a file middleware, and fix the file paths for images show in fileform
4 years ago
Thomas Lynch
b0c25e2554
make some parseints explicitly base 10
...
could even do with making these more strict tbh
4 years ago
Thomas Lynch
35ededad1e
catch possible bad object id body.params for more friendly error
4 years ago
Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
4 years ago
Thomas Lynch
2a903e8df5
fix various issues with new settings
...
some incorrect field names, bad parsing, date problems and inability to remove some inputs
4 years ago
Thomas Lynch
849882a066
more model and form improvement
...
add a few missing field to paramconverter
make dnsbl cache time divided since it takes the time format
make redis print when it gets a message if debuglogs are on
4 years ago
Thomas Lynch
de8dcbb8be
progress on model, controller and the template
...
improve some helpers to load config properly on global config change including renderlocals, themes, etc
4 years ago
Thomas Lynch
f434899c61
use dynamicresponse in paramconverter for malformed input of arrays
4 years ago
Thomas Lynch
c6441c33f8
start on the model, update paramconverter, refactor the setting thing from boardsettings and fix a bug (how did that not cause problems?? o.o)
4 years ago
Thomas Lynch
cf43f650d6
Ability to edit newsposts reference #298
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
b5580edd9e
Allow sticky to be input as a number, 0 is disabled, higher numbers are a priority and threads will be sorted in descending order reference #289
4 years ago
Thomas Lynch
db60e5bbc8
Handle 'mo' unit for duration date format inputs
4 years ago
Thomas Lynch
fed92d6621
separate trigger action for when tph vs pph is exceeded
...
option for lock reset and captcha reset, to pick what you want the lock mode and captcha mod to go back to at the end of the hour
also fix avuln in boardsettings where pph trigger/mode settings were not range checked
4 years ago
Thomas Lynch
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
4 years ago
Thomas Lynch
7a3943c447
patch messages length check for CRLF vs just LF, because browsers dont count CRLF as 2 characters like the server does (and like it technically is). this will happen for other fields too, but message is the only one that really matter close #269
4 years ago
Thomas Lynch
0fc7535a8c
Allow minutes and seconds in ban time inputs, allow 0 times (0s), and make the form reset not apply to settings form to be a bit less jarring
4 years ago
Thomas Lynch
f9e15e23e8
option for boards to enforce unique files board wide or per thread
4 years ago
Thomas Lynch
51084e1bc0
Test a different captcha
4 years ago
Thomas Lynch
f1abc3c224
Start on selective spoilering references #170 filename stripping references #204
4 years ago
fatchan
9f44f8aabc
country blocking per board
4 years ago
fatchan
846bc63706
bump limit
4 years ago
fatchan
95ecb50a06
options changes, make unlisted/webring unlisted not opposites
...
make thread creation locking possible, and add it as a captcha option
4 years ago
fatchan
89aad64624
add different way to get board for perms check, and fix a dumb oversight and security in edit post. need to rename the bodyexists method maybe
4 years ago
fatchan
c6aaef2495
months are 0 indexed
5 years ago
fatchan
29e78c2e2b
UTC dates for date param so modlog doesnt get broken by timezones
5 years ago
fatchan
198c76ea8a
change password -> postpassword so browsers stop suggesting login password, add it to modal and make it random generate and save based on user input for JS users
5 years ago
fatchan
e561f250ad
custom css per board, with option to apply filter or disable completely
5 years ago
fatchan
68bd674fe5
min and max length to boards, and make it handled properly in posting, frontend js message coutner, etc
5 years ago
fatchan
503900594a
add relative time into mstime and rename it to timeutils and improve it. use relative times for board list
5 years ago
fatchan
64d61c1117
add separate trigger threshold for TPH and PPH stats
5 years ago
fatchan
8d82cad62d
add a board list with pages that also shows webring boards
5 years ago
fatchan
fabab059de
early post moving, next up refactor to move re-markup for styling logic and backlinks out from deletepost into general case to use when moving posts that have quotes in them
5 years ago
fatchan
2715626fcc
convert arrays properly since we no longer use extended body parser
5 years ago
fatchan
d9559c76e6
fix exploit; no longer use extended body parser mode and remove unneeded array prefix from array body fields, since we use different lib to parse body now. also upgrade express and dont allow body for modlog actions to be entered into modlog, replace with non user controlled text
5 years ago
fatchan
de61e95c64
early account management on global manage page. maybe list isnt necessary, could be changed to a simple input box to avoid getting too big, or having to make separate page/paginated
5 years ago
fatchan
71410ca48d
add ability to ban reporters e.g. for spamming reports
5 years ago
fatchan
7ca255346a
additional log message to modlog events
5 years ago
Tom
ab27114f71
add board tags, and limits to tags, moderators and filters ( #49 )
...
added board tags (not searching with them or indexing them yet)
added limits to number of tags, moderators and filters in board settings
5 years ago
Tom
f0ca405236
Add modlogs ( #48 )
...
* public mod logs, per day and list of log days
* action handler variable names and logic changes, also dont duplicate modloglist code
5 years ago
fatchan
883020cfe9
news page, and ability to add or delete news from global manage page, by auto level 0 accounts only
5 years ago
fatchan
e17d7e2305
improvements to removebans and deleteboards controllers, and adjustments to combine global and board manage routes
5 years ago
fatchan
4787c0c1d8
references #2 more options for reply vs thread post settings on manage pages
5 years ago
fatchan
87f59ed051
board moderators can now be assigned/removed
5 years ago
fatchan
ac55522492
add board locking, and add it as a tph trigger action
5 years ago
fatchan
22e4033b82
add more options for filters, filter mode and auto ban configurable duration
5 years ago
fatchan
55327d1b98
groundwork for user board creation
5 years ago
fatchan
f55f29fb9f
filters, improved manage page and store both raw and markdown announcements for showing in editor and on the pages themselved
5 years ago
fatchan
5a6e7cbf94
improved captcha trigger behaviour and optional modes
5 years ago