Aevann1
4a8220d687
make chudtopians immune to chud effects
2022-08-20 00:12:53 +02:00
Aevann1
9e5ddcbd92
large commit: stealth mode, SubJoin, chudtopia
...
dont read if u value ur sanity
2022-08-19 23:31:26 +02:00
Aevann1
3ac493aa95
exclude /h/smuggies from my autoupvote
2022-08-15 16:24:29 +02:00
Snakes
12d7cfaa6c
Verify admin level before editing others' posts.
...
Yes, it has been possible for any user to edit any post on the site,
their own or otherwise. Only have to generate the POST /edit_post/
manually: an example exploit was created and tested successfully
prior to patching. However, abuse of this vulnerability would have
generated edit_post modlog entries, the lack of which on prod suggest
it was not abused that we know of -- Lord knows how.
2022-08-11 20:12:35 -04:00
Aevann1
1000f9c45e
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-11 06:05:26 +02:00
Aevann1
9341f2368a
make some function names shorter
2022-08-11 06:05:23 +02:00
Snakes
55c1ad859e
Disable showmore logic on posts.
2022-08-10 17:34:15 -04:00
Snakes
6a7a3b1821
Hide shadowed user content in more contexts.
...
- Search: posts by shadowed user.
- Search: shadowed users in search for users.
- Direct links to shadowed user posts display as removed.
- Other users' profile comments listings hide comments on shadowed
posts. Users can still see their own comments on shadowed posts.
Similar to ghosted comment logic.
2022-08-08 18:21:59 -04:00
Snakes
1411018f8d
Add post categories.
...
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
- Admin panel for Category management.
- Category selection on post submission.
- 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Snakes
2845e0961b
Turn login-gate of 1568ec0162
into admin toggle.
2022-08-05 16:42:22 -04:00
Aevann1
3bc1ee583e
make carp autoupvote posts in /h/foid
2022-08-05 20:47:33 +02:00
Aevann1
981692550f
fix ping limiting being applies on all instances of "sanitize()"
2022-08-05 17:14:22 +02:00
scitzocel
e68c2efb1b
sneed ( #328 )
...
* sneed
* schizosneed
soren
* Update posts.py
2022-08-05 05:52:03 -04:00
Aevann1
9a2b80e374
spam carp inbox
2022-08-04 23:20:29 +02:00
Aevann1
6087aebc78
make previous commit a little neater
2022-08-04 22:57:07 +02:00
Aevann1
84f4fc164d
make chud editting less annoying
2022-08-04 22:54:24 +02:00
Aevann1
1568ec0162
sneed
2022-08-04 22:33:22 +02:00
Snakes
73b71b2f44
PCM: disable repost detection.
2022-08-04 00:07:17 -04:00
Aevann1
e5a2980d1b
normalizing request.full_path
2022-08-01 20:03:29 +02:00
Aevann1
ddeba62aeb
fixing infinite redirections
2022-07-23 09:22:17 +02:00
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Aevann1
9e05f0a3b5
refactor changelog v2
2022-07-13 23:12:07 +02:00
Aevann1
86717e37b2
refactor changelog
2022-07-13 23:03:11 +02:00
Aevann1
28119f1aa4
fix blocks
2022-07-13 20:48:04 +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
Aevann1
a7c49ca69a
don't embed comments as posts
2022-07-11 13:55:15 +02:00
Aevann1
4e6c7fe683
don't notify on drafts
2022-07-10 16:34:11 +02:00
Aevann1
2a1efff78b
repost new posts in WPD in discord
2022-07-10 16:25:42 +02:00
Aevann1
bb59cd0476
minor logic tweaks
2022-07-10 16:21:16 +02:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Aevann1
99f0cb7742
strip embed_url
2022-07-09 09:41:05 +02:00
Aevann1
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +02:00
Aevann1
c380848d47
remove leftover code from ill-fated joinedload attempt
2022-07-08 20:28:56 +02:00
Aevann1
ad1273995d
notifications rework
2022-07-08 20:06:54 +02:00
Aevann1
e34f1a1c15
Revert "testing bandwidth"
...
This reverts commit d6559471b7
.
2022-07-08 17:13:37 +02:00
Aevann1
d6559471b7
testing bandwidth
2022-07-08 17:05:08 +02:00
Aevann1
c23366843e
fix 500 error on posting
2022-07-08 14:40:07 +02:00
Aevann1
18385f80a1
make snappy only comment on drafts when they're published
2022-07-08 13:44:17 +02:00
Aevann1
747ccf5dab
don't count deleted posts and comments
2022-07-08 13:07:27 +02:00
Aevann1
742a3698ea
fix my vote being above OP's vote
2022-07-06 13:00:28 +02:00
Aevann1
67dff25a5a
fix previous commit
2022-07-04 09:05:14 +02:00
Aevann1
c8d5eb0f57
remove all joinedload bullshit I added
2022-07-04 09:04:14 +02:00
Aevann1
4ccead8439
Revert "refactor "view more comments""
...
This reverts commit 68da93ec02
.
2022-07-04 05:37:48 +02:00
Aevann1
35e2e12e24
OPs can now rehole their posts
2022-07-04 04:19:43 +02:00
Aevann1
72884713ac
more quert optimization
2022-07-03 13:21:58 +02:00
Aevann1
eef026be1e
don't query comments we won't use
2022-07-03 12:20:43 +02:00
Aevann1
68da93ec02
refactor "view more comments"
2022-07-03 11:11:18 +02:00
Aevann1
1f0f0ef0be
messing with joins
2022-07-03 08:12:53 +02:00
Aevann1
c8b4838157
unmessing with queries
2022-07-03 06:34:29 +02:00