forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

13659 Commits (07608ee50aea03fb2fe0b25f8beb9dcc1a73b5d2)

Author SHA1 Message Date
Aevann1 f8ef2b1e60 sneed 2022-08-02 20:10:15 +00:00
Aevann1 87555ff3bf Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-02 00:05:41 +02:00
Aevann1 f12f67405a cached banner for WPD 2022-08-02 00:05:39 +02:00
Snakes 43b4acd3a8
Fix b75d504d91a5: icon swap conditional on site. 2022-08-01 17:24:06 -04: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 eca5b5a682 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-01 20:03:32 +02:00
Aevann1 e5a2980d1b normalizing request.full_path 2022-08-01 20:03:29 +02:00
Aevann1 3410a47a73 sneed 2022-08-01 05:00:02 +00:00
Snakes b75d504d91
rDrama: swap header icon for Carp's juggalo event. 2022-07-31 23:50:19 -04:00
Aevann1 db72908da6 sneed 2022-08-01 02:43:17 +02:00
Aevann1 739268774f sneed 2022-08-01 02:41:12 +02:00
Aevann1 85c4ff1621 make user search also user original_username for searching 2022-07-30 20:29:07 +02:00
Aevann1 71748f22c2 sneed 2022-07-30 15:41:00 +02:00
Snakes bc98d86c42
LGB: fix welcome message typo. 2022-07-29 22:11:12 -04:00
Aevann1 9838b01032 sneed 2022-07-30 01:23:33 +02:00
Aevann1 f0816853da make ban_reason logic a little better 2022-07-30 00:43:25 +02:00
Aevann1 73e26f1946 fix phantom notifications 2022-07-30 00:32:26 +02:00
Aevann1 527bae24f9 make user object include username when printed 2022-07-30 00:28:07 +02:00
Aevann1 68c07b77bb move site_settings.json out of the repo 2022-07-30 00:14:25 +02:00
Aevann1 684a804e6e sneed 2022-07-30 00:07:08 +02:00
Aevann1 dfcf55b351 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-07-29 23:52:28 +02:00
Aevann1 dbf16bd3f4 sneed 2022-07-29 23:52:26 +02:00
Snakes 0539609d61
Restrict abuse from young accounts. 2022-07-29 15:55:12 -04:00
Snakes 390acb66e0
cron.py: fix missing import, preserve /h/changelog.
Multiple closely related issues:
  - When sub_inactive_purge_task was moved to cron.py, a number of
    imports were not added. Notably, missing helpers/alerts.py.
    This led to hole inactivity deletions not taking place.
  - However, this proved useful: the hole it's been trying to delete
    the past few days was /h/changelog. This has now been excluded
    from deletion.
  - Finally, the missing import would've meant the monthly procoins
    disbursement would fail when it runs in a couple days. This has
    likewise been fixed.
2022-07-29 15:12:56 -04:00
Aevann1 57e7ece4a4 restore ml-3 2022-07-29 20:14:38 +02:00
Aevann1 347604c433 make non-jannies unable to ping more than 3 ppl 2022-07-29 15:23:34 +02:00
Aevann1 3b6f3b5bfb sneed 2022-07-29 02:45: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 b06524a895 remove "ml-3" 2022-07-29 01:09:45 +02:00
Aevann1 87aed97339 remove a space 2022-07-28 20:29:47 +02:00
Aevann1 763b0dd959 decrease body padding-top 2022-07-28 20:29:35 +02:00
Aevann1 6dcbae5ab5 increase "clear all notifs" top margin 2022-07-28 20:20:06 +02:00
Aevann1 3ef4970e38 make "clear all notifications" more prominent 2022-07-28 20:19:17 +02:00
Aevann1 dd76c0ec69 add an extra sidebar image to deux 2022-07-28 19:30:24 +02:00
Aevann1 46bc54cd2a change deux cover 2022-07-28 19:23:02 +02:00
Aevann1 adc77681df switch to another nitter instance 2022-07-28 18:47:44 +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
Aevann1 8109756172 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-07-27 22:05:24 +02:00
Aevann1 9beb3e3a4f fix <body> padding 2022-07-27 22:05:22 +02:00
gooseman 4dfa7206b6
le cachebust 2022-07-26 16:02:30 -07:00
gooseman baa17db4ea
unicode and its consequences
i hate fun
2022-07-26 16:01:59 -07:00
Snakes 1c14722f06
Restyle glow award links for visibility.
At present, we typically distinguish links from other text by coloring
them, underlining on hover, and changing cursor to pointer on hover.
However, when a post is glow-awarded, both color and underline-on-hover
are suppressed, making links very hard to find in text. Given chiobu's
tendency to glow award effortposts, this can make posts hard to read.

My solution is to always show links as underlined in glow-awarded posts
and comments. Not terribly attached to this particular approach, but
it seems to undermine the award effect the least while largely
restoring accessibility of links.
2022-07-24 16:23:21 -04: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 aee293c72c disable cumroad in deux 2022-07-23 16:33:26 +02:00
Aevann1 6a26672a8f edit cumroad link 2022-07-23 16:31:19 +02:00
Aevann1 bcda8a9a5a LGB enable gumroad 2022-07-23 16:29:49 +02:00
Aevann1 59faca9892 refine pronouns 2022-07-23 15:35:45 +02:00
Aevann1 6dd37ba757 fix previous commit 2022-07-23 15:03:59 +02:00
Aevann1 05837c5b08 fix previous commit 2022-07-23 15:03:30 +02:00
Aevann1 583767aa6f stop notif spam on WPD 2022-07-23 15:02:36 +02:00
Aevann1 ed36803842 allow uppercase on pronouns 2022-07-23 14:41:49 +02:00
Aevann1 db10272e1b delete contents of preview when submitting comments 2022-07-23 11:19:47 +02:00
Aevann1 f543abaaab fix 46786e117b 2022-07-23 11:08:02 +02:00
Aevann1 a4444c9402 make form a const 2022-07-23 10:57:53 +02:00
Aevann1 29a2bc0123 allow ppl to click on the reply icon again to hide the reply box 2022-07-23 10:53:43 +02:00
Aevann1 46786e117b allow ppl to make multiple comments to the same parents without reloading the page 2022-07-23 10:53:17 +02:00
Aevann1 008f12a1f3 increase chance of user counter on rdrama 2022-07-23 10:12:29 +02:00
Aevann1 8621e68044 fix frontpage redirecting 2022-07-23 09:23:55 +02:00
Aevann1 24c44132d8 make a line of code a little neater (thanks @everyone) 2022-07-23 09:22: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 192ae72e8d remove border-top from posts on mobile 2022-07-23 08:58:26 +02:00
Aevann1 aeedc934cb sneed 2022-07-23 08:55:54 +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 f418bf4333
Fix voting when FEATURES['AWARDS'] false.
Apparently we stick the voting javascript in awards_modal.js, which
is included with awards_modal.html. While this makes sense as a proxy
for logged-in post-actions, it unfortunately means disabling inclusion
of the (otherwise unused) modal templates when FEATURES['AWARDS']
is disabled breaks other things.
2022-07-22 23:25:05 -04:00
Snakes ed40fd9d76
Amend 2ccb50504: HOLE_OST -> HOLE_COST. 2022-07-22 15:43:34 -04:00
Aevann1 4fe005c4af lazy fix for giant hand 2022-07-22 07:56:33 +02:00
Aevann1 15073496c6 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-07-22 03:18:23 +02:00
Aevann1 2ccb505045 fix sneks accidentially adding pronouns and houses to deux 2022-07-22 03:18:20 +02:00
Snakes 09506d2e4e
WPD: add sidebar flair 'Discussion'. 2022-07-21 17:27:33 -04:00
Snakes be1023f734
cron.py bugs: missing import; lottery edge case 2022-07-21 14:28:52 -04:00
Snakes 0fe1e57ecd
Fix cfa6c13ea: cron.py missing import. 2022-07-21 14:11:04 -04:00
Snakes a2ca535ce3
LGB: extend block & follower vis permissioning. 2022-07-19 22:29:45 -04:00
Snakes f23b93fbe9
LGB: add sidebar rDrama shoutout. 2022-07-19 22:20:57 -04:00
Snakes eb55a6cc01
LGB: disable country club. 2022-07-19 21:50:08 -04:00
Snakes aaca126984 LGB: Content update /kb/resourcesorgs. 2022-07-19 21:20:52 -04:00
Snakes b4fdf248ef LGB: disable profile bio, banner, song. 2022-07-19 21:20:52 -04:00
Snakes d06ea7d349 LGB: disable markup commands. 2022-07-19 21:20:52 -04:00
Aevann1 cdfc68cb4b fix previous commit 2022-07-20 02:57:30 +02:00
Aevann1 ec2c1afba1 remove "card" css class 2022-07-20 02:56:32 +02:00
Aevann1 f6a26cef62 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-07-20 02:53:14 +02:00
Aevann1 8f2e2896cd make unread post notifs neater 2022-07-20 02:53:12 +02:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Snakes 82de9657e9
Fix commenting 500 from blackjack.py.
Apparently the blackjack code didn't have the global constants.
And was breaking everything when checking `FEATURES`.
2022-07-18 05:05:48 -04:00
Snakes 001caf0c98
LGB: Add static /kb/ route; two static pages. 2022-07-18 04:39:21 -04:00
Snakes d8d1fa3213
Show 'Remove Mod' to JL3.
Initially requested by LGB. However, extended to all sites for
consistency: JL3s can add mods to any hole, so removal of mods seems
symmetrically permitted.

The one expansion of privilege regards removal of early mods on the
mod list. However, I believe this to be minimally destructive because
there is no logic to e.g. delete unmodded holes. Tools that can be
used imprudently, though without catastrophic consequences, are
generally extended to all JL3.
2022-07-18 03:53:50 -04:00
Snakes be983504b7
LGB: disable gambling. 2022-07-18 03:47:17 -04:00
Snakes 9d036441e7
LGB: Hide donation in all contexts.
Additionally, refactors some instances of `SITE_NAME != 'WPD'` to use
`FEATURES['PROCOINS']` as appropriate.
2022-07-18 03:32:26 -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
Snakes 76d925f1ba
LGB: add modlog link to admin_home template. 2022-07-18 00:37:07 -04:00
Snakes f72fcd00b9
LGB: emoji content. 2022-07-18 00:34:55 -04:00
Snakes c4e8755a8d
LGB: const settings, welcome message. 2022-07-17 23:59:20 -04:00
Aevann1 8af9b8a339 wipe cringetopia 2022-07-18 04:46:03 +02:00
Aevann1 91fe866f47 fix comment sorting 2022-07-18 04:08:43 +02:00