Commit Graph

134 Commits (11b7c157585b812149637e24bfb930548a13605d)

Author SHA1 Message Date
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
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: rDrama/rDrama#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