Aevann1
41ab1f313c
move feature_required wrappers up
2022-11-14 18:14:47 +02:00
justcool393
aa272729f1
default ratelimit and default ratelimit slower
2022-11-13 00:43:47 -06:00
Aevann1
42e40c1691
split off muting and unmuting
2022-11-12 11:11:34 +02:00
Aevann1
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02:00
justcool393
26549a6e66
remove logged out routes ( #433 )
...
* remove /logged_out/ routes
* update sitemap, remove users route, and update header
* cloudflare cookie
* only mess with the cookie whenever we desire auth
* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes
* sitemap: remove duplicate entry
* contact is auth desired
* imports: don't import what we don't need and bind late to the db
* praying to god this works
* keep yourself safe
* oh i actually need to commit and push lol
* import Sub
* t
* refix cache purger
2022-11-09 00:35:24 -05:00
Aevann1
c76bfa5ffc
fix 3 permapin limit not working
2022-11-08 11:41:16 +02:00
Aevann1
3f4a568d32
fix permachudding
2022-11-08 05:37:18 +02:00
Snakes
5e35342d2e
Fix Cloudflare imports identifier shadow.
...
Proximal reason for fix is that /admin/clear_cloudflare_cache resulted
in infinite recursion and a stack overflow because it tried to call
itself as `clear_cloudflare_cache` rather than hitting the function of
the same name in files.helpers.cloudflare.
2022-11-07 17:30:15 -05:00
Aevann1
50bcc81f14
give user an error when they give invalid page input
2022-11-07 23:34:43 +02:00
justcool393
0fffa7efc0
rename truecoins to truescore
2022-11-06 23:04:34 -08:00
Aevann1
3b49535c4a
make 3 more buttons instant
2022-11-07 08:26:41 +02:00
Aevann1
ce6998bd6e
make shadowbanned, banning, chudding from the userpage work without refreshing the page
2022-11-07 08:08:53 +02:00
Aevann1
07f4383d4c
unmarked as chud -> unchudded
2022-11-07 07:44:09 +02:00
Aevann1
99a44f461c
fix chud badge not being given
2022-11-07 07:43:25 +02:00
Aevann1
a664d19c37
rename 2 modlog actions
2022-11-07 03:47:27 +02:00
Aevann1
bbfb18da9a
change clearing cache terminology
2022-11-06 07:28:47 +02:00
Aevann1
c1937a67c4
fix 0.0001 days being displayed as "0 days"
2022-11-05 05:06:33 +02:00
Aevann1
299dbceeeb
only add reason if there's a reason
2022-11-05 04:48:04 +02:00
Aevann1
f924f88821
make "unshadowban" button work instantly
2022-11-05 04:16:43 +02:00
Aevann1
87d5a0de46
improve ban modal and add chud modal
2022-11-05 04:12:22 +02:00
Aevann1
ab9c0288fb
make "unban user" button in userpage work instantly
2022-11-05 04:12:22 +02:00
Aevann1
5ef2b41d5e
change chud theme terminology
2022-11-05 04:12:21 +02:00
Aevann1
07a12380de
accomodate alt domain
2022-11-03 17:29:14 +02:00
justcool393
4a252e9699
security: fix CSRF on internal cache dump route
...
move dumping internal cache to admin tools
2022-11-02 20:35:46 -05:00
justcool393
09f76d917d
permissions: check if user can dump internal cache before attempting to do it
2022-11-02 20:22:22 -05:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00
Aevann1
111c9ab208
fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3007141?context=8#context
2022-11-02 05:22:16 +02:00
justcool393
6caebac946
actions: move user-only actions to useractions, which gets rid of a circular dependency
2022-11-01 18:46:56 -05:00
justcool393
7d80483f67
alts: only change session data if new include_current_session flag is set
2022-11-01 16:58:42 -05:00
justcool393
2fed50cb46
not post.stickied_utc
2022-11-01 15:19:35 -05:00
justcool393
f665941e16
pins: use variable instead of recomputing again
2022-11-01 15:15:29 -05:00
justcool393
02efc44682
pins: reintroduce bug/feature at @Aevann1's request
...
the old behavior was actually to let admins bypass the limit, but this was buggy when the new multi pin thing was added and wouldn't let jannies make permapins if pins were at the limit
to make the code clear though, the permission name has been changed
2022-11-01 15:14:11 -05:00
justcool393
b17ea4fd37
awards: only restrict admins if award feature flag set
2022-10-31 18:11:49 -05:00
Aevann1
48775dbb5d
disallow jannies from undoing ban awards
2022-11-01 01:05:02 +02:00
Aevann1
cc473795bf
make banned domains case insensitive
2022-10-31 16:33:11 +02:00
Aevann1
8dd9045a33
allow distinguishing other ppl's comments
2022-10-30 17:32:54 +02:00
justcool393
e6ce4edbd8
templates: remove redundant badge_remove template
...
templates: fix badge admin template when removing a badge
2022-10-29 01:08:29 -05:00
justcool393
3a6dfdf2de
listings: constantify PAGE_SIZE as 25
...
magic numbers are bad, do better next time
2022-10-28 22:20:48 -05:00
justcool393
e4d50be763
stickies: fix logic error i reintroduced that @Aevann1 has earlier fixed
2022-10-26 18:32:30 -05:00
justcool393
31eb387c8d
pins: remove unnecessary code
2022-10-26 12:23:26 -05:00
justcool393
548f2613c7
pinprovements
2022-10-25 17:48:10 -05:00
Snakes
eafa7b8e05
Revert "this is stupid": no fighting in the commit log.
...
This reverts commit 1f1ace3d66
.
2022-10-25 11:32:32 -04:00
justcool393
1f1ace3d66
this is stupid
2022-10-25 08:21:37 -07:00
Aevann1
69648de587
minor change to /remove_post
2022-10-25 15:45:44 +02:00
justcool393
0d7437ca1c
i am a pro carp hero
2022-10-24 12:43:14 -05:00
justcool393
df7690fb54
fishsticks (prev commit redux)
2022-10-24 12:42:02 -05:00
Aevann1
4b37bd721b
prevent carp from undoing award pins
2022-10-24 19:36:35 +02:00
Snakes
97eb823ed0
Fix janny pinning.
2022-10-23 19:47:53 -04:00
justcool393
dbb7296dd7
stickies: allow JL2 to sticky post
...
stickies: unpin on removal
stickies: don't allow removed posts to be stickied
2022-10-23 17:17:49 -05:00
Aevann1
0b851d237c
remove exploit allowing jannies to unpin award pins
2022-10-23 23:52:11 +02:00