Commit Graph

13965 Commits (4a8220d6877f19fe35ff3c003f96b60d565c9082)

Author SHA1 Message Date
Aevann1 21b9f647cd fix popup on other sites 2022-08-13 02:04:59 +02:00
Aevann1 6e2a7aa99e increase webp quality 2022-08-13 01:40:59 +02:00
Aevann1 cec08c9e55 increase charlimit for hole css 2022-08-13 01:07:49 +02:00
Aevann1 593b74c969 exclude me from modmail notifs in our sites 2022-08-13 01:06:19 +02:00
Aevann1 539188ed85 fix revert_actions 2022-08-13 00:55:44 +02:00
Aevann1 33018c164b sneed 2022-08-12 18:00:02 +00:00
Snakes b81b19d838
PCM: change banner. 2022-08-11 20:24:29 -04: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 d392a213d5 sneed 2022-08-12 00:00:02 +00:00
Aevann1 d933614ef4 sneed 2022-08-11 23:00:02 +00:00
Aevann1 2957db79ce site_preview change for rdrama 2022-08-12 00:56:33 +02:00
Aevann1 5aebc60764 add an "x" to the pwa prompt 2022-08-11 21:28:03 +02:00
Aevann1 dfc68ffe58 revert all the retardation i did to this template today 2022-08-11 21:03:15 +02:00
Aevann1 f6729aab33 fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2487028?context=8#context 2022-08-11 19:18:53 +02:00
Aevann1 61858337d9 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-11 19:11:27 +02:00
Aevann1 abd3b0244f fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2486746?context=8#context 2022-08-11 19:11:24 +02:00
Aevann1 cb91ccc046 fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2329888?context=8#context 2022-08-11 19:10:54 +02:00
Aevann1 3daab0586b fix typo 2022-08-11 19:01:44 +02:00
Aevann1 1a0da2c9a7 sneed 2022-08-11 17:00:01 +00:00
Aevann1 8de09d8a9d change greentext color 2022-08-11 18:59:37 +02:00
Aevann1 ea2f66145a add id to hole name in header 2022-08-11 18:47:43 +02:00
Aevann1 26959e0751 murder deuxrama.net 2022-08-11 18:46:11 +02:00
Aevann1 ab5ad3732a change greentext color 2022-08-11 18:27:15 +02:00
Aevann1 017b139bd8 unread margin 2022-08-11 18:25:02 +02:00
Aevann1 59712ecf77 addendum to previous commit 2022-08-11 15:36:41 +02:00
Aevann1 67f223536c increase hole max char limit from 20 to 25 2022-08-11 15:34:56 +02:00
Aevann1 b2c8bacd58 im tired of describing small commits, sneed 2022-08-11 15:31:54 +02:00
Aevann1 ad8cb16bee notify chadmins of new holes 2022-08-11 15:25:56 +02:00
Aevann1 16f949e38d pure rage 2022-08-11 15:09:39 +02:00
Aevann1 e7e8e80fb9 fix id links for loggedout users 2022-08-11 15:00:04 +02:00
Aevann1 17d35de929 fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2459808?context=8#context 2022-08-11 14:57:20 +02:00
Aevann1 23ad27e10c fix unread class in notifs 2022-08-11 14:26:33 +02:00
Aevann1 b462deb159 fix missing " 2022-08-11 13:56:53 +02:00
Aevann1 9267d43293 fix censoring notifs 2022-08-11 13:45:30 +02:00
Aevann1 a9b5413fb1 fix missing ")" 2022-08-11 13:45:04 +02:00
Aevann1 861b16478b fix b6e7151cce 2022-08-11 13:40:36 +02:00
Aevann1 f563d6b932 fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2402363?context=8#context 2022-08-11 13:39:38 +02:00
Aevann1 b6e7151cce censor notifs 2022-08-11 13:27:52 +02:00
Aevann1 6fba35a82f change greentext color 2022-08-11 13:19:02 +02:00
Aevann1 4b6412ab5b margin shit 2022-08-11 13:02:50 +02:00
Aevann1 725d5ccabc make suggested emojis a little smaller 2022-08-11 12:59:06 +02:00
Aevann1 320d5ca690 remove "reply" button top margin 2022-08-11 12:56:53 +02:00
Aevann1 f0394867e6 fix emoji popup in notifications 2022-08-11 12:55:05 +02:00
Aevann1 091c29c6d5 remove comment margin in notifs 2022-08-11 12:29:49 +02:00
Aevann1 d07556afc6 simplify comment spam detection 2022-08-11 12:28:45 +02:00
Aevann1 ce9c4a1a41 fix https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2480694?context=8#context 2022-08-11 10:29:56 +02:00
Aevann1 e8bfe7348f fix wordle not verifiying user 2022-08-11 10:15:41 +02:00
Snakes c15f07a186
Fix /blackjack/ not verifying user. 2022-08-11 03:50:07 -04:00
Snakes 249c593379 Hats: frontend interface, migrate cakeday.
Getting the basic hats frontend changes into master so my branch stops
diverging from the templates. Migrates the existing cakeday partyhat
functionality to the new system also.

Establishes a (hopefully) static interface for PFP hat display:
  - Hat image assets are 100px w x 130px h and anchored to the bottom-
    left corner of pfps.
  - User.hat_active provides either empty string or the internal
    string identifier for active user hat.
  - User.hat_tooltip provides mouseover text. Likely only to be used
    for cakeday hats on one's cakeday.

Additionally, per discussion with Carp, PFPs in comments and posts
increased from 25px diameter to 30px.
2022-08-11 03:30:43 -04:00
Aevann1 a6f1fb17c9 improve expanding images 2022-08-11 09:24:01 +02:00
Aevann1 126a7b4ae3 make chat reply button neater 2022-08-11 09:18:17 +02:00
Aevann1 89e77a69ac sneed 2022-08-11 07:13:52 +02:00
Aevann1 77fe76220d Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-11 07:09:57 +02:00
Aevann1 b6014d1da6 fix borked padding on mobile for some shit 2022-08-11 07:09:54 +02:00
Aevann1 03c364082b git pullMerge branch 'frost' of https://github.com/Aevann1/rDrama into
frost
2022-08-11 05:06:05 +00:00
Aevann1 ac1a7006df smol css changes (dont review if u value ur sanity) 2022-08-11 07:05:48 +02:00
Aevann1 248545e235 sneed 2022-08-11 05:00:02 +00:00
Aevann1 34ac1abbd6 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-11 06:35:04 +02:00
Aevann1 1ead8823ef sweety -> sweaty 2022-08-11 06:35:02 +02:00
Snakes 0e8dc4ca3f
coffee.css: mobile comment action text legibility. 2022-08-11 00:32:15 -04:00
Aevann1 45fb2de7e5 delete too long visitor flavor text 2022-08-11 06:30:36 +02:00
Aevann1 a4b397fb91 revert unread change in dark theme 2022-08-11 06:07:14 +02:00
Aevann1 ae79bc8e0e remove LLM_ID 2022-08-11 06:06:34 +02: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
Aevann1 cfa17aaf68 rename some retarded ruqqus terminology 2022-08-11 06:04:41 +02:00
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 c5e7b6b763
classic.css: award modal text legibility. 2022-08-10 18:30:15 -04:00
Aevann1 36e25b4080 sneed 2022-08-10 22:00:02 +00:00
Snakes 55c1ad859e
Disable showmore logic on posts. 2022-08-10 17:34:15 -04:00
Snakes f2030077f0
Fix /shop purchase confirmation buttons. 2022-08-10 17:28:45 -04:00
Aevann1 484788bbc1 sneed 2022-08-08 23:00:02 +00: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
gooseman a10a177106 geese do things right the first time challenge (impossible) 2022-08-07 18:44:35 -07:00
Snakes c8ae56cbbf
WPD: update slur replacements. 2022-08-07 16:35:56 -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 77e5fd074d LGB: hide donation link. 2022-08-07 02:57:30 -04:00
Snakes 4fddb88c1a Hide Android app menu on sites without app. 2022-08-07 02:57:30 -04:00
Snakes 1bacb9cf9d LGB: site-specific NOTIFIED_USERS. 2022-08-07 02:57:30 -04:00
gooseman a352d92c10 make searching not a pain in the ass on mobile
did not test at all lmao
2022-08-06 19:00:40 -07:00
Aevann1 2509861d27 change WPD server 2022-08-06 21:17:08 +02:00
Aevann1 f1232b9d04 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-06 21:15:18 +02:00
Aevann1 928351fec3 increase chance of visitors displaying 2022-08-06 21:15:16 +02:00
Snakes 997cb2df89
rDrama: restore non-Juggalo site styling. 2022-08-06 11:45:53 -04:00
Aevann1 fdc077177d make pronoun font-size a little bit smaller 2022-08-06 16:30:35 +02:00
Aevann1 e41bc1d68b fix large emojis being too large in markdown preview 2022-08-06 16:28:03 +02:00
Aevann1 539efb6b95 make unread shit on dark theme more prominent 2022-08-06 16:18:22 +02:00
Aevann1 63628bb7cc make dark theme better 2022-08-06 16:16:12 +02:00
Aevann1 12afef8fa4 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-06 16:04:36 +02:00
Aevann1 d1cb115ada fix comment editting bug 2022-08-06 16:04:34 +02:00
Aevann1 39c5a08fbf sneed 2022-08-06 04:00:02 +00:00
Aevann1 d99c77cba9 add confirmation dialog to buying awards 2022-08-06 04:03:10 +02:00
Aevann1 b83a16668b re-move bootstrap.js back to the top of documents to fix broken shit 2022-08-06 03:20:25 +02:00
Aevann1 c3430ee6ea make dark theme better 2022-08-06 01:52:27 +02:00
Aevann1 eac3a72976 fix typo and remove deux redirect 2022-08-06 01:47:20 +02:00
Aevann1 55332b52b5 apparently u cant put blocks inside if statements 2022-08-06 01:16:44 +02:00
Aevann1 c1d99ecef3 restore the black classes in header 2022-08-06 01:12:22 +02:00
Aevann1 5f40941c55 I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme 2022-08-06 01:08:06 +02:00
Aevann1 908eda84e3 fix weird 500 error 2022-08-06 00:56:21 +02:00
Aevann1 fa173f805e fix mobile action dropdown in classic themes 2022-08-06 00:54:13 +02:00
Aevann1 8f08db39c5 delete reddit.css 2022-08-06 00:53:38 +02:00
Aevann1 48608f0448 add a preview for holes when linked on other sites 2022-08-06 00:40:20 +02:00
Aevann1 f27a65f2dc fix issue with logged-in redirection for holes 2022-08-06 00:39:38 +02:00
Aevann1 cfa4841ffe testing in prod 2022-08-06 00:28:22 +02:00
Aevann1 14a00b5357 fix previous commit 2022-08-06 00:02:41 +02:00
Aevann1 07608ee50a Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-05 23:59:45 +02:00
Aevann1 2e3548eb77 remove modmail from my notifs (cancer) 2022-08-05 23:59:40 +02:00
Aevann1 db6edad48a Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-05 21:50:40 +00:00
Aevann1 0429da4493 mod action notifs rework 2022-08-05 23:50:30 +02:00
Aevann1 85a7b223fb sneed 2022-08-05 21:00:01 +00:00
Aevann1 9114b0ca74 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-05 22:48:10 +02:00
Aevann1 6c6f5d7b91 remove <pre> from leaderboard.html 2022-08-05 22:48:08 +02:00
Snakes 2845e0961b Turn login-gate of 1568ec0162 into admin toggle. 2022-08-05 16:42:22 -04:00
Aevann1 846a7f4537 fix collapsing jannied comments 2022-08-05 22:32:36 +02:00
Aevann1 c8ea663833 remove filename when commenting 2022-08-05 22:00:16 +02: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
Aevann1 a75d481f60 add a 2nd email account for WPD 2022-08-05 19:22:17 +02:00
Snakes 8b241a765a
Check URI approved embed in all CSS contexts. 2022-08-05 13:09:41 -04:00
Snakes 59344a28cd
Fix safe_url bypass for profilecss external embeds. 2022-08-05 12:32:56 -04:00
Aevann1 2ec5531080 order themes alphabetically 2022-08-05 18:26:44 +02:00
Aevann1 6045667b91 change "clear all notifications" to "mark all notifications as read" 2022-08-05 18:07:15 +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
Aevann1 fe0d1beb6e sneed 2022-08-05 14:00:01 +00: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 cbfc611228 sneed 2022-08-04 23:02:27 +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 e9aa528a2e dont display sidebar image in /sidebar 2022-08-04 22:41:14 +02:00
Aevann1 e15b61d6b3 make /sidebar neater 2022-08-04 22:37:39 +02:00
Aevann1 0dde4c81c5 sneed 2022-08-04 22:34:51 +02:00
Aevann1 1568ec0162 sneed 2022-08-04 22:33:22 +02:00
Aevann1 9d780a6aa8 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-04 21:31:15 +02:00
Aevann1 d069550284 fix issue with showmore button breaking divs 2022-08-04 21:31:13 +02:00
Aevann1 649bc1d103 sneed 2022-08-04 16:00:02 +00:00
Aevann1 8951d08d1c make rainbow button visible on all themes and decrease its text-shadow 2022-08-04 17:19:28 +02:00
Aevann1 1afb1ea76f sneed 2022-08-04 17:14:59 +02:00
Snakes da55adb790
rDrama: banners: remove 114, compress new; ICP. 2022-08-04 03:20:47 -04:00
Snakes 73b71b2f44
PCM: disable repost detection. 2022-08-04 00:07:17 -04:00
Snakes 3bbed007b7
PCM: update sidebar content. 2022-08-03 22:56:35 -04:00
Snakes e0597fa91f
WPD: add 'Gore' flair to sidebar. 2022-08-03 19:42:23 -04:00
Snakes ac948acb4a
PCM: swap banners, move banners to distinct URL. 2022-08-03 19:21:21 -04:00
Aevann1 c924f4b04f sneed 2022-08-03 01:19:33 +02:00
Aevann1 fbfd9495c7 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-03 01:18:47 +02:00
Aevann1 ac7317d519 sneed 2022-08-03 01:18:44 +02: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 5aff344efe fix bad quality 2022-08-02 23:54:33 +02:00
Aevann1 bd1cf2c6bf cachebust 2022-08-02 23:53:32 +02:00
Aevann1 0a5c1353ec Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-02 23:51:18 +02:00
Aevann1 9f22c63264 thanks geese for wpd banner 2022-08-02 23:51:15 +02:00
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