Commit Graph

3771 Commits (53a8818f8098d994d3fc83d82ba137794481a3b1)

Author SHA1 Message Date
Aevann1 53a8818f80 fix snappy gambling 2022-06-13 19:30:04 +02:00
Aevann1 f8c60e61f9 expand modaction notifications to ban, unban, and grass awards
(but only if used by JL3, since they can print awards willy nilly)
2022-06-13 19:22:30 +02:00
Aevann1 dd09eff539 fix oversight in ba883a5340 2022-06-13 18:50:30 +02:00
Aevann1 d09634bf20 make log show 0 actions when u filter by a kind that doesn't exist
(instead of showing all actions)
2022-06-13 18:41:46 +02:00
Aevann1 c8e0d8b1c3 catch email exception 2022-06-13 18:28:37 +02:00
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
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Aevann1 b94fabddb4 rDrama -> SITE_NAME 2022-06-11 16:39:00 +02:00
Aevann1 1212804fbf exclude pings from link counter 2022-06-11 15:19:39 +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 964318fe5d fix push notifications 2022-06-11 00:14:03 +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 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 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 f9a0cff350 make the page always jump to the comment you wanna view 2022-06-10 20:01:12 +02:00
Snakes 642f5e7a1c Holes: remove JL3 on /create_hole 2022-06-10 12:59:25 -04:00
Aevann1 e53a286d49 notify mods of the deletion of their holes 2022-06-10 17:41:33 +02:00
Aevann1 abae90fbfd fixed bug with snappy gambling 2022-06-10 16:44:30 +02:00
Aevann1 2db414f12d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-10 14:48:14 +02:00
Aevann1 2b82f95a98 Make hole cost constant instead of variable 2022-06-10 14:48:11 +02:00
Snakes 4db48a6ec9 Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
Snakes 8709ca816d Add Y'all Seein' Eye award v2 for offsitementions.
Reusing the assets and design for the ill-fated YSE in a0f441a67d.
This time, the award provides access to our offsite mentions (reddit
notifs).
2022-06-10 07:12:19 -04:00
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
Aevann1 934b631730 rename /create_sub to /create_hole 2022-06-10 00:29:45 +02:00
Aevann1 3a9f3c329f fix hole deletion 2022-06-10 00:13:33 +02:00
Aevann1 10f3d4035d delete inactive holes 2022-06-10 00:07:17 +02:00
Snakes dc7f13304e Add following holes for notifications. 2022-06-09 16:24:24 -04:00
Aevann1 c100ed415c increase edit_post ratelimit so it doesnt fuck with drafts 2022-06-09 20:09:18 +02:00
Aevann1 63c16a867a make the ratelimit for editing much lower to cut
down on mass overwriting
2022-06-09 18:10:25 +02:00
Aevann1 cea253a52c don't notify me anymore of carp posts 2022-06-09 15:29:13 +02:00
Snakes b94e71450f Add un-holing to hole report command. 2022-06-09 02:42:52 -04:00
Snakes 995375decc Refactor reddit mentions, move to cron.
The reddit mentions system contained much duplicated code and was
grafted onto the post thumbnail pipeline to achieve semi-regular
invocation. Instead, we now run it through the new cron system,
and the duplicate code has been refactored out.
2022-06-07 10:42:24 -04:00
Snakes 152315f73e cron: Move charts from static to helper. 2022-06-07 08:31:24 -04:00
Aevann1 d431ae1ecd re-prioitize effortposts (with a lot of links) in the frontpage 2022-06-07 13:26:39 +02:00
Aevann1 aaeb09fd91 add me to WPD discord too 2022-06-07 12:55:50 +02:00
Aevann1 1bce1c273f no more 500 error 2022-06-07 12:32:48 +02:00
Aevann1 4a1e6cc726 a 500 error is much better than an XSS, bro 2022-06-07 12:03:51 +02:00
Aevann1 f966262b97 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-07 11:18:12 +02:00
Aevann1 d761fc27cd Revert "Make CARP_ID's flair uneditable by others."
This reverts commit c2266985b7.
2022-06-07 11:18:09 +02:00
Snakes 70b96162a7 Fix banned domain info leak in modlog. 2022-06-06 22:18:56 -04:00
Snakes dece3fd460 Add user title coin cost parameter. 2022-06-06 19:02:23 -04:00