Commit Graph

22 Commits (c8b4838157342332e37ee6fe70c1e52f919a0ba9)

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 ab5078f313 show vote time 2022-06-27 06:10:10 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 9c4dcb1144 gf 2022-02-16 03:42:11 +02:00
Aevann1 729e4a4c62 g 2022-02-16 03:16:01 +02:00
Aevann1 6411fe5829 sdf 2022-02-15 00:50:27 +02:00
Aevann1 d75f70c431 Many to many (#210)
* 8 legs of love

* 8 legs of love 2
2022-02-14 14:25:44 -08:00
Aevann1 21c3829a96 fds 2022-02-14 23:08:07 +02:00
Aevann1 bfaeff72b4 sdf 2022-02-14 23:00:59 +02:00
Aevann1 f81be32791 dfs 2022-02-07 17:53:16 +02:00
Aevann1 486023e7cb cxv 2022-02-07 14:38:45 +02:00
Aevann1 e8c0ce18a2 sfdfsd 2021-12-11 05:07:51 +02:00
Aevann1 c436424bd1 fdsfd 2021-11-30 16:23:34 +02:00
Aevann1 63f09542e5 fdsfds 2021-11-30 16:18:16 +02:00
Aevann1 83dcd2b198 fds 2021-11-02 13:33:36 -07:00
Aevann1 efa408ab2c fd 2021-10-15 16:08:27 +02:00
Aevann1 fc4b89bfbc fsdfs 2021-09-22 16:51:36 +02:00
Aevann1 470118696f fdsfs 2021-09-21 23:27:32 +02:00
Aevann1 3b7ad10d0e sdfsdf 2021-09-19 20:27:00 +02:00
Aevann1 649d6b10c2 fsdfs 2021-09-19 20:25:40 +02:00
Aevann1 7c1c90d9d0 sdfsfd 2021-09-17 14:36:39 +02:00
Aevann1 4af2ce2a53 fddf 2021-08-04 17:35:10 +02:00