forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

814 Commits (e121523a423d396d11a0796b819d5b4852414c3f)

Author SHA1 Message Date
Aevann1 bce4c13043 kitchen sink commit, all over the place 2022-07-02 12:44:05 +02:00
Aevann1 d0d15c319a Poll rework (#312)
* poll rework

* forgot to do joinedload on comments

* Fix logic errors with voting, SQL syntax.

Kitchen sink commit from review of poll-rework changes:
  1. Fix seed-db.sql syntax error.
  2. Fix SQL patch file duplication of *submissions* tables rather
     than one set of submissions and one for comments.
  3. Start makeshift SQL patch folder, since this is a large change
     that contributors may wish to apply to their local instances.
  4. Fix checkbox (non-`exclusive`) polls being unable to be
     unchecked. For consistency with `exclusive` polls, they should.
  5. Fix changing the option of an `exclusive` poll when both
     exclusive and non-exclusive options are present in one comment/
     post causing the non-exclusive options to become unchecked.
     (which, by my reading of SQLAlchemy `Query.one_or_none()`
     really could break quite badly in some cases).

* link relationships with their counterparts

* small modification to poll unchecking

Co-authored-by: TLSM <duolsm@outlook.com>
2022-07-02 08:48:04 +02:00
Aevann1 100677c1bb fix 500 error 2022-07-02 01:18:41 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Aevann1 0c51979cbf remove frontpage exploit 2022-06-30 17:24:05 +02:00
Aevann1 c341be2866 show posts by users who block you 2022-06-29 05:07:00 +02:00
Snakes 13ceb8818d Commit txn in /notifications (by @Aevann1). 2022-06-26 03:01:01 -04:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 7a402d2449 order pins by new 2022-06-25 21:54:18 +02:00
Aevann1 10a47ca837 refactor sorting posts 2022-06-22 21:57:57 +02:00
Aevann1 8ecb4582d0 refactor sorting comments 2022-06-22 21:50:20 +02:00
Aevann1 17c7529977 add ceiling to link boost 2022-06-19 23:38:25 +02:00
Aevann1 57e63a2d8b hide autopoller/autobetter/autochoice from /comments 2022-06-16 14:34:35 +02:00
Aevann1 cec1994ff7 ppl with code contributor badge can now make "(changelog)" posts 2022-06-13 23:41:29 +02:00
Aevann1 1212804fbf exclude pings from link counter 2022-06-11 15:19:39 +02:00
Snakes 4db48a6ec9 Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
Aevann1 d431ae1ecd re-prioitize effortposts (with a lot of links) in the frontpage 2022-06-07 13:26:39 +02:00
Aevann1 709c756660 fds 2022-05-28 16:55:22 +02:00
Aevann1 1d0da9df3c sfd 2022-05-28 02:46:44 +02:00
Aevann1 a749a7eea9 fds 2022-05-26 01:43:42 +02:00
Aevann1 7c858c6439 fds 2022-05-26 01:42:34 +02:00
Aevann1 9af50ae9b3 jannies can now block ppl 2022-05-24 22:43:49 +02:00
Aevann1 2b9dcb0c6a users here now 2022-05-24 22:19:18 +02:00
Aevann1 112a2679cc fsd 2022-05-22 22:05:44 +02:00
Aevann1 9df5e30d66 sdf 2022-05-14 19:13:20 +02:00
Aevann1 837d90bfa5 fsdgfdfg 2022-05-10 14:14:28 +02:00
Aevann1 fac797006e sf 2022-05-10 14:14:09 +02:00
Aevann1 71890a2dd1 sfd 2022-05-09 10:47:35 +02:00
Aevann1 1a2869e256 sfd 2022-05-08 07:30:15 +02:00
Aevann1 f2039d7713 sfd 2022-05-07 06:13:19 +02:00
Aevann1 ca61569b44 nv 2022-05-06 06:55:15 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 29d15769f4 dsf 2022-05-04 02:42:44 +02:00
Aevann1 60481a175b sfd\ 2022-05-02 20:07:17 +02:00
Aevann1 9eeb214a24 fsd 2022-05-02 03:45:22 +02:00
Aevann1 f59286b202 fsd 2022-05-02 03:41:08 +02:00
Aevann1 56ea11ea28 sfd 2022-05-02 00:59:28 +02:00
Aevann1 0d08156cf9 fsd 2022-05-02 00:59:08 +02:00
Aevann1 195ea385e3 gfd 2022-05-02 00:56:19 +02:00
Aevann1 bc2a20cd4b sfd 2022-05-01 23:44:38 +02:00
Aevann1 039c121055 fds 2022-05-01 02:54:17 +02:00
Aevann1 394402c0c1 fsd 2022-05-01 02:53:24 +02:00
Aevann1 aefb322952 fds 2022-04-29 17:22:31 +02:00
Aevann1 e73fcbd56a sfd 2022-04-29 17:17:14 +02:00
Aevann1 8d732b8f7b fsd 2022-04-29 16:02:52 +02:00
Aevann1 e5014b4cf4 fsd 2022-04-29 02:02:00 +02:00
Aevann1 43563ec143 sfd 2022-04-28 03:02:37 +02:00
Aevann1 43366f4a28 fds 2022-04-26 02:26:27 +02:00
Aevann1 a895faefe5 fsd 2022-04-26 00:48:28 +02:00