forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

8251 Commits (3e1ac91b663cb8e79961cafa2d74159b0e9d1c04)

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
gooseman 671588d41c (((cachebust))) 2022-07-01 21:20:11 -07:00
Aevann1 b26839a616 cachebust fireworks.js 2022-07-02 03:18:01 +02:00
Aevann1 9f124e2c8d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-02 01:11:51 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Snakes fd73684329 Fix ext-link icon positioning on iOS. 2022-07-01 19:09:49 -04:00
Aevann1 fe22eefe41 make CTRL+Enter work in /create_hole page 2022-07-02 00:55:31 +02:00
Snakes f3b71f604e Fix ext-link positioning. 2022-07-01 18:43:50 -04:00
Aevann1 9e2c307838 making the icon look whiter 2022-07-02 00:36:27 +02:00
geese-suck a8a6b8e774 aevann change his mind like woman changing clothes 2022-07-01 15:30:08 -07:00
gooseman 650ba96f61 forgot 2 cachebust 2022-07-01 14:40:48 -07:00
gooseman ca344927c1 works maybe idk i didnt test it lol 2022-07-01 14:38:27 -07:00
Aevann1 d59f346f0b 1 less request, 1 less transaction, 1 less query 2022-07-01 23:10:48 +02:00
Aevann1 25e594d673 Revert "no longer stop reposts from being posted"
This reverts commit 19e6e7f4d9.
2022-07-01 20:29:12 +02:00
Aevann1 c2b892af04 search comments within a specific thread 2022-07-01 13:11:23 +02:00
Aevann1 503494f4af make glowmarsey and goldmarsey outline a little smaller 2022-07-01 12:42:55 +02:00
Snakes 613af40ddf PCM: Swap sidebar image. 2022-07-01 04:15:39 -04:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Snakes 39c945f7ca LGB: Initial sidebar & const. 2022-07-01 01:08:15 -04:00
Aevann1 0dbe7fe25f Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-01 02:52:18 +02:00
Aevann1 051f3261ed make glowmarsey and goldmarsey have the same size in animation 2022-07-01 02:52:14 +02:00
Snakes 8c1e4ea58f Hide admin vote totals in template when empty. 2022-06-30 20:16:27 -04:00
Aevann1 1362278cb4 add more data for jannies in /votes page (will use that in polls) 2022-07-01 01:39:09 +02:00
Aevann1 11d0163740 sneed 2022-07-01 01:28:33 +02:00
2xsaiko b2461cd1d1 Fix quote rendering in chat (#310) 2022-06-30 19:01:01 -04:00
Aevann1 8194c31417 fix 500 error 2022-07-01 00:08:22 +02:00
Aevann1 374d87f5eb cashebust maxxxing 2022-06-30 22:40:31 +02:00
Aevann1 08a4e7fa6f cachebust-maxxxing badges 2022-06-30 14:33:15 +02:00
Snakes 0b95dc8cd1 WPD: Update sidebar flairs, restyle margin. 2022-06-29 18:12:11 -04:00
Aevann1 bf4e608dae sneed 2022-06-29 09:54:06 +02:00
Aevann1 6e52348432 sneed 2022-06-29 09:50:54 +02:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 5661cdb271 Revert "try to cut down on number of db queries"
This reverts commit c674c6a056.
2022-06-29 08:43:20 +02:00
Aevann1 c674c6a056 try to cut down on number of db queries 2022-06-29 08:14:25 +02:00
Aevann1 790a814b36 make "show more" button look nicer 2022-06-29 04:35:52 +02:00
Aevann1 bee182530d restore clicking on navbar to scroll to top 2022-06-29 03:49:47 +02:00
Aevann1 19e6e7f4d9 no longer stop reposts from being posted
(just give the warning and that's it)
2022-06-29 03:37:44 +02:00
Aevann1 0371ee6c7c make "text-danger" less hostile on the eyes 2022-06-29 03:37:00 +02:00
Aevann1 5c597d4990 fix b3ca7ce8ac 2022-06-29 03:31:59 +02:00
Aevann1 b3ca7ce8ac check for repost when the page loads 2022-06-29 03:29:01 +02:00
Aevann1 0e46e46ce3 make "show more" switch to "show less" when clicked 2022-06-29 03:16:38 +02:00
Aevann1 b6a5d010ca add "show more..." button 2022-06-29 02:55:44 +02:00
Aevann1 b5c9d9116f remove non-functional sorting by vote time 2022-06-29 01:53:52 +02:00
Snakes adfad3e8a5 Swap lottery & random_user nav, and other nav. 2022-06-28 03:53:33 -04:00
Aevann1 f4ff2b71fb restore accidentially removed condition 2022-06-28 08:35:24 +02:00
Aevann1 42a6b5731a sneed 2022-06-28 08:17:21 +02:00
Aevann1 1a1b57d3d9 make "toggle preview" button in the same row as other buttons 2022-06-28 04:09:23 +02:00
Aevann1 8475a2352e Revert "remove "toggle preview" button"
This reverts commit d2036a34f3.
2022-06-28 04:06:57 +02:00
Aevann1 d2036a34f3 remove "toggle preview" button 2022-06-28 03:38:45 +02:00
Aevann1 aac17a6daa show the username of the janny who banned 2022-06-28 02:59:08 +02:00