Commit Graph

13633 Commits (84f4fc164d215cc27f07e73eafd3c70cc69552cf)

Author SHA1 Message Date
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
Aevann1 81b762fbc2 add a discord server for api users to help eachother 2022-07-18 02:46:46 +02:00
Aevann1 b84bd72beb add block button to user profiles 2022-07-18 02:18:54 +02:00
Aevann1 acaa41756d "its too large"
thats what she said
2022-07-18 01:20:00 +02:00
Aevann1 3ecde34fef hide blocked users from post notifs 2022-07-18 01:00:51 +02:00
Aevann1 255e8b88d2 make user counter better 2022-07-18 00:56:34 +02:00
Aevann1 cdc4e5b660 comprimise with neko 2022-07-18 00:37:52 +02:00
Aevann1 fe6e268cd5 improve inline emoji modal 2022-07-17 22:18:27 +02:00
Aevann1 eab0bd35d5 restore max-height for inline emojis but increase it from 300px to 500px 2022-07-17 22:12:56 +02:00
Aevann1 c9f98dd017 readjust inline emoji thing 2022-07-17 22:09:42 +02:00
Aevann1 9b425e444b make emojis 60px when selecting 2022-07-17 21:57:20 +02:00
Aevann1 4058e2adce revert what I did with the slur regex 2022-07-17 21:17:46 +02:00
Aevann1 dd8f58ed65 Revert "make comments more compact on mobile - will revert if ppl complain"
This reverts commit 3f4d28301b.
2022-07-17 20:58:07 +02:00
Aevann1 3f4d28301b make comments more compact on mobile - will revert if ppl complain 2022-07-17 20:49:57 +02:00
Aevann1 6f4c64c855 make sidebars neater on mobile v3 2022-07-17 20:23:19 +02:00
Aevann1 3fbf2b5c11 make sidebars neater on mobile v2 2022-07-17 20:22:26 +02:00
Aevann1 343f5c73b3 make sidebars neater on mobile 2022-07-17 20:16:40 +02:00
Aevann1 d011055421 fix ghostdiv 2022-07-17 19:35:29 +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 1998536e4e fix previous commit 2022-07-17 19:19:48 +02:00
Aevann1 565b5c842a fix fag slur filter 2022-07-17 19:18:52 +02:00
Aevann1 b9ce8b31bd cache bust 2022-07-17 19:14:31 +02:00
Aevann1 1fbefa7f69 fix wpd reddit mention spam 2022-07-17 19:14:01 +02:00
DrTransmisia e9d57ba68a
typo (#320)
le typo has gone
2022-07-17 19:05:24 +02:00
Nekobit aaabd0cc79
Fix (#319)
* Sneed

* Bust cache

* Fix widescreens emoji picker
2022-07-17 19:05:11 +02:00
Aevann1 f07e47327e cachebust 2022-07-17 07:43:08 +02:00