Aevann
a54734c32f
better caching for get_alt_graph
2022-12-22 23:24:36 +02:00
Aevann
e6274e06f3
delete ability of jannies to clear internal cache
2022-12-22 22:52:36 +02:00
Aevann
92cbe64ac0
cache get_alt_graph for 1 hour
2022-12-22 22:44:37 +02:00
Aevann
0e6b144ed7
alt graph
2022-12-22 22:03:40 +02:00
Aevann1
1dab4f7804
fix last commit
2022-12-21 18:17:14 +02:00
Aevann1
faf17f420c
add notification for make_admin and remove_admin
2022-12-21 16:38:02 +02:00
Aevann1
3ae5292ce4
remove pcm from code
2022-12-21 14:42:41 +02:00
Aevann1
e832be4c18
restore badge rate limit
2022-12-19 15:55:39 +02:00
Aevann1
54e3a7eeab
fix 500 error
2022-12-18 19:01:06 +02:00
Aevann1
4a334133bc
same as last commit
2022-12-18 18:47:11 +02:00
Aevann1
31aa9b09a8
relax ratelimit for badge_grant
2022-12-18 18:46:44 +02:00
Aevann1
9974f98b8c
Revert "Revert "remove the logic for fixing old mentions""
...
This reverts commit 5e9e1872af
.
2022-12-17 21:11:22 +02:00
Aevann1
5e9e1872af
Revert "remove the logic for fixing old mentions"
...
This reverts commit 90f6f0b96e
.
2022-12-17 21:05:29 +02:00
Aevann1
b6c01fb275
clicking twice shouldn't generate a mod log
2022-12-16 22:17:03 +02:00
Aevann1
90f6f0b96e
remove the logic for fixing old mentions
2022-12-16 19:50:34 +02:00
Aevann1
8660fcaa2e
fix old mentions
2022-12-16 19:47:40 +02:00
Aevann1
7c389bbdfd
fix old mentions
2022-12-16 19:43:06 +02:00
Aevann1
bd8ac649d4
order punished listings by truescore instead
2022-12-15 20:31:58 +02:00
Aevann1
1773632a75
remove punished listings filtering
2022-12-14 15:17:39 +02:00
Aevann1
df804c3179
minor change to punished listings
2022-12-14 15:12:02 +02:00
Snakes
cf5eff3f48
Revert "better shadowban propagation"
...
This reverts commit 129f335363
.
If there exists a loop in alts, this sends a worker into an infinite
loop, thrashes the database, and eventually crashes the worker. This,
in practice, makes shadowbanning people with many alts impossible since
our alt linking algorithm almost explicitly creates cycles rather than
maintaining a tree.
To fix this, we need SQL that builds a set of all Users in the
connected Alt graph of a given user (likely using a recursive CTE)
and then bans them at once, rather than running a depth-first search
with maximum depth that doesn't remember previously visited nodes.
There is also potentially the chance that this isn't because of cycles
per se but rather because quintic polynomial behavior explodes quickly
even in the low-double-digits number of alts.
2022-12-13 23:21:53 -05:00
Aevann1
b923776e71
simplify punished listings
2022-12-14 00:29:56 +02:00
Aevann1
c10c00473a
make is_banned fkey on user id
2022-12-14 00:02:53 +02:00
Aevann1
129f335363
better shadowban propagation
2022-12-13 23:12:58 +02:00
Aevann1
b531d38384
small change to punish listings
2022-12-13 20:54:18 +02:00
Aevann1
36fca9caab
minor bugfix
2022-12-13 20:50:38 +02:00
Aevann1
0376124eb0
clearer notifications for hole and admin actions
2022-12-13 19:11:26 +02:00
justcool393
ab41db22b7
[DO NOT MERGE] multiple sub banners ( #59 )
...
allows multiple sub banners
Snakes note: By request of Carp, especially for WPD.
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1
d59543891f
add BAN_EVASION_FULL constant
2022-12-11 20:56:04 +02:00
Aevann1
033e4dd35c
disable janny chudding in /h/chudrama
2022-12-10 15:06:30 +02:00
Aevann1
b2591daa2b
filter 0 truescore from punishment listings
2022-12-10 10:57:48 +02:00
Aevann1
45be6970d6
punished users listing fixes
2022-12-10 10:23:56 +02:00
Snakes
39a0832223
Sort banned, chudded, etc listings by activity.
...
The listings of users affected by jannied states are long. To make
them more useful, sort by recent user activity (when v is allowed to
view last_active) to know which accounts are still in use.
2022-12-09 23:47:31 -05:00
Aevann1
25cd81e326
dont allow admins to remove themselves
2022-12-09 07:58:44 +02:00
Aevann1
f95f4f2c97
simplify badge granting/removal
2022-12-07 21:03:06 +02:00
Aevann
18df70caab
allow JL3 to edit rules ( #39 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1
3971607aee
fix agendapostered wall comments
2022-12-05 05:08:06 +02:00
Aevann
e105035272
remove country club system and replace it with a 3 tier thing: ( #41 )
...
- /h/masterbaiters: 1 TS - for gayops
- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub
- /h/chudrama: 5000 TS - for chad+stud posts
EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1
3542703ced
Revert "make it so only the post author can declare winner and not all admins"
...
This reverts commit 9e1425d93e
.
2022-12-03 00:08:46 +02:00
Aevann1
9e1425d93e
make it so only the post author can declare winner and not all admins
2022-12-03 00:06:57 +02:00
Aevann1
87ae34966b
badge perm shit
2022-11-30 23:15:10 +02:00
justcool393
0106a4e340
antispam: under siege mode
2022-11-30 11:37:35 -06:00
Snakes
9fcdd65d38
PCM: improve Kippy's inflationary ergonomics.
2022-11-29 17:18:33 -05:00
justcool393
5056f09380
chat: fix 500 on some... weird... state... i think?
...
cache: get out of jinja templates
chat: threshold is now a const
2022-11-29 15:49:23 -06:00
Snakes
0dd7809b49
Sort banned_domains deterministically.
2022-11-29 16:24:13 -05:00
Snakes
7551add5d8
Unify admin badge page listings source.
2022-11-27 17:02:18 -05:00
Snakes
427f54175c
WPD: constantify badge whitelist, extend set.
2022-11-27 16:49:20 -05:00
Aevann1
61612e7be3
fix missing "+ 1"
2022-11-27 02:19:50 +02:00
Aevann1
bcbf524fbe
make sure stickied child comments are always at the top place they can be
2022-11-26 06:01:20 +02:00
Aevann1
bf72234873
remove SITE url from badge urls to make them relative in the event of a future domain change
2022-11-26 03:45:20 +02:00