forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

13651 Commits (846a7f4537035a6b3001dc3de1fc48fbd46ff6a4)

Author SHA1 Message Date
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
Nekobit bde47271d7
Allow Inline Emoji modal in more areas (#318)
* Sneed

* Bust cache
2022-07-17 07:42:03 +02:00
Aevann1 544f1b6ee6 make the emoji thing neater 2022-07-17 07:41:35 +02:00
Aevann1 8b10d02b1c add rainbow-text + cachebusting (thx neko my love) 2022-07-17 07:39:51 +02:00
Aevann1 6ccdfeab67 change ban evasion domain 2022-07-17 07:32:16 +02:00
Aevann1 5703425418 improve slur regex 2022-07-17 07:24:53 +02:00
Aevann1 309b23a005 fix neko's PR 2022-07-17 07:10:55 +02:00
Nekobit 4b47faa1ed
Inline Emojo Picker (#317)
* Inline emoji picker

* Inline text editor
2022-07-17 07:02:22 +02:00
Aevann1 664029a9fb sneed 2022-07-16 21:00:02 +00:00
Aevann1 c822d40ead remove cringetopia 2022-07-16 22:19:47 +02:00
Aevann1 ef3d13481a make emoji modal bigger 2022-07-16 22:19:42 +02:00
Aevann1 1088e38f34 order saved posts, comments and subscribed post by newest to oldest 2022-07-16 20:51:48 +02:00
Aevann1 0b77e3f039 sneed 2022-07-16 20:37:07 +02:00
Aevann1 18ac7981ed fix snappy gambling 2022-07-16 03:54:50 +02:00
Aevann1 5a2dc01990 modify new user message a little 2022-07-16 01:31:40 +02:00
Aevann1 aacaf50928 change pronoun design 2022-07-15 22:21:42 +02:00
Aevann1 61f1fe9942 put margin in nsfw.html 2022-07-15 16:36:07 +02:00
Aevann1 2092c1aee1 fix previous commit 2022-07-15 15:55:43 +02:00
Aevann1 d00c71a847 make comments more compact on mobile, will revert if someone complains 2022-07-15 15:54:30 +02:00
Aevann1 8bd7bd0ff8 fix nitter regex 2022-07-15 15:45:57 +02:00
Aevann1 54c2ddfffe increase the margin of the "show more" button 2022-07-15 15:42:07 +02:00
Aevann1 d3fb0d87d6 ability to re-order badges by addition number 2022-07-15 15:36:53 +02:00
Aevann1 636e5e1254 fix camas.unddit.com 2022-07-15 15:27:45 +02:00
Aevann1 b7032a1449 RFCs are for incels 2022-07-15 15:17:39 +02:00
Aevann1 8da96d40f7 replace search.marsey.cat with camas.unddit.com 2022-07-15 15:00:51 +02:00
Aevann1 00a8bbdd74 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-15 03:25:06 +02:00
Aevann1 de66243ea0 show marsey authors in deux 2022-07-15 03:25:04 +02:00
Snakes a98f5e5706 PCM: raise pin limit to 10 for Kippy. 2022-07-14 21:21:20 -04: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 e40f6881d8 fix 500 error 2022-07-15 01:23:15 +02:00
Aevann1 09da483bac dont reveal votes on polls in ghost threads 2022-07-15 01:21:52 +02:00
Aevann1 f444528de2 adding timestamps to the user listing 2022-07-14 19:21:27 +02:00
Aevann1 a6a6cb925d more prominent effect on button click 2022-07-14 18:58:08 +02:00
Aevann1 03620d984c improve sorting tables 2022-07-14 18:20:09 +02:00
Aevann1 98e3e63547 order poll votes by time of creation 2022-07-14 16:47:03 +02:00
Aevann1 c56f3951e1 make roll command neater 2022-07-14 16:43:05 +02:00
Aevann1 abb54747c2 fix unrendered html in poll_votes page 2022-07-14 15:31:34 +02:00
Aevann1 3f0d1ac2a7 make nuking message clearer 2022-07-14 15:28:07 +02:00
Aevann1 a87283428d make emoji modal neater 2022-07-14 15:22:44 +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 a55ef591e4 Remove testing code from login.html.
Because I'm an idiot who forgot to restage the file before committing.
2022-07-13 23:23:13 -04:00
Snakes 8c40f9e9a8 Deux: Add 'Sign In with rDrama' UI button.
Also reduced the indentation in much of login.html to one tab rather
than two since I was touching the file anyway.
2022-07-13 23:19:47 -04:00
Snakes 88108594ad Implement Deux login with rDrama challenge. 2022-07-13 20:36:04 -04:00
Aevann1 48752681e8 make "show more" button look slightly better 2022-07-13 23:49:12 +02:00
Aevann1 7243ed408f allow "I" as the first pronoun 2022-07-13 23:43:46 +02:00
Aevann1 a7c5ad6045 change carp's id on lgbdropthet from 17 to 18 2022-07-13 23:37:15 +02: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 b061b5eae1 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-13 22:39:18 +02:00
Aevann1 ff5054cc7a fixing buttons on win98 2022-07-13 22:39:15 +02:00
Snakes 5005c7ab97 Center voting on submission_listing desktop. 2022-07-13 16:25:05 -04:00
Aevann1 1555a1061a fixing primary buttons on win98 theme 2022-07-13 22:21:45 +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 b59b8e49a0 change deux cover 2022-07-13 21:09:57 +02:00
Aevann1 deb292a65d make unblock button look better 2022-07-13 20:50:10 +02:00
Aevann1 eba03c8173 fix "unblock" button 2022-07-13 20:49:47 +02:00
Aevann1 28119f1aa4 fix blocks 2022-07-13 20:48:04 +02:00
Aevann1 c514ef720b fix "api app" button v2 2022-07-13 20:45:03 +02:00
Aevann1 a081673458 fix api app button 2022-07-13 20:44:21 +02:00
Aevann1 f5bacd8938 Revert "log ppl into deux automatically"
This reverts commit 86f7e627ea.
2022-07-13 20:33:31 +02:00
Aevann1 cd94fa535f restore user count for PCM 2022-07-13 20:17:03 +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 870ea381b8 fix 2fa 2022-07-13 19:07:59 +02:00
Aevann1 e3d2d24d94 fix this https://chapotraphouse.club/post/85005/chadblack2-soymad-soycry-soymad-black-man/2294928?context=8#context 2022-07-13 18:48:53 +02:00
Aevann1 4a3693c1b3 fix transfer log links appearing on normal comments (lol) 2022-07-13 17:22:25 +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 dde09890e1 make profile avatars neater on /log AND add toast when copying link 2022-07-13 17:19:36 +02:00
Aevann1 aa4ab5b217 sneed 2022-07-13 17:16:53 +02:00
Aevann1 df3df30840 fix 500 errors 2022-07-13 15:11:37 +02:00
Aevann1 2da7bea62b combine the 2 user counters for non-jannies 2022-07-13 15:08:21 +02:00
Aevann1 df096e7cc4 add #roll 2022-07-13 15:06:59 +02:00
Aevann1 706b8491fe Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-13 14:56:41 +02:00
Aevann1 f7c2befeed allow deux jannies to add badges 2022-07-13 14:56:30 +02:00
Aevann1 f585597401 make deuxrama use rdrama's snappy quotes 2022-07-13 14:55:28 +02:00