Commit Graph

65 Commits (e3a8f5eda659a9f36897eaf446fc4fe3948a7a8a)

Author SHA1 Message Date
Aevann1 de8be8dd0e get rid of <pre> being used as vertical spacing 2022-10-29 02:47:48 +02:00
Snakes 333c36f6b7
Update homoween badges, cachebust badges. 2022-10-21 19:57:59 -04:00
Aevann1 83aa914865 more consistency in templates 2022-10-10 07:23:02 +02:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
Aevann1 20d5efa12e improve spider award badge 2022-09-20 20:04:42 +02:00
Aevann1 be2ff53d85 mass trim badges 2022-09-12 11:31:04 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 9475aa27e4 award badges shit 2022-09-07 05:31:55 +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
Aevann1 9032e23182 add patron icons for WPD 2022-08-25 22:34:05 +02:00
Aevann1 133cdee0b3 adjust badge size 2022-08-25 19:50:18 +02:00
Aevann1 c8ed20cd9c add patron badges for WPD 2022-08-25 19:29:31 +02:00
Aevann1 d3fb0d87d6 ability to re-order badges by addition number 2022-07-15 15:36:53 +02:00
Aevann1 03620d984c improve sorting tables 2022-07-14 18:20:09 +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 26d46a9cb9 make sorting tables less retarded 2022-06-27 04:47:49 +02:00
Snakes 0aafd810a2 assetcache: Add dynamic file parameter, apply more.
Assetcache macro improvement: to support assets in folders which are
dynamically referenced by e.g. ID or name, the `asset` macro now
accepts an optional second parameter to be included in the path but
not to be used for versioning the class of assets.

To support recent commits, assetcache now applies for:
  - images/badges/*.webp
  - js/: award_modal.js, bootstrap.js, header.js
2022-05-29 00:52:40 -04:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 18a4e7b0ca fsd 2022-05-03 07:58:10 +02:00
Aevann1 5e2da5673c fsd 2022-05-03 06:28:42 +02:00
Aevann1 8b24faf9fd sdf 2022-05-02 20:56:10 +02:00
Aevann1 dbe0bf076e tre 2022-05-02 20:50:43 +02:00
TLSM 63d344c2d0 Add badge quantity and rarity to /badges. (#238)
Implements feature request to know how many of each badge exists and
to have a 'rarity', a la Steam or PSN badges, relative to number of
non-lurker users.

Because Postgres `COUNT()`s are notoriously costly, /badges has been
memoized for 1hr to avoid a DOS target.
2022-05-02 20:14:06 +02:00
Aevann1 4ca5c7a0d8 fsd 2022-04-09 19:32:38 +02:00
Aevann1 4c44c2ce92 fds 2022-04-03 17:47:53 +02:00
Aevann1 b538d2a24c gdfg 2022-03-31 18:28:53 +02:00
Aevann1 1576fcd57d farts on u 2022-02-28 04:06:15 +02:00
Aevann1 149e8e2636 carpet 2022-02-26 21:34:10 +02:00
Aevann1 871ad7c6c8 fdfd 2022-02-25 15:26:56 +02:00
Aevann1 8ffbac975b fsfd 2022-02-24 14:03:28 +02:00
Aevann1 e63fd49dcc xcv 2022-02-18 22:31:04 +02:00
Aevann1 04b0088987 fgd 2022-02-06 18:51:52 +02:00
Aevann1 8c3ba8382c sfd 2022-02-04 12:19:49 +02:00
Aevann1 4fa997866c fsd 2022-02-03 11:16:09 +02:00
Aevann1 27766290a9 vxc 2022-02-03 08:39:02 +02:00
Aevann1 823a86b03e cvcv 2022-01-24 18:44:54 +02:00
Aevann1 c8e3be1c39 fdsfsd 2022-01-23 21:51:56 +02:00
Aevann1 98de0a01d6 gfdfg 2022-01-22 14:27:28 +02:00
Aevann1 cb2fc90770 gfdg 2022-01-22 00:27:10 +02:00
Aevann1 45c80f01f9 1k 2022-01-17 17:03:51 +02:00
Aevann1 af41810e10 bb 2022-01-13 03:28:02 +02:00
Aevann1 18d10f4375 fsd 2022-01-03 12:59:29 +02:00
Aevann1 1c8f30ec1e fds 2022-01-03 12:32:31 +02:00
Aevann1 67bb72ce6c fd 2021-12-31 18:51:53 +02:00
Aevann1 271a8cdc41 dfsfds 2021-12-27 07:07:19 +02:00
Aevann1 39e0ad5cf9 sdf 2021-12-25 01:00:09 +02:00
Aevann1 dada1cebf4 fdsfds 2021-12-23 21:05:41 +02:00