Thomas Lynch
115679a4de
I guess my comment in lib/post/filteractions was right
...
+update CONTRIBUTING.md
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
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
6a4fd84a90
bugfix page rebuild in editpost model
2 years ago
l29utp0
c6c312ff0e
fix internal server error on editing post
2 years ago
Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
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
c6bb7f1875
unfuck #374 guess i was tired
3 years ago
Thomas Lynch
9a65ead55d
stronger strict filtering
3 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
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
22f582f3a7
Insecure tripcodes reference #282
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
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
4 years ago
Thomas Lynch
b20ca7cc20
Capcode input changes reference #222
...
If a user is board owner/mod, use higher capcode only if explicitly entered, else use board owner/mod capcode
Strip extra repititions
Default back to stafflevel for perm if theres a mismatch
4 years ago
some random guy
5a093ce936
do not reroll dice when re-rendering markdown
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
1f7e670c7c
modlog records for non-delete actions now link to posts closes #193
4 years ago
fatchan
39a2db4178
Typo, close #162
4 years ago
fatchan
b21189f762
Change the wording of that because it wouldnt be correct for ipv6
4 years ago
fatchan
a517a3659c
Bugfix & improve bans from filter to remove unnecessary queyr, use insertedId from insertOne instead of fetching again
4 years ago
fatchan
0307f69693
Start fixing my really dumb retard mistake of how ips and post histories work
4 years ago
fatchan
6e1f552304
Bugfix quote difference/intersection when updating for edits references #121
4 years ago
fatchan
b5b5c8bdf2
invert show/hide name option for modlog and edit
4 years ago
fatchan
2d2ce8f6a4
name showing on edit follow modlog setting
4 years ago
fatchan
cfbb645912
capitalise edit action
4 years ago
fatchan
28b64809a6
modlog message and option to show username for edit post
4 years ago
fatchan
fb622c6148
typo
4 years ago
fatchan
a5dad8701d
add post edits to modlogs
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
e2a96d8bb3
post editing works now, hooray
4 years ago
fatchan
9eb5bdcd97
typo
4 years ago
fatchan
2744d7dbe7
-refactor message markup handler to separate function
...
-refactor name/tripcode/capcode handler to separate function
-use new methods in places like news, announcements and new posts
-more structure and logic for post editing
4 years ago
fatchan
3d19044005
just leave that for now
4 years ago
fatchan
27ee48e6fb
more on controller and structure for post editing
4 years ago