justcool393
32a4693da9
fix a couple of potentially rare 500s
2022-10-15 14:35:24 -07:00
justcool393
39e49a508f
add 409 to errors
...
* also move check for AUTOJANNY_ID to before has_blocked
2022-10-11 08:40:19 -07:00
justcool393
c0acb1722b
abort a bunch of stuff where we manually returned JSON
2022-10-11 08:40:19 -07:00
justcool393
d0534897ec
...
2022-10-06 01:40:33 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -07:00
justcool393
d5a48871f8
user ban and also fix global hole mod a bit i hope i didn't screw up the templates
2022-10-05 18:58:43 -07:00
justcool393
4b78ed176a
global moderation perm and add some more checks for const perm
2022-10-05 18:16:52 -07:00
Aevann1
3bf62c6ff0
add missing ban_reason when shadowbanning
2022-10-02 13:31:02 +02:00
Aevann1
51d7cd6d7e
fix shit with hole logs
2022-09-29 12:18:27 +02:00
Aevann1
09cc43060d
add hole mod logs ( #380 )
2022-09-29 11:39:37 +02:00
Aevann1
87f3af5968
generate notifs for moving posts
2022-09-29 08:05:42 +02:00
Snakes
4a54c6219a
Add trailing final newlines to source files.
...
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.
This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Aevann1
804c2b4e23
allow hole jannies to move posts in their hole to /h/chudrama
2022-09-14 12:45:28 +02:00
Aevann1
4abf75edc0
add error codes
2022-09-12 11:52:07 +02:00
Aevann1
7e811b47fb
reporting improvement
2022-09-12 11:48:01 +02:00
Aevann1
ae90eb1cf2
simplify house checking logic
2022-09-11 03:53:16 +02:00
Snakes
c506ff0c40
Add admin mute for user reports and modmail.
2022-09-01 17:30:15 -04:00
Aevann1
8e74171d9d
exclude authorized bots from hole restrictions
2022-09-01 22:01:03 +02:00
Aevann1
b5d500a98e
add house holes
2022-08-21 17:24:16 +02:00
Aevann1
a36c0f9dd3
trying to fix exiling
2022-08-20 22:24:20 +02:00
Aevann1
b71d55cfb9
don't show jannies flairing in the modlog
2022-08-20 22:14:20 +02:00
Aevann1
2006e56bfd
do this https://rdrama.org/h/braincels/post/95884/attn-brocels/2548322?context=8#context
2022-08-20 15:57:31 +02:00
Aevann1
5234c8ef21
remove weird spaes
2022-08-17 22:30:07 +02:00
Aevann1
9341f2368a
make some function names shorter
2022-08-11 06:05:23 +02:00
Aevann1
9a2b80e374
spam carp inbox
2022-08-04 23:20:29 +02:00
Aevann1
f920371f3a
fix this https://rdrama.co/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2395188?context=8#context
2022-07-29 02:43:22 +02:00
Aevann1
8c4a4486a1
fix this https://rdrama.co/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2390057?context=8#context
2022-07-28 16:19:58 +02:00
Aevann1
2d21863e19
replace "request.host" with "SITE"
2022-07-13 20:14:37 +02:00
Aevann1
aa4ab5b217
sneed
2022-07-13 17:16:53 +02:00
Snakes
3416ed76e4
Increase rate-limit on /del_report/.
2022-07-08 20:46:44 -04:00
Aevann1
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +02:00
Snakes
6ad935e12a
Permission flags UI visibility; start PERMS dict.
...
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.
This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1
ed02d7572a
rename "frontpage" to "main feed" in move_hole mod action
2022-07-04 04:54:03 +02:00
Aevann1
35e2e12e24
OPs can now rehole their posts
2022-07-04 04:19:43 +02:00
Aevann1
cff34fb3a4
reducing query volume, #2
2022-06-26 03:11:02 +02:00
Snakes
36d24cf213
Refactor hole follow notifs to encapsulate.
...
Fixes bug where admins moving a post into a hole doesn't notify
followers of the destination hole.
Also, we now have a route endpoint for reholing that is potentially
usable for e.g. an actual post_actions button to rehole, rather than
the report command UI at present.
2022-06-22 17:21:12 -04:00
Snakes
b94e71450f
Add un-holing to hole report command.
2022-06-09 02:42:52 -04:00
Aevann1
1bce1c273f
no more 500 error
2022-06-07 12:32:48 +02:00
Aevann1
f7dea74b37
fds
2022-05-26 21:19:33 +02:00
Aevann1
bfc50ee469
sf
2022-05-09 17:29:44 +02:00
Aevann1
6b10d097a2
mn
2022-05-05 01:09:46 +02:00
Aevann1
47d01ed00b
vb
2022-05-03 04:15:35 +02:00
Aevann1
d026174472
fds
2022-04-23 00:48:01 +02:00
Aevann1
f3743d717d
fds
2022-04-18 23:11:30 +02:00
Aevann1
99cb01d9fc
fdsfds
2022-04-15 18:28:08 +02:00
Aevann1
4c2f7d5667
fsd
2022-04-04 23:15:25 +02:00
Aevann1
0293f60453
fart
2022-03-19 21:15:13 +02:00
Aevann1
e8044f48e3
bcv
2022-02-18 14:01:24 +02:00
Aevann1
2ac0ae76a5
vbn
2022-02-18 11:39:12 +02:00
Aevann1
729e4a4c62
g
2022-02-16 03:16:01 +02:00