Thomas Lynch
2a48b10054
Fix duplicate key in projectedsettings for board settings, and make custompages jsons get removed on deleting custom page.
...
Close #479 add endpoints for board and global settings.json to api with options that would be useful for a 3rd party app. Add the associated tasks, calls to them in settings.
Small change and add comments in lib/build/render.
2 years ago
Thomas Lynch
641c087ecc
Add public json for modlog list, logs, custompages
...
update the banners task to output json (not just render it), so it can be reached on first pageload
close #491
2 years ago
Thomas Lynch
1e70a5aa62
Fix incorrect arg to Modlogs.deleteOld not pruning modlogs when updating modloglist. (the public page was still "correct" since it filtered the dates beforehand)
2 years ago
Thomas Lynch
4022999966
Remove or update some no longer relevant todos.
...
re: the captcha one, roundrobin = too fast expiring, sampling expireAfter $gte some time = possible to not get returned a captcha. so stucking with random. been working fine.
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
cd254e7c40
cleanup and make hotposts more to my taste
2 years ago
l29utp0
af9a2232c1
...
2 years ago
l29utp0
3e1eaa87b4
fix hot threads dumb error when pasting
2 years ago
l29utp0
c4a0c1a56e
add hotThreads function from ptchina, needs some more work
2 years ago
Thomas Lynch
bb582c2de8
"helpers" -> "lib
...
god help anybody who gets serious merge conflicts from this
close #434
2 years ago
Thomas Lynch
4f525b6613
move, rename, reorganise "helpers" => "lib"
2 years ago
Thomas Lynch
ef3c38bf55
make "Manage" navbar link go to the current page in modview, instead of defaulting to reports
...
dont manage when already in modview
2 years ago
l29utp0
079f3d2437
typo, that will be $1000
3 years ago
Thomas Lynch
024a47a286
update board settings to do some stuff similar to global
...
make global use the *correct* mapped tasks
refactor the helpers
remove some debug statements
close #329
3 years ago
Thomas Lynch
a867a6a310
Start on making global settings changes less lazy reference #329
3 years ago
Thomas Lynch
8892f64bad
merge webring db,
...
improve board list sorting and filters
improvelayout of public and global manage board list forms
and add extra homepage stat
4 years ago
Thomas Lynch
313d4a9fe4
gulp export some tasks and task helper for build-worker can call it
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
621a83a589
make the ip prune thingy a schedule
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
98d9074f1f
Dont make reset increase lock/captcha mode if mode adjusted but it was already triggered
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
aac58afa16
fix broken helper tasks
4 years ago
Thomas Lynch
1399dda5fd
Json routes will hit backend & get 404'd there,
...
allows for pages with missing json that arent prebuilt to build when json route is hit,
without requiring html pageload first better for api
4 years ago
fatchan
2f440b229a
remove label from trigger reset task if none happened
4 years ago
Thomas Lynch
e6f11478ee
Dev auto reset triggers ( #152 )
...
* dev-auto-reset-triggers to test auto resetting trigger action at end of each hour references #130
* migration and comment change
* migrateVersion change
4 years ago
fatchan
e2a96d8bb3
post editing works now, hooray
4 years ago
fatchan
1d1f42f94d
quick way to make bypasses in a frame
5 years ago
fatchan
5be8431d24
supporting stuff for modals, scripts, and urlencoded handling in forms.js
5 years ago
fatchan
5606b2470f
optional recent news on homepage and config for max number to show
5 years ago
fatchan
21b4e8cf23
also use proper date in tasks
5 years ago
fatchan
84971cd274
start work on blockbypass
5 years ago
fatchan
d3566b634f
debuglog for log prunes and small fix to pink theme
5 years ago
fatchan
1e404e6065
optional number of days before pruning modlogs
5 years ago
fatchan
1840265955
logs optional, add a config for it
5 years ago
fatchan
a5aaaa29a5
reference #55 working on global settings page/config editor, start with global filters and options to force change sitewide captcha
5 years ago
fatchan
b63e684422
fix some awaits in build tasks and make lock ttl configurable
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
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
93b63c893b
make time diff string separate function and use it in webring generatio nfor same format timestamp
5 years ago
fatchan
045716de78
add deleteold as a separate tool to delete files in dir older than a tiemstamp, and then prune older than 30 days logfiles with generating the modlog list
5 years ago
fatchan
8d82cad62d
add a board list with pages that also shows webring boards
5 years ago
fatchan
485dc802aa
improve how errors shown when making a post, use modals and fix ban seen marking
5 years ago
fatchan
db3595d766
rename build
5 years ago
fatchan
c8acbaae04
more scuffed stats changes:
5 years ago
fatchan
14cd1c34d0
more ugly changes to how stats and homepage updates work
5 years ago
fatchan
9f0d8867ca
change how stats work because im stupid and they were basically capped at threadlimit*replylimit per board because of using the posts collection. as posts are pruned, they would not be counted in stats even if part of calculations
5 years ago
fatchan
7d9e3c184f
sort webring boards, skip empty or errored ones and change column width
5 years ago
fatchan
f7d1ba9470
webring support, optional. currently adds webringed boards to homepage list. in future will move to board list page
5 years ago
fatchan
1123195e3f
make some form boxes bigger, and change how total posts/active users shown on homepage
5 years ago