Commit Graph

151 Commits (301226497f14f978aacfa0bbcf99ac0226d89bcc)

Author SHA1 Message Date
Aevann 301226497f add effortpost notifications toggle 2024-02-11 16:16:09 +02:00
Aevann e4a000ab21 fix parent-level modmails not appearing 2024-02-01 22:44:16 +02:00
Aevann a2774d5285 order modmail notifs by recency of last message 2024-02-01 18:14:51 +02:00
Aevann 40c6c647c6 move modmail notifs after messages 2024-02-01 18:00:51 +02:00
Aevann fa26f516ee dont mark my own messages as unread 2024-02-01 17:57:16 +02:00
Aevann 33e922a9dd move modmail notifs to their already-existing section 2024-02-01 02:30:12 +02:00
Aevann bf2dbb38a9 remove unnecessary property 2024-01-12 09:20:32 +02:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 019621490a refactor can_see and use it more 2023-10-05 13:09:58 +03:00
Aevann d952bf49db Revert "refactor can_see and use it more"
This reverts commit a0cf583460.
2023-10-05 12:55:35 +03:00
Aevann 74587b12da use can_see_shadowbanned 2023-10-05 12:44:42 +03:00
Aevann a0cf583460 refactor can_see and use it more 2023-10-05 12:22:05 +03:00
Aevann 8b0daa3aa2 fix this post not being in my notifications even tho i follow /h/slackernews https://rdrama.net/h/slackernews/post/204394/smartest-marseytrain2-lizfongjones-admits-to-tortious 2023-09-15 01:26:47 +03:00
Aevann 6662eb0606 do this https://rdrama.net/h/countryclub/post/79285/-/4899909#context 2023-09-06 21:02:47 +03:00
Aevann ef3564c1a1 stop using NOTIFICATION_THREAD 2023-08-23 13:42:25 +03:00
Aevann 2783b7361c make sure notifs are marked as read in the template 2023-08-20 06:06:46 +03:00
Aevann fb0aed8e2b do this https://rdrama.net/h/countryclub/post/79285/-/4758207#context 2023-08-11 15:43:58 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann a94dda90dd remove unnecessary flushes 2023-07-25 23:35:54 +03:00
Aevann f6f0d4c4c2 add nr request arg for notifs 2023-07-18 12:24:22 +03:00
Aevann 2b9647a37e try random bullshit to fix timeouts 2023-07-17 17:49:26 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann 7ed0b8b494 improve GLOBAL 2023-07-05 21:44:57 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann d8bfc0a0a9 dont pass db session as an argument unless necessary 2023-06-08 03:49:37 +03:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann 4923bfb680 variable naming consistency 2023-05-07 21:38:37 +03:00
Aevann 6890c3f2b1 fix /notifications 2023-05-06 00:57:43 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann 92f0154e67 use new pagination system everywhere it isnt used 2023-05-06 00:47:07 +03:00
Aevann d9aeb1f111 dedup page defining 2023-05-05 08:23:59 +03:00
Aevann 390e584819 decrease notif count from 50 to 30 2023-05-05 04:41:13 +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 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 ab0c194869 make position of notifs that have the same created_utc ordered by comment id 2023-04-28 11:43:10 +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 5bc6597188 add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
Aevann 00aa44f060 fix 500 error 2023-03-25 01:59:42 +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 f329433443 put unread notifs first 2023-03-19 20:05:53 +02:00
Aevann 62fcaec40d fix muted users not notifying the person they reply to 2023-03-19 10:30:03 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann e7dc7c5641 fix 2023-03-15 07:09:46 +02:00