Thomas Lynch
0fc87e752d
make captcha font apply to text AND grid
...
set a new default font which is common on linux, in debian repos, and has the chess characters
remove 24MB font file that came from i dont even remember where
2 years ago
Thomas Lynch
6b437d7159
Dont show replayable option if other files disabled on board
...
Rebuild board pages on file type for image/other changes, to account for tegaki in postform changes
2 years ago
Thomas Lynch
05db1d898a
eslint fix remove debuglogs import, settings.json update is now logged as a render event rather than in debuglogs
2 years ago
Thomas Lynch
cc2eefc477
Bugfix showing correct amount of deleted asset/banner on board, deletedCount->modifiedCount because we are updating board object not deleting a document
2 years ago
Thomas Lynch
9a7053242d
Close #370 optional disable overboard reverse image links
2 years ago
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
35da2a9ff1
Close #478 option to hide banners and [banners] links board setting
2 years ago
Thomas Lynch
fd7fc1adbf
Close #470 ability to renew an existing bypass, which is slightly useful if you allow long living bypasses
2 years ago
Thomas Lynch
9517ec2f05
Allow "other" files in addassets, to allow e.g. fonts
2 years ago
Thomas Lynch
47ab8d22c0
Configurable hot threads max age, update migration, changelog, etc
2 years ago
Thomas Lynch
47083e149b
Fix the anonymizer bypass captcha permission issue (and fix the stupid pre-bypass and postsEarly in general)
2 years ago
Thomas Lynch
3a4737ad8e
Add account permission to bypass captcha ref #435 still TODO fixing it for anonymizers
2 years ago
Thomas Lynch
962481845d
Bugfix double sending headers on return from create model, e.g. if board already exists
2 years ago
Thomas Lynch
8f74885ba2
Add noise and paint slider options to grid captcha
2 years ago
Thomas Lynch
3ab0a271c4
Inactive accounts handling schedule, globalsettings for it and migration.
...
Plus the same for abandoned boards handling, just still TODO the schedule.
ref #418
2 years ago
Thomas Lynch
6ec6b32ed5
Change "wave" and "paint" text effect captcha options from toggle to slider
...
Add "noise" text captcha effect slider
Add font lib to get list of system fonts
Add "font" text captcha option
ref #469
2 years ago
Thomas Lynch
c8ebf9a579
Improvement to grid v1 to allow customising, allowing for something like this.
...
-true characters
-false characters
-question text
Make optional (and add additional options for) some filters/effects
-paint
-line
-wave
2 years ago
Thomas Lynch
18ab7d24ee
When strict mime validation is enabled, actually tell the user what the server thinks the mime is in the mismatch error message.
...
note: only for making posts (for now), pending a refactor of some checks that are shared and duplicated between other file upload models e.g. banners/asset
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
d8f2e8292f
add eslint rules
...
no-template-curly-in-string (+find and fix minor bug in redirect)
curly
no-multiple-empty-lines
2 years ago
Thomas Lynch
115679a4de
I guess my comment in lib/post/filteractions was right
...
+update CONTRIBUTING.md
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
ec5eb65aa7
change return of getfilterstrings to object and destructure
2 years ago
Thomas Lynch
0a3515291b
yeah, it was pretty busted
2 years ago
Thomas Lynch
6c9f0a211f
hotfix editing broken filters
...
note: i am dumb and the testing account has BYPASS_FILTERS so what i broke in changing filters went unnoticed
in future, will add more tests w/ different permission levels
2 years ago
Thomas Lynch
452071ebb0
debugLogs logs board and global setting changes
2 years ago
Thomas Lynch
7893947ee6
refactor, dedup the combining of post data into strings for filtering, and blocking post/applying ban. also improve the comments. previously was ugly and duplicated between makepost and editpost model
2 years ago
Thomas Lynch
a9af02e105
bugfix incorrect fallback for arraysetting in board tags
...
undo a change in paramconverter that could mess with array inputs being unset
migration to unfuck any broken board tags from this
2 years ago
Thomas Lynch
1a377a30ee
close #322
2 years ago
Thomas Lynch
32e0ca7d2b
remove debug, update comment
2 years ago
Thomas Lynch
24a8f5ae18
Fix bug in reporter banning, thanks to automated tests
2 years ago
Thomas Lynch
80a4247a66
adjustable hot threads limit and threshold
2 years ago
Thomas Lynch
206dd3bc32
bans
...
property name fixes/change, category -> type, type -> range, now they reflect more what they actually are
bantable updated, bit cleaner mixin
bantables now more compact, will overflow (with scroll) and no text wrap
close #446
2 years ago
Thomas Lynch
62678c2b19
Bans can now be "upgraded" retroactively to expand single IP bans to qrange/hrange bans.
...
The ban table now has a column or whether a ban is of an IP or Bypass ID. (Or pruned IP, if you were dumb enough to ban one of those)
2 years ago
Thomas Lynch
e4d6ae59ad
bit simpler deleting of quotes in deletepost.js, simple string repacement instead of remarking the whole post.
...
and refactor the deleting to return the bulkwrites
partly related to #215 , moveposts/editposts it makes sense to remarkup because in those case we can even be adding quotes.
2 years ago
Thomas Lynch
7805054635
modal shows bans, and are appealable from the modal
...
bugfix already appealed bans showing as "appealable"
minor ban form/ban mixin tweaks
no more sketchy way of "clearing" the form and resubmitting to show bans page. nice!
2 years ago
Thomas Lynch
2391e3293c
bugfix, probably from #434
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
cf3cecbcf9
bugfix cyclic limit being only correct every n%2 post
2 years ago
Thomas Lynch
4829bc6546
emptyDir() instead of remove() because remove runs into ENOTEMPTY under synthetic load of high post rates, probably because new threads get written to the folder at the same time. no ide a why emptyDir doesnt hav ethis problem..
2 years ago
Thomas Lynch
f41a84c944
bugfix when null tags
2 years ago
Thomas Lynch
76eb87bf43
minor tweak to getting thread page, and make it null because its not necessarily always 1 for new threads (wont be used when !data.thread anyway)
2 years ago
Thomas Lynch
6a4fd84a90
bugfix page rebuild in editpost model
2 years ago
Thomas Lynch
440298a44d
testing maybe slower/dumber but also maybe more *correct* rebuilding of pages after actions
2 years ago
Thomas Lynch
7cee1f14da
fix regression with moveposts and deleteposts when running markdown again for quotes
...
small change to diceroll, just use bind, no need to return the function like that
2 years ago
Thomas Lynch
74f8e1d0f0
add board toggle
...
add globla setting of board defaults and frontend script defaults
add default tegaki size in settings
make tegaki follow theme
add migration
fixup some junk and change icons as best i can in tegaki.css, avoiding fontawesome
2 years ago
l29utp0
c6c312ff0e
fix internal server error on editing post
2 years ago
Thomas Lynch
6798cb843e
bugfixes and improvements to captcha options
...
improve gulp task for proper captchafield grid size
make globalsettings run tasks check for any captchaOptions change, not just type
bugfix grid image size wrong body name
3 years ago
Thomas Lynch
9ba0caa184
change "Edited" or "Deleted" text to just Deleted, because that form no longer allows editing, that is done in /editaccount
3 years ago
Thomas Lynch
ce85a69ade
missing import
3 years ago