Aevann1
57cc579b30
try to fix 500 error caused by vote constraints
2022-08-11 06:03:09 +02:00
Aevann1
b79638b2dd
fix 500 error in /revert_actions
2022-08-11 06:02: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
Aevann1
2509861d27
change WPD server
2022-08-06 21:17:08 +02:00
Aevann1
eac3a72976
fix typo and remove deux redirect
2022-08-06 01:47:20 +02:00
Aevann1
8f08db39c5
delete reddit.css
2022-08-06 00:53:38 +02:00
Aevann1
f27a65f2dc
fix issue with logged-in redirection for holes
2022-08-06 00:39:38 +02:00
Aevann1
14a00b5357
fix previous commit
2022-08-06 00:02:41 +02:00
Aevann1
2e3548eb77
remove modmail from my notifs (cancer)
2022-08-05 23:59:40 +02:00
Aevann1
0429da4493
mod action notifs rework
2022-08-05 23:50:30 +02:00
Snakes
2845e0961b
Turn login-gate of 1568ec0162
into admin toggle.
2022-08-05 16:42:22 -04:00
Aevann1
ad3ca4eb12
increase max duration for chudding from 1 month to 1 year
2022-08-05 20:49:44 +02:00
Aevann1
3bc1ee583e
make carp autoupvote posts in /h/foid
2022-08-05 20:47:33 +02:00
Aevann1
a8f62aecdb
reserve app management to JL3
2022-08-05 20:45:43 +02:00
Aevann1
66088d5a5b
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-05 19:22:19 +02:00
Snakes
8b241a765a
Check URI approved embed in all CSS contexts.
2022-08-05 13:09:41 -04:00
Aevann1
2ec5531080
order themes alphabetically
2022-08-05 18:26:44 +02:00
Aevann1
3aab5240f3
fix 500 error
2022-08-05 17:29:40 +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
e286a2e881
spam carp inbox
2022-08-04 22:44:59 +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
Maximilian Ballard
3c506d768c
Redirect cuts off end of url for username redirect ( #326 )
...
* Redirect cuts off end of url for username redirect
username redirect cuts off end of url, For example:
Username: faygo_sucks
Old_username: geese_suck
Behavior: "https://rdrama.net/@geese_suck " -> "https://rdrama.net/@faygo_suck "
Expected Behavior: "https://rdrama.net/@geese_suck " -> "https://rdrama.net/@faygo_sucks "
* Update users.py
2022-08-03 01:09:35 +02:00
Aevann1
45753ee166
I hate programming
2022-08-01 21:37:57 +02:00
Aevann1
914c89c301
make deux redirection only happen in rdrama
2022-08-01 21:30:42 +02:00
Aevann1
e5a2980d1b
normalizing request.full_path
2022-08-01 20:03:29 +02:00
Aevann1
85c4ff1621
make user search also user original_username for searching
2022-07-30 20:29:07 +02:00
Aevann1
f0816853da
make ban_reason logic a little better
2022-07-30 00:43:25 +02:00
Aevann1
68c07b77bb
move site_settings.json out of the repo
2022-07-30 00:14:25 +02:00
Aevann1
347604c433
make non-jannies unable to ping more than 3 ppl
2022-07-29 15:23:34 +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
07be18cd1b
fix 500 errors
2022-07-28 16:23:38 +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
DrTransmisia
856f155b41
Errorcodejihad ( #323 )
...
* formatmaxxing brained formatting
* formatmaxxing brained formatting: EPISODE 2
* Start implementing a .json interface for all logged users reddit-like
PROs:
- easier to debugmaxx applications
- good faith actors can scrap the site more easly :gigachadglow:
CONs:
- bad faith actors can scrap the site more easly :gigachadglow:
- jannitors lose a little of their power of allowlisting applications (they do it for free though)
anyways. I make this commit a separate commit so that Snakes can esclude it from the PR if he doesn't like it (cringe)
* /<username>/comments route now returns appropriate [citation needed] HTTP codes when called in JSON mode so that stupid JSON clients can crashmaxx
* More error codes (sorry I don't know how to squash)
* json endpoint. see other commit. I don't know how to squash
2022-07-24 11:03:19 -04:00
Aevann1
ed36803842
allow uppercase on pronouns
2022-07-23 14:41:49 +02:00
Aevann1
8621e68044
fix frontpage redirecting
2022-07-23 09:23:55 +02:00
Aevann1
ddeba62aeb
fixing infinite redirections
2022-07-23 09:22:17 +02:00
Aevann1
de011ef7b1
testing on prod
2022-07-23 09:17:38 +02:00
Aevann1
8547e6b71d
redirect permabanned-cels to deux
2022-07-23 09:07:57 +02:00
Aevann1
aa644fd208
allow a third pronoun if total character count is 11 or lower
2022-07-23 08:48:32 +02:00
Snakes
4723332e07
LGB: disable wordle.
2022-07-23 02:22:45 -04:00
Snakes
a2ca535ce3
LGB: extend block & follower vis permissioning.
2022-07-19 22:29:45 -04:00
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Snakes
b4fdf248ef
LGB: disable profile bio, banner, song.
2022-07-19 21:20:52 -04:00
Snakes
3225a2a3d4
LGB: disable awards, badges.
2022-07-19 19:59:39 -04:00
Snakes
001caf0c98
LGB: Add static /kb/ route; two static pages.
2022-07-18 04:39:21 -04:00
Snakes
eef6c25b0b
LGB: Permission block, follow, voters visibility.
2022-07-18 03:17:45 -04:00
Snakes
0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm.
2022-07-18 02:43:20 -04:00
Snakes
8f7d05d62d
Refactor feature flags to dict.
...
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Aevann1
81b762fbc2
add a discord server for api users to help eachother
2022-07-18 02:46:46 +02:00
Aevann1
3ecde34fef
hide blocked users from post notifs
2022-07-18 01:00:51 +02:00
Aevann1
034e8fa5eb
increase max sidebar character count from 500 to 10k
2022-07-17 19:26:16 +02:00
Aevann1
fd87cb3ce2
remove linebreaks from future sigs
2022-07-17 19:24:58 +02:00
Aevann1
1088e38f34
order saved posts, comments and subscribed post by newest to oldest
2022-07-16 20:51:48 +02:00
Aevann1
5a2dc01990
modify new user message a little
2022-07-16 01:31:40 +02:00
Aevann1
de66243ea0
show marsey authors in deux
2022-07-15 03:25:04 +02:00
Aevann1
612ea7354b
show marsey author in deux
2022-07-15 03:13:03 +02:00
Aevann1
48cbe8a6b1
allow ppl to revoke app authorizations
2022-07-15 02:12:54 +02:00
Aevann1
09da483bac
dont reveal votes on polls in ghost threads
2022-07-15 01:21:52 +02:00
Aevann1
98e3e63547
order poll votes by time of creation
2022-07-14 16:47:03 +02:00
Aevann1
3f0d1ac2a7
make nuking message clearer
2022-07-14 15:28:07 +02:00
Snakes
dfa700ab1a
Deux: patch improper logins for post-seeding accs.
...
Deux's users were originally seeded from a clone of the rDrama DB.
Thereby, user IDs are paired between the sites, and this is further
the only clear means by which we can link accounts between the sites.
However, signups on either site after the seeding will not have
synchronized IDs. Newer accounts on Drama could thereby be used to
sign into the Deux account with the same user_id.
There's no clear way to solve this without going to a shared identity
provider for both. In the interim, we restrict shared login to users
from before divergence began. This is a kludge, but it works.
2022-07-14 03:00:08 -04:00
Snakes
a217f76bad
Deux: sidebar, sidebar thread; restrict holes.
2022-07-14 02:19:59 -04:00
Snakes
88108594ad
Implement Deux login with rDrama challenge.
2022-07-13 20:36:04 -04:00
Aevann1
6689172013
fix pinning logic for holes
2022-07-13 23:20:56 +02: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
c4499968ad
make pins toggle sort-specific
2022-07-13 21:32:28 +02:00
Aevann1
3554ae8e7c
re-allow notifs on admigger threads
2022-07-13 21:21:13 +02:00
Aevann1
ff4f423c2c
testing on deux
2022-07-13 21:17:17 +02:00
Aevann1
4dc3c2d416
testing on deux
2022-07-13 21:14:59 +02:00
Aevann1
28119f1aa4
fix blocks
2022-07-13 20:48:04 +02:00
Aevann1
f5bacd8938
Revert "log ppl into deux automatically"
...
This reverts commit 86f7e627ea
.
2022-07-13 20:33:31 +02:00
Aevann1
2d21863e19
replace "request.host" with "SITE"
2022-07-13 20:14:37 +02:00
Aevann1
86f7e627ea
log ppl into deux automatically
2022-07-13 20:14:07 +02:00
Aevann1
5fb6bd86f9
remove "warm" sorting
2022-07-13 19:32:31 +02:00
Aevann1
b2de11cb1a
add "pins" toggle to the frontpage
2022-07-13 19:31:35 +02:00
Aevann1
f6bf7400c3
do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298056?context=8#context
2022-07-13 17:20:10 +02:00
Aevann1
aa4ab5b217
sneed
2022-07-13 17:16:53 +02:00
Aevann1
f7c2befeed
allow deux jannies to add badges
2022-07-13 14:56:30 +02:00
Aevann1
16fd7310c1
replace "sub" with "HOLE_NAME"
2022-07-13 11:13:42 +02:00
Aevann1
a088a6ec7b
censor slurs on flairs
2022-07-12 22:09:59 +02:00
Aevann1
093c83d7c9
tweaking bannedfor column
2022-07-12 22:00:19 +02:00
Aevann1
077353c1f4
hide ghost posts from post notifications
2022-07-12 21:42:23 +02:00
Aevann1
bc927ef238
remove editing sidebar from PCM
2022-07-12 21:32:34 +02:00
Aevann1
2a95c25675
allow @bbbb to vote
2022-07-12 21:23:37 +02:00
Aevann1
afa2f68804
change pronouns required format from 1-5 to 2-5
2022-07-12 20:28:07 +02:00
Aevann1
ae45b45bfb
refactor json again
2022-07-11 19:33:26 +02:00
Aevann1
bc4074f9aa
fix api 500 errors
2022-07-11 19:19:48 +02:00
Aevann1
6428dd08c5
add pronouns
2022-07-11 18:46:08 +02:00
Aevann1
bf1fec7918
remove ban_reason when unbanning users
2022-07-11 14:35:28 +02:00
Aevann1
a7c49ca69a
don't embed comments as posts
2022-07-11 13:55:15 +02:00
Aevann1
a9e355c804
sneed
2022-07-11 11:52:59 +02:00
Aevann1
9c3976a622
make new users follow carp automatically v2
2022-07-10 18:23:32 +02:00
Aevann1
d3b15e2b8a
make new users follow carp automatically on rdrama
2022-07-10 18:13:16 +02:00
Aevann1
fecaed8223
fix mp3 songs getting cached
2022-07-10 17:43:27 +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
0b7a5208e9
fix reddit mention bugs
2022-07-10 16:09:41 +02:00
Aevann1
9ea0f46250
tweaking offsite mentions a little
2022-07-10 15:02:24 +02:00
Aevann1
3cd0878d0a
fix redirect bug
2022-07-10 14:09:03 +02:00
Aevann1
0ebd721884
fix WPD sorting
2022-07-10 12:07:11 +02:00
Aevann1
c214d4b7cc
change sorting logic for WPD
2022-07-10 11:29:55 +02:00
Snakes
fde2d5ca11
LGB: Use static default pfp.
2022-07-09 07:11:05 -04:00
Aevann1
f3fbb5c743
sneed
2022-07-09 13:07:43 +02:00
Aevann1
8590456eaa
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-09 12:32:52 +02:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Snakes
0fbb102929
Propagate shadows to new alts on signup.
2022-07-09 05:25:15 -04:00
Aevann1
382df30e1f
show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing)
2022-07-09 10:35:47 +02:00
Aevann1
99f0cb7742
strip embed_url
2022-07-09 09:41:05 +02:00
Snakes
02e096e5af
LGB: add custom emoji list.
2022-07-09 00:32:48 -04:00
Snakes
3416ed76e4
Increase rate-limit on /del_report/.
2022-07-08 20:46:44 -04:00
Aevann1
38f6a6f81d
remove special timefilter condition for "bump" sorting
2022-07-08 21:49:27 +02:00
Aevann1
683c9c7bdd
fix lingering notifications
2022-07-08 21:42:40 +02:00
Aevann1
f298d134ac
make "clear all notifications" button also clear post notifs
2022-07-08 21:33:26 +02:00
Aevann1
65a98cd9fc
dont show notifications for posts the user himself makes in a hole they follow
2022-07-08 21:14:04 +02:00
Aevann1
19ee55d27c
fix post notifications not being visible
2022-07-08 21:11:56 +02:00
Aevann1
939861e1a0
fix 500 error
2022-07-08 21:10:01 +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
a64736d9fb
get voting status on posts in /notifications/posts
2022-07-08 20:28:27 +02:00
Aevann1
9abd2cc508
dont show deleted and removed posts in /notifications/posts
2022-07-08 20:27:42 +02:00
Aevann1
ad1273995d
notifications rework
2022-07-08 20:06:54 +02:00
Aevann1
cfa6c13eaa
move 2 cron functions from routes files to .cron
2022-07-08 18:21:39 +02:00
Aevann1
83a931343e
uncomment rss feed
2022-07-08 18:21:20 +02:00
Aevann1
b617321529
move all env-getting to .const
2022-07-08 18:21:13 +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
b9d6f796a3
return 404 on shadowbanned comments when linking to them
2022-07-08 13:13:59 +02:00
Aevann1
747ccf5dab
don't count deleted posts and comments
2022-07-08 13:07:27 +02:00
Snakes
a3f94a77f3
Fix comment /votes/ 500 when no upvoters.
2022-07-07 19:53:28 -04:00
Aevann1
887d521f4a
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-07 07:14:41 +02:00
Aevann1
7cd1e4bf8f
give chadmins marseybux
2022-07-07 07:14:39 +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
470b046702
compile regext outside of routes
2022-07-06 13:49:13 +02:00
Aevann1
4ba413eaa9
Revert "Revert "remove all joinedload bullshit I added""
...
This reverts commit 4057711c83
.
2022-07-06 13:08:11 +02:00
Aevann1
742a3698ea
fix my vote being above OP's vote
2022-07-06 13:00:28 +02:00
Aevann1
4057711c83
Revert "remove all joinedload bullshit I added"
...
This reverts commit c8d5eb0f57
.
2022-07-06 12:58:44 +02:00
Aevann1
364c8eca4f
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-06 12:56:43 +02:00
Aevann1
05b70969e5
trying to fix WPD's issue
2022-07-06 12:56:39 +02:00
Snakes
95f9fbfab1
Add searching for "exact phrases" to search.
2022-07-04 04:19:41 -04:00