Commit Graph

6174 Commits (04844fc7ce1ceef2a4800da46d0123c196fabc63)

Author SHA1 Message Date
Aevann d7f42ac50a dont give shekels to ppl not notified bc of blocks + dont give shekels to ppl ALSO mentioned directly + prevent group double charging on edit + do this https://stupidpol.site/h/countryclub/post/79285/-/3695711#context 2023-03-02 21:56:43 +02:00
Aevann e9a15cd0b8 disallow creating !everyone 2023-03-02 21:21:38 +02:00
Aevann 4dde817fcc remove leftover debug print 2023-03-02 02:47:19 +02:00
Aevann 6884e5b3ed fix https://rdrama.net/events/worldcup2022/leaderboard 2023-03-02 02:36:41 +02:00
Aevann 308bb03125 add !everyone 2023-03-02 02:32:51 +02:00
Aevann fdda74a008 fix 500 error with newest sqlalchemy version 2023-03-02 02:27:17 +02:00
Aevann b0075fb393 fix badge thread 2023-03-01 22:57:18 +02:00
Aevann 30a8de0126 restore login_required mod log 2023-03-01 22:45:42 +02:00
Aevann ca1b25783f redup redis url 2023-03-01 21:49:17 +02:00
Aevann cf9500ddbd enable notifs for ghost posts 2023-03-01 21:28:19 +02:00
Aevann b3f75b9beb always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
Aevann 95bb5db1af remove intervention code for being not necessary anymore 2023-03-01 21:15:11 +02:00
Aevann f9c49fc49c fix 500 error 2023-03-01 02:01:26 +02:00
Aevann 891fa80388 use "p" variable instead of "post" variabe for consistency 2023-03-01 00:37:12 +02:00
Aevann ff73022863 mive /edit_post and /edit_comment to the bottom 2023-03-01 00:22:59 +02:00
Aevann 55c8a51a1d make it possible to position poll options 2023-03-01 00:09:16 +02:00
Aevann 82af0d4528 fix not being able to see ur own replies in DMs 2023-02-28 22:52:43 +02:00
Aevann 76156ba9c4 make it impossible to leave !jannies 2023-02-28 22:07:31 +02:00
Aevann 24c298f329 do this https://stupidpol.site/h/countryclub/post/79285/-/3681172#context 2023-02-28 21:36:14 +02:00
Aevann 4980bafc62 fix duplicate notifs 2023-02-28 20:51:11 +02:00
Aevann 24b3e96e03 minor fix to notifs 2023-02-28 19:27:36 +02:00
Aevann fc53358964 only generate a modaction if v.id != asset.submitter_id 2023-02-28 19:15:49 +02:00
Aevann 64fb4c7a92 put unapproved apps before approved apps 2023-02-28 19:13:38 +02:00
Aevann c6af523b5d handle turnstile outages 2023-02-28 19:02:03 +02:00
Aevann 330fd9c97d handle race condition 2023-02-28 18:56:22 +02:00
Aevann 8f50c90b17 fix to /notifications 2023-02-28 18:52:29 +02:00
Aevann 1769c762b0 support multiline award notes 2023-02-27 20:17:33 +02:00
Aevann 86b0d2f5c1 fix comments not appearing 2023-02-27 18:16:12 +02:00
Aevann 8342e8b7c3 increase the limit from 8 files to 20 files 2023-02-27 18:05:28 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: #135
2023-02-27 15:38:12 +00:00
Aevann 668499846b try to fix mbux bug 2023-02-27 17:02:45 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 9559c6e93a hide ghosts in push notifs 2023-02-27 15:35:53 +02:00
Aevann 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +02:00
Aevann 6e200d332e use [file] instead of <file> 2023-02-27 07:24:26 +02:00
Aevann e1c9f752c3 better replies 2023-02-27 04:11:41 +02:00
Aevann 6e3dd62a47 fix irrelevant replies in notifs 2023-02-27 03:56:10 +02:00
Aevann 9a618508f7 consistency 2023-02-27 02:48:19 +02:00
Perjury 20bbc9ff24 Pointless bullshit checks for people who like to use mitmproxy a bit too much (#134)
Does it do anything meaningful? No
Does it do anything harmful? No
Did I test it? uhhhhhm

Co-authored-by: Perjury <perjury@sabotaged.email>
Reviewed-on: #134
Co-authored-by: Perjury <perjury@noreply.fsdfsd.net>
Co-committed-by: Perjury <perjury@noreply.fsdfsd.net>
2023-02-27 00:47:51 +00:00
Aevann 2c279a8369 remove unnecessary modmail preamble 2023-02-27 02:41:25 +02:00
Aevann aec0bbc7bd dont give error when body is missing <file> 2023-02-26 14:46:38 +02:00
Aevann 663cdde1f4 increase the limit for concurrent file uploads from 4 to 8 2023-02-26 14:19:30 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 825cee14eb always show parent comment in /notifications 2023-02-26 13:14:18 +02:00
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +02:00
Aevann 588c133e67 decrease unnecessary 1/2 minutes ratelimit 2023-02-26 12:24:38 +02:00
Aevann 3a07858639 revert back from \n to \n\n for easier to read source and making linefeeds work when theres <pre> or ``` 2023-02-26 12:20:32 +02:00
Aevann fd9e1c3fec in push notifs: link the post I was mentioned in 2023-02-26 11:37:44 +02:00
Aevann 8085fa3351 make modmail appear in /search/messages 2023-02-26 11:22:42 +02:00
Aevann 890fedf1f3 remove redundant condition 2023-02-26 11:14:39 +02:00
Aevann 510ff42dab fix error 2023-02-26 10:50:57 +02:00
Aevann 82a73392a9 fix errors 2023-02-26 10:49:09 +02:00
Aevann 7dd2879328 fix 500 error 2023-02-26 10:47:41 +02:00
Aevann 8c495c914a default ratelimit doesnt apply implicitly if theres other @limiter.limit before the function, so add it explicity before all functions 2023-02-26 10:41:04 +02:00
Aevann d500257729 better syntax for redis host 2023-02-26 10:02:07 +02:00
Aevann 4c35f0b07f remove unnecessary line 2023-02-26 08:35:59 +02:00
Aevann b7f12dacda fix again 2023-02-26 04:03:09 +02:00
Aevann e43319b34d fix 2023-02-26 04:01:37 +02:00
Aevann a77be15791 delete the 1/second ratelimiter in after_request 2023-02-26 03:58:41 +02:00
Aevann 7aaeedea36 better ratelimiting 2023-02-26 03:42:39 +02:00
Aevann 6cc9c784cc minor changes to notifs 2023-02-26 01:44:31 +02:00
Aevann db7cb3d415 fix 500 error 2023-02-26 00:07:26 +02:00
Aevann 3cec0297cf rename /!group/members to /!group 2023-02-26 00:06:43 +02:00
Aevann 878ba5b80b Revert "change groups ratelimit"
This reverts commit 8d3d105eba.
2023-02-25 23:53:48 +02:00
Aevann 63ff0d8511 better UI for ping groups 2023-02-25 23:44:02 +02:00
Aevann 8be4e6adc2 always show parent comment in notifications 2023-02-25 21:57:50 +02:00
Aevann 00c70a23fb show number of emojis and the zip size 2023-02-25 21:18:40 +02:00
Aevann 0bc727a6e1 give me push notifs for direct replies 2023-02-25 20:17:24 +02:00
Aevann 0a8bb14c64 try not limiting push notifs body size and see what happens 2023-02-25 20:16:28 +02:00
Aevann 8418e0075f move .cookies to /cookies 2023-02-25 19:45:13 +02:00
Aevann 61d256eaaa adds an easy link to download all emojis 2023-02-25 01:14:18 +02:00
Aevann 5797132548 restore blackjack 2023-02-24 23:50:10 +02:00
Aevann 5a912f7966 clearer error message 2023-02-24 22:20:31 +02:00
Aevann fac4da6769 order memberships better 2023-02-24 21:53:40 +02:00
Aevann 8d3d105eba change groups ratelimit 2023-02-24 21:44:22 +02:00
Aevann a83c5767c1 fix 500 error 2023-02-24 21:43:27 +02:00
Aevann 0832037d3e make it possible to kick niggas from ping groups 2023-02-24 21:41:25 +02:00
Aevann d26cc5a83f ping groups improvements 2023-02-24 21:29:07 +02:00
Aevann 46fbe339c6 disable blackjack temprarily https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3002373#context 2023-02-24 20:23:13 +02:00
Aevann 6fcc525772 remove unnecessary body 2023-02-24 09:16:50 +02:00
Aevann 7f2d6a29a5 fix 500 error in /contact 2023-02-24 08:53:40 +02:00
Aevann 858592965f fix 500 errors 2023-02-24 08:48:30 +02:00
Aevann a90744145a add ping groups 2023-02-24 08:31:06 +02:00
Aevann 112ef66616 fix posts link in leaderboard 2023-02-24 05:58:28 +02:00
Aevann fbdad373f2 fix broken push notifs 2023-02-24 05:28:03 +02:00
Aevann 22051152de fix 500 error 2023-02-24 05:00:22 +02:00
Aevann d2bda15383 remove unnecessary f 2023-02-24 04:54:31 +02:00
Aevann 81561f23ca give push notifs for comments in subscribed threads 2023-02-24 04:50:46 +02:00
Aevann c697d3ea34 change notif title to be clearer 2023-02-24 04:43:26 +02:00
Aevann cb73c7c681 give push notifs to mentions on edit 2023-02-24 04:42:20 +02:00
Aevann e37031c4dd make sure g.db.flush() is always above _push_notif_thread 2023-02-24 04:36:25 +02:00
Aevann 1848d24993 shorter syntax for if condition 2023-02-24 04:29:53 +02:00
Aevann 3e7ccb7756 add push notifs to add_notif() 2023-02-24 04:28:10 +02:00
Aevann 5a511c00a8 include username in push notifs 2023-02-24 04:22:47 +02:00
Aevann 5d6cb1ba46 add push notifs for modmail 2023-02-24 04:04:11 +02:00
Aevann ad63fca3e7 giev push notif for app requests 2023-02-24 03:58:52 +02:00
Aevann 6755cbf28a move an if condition to push_notif() 2023-02-24 03:56:46 +02:00
Aevann 2caf9a9faf remove redundant if condition 2023-02-24 03:47:50 +02:00
Aevann 52a63fbba3 restore modmail notifs for myself 2023-02-24 01:25:47 +02:00