Commit Graph

11 Commits (0c32d56cd684aa3e3db9e3941c08ae673ae46188)

Author SHA1 Message Date
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
Aevann1 45d5f52388 restore betting 2022-08-26 23:53:17 +02:00
Aevann1 9341f2368a make some function names shorter 2022-08-11 06:05:23 +02:00
Aevann1 09da483bac dont reveal votes on polls in ghost threads 2022-07-15 01:21:52 +02:00
Aevann1 98e3e63547 order poll votes by time of creation 2022-07-14 16:47:03 +02:00
Aevann1 e34f1a1c15 Revert "testing bandwidth"
This reverts commit d6559471b7.
2022-07-08 17:13:37 +02:00
Aevann1 d6559471b7 testing bandwidth 2022-07-08 17:05:08 +02:00
Aevann1 4ba413eaa9 Revert "Revert "remove all joinedload bullshit I added""
This reverts commit 4057711c83.
2022-07-06 13:08:11 +02:00
Aevann1 4057711c83 Revert "remove all joinedload bullshit I added"
This reverts commit c8d5eb0f57.
2022-07-06 12:58:44 +02:00
Aevann1 c8d5eb0f57 remove all joinedload bullshit I added 2022-07-04 09:04:14 +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