Commit Graph

124 Commits (0f6b36f40b24bf4a32fba75cee230c429b418557)

Author SHA1 Message Date
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
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 40834d8277 fix unread highlight 2023-03-11 12:11:39 +02:00
Aevann ccf6ccd468 same as last commit 2023-03-11 11:50:29 +02:00
Aevann c58872e3c6 same as last commit 2023-03-11 11:12:16 +02:00
Aevann a88a1dab92 minimize db queries in /notifications 2023-03-11 11:11:17 +02:00
Aevann 69649cb503 minor improvement to notifs 2023-03-11 10:51:19 +02:00
Aevann 19e3145f45 improvement to notifs 2023-03-11 10:21:33 +02:00
Aevann d8575791be notif fix 2023-03-10 01:41:57 +02:00
Aevann 117624f313 add session["GLOBAL"] 2023-03-02 22:29:22 +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 8f50c90b17 fix to /notifications 2023-02-28 18:52:29 +02:00
Aevann 86b0d2f5c1 fix comments not appearing 2023-02-27 18:16:12 +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 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +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 825cee14eb always show parent comment in /notifications 2023-02-26 13:14:18 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +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 82a73392a9 fix errors 2023-02-26 10:49:09 +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 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 8be4e6adc2 always show parent comment in notifications 2023-02-25 21:57:50 +02:00
Aevann 6b2bbb066f same as last commit 2023-01-27 15:51:04 +02:00