Commit Graph

36 Commits (4da8250ad2a97353d888b7718b94e87868553f5d)

Author SHA1 Message Date
Aevann a86ea63681 make commas jinja filter 2024-03-09 13:39:13 +02:00
Aevann fffc5eb43f make tables in comments and posts look better 2024-02-12 16:18:13 +02:00
Aevann a68dcfd5fe fix up tabs 2023-10-29 16:01:59 +03:00
Aevann aa2c90c893 thing -> option in poll_votes 2023-10-29 16:01:58 +03:00
Aevann d34e16ebd3 show total 2023-10-15 17:53:37 +03:00
Aevann 81b41256c1 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5044087#context 2023-09-24 02:52:20 +03:00
Aevann b3f75b9beb always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
Aevann 171690b4a1 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3347945#context 2023-01-27 15:32:38 +02:00
Aevann1 b3d1490418 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3266878#context 2022-12-20 00:08:13 +02:00
Aevann1 ac4a2c8ff7 add total truescore and total patrons to poll_votes.html 2022-12-14 19:28:31 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Aevann1 a3c51202d1 improvement to sorting table + get rid of scope="col" 2022-12-10 10:47:15 +02:00
justcool393 eafae40aca titles: fix all titles where needful 2022-11-19 16:20:52 -06:00
justcool393 0fffa7efc0 rename truecoins to truescore 2022-11-06 23:04:34 -08:00
Aevann1 d3f67faa50 same as last commit 2022-11-05 23:51:09 +02:00
Aevann1 37c4062839 fix margin 2022-11-05 23:50:35 +02:00
Aevann1 158321483b fix sorting vote tables being broken due to dff5bcefcf 2022-11-05 23:49:39 +02:00
Aevann1 de8be8dd0e get rid of <pre> being used as vertical spacing 2022-10-29 02:47:48 +02:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
Aevann1 dff5bcefcf add loop.index to vote tables 2022-09-13 19:35:33 +02:00
Aevann1 34aaed8045 add commas to numbers 2022-09-10 08:43:38 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 332a03219b add hats to most tables 2022-09-05 05:01:06 +02:00
Aevann1 3e75309821 rewrite sort_table.js, credit to htbz 2022-09-03 20:24:26 +02:00
Aevann1 48affb53e6 more hat shit 2022-09-03 05:04:51 +02:00
Snakes 5f09df467a Add uid data attributes to vote listing templates.
As a stopgap instead of providing proper API access to vote listings,
expose the user ID of a voter as a data attribute in the DOM so
automated consumers can easily scrape user IDs of voters, rather than
having to make additional requests to turn a username into a user ID.
2022-08-28 12:16:45 -04:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 45d5f52388 restore betting 2022-08-26 23:53:17 +02:00
Aevann1 03620d984c improve sorting tables 2022-07-14 18:20:09 +02:00
Aevann1 abb54747c2 fix unrendered html in poll_votes page 2022-07-14 15:31:34 +02:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
Aevann1 40182f5f4d show the body of the poll option in the vote page 2022-07-03 08:38:43 +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