Thomas Lynch
0b03b05d7c
add a few missing things for this to globalsettings
4 years ago
Thomas Lynch
042445d28c
it works, with some kinks still to get through
4 years ago
Thomas Lynch
5cce251d9b
make the controllers and models exist and do something
4 years ago
Thomas Lynch
f93b270b62
close #337
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
eb86c12fe0
close #331
4 years ago
Thomas Lynch
f0cd378d14
close #321
4 years ago
Thomas Lynch
1b1883be1e
fix the webring and the rest of the options to the new panel
4 years ago
Thomas Lynch
06bac65200
add global announcements, now that there is global settings, DUH close #301
4 years ago
Thomas Lynch
a0fa0bde70
proper validation for thumb extension and mime types
...
fix lengthbody checks for 0 minlength/empty fields
remove old todos
4 years ago
Thomas Lynch
436381287b
actual check for file extensions and extra mime types
4 years ago
Thomas Lynch
0d842e0320
allow -1 for iphashpevmlevel i nnew settings page
4 years ago
Thomas Lynch
125a984a9f
corect some expected minmax results
4 years ago
Thomas Lynch
6fd843df62
more god damn settings
4 years ago
Thomas Lynch
d4ff40d715
finish errors for changing global settings
...
add back perm level check for delete board
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
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
60cddef23a
slowly switch configs to db and only a small amount of things like secrets remain in a config file
4 years ago
Thomas Lynch
d14dcdcc76
improve and start work on the controller for global settings page with the new checker
4 years ago
Thomas Lynch
ddd949e743
make schedules able to run separately and dont make instance on import, do it in the tasks folder index
4 years ago
Thomas Lynch
32ec1152b4
more 'tor' -> 'anonymizer' rewording changes including some conditionals, comments and FAQ page text close #316
4 years ago
Thomas Lynch
d75fb8cb0f
rename some tor-specific stuff to "anonymizer" to be more general since i added lokinet to my site, will make easier to add others e.g. i2p in futuure
4 years ago
Thomas Lynch
cf43f650d6
Ability to edit newsposts reference #298
4 years ago
Thomas Lynch
8629143610
change video/audio handling, allows "audio" files with a video mime type to be uploaded properly, and get treated like audio file. might need some testing to make sure nothing broke :)
4 years ago
Thomas Lynch
dfdd102626
Rehash ids when moving posts to another thread, closes #218
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
ne0n
6f090adabe
Fix typo
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
some random guy
124de4351a
board edit: take board name & description max length limits in config file into consideration
4 years ago
Thomas Lynch
d7de091809
~ edits dont open in new tab, and redirect back to page or post when click 'ok' in modal reference #272
4 years ago
Thomas Lynch
67026fcc0c
- Remove some hardcoded limits on forms
...
~ Make limit for post actions configurable. needed to still be limit for antispam/performance
+ Add config for total banners per board
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
a2d34ac4af
close #265 global and board setting to disable .onion file posting
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
97ba9247a8
bug in reply/file requirement settings, NOT related to issue reported in >>>/t/2#334 on demo site
4 years ago
Thomas Lynch
34cb073a11
Typos in self-delete account messages
4 years ago
Thomas Lynch
18240670cf
Let users self-delete their account, provided they dont hold any staff positions closes #240
4 years ago
Thomas Lynch
b597ac8159
ability to resign from a board you mod/own. previously you could not leave a mod position, and you could not leave owner position (unless you transfer) closes #196
4 years ago
Thomas Lynch
f1db4f7317
Fix post history for tor user and remove manual addban form from non-global manage pages (for now)
4 years ago
Thomas Lynch
b0797f0418
Beta testing .onion support
...
***DO NOT USE***
This still has some issues and needs testing.
- needs updated nginx configs added, expects "TOR" in the x-country-code header under a separate vhost
- need to make sure bans work properly still
- need to implement system to prevent captcha ddos, since i cant just to IP ratelimit now
- im 99% sure post history of tor users is broken if viewed by non-global staff
- manual input ban form will also be broken for non-global staff
- could still use some improvement on the middleware having a little more complicated flor for tor users
But for the most part it works. Basically it will use the bypass id of a tor user as their "ip".
4 years ago
some random guy
cd789dba0c
remove unnecessary user object from session
...
It only had a single property, username.
4 years ago
Thomas Lynch
97ed9a91f0
seemsgood, closes #194
4 years ago
Thomas Lynch
f1abc3c224
Start on selective spoilering references #170 filename stripping references #204
4 years ago
fatchan
b4d9411ab4
close #129
4 years ago
fatchan
51562e7cfd
Update example config references #135
4 years ago
fatchan
d0bcebd4e3
ratelimit edits references #121
4 years ago
fatchan
4d6937b05f
fix captcha expired bug on create page
4 years ago
fatchan
846bc63706
bump limit
4 years ago
fatchan
940cba8837
bugfix report bans
4 years ago