Commit Graph

6578 Commits (28cf9cc60545c4a322f3c80ab7bd524a723fcab0)

Author SHA1 Message Date
Aevann 4613bfe0c2 fix import error 2023-05-05 06:44:07 +03:00
Aevann 172fa6ab6f add /marseys/all for carp 2023-05-05 06:42:06 +03:00
Aevann b53b0e6ac7 paginate /marseys 2023-05-05 06:30:04 +03:00
Aevann b0f3c26283 paginate /shop/hats 2023-05-05 06:13:17 +03:00
Aevann 2156f9ef03 restore blocks to its own page in the settings 2023-05-05 05:16:19 +03:00
Aevann 390e584819 decrease notif count from 50 to 30 2023-05-05 04:41:13 +03:00
Aevann 7a4c2a1091 fix 500 error 2023-05-05 04:40:30 +03:00
Aevann 5d1737c16c use new pagination system in profile views 2023-05-05 04:08:40 +03:00
Aevann eff429223b use new pagination system in /transfers 2023-05-05 04:06:25 +03:00
Aevann 74bc00199d implement new pagination system in profile pages 2023-05-05 04:04:07 +03:00
Aevann 0df074c974 use new pagination system in mod log 2023-05-05 03:54:55 +03:00
Aevann a0469edfc7 use new pagination system 2023-05-05 03:50:36 +03:00
Aevann 36612a3045 exact same as last commit 2023-05-05 03:46:53 +03:00
Aevann f69ba41ca8 fix 500 error 2023-05-05 03:46:32 +03:00
Aevann a7bdd8ea42 implement new pagination system in notifs - testing on staging 2023-05-05 03:40:06 +03:00
Aevann 8d00769ef4 load only what u need when clearing notifs 2023-05-05 03:35:56 +03:00
Aevann 6eec81c2ec remove unused imports 2023-05-05 03:23:04 +03:00
Aevann 49ce8617f2 Revert "add new pagination to notifs"
This reverts commit b80e42f156.
2023-05-05 02:08:56 +03:00
Aevann bcb663a72f fix last commit 2023-05-05 02:06:28 +03:00
Aevann 8c0c1fe2e8 fix 500 error 2023-05-05 02:05:56 +03:00
Aevann b80e42f156 add new pagination to notifs 2023-05-05 01:59:21 +03:00
Aevann b6e27f29b9 remove useless parameters from paginations 2023-05-05 01:59:20 +03:00
Aevann 081d0065a7 use new pagination system in /comments 2023-05-05 01:59:20 +03:00
Aevann 0dc8b5ccb1 don't use pomf for DM images anymore and allow for video and audio in DMs 2023-05-05 00:52:37 +03:00
Aevann d0cc9a4822 revert a606d9ed67 2023-05-04 22:55:08 +03:00
Aevann cd089f2445 don't cache profile song redirect 2023-05-04 22:24:47 +03:00
Aevann 4b9b449f3a only turn on ddos_detected if loggedout_counter>1000 2023-05-04 21:36:08 +03:00
Aevann 2d5a1ad95e delete the holes filter button 2023-05-04 19:48:30 +03:00
Aevann 9c64b891e5 revise my exceptions 2023-05-04 19:24:40 +03:00
Aevann b350a152bc add SCHIZO_ID 2023-05-04 19:24:22 +03:00
Aevann 3349218c06 replace , with : 2023-05-04 01:03:12 +03:00
Aevann 7e387aa404 stop using eg.log 2023-05-04 01:01:17 +03:00
Aevann e629869c48 increase DDOS mul to 5 2023-05-04 00:04:08 +03:00
Aevann bc3104c067 wider cached.webp for WPD 2023-05-04 00:03:24 +03:00
Aevann b302fd8fab fix last commit 2023-05-03 23:45:41 +03:00
Aevann abb62aefcd fix last commit 2023-05-03 23:43:56 +03:00
Aevann a606d9ed67 implement cloudflare caching instead of redis caching 2023-05-03 23:41:41 +03:00
Aevann e296505dff remove unnecessary path 2023-05-03 23:22:52 +03:00
Aevann 94e8ed4bc0 disable ddos_detected in localhost 2023-05-03 23:22:38 +03:00
Aevann c6cdf9fdca minor fixes to last couple of commits 2023-05-03 19:06:14 +03:00
Aevann f5a97ae709 add new patron tier for benefactor-cels 2023-05-03 18:29:31 +03:00
Aevann 744c95f7ca lock user profiles from logged-out-cels 2023-05-03 17:50:42 +03:00
Aevann 514fb320cf show truescore in admin.patrons and order by it 2023-05-03 17:47:06 +03:00
Aevann 90127ffa27 rename path 2023-05-03 17:45:14 +03:00
Aevann 6c397ea291 cache posts in redis 2023-05-03 17:40:36 +03:00
Aevann 2c0023436f fix 500 error when voting on wall polls 2023-05-03 17:22:21 +03:00
Aevann f1c66a31e3 add P̵͇̕S̶̔̇Ȳ̴͙C̶͋͗H̵͒̉O̴̎̍ tier to WPD 2023-05-02 22:27:39 +03:00
Aevann 31809dbab1 fix https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4078126#context 2023-05-02 20:28:47 +03:00
Aevann 1f25dec4a5 fix rss 2023-05-01 23:15:39 +03:00
Aevann 1f62c63cf4 fix pagesize on wpd 2023-05-01 23:15:13 +03:00
Aevann 558be41b3d add page numbers to the frontpage 2023-05-01 22:50:32 +03:00
Aevann de47c992fa remove !wordle since nobody uses it (only 2 ppl used it last 30 days in rdrama and WPD) 2023-04-29 23:27:45 +02:00
Aevann ed375c27d5 retire /h/changelog 2023-04-29 18:31:51 +02:00
Aevann 8ef54cb720 fix 500 errors 2023-04-29 15:33:29 +02:00
Aevann b46bd80c97 move location in /kofi 2023-04-28 12:02:10 +02:00
Aevann 2aa9aed0ac better ban award notifs 2023-04-28 11:43:26 +02:00
Aevann ab0c194869 make position of notifs that have the same created_utc ordered by comment id 2023-04-28 11:43:10 +02:00
Aevann d8af55068b dont allow custom chud phrases anymore since HTML checking greately limits them https://images-ext-2.discordapp.net/external/nv4shIUSH3FJQDTaBuUqi7VmUgrVzj0Uxr_tTVcx5JE/https/pomf2.lain.la/f/xkfw1f1.webp?width=271&height=588 2023-04-28 11:07:28 +02:00
Aevann 7d64346d90 disallow ppl from posting top-level comments in bugfixing megathread 2023-04-27 18:39:29 +02:00
Aevann 58ea68306a more accurate created_utc from gumroad tx 2023-04-27 18:17:00 +02:00
Aevann 9ad113fdaa print gumroad webhook data for testing 2023-04-27 18:09:50 +02:00
Aevann c50d97a343 print kofi IP 2023-04-27 18:09:19 +02:00
Aevann 3576dec07f dont ratelimit /gumroad and /kofi 2023-04-27 17:54:42 +02:00
Aevann 480b08f447 fix emojis in report notifications 2023-04-27 17:35:07 +02:00
Aevann ef56dd3f71 fix this https://rdrama.net/h/vampire/post/166260/psa-vampire-bites-now-make-people 2023-04-27 16:11:09 +02:00
Aevann 3282e07422 dedup some event codde 2023-04-27 14:08:11 +02:00
Aevann 0626622ce9 delete floattrip.csv 2023-04-26 08:57:18 +02:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann 78fd7463d5 birthgay 2023-04-25 17:30:44 +02:00
Aevann 16766981bc DKD 2023-04-25 16:34:09 +02:00
Aevann 3958dd069a give floattrip the comment dump so he can train his AI 2023-04-25 14:47:27 +02:00
Aevann 6184d1a883 disallow "remindme" being used as a group name 2023-04-25 13:59:56 +02:00
Aevann 507924b8a3 fix modmail replies not generating notifs and unread modmail replies being collapsed and not being highlighted 2023-04-25 13:48:25 +02:00
Aevann b952de3cee restore "downvotes received" leaderboard 2023-04-25 11:50:47 +02:00
Aevann bde4b10813 put "upvotes given" at the bottom 2023-04-25 11:38:42 +02:00
Aevann 8f7a0bc4e7 restore upvotes given leaderboard (testing on dev.rdrama.net) 2023-04-25 10:59:26 +02:00
Aevann 146ee51b05 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4000192#context 2023-04-25 09:26:55 +02:00
Aevann 55370860ac do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3933779#context 2023-04-25 09:15:48 +02:00
Aevann 92bf3f7134 same as last commit 2023-04-25 07:59:53 +02:00
Aevann 57d3badc9f fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4042233#context 2023-04-25 07:54:16 +02:00
Aevann 084036d71a support for changelog megathread 2023-04-25 07:15:10 +02:00
Aevann d136ae163c fix combined buy btn 2023-04-25 06:47:36 +02:00
Aevann 2cdbf9ed5d restore autopinning 2023-04-24 17:17:12 +02:00
Aevann a37fca393d combined buy button for awards and hats 2023-04-24 17:08:40 +02:00
Aevann 938b9b66a8 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3994772#context 2023-04-24 15:50:04 +02:00
Aevann d43bed37d5 make it possible for non-jannies to see wall comments in /comments 2023-04-24 15:28:15 +02:00
Aevann 25de0ce213 make wpd and rdrama have the same ddos multiplier 2023-04-23 04:58:40 +02:00
Aevann 064918acd0 fix vamp bug 2023-04-23 04:42:28 +02:00
Aevann 2949afaaca remove autopinning 2023-04-16 19:45:33 +02:00
Aevann 25b0a694d3 same as last commit 2023-04-15 04:42:39 +02:00
Aevann 5e56bfdc03 sort jannies by level 2023-04-15 04:40:50 +02:00
Aevann 02427b6da0 same as last commit 2023-04-09 00:38:26 +02:00
Aevann bb11bf899e better DDOS mitigation 2023-04-08 23:34:28 +02:00
Aevann 6a40b3ec8d stop the infamous terrorist known as carpathian ibn al-florist from breaking the site everytime he wants a fat lottery payout 2023-04-03 19:58:17 +02:00
Aevann 156d0a7058 no chud+marsify 2023-04-03 02:59:24 +02:00
Aevann 5b0e3854e5 remove ye24 from forced-stealthed-holes 2023-04-02 19:30:55 +02:00
Aevann ecb53ab89d allow me to enable stealth setting on /h/mnn 2023-04-02 19:06:18 +02:00
Aevann 27510af932 same as last commit 2023-04-02 19:00:36 +02:00
Aevann 1e2c740a08 fix errors 2023-04-02 18:59:21 +02:00
Aevann 8083042617 force stealth mode on /h/mnn 2023-04-02 18:56:22 +02:00
Aevann c4263c9439 fix prev commit 2023-04-02 10:04:32 +02:00
Aevann f074f465ec fix prev commit 2023-04-02 08:57:47 +02:00
Aevann 5c31b24f5b fix prev commit 2023-04-02 08:53:23 +02:00
Aevann 5bc6597188 add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
Aevann 0ce52ec78a make "marsify" and "chud" mutually exclusive again to prevent cheap ban 2023-04-02 08:17:21 +02:00
Aevann 21d0adae54 fix prev commit 2023-03-31 22:19:35 +02:00
Aevann 231ecef5f2 boost effortposts even more 2023-03-31 22:13:53 +02:00
Aevann 23e4c76d24 fix broken link 2023-03-26 01:44:48 +02:00
Aevann c33cd734dd minor fix 2023-03-26 01:30:21 +02:00
Aevann d068464136 remove unnecessary v check 2023-03-26 01:29:55 +02:00
Aevann eddea21c43 minor devrama fix 2023-03-25 23:42:42 +02:00
Aevann 33464589aa add "offline mode" 2023-03-25 23:35:13 +02:00
Aevann 312abdee28 fix capitalizaation 2023-03-25 23:13:47 +02:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann aa1cc8fb5f buff fake votes a bit 2023-03-25 22:40:45 +02:00
Aevann 6e713ca930 revert the new comments system 2023-03-25 20:25:38 +02:00
Aevann 3b7569745e fix minor chud evasion exploit 2023-03-25 20:18:12 +02:00
Aevann f52aae0ec3 change autojanny chud message 2023-03-25 18:46:50 +02:00
Aevann f834514e1a fix deleting media 2023-03-25 17:07:12 +02:00
Aevann f0ab7f7490 claim the paypig awards on the highest truescore account of accounts using the same email 2023-03-25 15:29:32 +02:00
Aevann 00aa44f060 fix 500 error 2023-03-25 01:59:42 +02:00
Aevann 69e33b671d decrease agendaposter phrase max length to 35 characters 2023-03-24 20:05:32 +02:00
Aevann 4ecb552169 comments overhaul 2023-03-24 18:30:27 +02:00
Aevann e1e05c799d dont barf up the whole comment chain when clicking "more comments" in /@<username>/comments 2023-03-24 18:09:12 +02:00
Aevann d956431765 fix this https://rdrama.net/h/meta/post/157653/i-lost-my-house-vampire-founding 2023-03-24 17:22:17 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann a93c5ed0e5 clearer chud message to chudded user 2023-03-24 13:51:25 +02:00
Aevann a9a6d1dd1b stop /edit_rules from generating mod action temporarily 2023-03-23 22:22:46 +02:00
Aevann ca4f6c5102 include "trans lives matter" in janny chud message 2023-03-23 20:53:11 +02:00
Aevann f5e507f795 fix 2 chud phrases 2023-03-23 17:36:28 +02:00
Aevann 333f536f1a Revert "send me the notifs i need"
This reverts commit 415a24e625.
2023-03-23 17:25:01 +02:00
Aevann 415a24e625 send me the notifs i need 2023-03-23 17:05:18 +02:00
Aevann 0fc5d3bd7c Revert "add /admin/agendaposter_all"
This reverts commit 5325e17771.
2023-03-23 15:50:43 +02:00
Aevann 71b97c1a15 check for existing in /gumroad 2023-03-23 15:33:57 +02:00
Aevann 28b4f07493 minor syntax change 2023-03-23 15:25:44 +02:00
Aevann 5325e17771 add /admin/agendaposter_all 2023-03-23 15:20:05 +02:00
Aevann ac8fbae3c0 stop marsify and chud award from being mutually exclusive 2023-03-23 15:02:02 +02:00
Aevann 4f788cb909 dedup chud-checking logic 2023-03-23 14:50:01 +02:00
Aevann 721bda827f remove the sorting by unread (pretty confusing when u have multiple pages) 2023-03-23 14:03:45 +02:00
Aevann 88ab36895e fix for reports 2023-03-23 00:27:56 +02:00
Aevann f78cd322d1 much better chud award logic 2023-03-22 23:39:25 +02:00
Aevann 444cbb41bb do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3842547#context 2023-03-22 22:16:52 +02:00
Aevann dab55d53c9 make sure all votes are there in /@<username>/comments 2023-03-22 22:14:12 +02:00
Aevann afdf3ebc78 fix 500 error for loggedout-cels 2023-03-22 21:55:24 +02:00
Aevann 1971dc1b73 improve /@<user>/comments 2023-03-22 21:53:59 +02:00
Aevann 177ed092d0 use set in /<user>/comments (doesnt rly matter i just have OCD) 2023-03-22 21:40:04 +02:00
Aevann 5b8da52ab8 fix duplicate comments in /@<user>/comments 2023-03-22 21:39:50 +02:00
Aevann 5b61df70a6 fix last comment 2023-03-22 19:11:04 +02:00
Aevann 3e122bbd59 show parent comment in /@username/comments 2023-03-22 19:02:04 +02:00
Aevann 50680e0fa8 cut down on chud award evasion 2023-03-21 23:33:43 +02:00
Aevann 0a12e0c069 fix minor annoyance when uploading files 2023-03-21 20:35:31 +02:00
Aevann d961433fb9 make sure agendaposter_phrase is lower case 2023-03-21 19:54:40 +02:00
Aevann 2e3df1d2d2 remove the unnecessary logic in /update/emojis 2023-03-21 19:03:25 +02:00
Aevann bdc5d8bd12 allow jannies to change the kind of emojis 2023-03-21 18:50:26 +02:00
Aevann 4c47cc5d63 stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22} 2023-03-21 17:39:26 +02:00
Aevann 34744fb741 tell ppl who receive the chud award the phrase they'll have to say 2023-03-21 17:27:46 +02:00
Aevann a786832cf6 same as last commit 2023-03-21 16:17:36 +02:00
Aevann 4b352a9625 asset_submissions/marseys -> asset_submissions/emojis 2023-03-21 16:16:18 +02:00
Aevann 95d1b2c9ce add exclamation mark 2023-03-21 16:15:51 +02:00
Aevann 6cb43bb32c reduce max length of agendaposter_phrase to 50 2023-03-21 16:15:43 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann 07f37ef00b wipe chuddedfor too when moving to chudrama 2023-03-21 13:43:28 +02:00
Aevann d6804a6489 fix 500 error 2023-03-21 13:03:27 +02:00
Aevann f1a8db74b7 enforce length limit for chud phrase in the backend 2023-03-19 20:17:44 +02:00
Aevann f329433443 put unread notifs first 2023-03-19 20:05:53 +02:00
Aevann 836c6ae29f fix 500 error 2023-03-19 19:31:00 +02:00
Aevann 60e9175a63 make chud phrase lowercase 2023-03-19 19:28:07 +02:00
Aevann b004617695 customizable chud phrases 2023-03-19 19:13:45 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 2a9dfab16a fix /emojis getting cached on browser end 2023-03-19 17:15:20 +02:00
Aevann df0184b728 marsey -> emoji 2023-03-19 15:46:38 +02:00
Aevann f5a68a7e79 fix 500 errors 2023-03-19 14:01:57 +02:00
Aevann 62fcaec40d fix muted users not notifying the person they reply to 2023-03-19 10:30:03 +02:00
Aevann f6b2aeb24f restore def error (it saves submitted values) 2023-03-18 19:18:44 +02:00
Aevann ab93c94bfc add IGNORE_AWARD_IMMUNITY perm 2023-03-18 18:11:25 +02:00
Aevann 95a0edf070 disable "GIVE AWARD" button on carp and pizzashill 2023-03-18 18:10:14 +02:00
Aevann 135039f19e give capy badge automatically too 2023-03-18 17:25:56 +02:00
Aevann 99ef7575ad enforce emoji naming scheme 2023-03-18 17:21:20 +02:00
Aevann 18f3cdd27e emoji badges 2023-03-18 17:13:36 +02:00
Aevann a289fd464b fix 500 error 2023-03-18 16:56:34 +02:00
Aevann 1895056cb7 redirect /submit/marseys to /submit/emojis 2023-03-18 16:54:01 +02:00
Aevann 89fe9cbc20 marsey -> emoji 2023-03-18 16:53:00 +02:00
Aevann 665bd82437 marsey -> emoji 2023-03-18 16:39:26 +02:00
Aevann 0b2e923c2f increase WPD"s multiplier to 5 2023-03-18 16:07:07 +02:00
Aevann 9a146f1eef fix 500 error 2023-03-18 16:02:03 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 49d958ef46 do this https://stupidpol.site/h/countryclub/post/79285/-/3810012#context 2023-03-18 12:59:30 +02:00
Aevann 386f8455f0 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3816789#context 2023-03-18 08:06:54 +02:00
Aevann 4fc5e2aa8d fix badge_grant errors for the api 2023-03-17 19:59:55 +02:00
Aevann 8d096e1123 put a space before file link too 2023-03-17 19:40:55 +02:00
Aevann 2cf2d869de refactor banning and chudding on posts/comments 2023-03-17 16:37:13 +02:00
Aevann 1bce14efcd rename remove_media to remove_media_using_link for clarity 2023-03-17 12:25:49 +02:00
Aevann a83dc8bba9 make CF cache emojis without an extra page rule 2023-03-17 11:44:05 +02:00
Aevann 6259cfdf72 increase WPD's multiplier from 3.5 to 4 2023-03-17 10:08:31 +02:00
Aevann f3642c4893 fix 500 error 2023-03-16 17:38:48 +02:00
Aevann 5b80166bed 2fa -> two-factor authentication 2023-03-16 17:17:53 +02:00
Aevann 7dd5f179df pin RitalinRx posts 2023-03-16 15:38:49 +02:00
Aevann a95cf32735 fix badge_granting via the api 2023-03-16 15:38:18 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann c07a4f9860 revert last commit 2023-03-16 07:10:20 +02:00