Commit Graph

179 Commits (ee3b1a5e06b316b43446fa9acfec0c780cc8bce9)

Author SHA1 Message Date
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 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Aevann1 9ffc3015e2 testing 2022-07-01 20:09:56 +02:00
Aevann1 e8f5827c5e more testing 2022-07-01 15:34:11 +02:00
Aevann1 1676572f09 test 2022-07-01 15:15:44 +02:00
Aevann1 5bbd14ebd6 testing 2022-07-01 15:11:41 +02:00
Aevann1 2fd8e88ceb try fixing inbound bandwidth 2022-07-01 13:32:01 +02:00
Aevann1 05aa116a8a cutting down on query volume 2022-07-01 03:18:06 +02:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 3b8188fd67 fixed version of d83d47e280 2022-06-26 03:22:05 +02:00
Aevann1 a1b137447e Revert "reduce query volume #1"
This reverts commit d83d47e280.
2022-06-26 03:12:31 +02:00
Aevann1 d83d47e280 reduce query volume #1 2022-06-26 02:50:47 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +02:00
Aevann1 f60db1598d replace "g.db.query" on pkeys with the much more efficient "g.db.get" 2022-06-18 02:57:23 +02:00
Aevann1 c01d53aa0d make mentioning case-insensitive again 2022-06-18 00:03:23 +02:00
Aevann1 fae0bee0d9 Refactored mention sanitization (stolen commit from themotte) 2022-06-17 22:37:27 +02:00
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Aevann1 50b995d3a0 fds 2022-05-25 22:16:26 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 99cb01d9fc fdsfds 2022-04-15 18:28:08 +02:00
Aevann1 35ec2a7712 fart 2022-03-05 00:46:20 +02:00
Aevann1 ad761ac0ae fds 2022-02-26 21:01:32 +02:00
Aevann1 6cc9cddef0 fug 2022-02-26 16:21:07 +02:00
Aevann1 14c7148eed fd 2022-02-24 10:28:13 +02:00
Aevann1 b46978d537 gf 2022-02-16 04:15:17 +02:00
Aevann1 6411fe5829 sdf 2022-02-15 00:50:27 +02:00
Aevann1 03f1a106b4 dude subdramas lmao 2022-02-10 22:35:16 +02:00
Aevann1 5ade054494 sd 2022-02-04 10:59:12 +02:00
Aevann1 e54d85c056 zxc 2022-01-28 20:33:49 +02:00
Aevann1 d0f3ae65e5 sfd 2022-01-07 23:03:14 +02:00
Aevann1 d2a6691c24 fd 2022-01-06 03:24:03 +02:00
Aevann1 00e5e1c048 fsd 2022-01-02 02:06:46 +02:00
Aevann1 19bacd8357 pins logic rework 2021-12-26 03:03:21 +02:00
Aevann1 daf790e150 fsdsfd 2021-12-17 19:55:11 +02:00
Aevann1 64bdb679bd sfdfsd 2021-12-05 20:52:03 +02:00
Aevann1 31e4214620 dfssdf 2021-11-30 20:22:31 +02:00
Aevann1 d686b53c4e dfsfds 2021-11-23 01:25:33 +02:00
Aevann1 8a49ee0dc3 gffg 2021-11-16 00:13:29 +02:00
Aevann1 9e449dd8b0 redundant 2021-11-06 17:52:48 +02:00
Aevann1 0ed1212131 dfsf 2021-11-06 02:33:32 +02:00
Aevann1 df7dd13c61 fse 2021-11-02 13:54:04 -07:00
Aevann1 83dcd2b198 fds 2021-11-02 13:33:36 -07:00
Aevann1 efa408ab2c fd 2021-10-15 16:08:27 +02:00
Aevann1 e69dbd0ed1 gdfsd 2021-10-08 04:14:54 +02:00
Aevann1 f3b24c948c df 2021-10-02 21:07:30 +02:00
Aevann1 9fe1b0bda6 dfssfd 2021-10-02 13:34:37 +02:00
Aevann1 47a0acab80 hfghf 2021-09-30 21:40:33 +02:00
Aevann1 79e6356b29 dfs 2021-09-28 21:45:17 +02:00
Aevann1 e613f7864f fgg4 2021-09-28 21:39:51 +02:00
Aevann1 fdb50fc88d sex 2021-09-22 20:36:03 +02:00
Aevann1 17649026eb Revert "fdfd"
This reverts commit 3939bc2436.
2021-09-17 14:07:17 +02:00
Aevann1 3939bc2436 fdfd 2021-09-17 14:04:36 +02:00
Aevann1 1aa81273d5 sfd 2021-09-17 10:29:05 +02:00
Aevann1 afb9cad5e0 hgh 2021-09-14 20:18:28 +02:00
Aevann1 ff7b6bc7a9 fd 2021-09-14 19:35:24 +02:00
Aevann1 c268a7e306 Revert "fd"
This reverts commit 076bd37070.
2021-09-09 16:15:27 +02:00
Aevann1 076bd37070 fd 2021-09-09 16:13:15 +02:00
Aevann1 932039dda2 dfdf 2021-08-31 19:00:57 +02:00
Aevann1 550913d513 fddf 2021-08-31 18:59:48 +02:00
Aevann1 7801cb81a0 fdfd 2021-08-14 04:29:17 +02:00
Aevann1 0c2fcc50b4 fdfd 2021-08-13 04:35:17 +02:00
Aevann1 b3397930b3 fd 2021-08-08 01:20:05 +02:00
Aevann1 b8b8336e41 fd 2021-08-08 01:19:38 +02:00
Aevann1 c4154ffa96 fd 2021-08-08 01:11:49 +02:00
Aevann1 acdf0da347 df 2021-08-08 01:03:15 +02:00
Aevann1 5109b21291 fd 2021-08-08 01:02:05 +02:00
Aevann1 2f1bbd6a43 sneed 2021-08-08 01:01:07 +02:00
Aevann1 8a6b09af80 fd 2021-08-07 17:52:02 +02:00
Aevann1 b7fccbf427 fd 2021-08-07 17:51:41 +02:00
Aevann1 f69395ef8c fd 2021-08-07 17:49:07 +02:00
Aevann1 2537d4fb3d fd 2021-08-07 17:33:51 +02:00
Aevann1 d5c58fc6a2 gf 2021-08-07 17:29:59 +02:00
Aevann1 651c5d6e94 gf 2021-08-07 17:29:28 +02:00
Aevann1 eb04274f2a gf 2021-08-07 17:25:54 +02:00
Aevann1 fd96ace591 fd 2021-08-07 17:23:10 +02:00
Aevann1 5686f46a4a gfgf 2021-08-07 17:19:53 +02:00
Aevann1 58dada2303 fd 2021-08-06 18:50:56 +02:00
Aevann1 b981888f90 gf 2021-08-06 14:44:24 +02:00
Aevann1 4af2ce2a53 fddf 2021-08-04 17:35:10 +02:00