Commit Graph

12658 Commits (ba883a5340eb786a7acac80d85f777db62dab030)

Author SHA1 Message Date
Aevann1 ba883a5340 give chadmins notifications for unbans and unremovals 2022-06-13 16:40:16 +02:00
Aevann1 cf827bdf38 unhide some mod actions from non-jannies 2022-06-13 15:37:46 +02:00
Snakes 3ebba0465a Close more shadowbanned user info leaks.
1. Missed the notif for unfollowing a non-fish'd user in fb52003404.
2. "Get Them Help" button showed username.
3. Gift coins/mbux showed username and allowed a message.
4. Global block list showed username.
5. User profile appeared to logged-out and non-jannies.
2022-06-12 23:03:36 -04:00
Snakes fb52003404 Hide block & follow notifs from shadowed. 2022-06-12 22:11:55 -04:00
Aevann1 0fe3936cbb make CTRL+Enter work on input fields too 2022-06-12 20:11:06 +02:00
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Snakes 7915eb8390 Fix giant patting hand UI bug.
Despite being very fun, this fixes the recently discovered bug where
placing '#' or '!' within the 'pat:' suffix of a patted emoji causes
the enclosing <span> to not be given the proper CSS `display` or
`position`, leading to the hand being sized relative to the comment
bounding box rather than the emoji box.

This should be backward compatible. The only posts it wont fix are
existing ones with the giant hands. Main example being:
https://rdrama.net/h/slackernews/post/76302/
2022-06-12 02:22:38 -04:00
Snakes f76b94b58d Content: keywords updates. 2022-06-11 22:08:48 -04:00
Aevann1 85b4158d5b "1 lottery tickets" -> "1 lottery ticket" 2022-06-11 16:52:20 +02:00
Aevann1 30f71855f4 fix 5e9297b78f 2022-06-11 16:50:26 +02:00
Aevann1 5e9297b78f rename "Lottershe" to "Lottery" on other sites 2022-06-11 16:44:13 +02:00
Aevann1 adefc09ae9 rename "dramacoins" to "coins", so that it works on other sites 2022-06-11 16:40:53 +02:00
Aevann1 cf83a996bd let losers know how much coins the winner won 2022-06-11 16:40:14 +02:00
Aevann1 b94fabddb4 rDrama -> SITE_NAME 2022-06-11 16:39:00 +02:00
Aevann1 165e394dea decreased award threshold from 4GB to 3GB 2022-06-11 15:56:21 +02:00
Aevann1 1212804fbf exclude pings from link counter 2022-06-11 15:19:39 +02:00
Aevann1 f80424b103 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-11 15:07:51 +02:00
Aevann1 c59708c416 fixed uneven award modal on mobile 2022-06-11 15:07:47 +02:00
Snakes 4b1faca58e Swap create/browse holes in sidebar. 2022-06-11 08:49:17 -04:00
Aevann1 3ec049e222 testing commit #2 2022-06-11 14:33:17 +02:00
Aevann1 6314b0f788 testing commit #1 2022-06-11 14:31:43 +02:00
Aevann1 831344b723 small image embed improvements 2022-06-11 14:21:59 +02:00
Aevann1 12a9307ab3 don't restrict file extensions on the frontend side (leave it to the backend) 2022-06-11 13:38:45 +02:00
Aevann1 a082105ab8 remove weird trailing tabs 2022-06-11 11:56:16 +02:00
Aevann1 c0da5ed7d9 make twitter links have "nofollow noopener norefeerrer" 2022-06-11 11:53:53 +02:00
Aevann1 3b50c92afb make padding for notification tabs smaller on small devices 2022-06-11 11:37:30 +02:00
Aevann1 79df456d13 fix gigantic lottery messages on mobile 2022-06-11 11:33:40 +02:00
Aevann1 358ce08544 don't collapse gambling comments when viewing a comment 2022-06-11 11:30:46 +02:00
Aevann1 1f42d228c1 remove 'apnic' from word list 2022-06-11 11:27:55 +02:00
Snakes 28002844e4 offsitementions: Fix notif logic. 2022-06-10 22:04:17 -04:00
Snakes bebc0f11ef Revert "delete useless file"
This reverts commit 5634330c66.

The empty __init__.py is _NOT_ useless. It makes Python treat `files`
as a module properly, and it breaks cli.py and the cronjobs if it is
deleted. Yes, we need the empty file.
2022-06-10 21:50:09 -04:00
Aevann1 07e98ab2f0 Revert "yandex verification"
This reverts commit dfbc645ffe.
2022-06-11 01:08:34 +02:00
Aevann1 dfbc645ffe yandex verification 2022-06-11 01:05:59 +02:00
Aevann1 f548c2077d show names of all files when pasting instead of just the first file 2022-06-11 00:37:55 +02:00
Aevann1 964318fe5d fix push notifications 2022-06-11 00:14:03 +02:00
Aevann1 bceb87d58c disable the JS for shit/fireflies/fireworks/strippercake
awards on devices with less than 4 GB RAM
2022-06-10 23:58:17 +02:00
Aevann1 f7cce1469c Revert "use redis for site settings instead of a json file"
This reverts commit a7b67db555.
2022-06-10 23:52:32 +02:00
Aevann1 d5ca8bf7cb Revert "move site settings into redis 2"
This reverts commit 7848b12fdd.
2022-06-10 23:52:17 +02:00
Aevann1 5634330c66 delete useless file 2022-06-10 23:50:49 +02:00
Aevann1 545f276940 add created_utc column to badges for ordering them on userpages 2022-06-10 23:40:43 +02:00
Aevann1 7848b12fdd move site settings into redis 2 2022-06-10 23:39:33 +02:00
Aevann1 a7b67db555 use redis for site settings instead of a json file 2022-06-10 23:22:09 +02:00
Aevann1 9fb33d064a disallow #21262c from being used as a name color or a flair color 2022-06-10 22:52:20 +02:00
Aevann1 87ba1ba50e fix benefactor exploit (thx sneks my beloved) 2022-06-10 22:40:04 +02:00
Aevann1 79bc71f132 change sidebar artwork megathread link for idio 2022-06-10 22:35:19 +02:00
Aevann1 d84a4c7ce9 convert monthly marseybux into a cron task 2022-06-10 22:23:01 +02:00
Aevann1 760aa397c8 refactor monthly marseybux logic a little bit 2022-06-10 22:13:20 +02:00
Aevann1 b4b4ab1e9a when granting monthly awards, add 5 days to the date
so when I grant awards on 29/5 for example,
it says in the notification "for the month of July" instead of "for the month of May"
extremely minor but I have autism
2022-06-10 22:09:59 +02:00
Aevann1 654ddc4157 re-refactor normalize_url 2022-06-10 22:02:15 +02:00
Aevann1 2af325de97 make "previous" and "next" buttons bolder 2022-06-10 21:49:07 +02:00