Commit Graph

32 Commits (4a54c6219ad8d8b8ecc4ee3a5ed4ac2f8f7fbc62)

Author SHA1 Message Date
Snakes 4a54c6219a
Add trailing final newlines to source files.
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.

This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Aevann1 b980c63d1b Revert "created_utc refactor"
This reverts commit 791aececbb.
2022-09-19 22:40:33 +02:00
Aevann1 791aececbb created_utc refactor 2022-09-19 21:24:16 +02:00
Aevann1 d7c3ddf474 add created_utc column to all tables 2022-09-12 12:19:35 +02:00
Aevann1 81b762fbc2 add a discord server for api users to help eachother 2022-07-18 02:46:46 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +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 8ecb4582d0 refactor sorting comments 2022-06-22 21:50:20 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 7713fd891d fsd 2022-04-02 19:11:35 +02:00
Aevann1 729e4a4c62 g 2022-02-16 03:16:01 +02:00
Aevann1 22eaa9e7f8 xvc 2022-02-13 01:10:29 +02:00
Aevann1 0038707525 vcx 2022-01-28 22:17:17 +02:00
Aevann1 716b4ee2ea czx 2022-01-28 22:02:35 +02:00
Aevann1 1f996ecad7 fdfd 2021-11-07 15:37:26 +02:00
Aevann1 9e449dd8b0 redundant 2021-11-06 17:52:48 +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 f139b07189 fgdg 2021-10-07 00:38:15 +02:00
Aevann1 9fe1b0bda6 dfssfd 2021-10-02 13:34:37 +02:00
Aevann1 0206edde5d fsdsf 2021-09-23 01:41:51 +02:00
Aevann1 fc4b89bfbc fsdfs 2021-09-22 16:51:36 +02:00
Aevann1 6d6ef21a0f fdsfsd 2021-09-22 00:44:18 +02:00
Aevann1 470118696f fdsfs 2021-09-21 23:27:32 +02:00
Aevann1 886fff86b5 dfsfsd 2021-09-19 22:06:52 +02:00
Aevann1 b5db325d22 fsdfs 2021-09-19 20:31:31 +02:00
Aevann1 bc55dda81b fsdsfd 2021-09-19 20:28:31 +02:00
Aevann1 649d6b10c2 fsdfs 2021-09-19 20:25:40 +02:00
Aevann1 0ff6a26335 dfsfsd 2021-09-19 20:22:57 +02:00
Aevann1 7c1c90d9d0 sdfsfd 2021-09-17 14:36:39 +02:00
Aevann1 1aa81273d5 sfd 2021-09-17 10:29:05 +02:00
Aevann1 4af2ce2a53 fddf 2021-08-04 17:35:10 +02:00