Thomas Lynch
ec5eb65aa7
change return of getfilterstrings to object and destructure
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
1a377a30ee
close #322
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
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
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
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
440298a44d
testing maybe slower/dumber but also maybe more *correct* rebuilding of pages after actions
2 years ago
Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
159e67b430
ref #426 ip "cloaking"
...
still todo migration
"ips" will make more sense for staff now
qrange/hrange no longer need to be stored
bypass still work like before. will have .BP suffix, normal ips are .IP
filtering and stuff still works
bans page will now show .*'s in the cloaked view for range bans
in future version, this allows (even for those who cant see raw ips):
- modlog, bans, post hisory filters including per-range
- directly input ips/range cloak to ban, without selecting a post
- upgrading existing bans from single to ranges
3 years ago
Thomas Lynch
d1f9c78258
ref #377 , the fun begins
...
still a few things to do, see TODO (heh)
mostly working how i imagined, with a few quirks.
pretty happy with it.
3 years ago
Thomas Lynch
de9b82ebad
close #419
3 years ago
Thomas Lynch
7642fd1dfb
close #419
3 years ago
Thomas Lynch
888d134b5f
ref #376
3 years ago
Thomas Lynch
54212907fa
small bugfix, post.u being undefined in socket emits projected post
3 years ago
Thomas Lynch
61de85937a
try with a newer commit of express-fileupload tweaked to not allow missing file extensions
...
and remove some path.extname() stuff since that wouldnt be necessary anymore
checkRealMimeTypes can overwrite with correct one if enabled
3 years ago
Thomas Lynch
bbd06b31af
damn spaniards
3 years ago
Thomas Lynch
c6bb7f1875
unfuck #374 guess i was tired
3 years ago
Thomas Lynch
9a65ead55d
stronger strict filtering
3 years ago
Thomas Lynch
984d9428f5
make accessible the fuzzy hashes to filter ref #371
3 years ago
Thomas Lynch
497ba44f3e
close #362
3 years ago
Thomas Lynch
48438a6b77
disable reply subject and forceanon change
3 years ago
Thomas Lynch
9f96608fca
thumbnail change
3 years ago
Thomas Lynch
744b2530c5
fix u live link for peo
3 years ago
Thomas Lynch
b167cec7f6
close #348
3 years ago
Thomas Lynch
042445d28c
it works, with some kinks still to get through
4 years ago
Thomas Lynch
594c0fee8a
close #343
4 years ago
Thomas Lynch
02be7cbc5a
reference #340
4 years ago
Thomas Lynch
035d945b98
fix live posts not including mongo objectid
4 years ago
Thomas Lynch
48d15c1a28
typo globalSettings->globalFilters
4 years ago
Thomas Lynch
a34340ea00
move the settings to mongo instead of redis (like it should have been in the first place tbh)
...
i *think* the migration from previous version will work.
made the version to 0.1.0 because im sick of 0.0.10000 and this is kinda a big change.
close #334
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
a3a76e3f8c
post delete bug
4 years ago
Thomas Lynch
9c7d061086
fix permlevel and unterminated regex group
4 years ago
Thomas Lynch
51f729b367
dont allow []() url regex by default, only for people with permission like staff or in newsposts, announcements, etc.
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
d31a60e69a
put thumbs in a folder, tests would have been nice to have cos this will probably cause regressions, heh... reference #307
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
98f2983725
fix issue with audio waveform thumb width
4 years ago
Thomas Lynch
1b4555c538
remove unused import
4 years ago
Thomas Lynch
5345bb7c0c
remove thumbwidth check not processong for audio
...
some audio files will upload with a VIDEO stream of the album art and not get given dimensions
OR a waveform audio thumbnail, causing content-jumping because hasThumbs is true but there
is no geometry.thumb*
4 years ago
Thomas Lynch
7c150836df
make spoilers use the same thing as strip filename, duh
4 years ago
Thomas Lynch
6f64448b33
works for board recent and global recent, fixed lastPostId issue and IP display issue
...
just neds a second pair of eyes to check its not leaking IPs anywhere
4 years ago
Thomas Lynch
e063f20507
Working at a basic level for global manage page now reference #171
4 years ago
Thomas Lynch
55778c8570
change filename stripping, make browser hash files and send hash of file to strip name instead of sending names to prevent duplicate both getting stripped or filename filters on backend breaking them.
...
also need the hashes for another feature later on too.
4 years ago
Thomas Lynch
77cd6dd147
fix pruning bug intriduced during audio video files changes
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