Commit graph

73 commits

Author SHA1 Message Date
TLSM
8949b57609 Remove unused ADMINISTRATORS content upload posts.
The ADMINISTRATORS list contained hardcoded post IDs (in the 30000s)
intended to be used for uploading graphical assets onto a production
instance of the site. This functionality is not needed here, and the
special logic to bypass awards when commenting on those posts was
largely removed in 9d4195a89f.
2022-11-09 20:37:04 -06:00
TLSM
9de6f20dea Remove vestigial user ID special cases. 2022-11-09 20:37:04 -06:00
TLSM
010c56a35e Implement #380: remove signatures feature. 2022-11-09 20:37:04 -06:00
TLSM
c85cd469a1 Move post/comment ID boilerplate inside getters.
Borrows code from the upstream which has been working in production
reliably for ~months. Also, most of it was literally copy-pasted,
and the casted ID values aren't used later in the route functions.
2022-11-09 20:37:04 -06:00
TLSM
6f3b995455
assetcache: add interface for non-Jinja consumers.
Rather than generating the URL in helpers/jinja2.py, we move the logic
to helpers/assetcache.py because there are consumers of asset URLs
in Python code (for better or for worse).
2022-08-30 16:23:09 -04:00
TLSM
fcb51c09d3
Implement assetcache module with asset hashing.
Provides a module `assetcache` to support automatic cachebusting of
static web assets, rather than the current approach of incrementing
a version number.

On module load, it walks the file/assets/ dir, computes a CRC32 of
each asset, and provides those hashes via `assetcache_get(path)` at
runtime. The primary consumer of hashes at present is the new `asset`
filter for Jinja2, which accepts a relative asset path and returns the
full path, with cache busting, suitable for final use in the template.

Ex: `{{ 'css/main.css' | asset }}`
2022-08-30 16:00:24 -04:00
Ben Rog-Wilhelm
ade79962b5 Include another section that somehow got lost 2022-08-07 10:19:26 -05:00
Ben Rog-Wilhelm
800ae8d2dc Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE. 2022-07-31 18:53:18 -05:00
FatherInire
fcba426009
Remove some gimmicky r/drama features.
Co-authored-by: Inire <>
2022-05-21 21:43:00 -05:00
iro84657
b7da8b575a Add trailing LF to text files 2022-05-10 21:05:51 -04:00
Aevann1
6890aae6b9 fd 2022-04-07 00:54:09 +02:00
Aevann1
10d6c5b201 gf 2022-03-19 13:52:31 +02:00
Aevann1
200c2461b8 right 2022-03-09 03:44:53 +02:00
Aevann1
c16174ae18 bcv 2022-02-18 14:01:24 +02:00
Aevann1
00781bf352 bcv 2022-02-10 23:45:45 +02:00
Aevann1
0a313c5aa5 dude subdramas lmao 2022-02-10 22:35:16 +02:00
Aevann1
2aaa54df59 vb 2022-02-07 17:07:46 +02:00
Aevann1
f8533c0b06 fsd 2022-02-06 12:45:17 +02:00
Aevann1
3ff29602d3 crisis 2022-02-05 23:09:17 +02:00
Aevann1
0b7f586721 fsd 2022-02-05 20:47:21 +02:00
Aevann1
b3a9da6103 fds\ 2022-02-05 13:31:05 +02:00
Aevann1
80a888e752 fds 2022-01-28 23:06:31 +02:00
Aevann1
587e945d6e vcx 2022-01-28 22:55:59 +02:00
Aevann1
de814e7581 fds 2022-01-28 21:27:16 +02:00
Aevann1
68aff92604 vcx 2022-01-28 20:28:18 +02:00
Aevann1
a070da8f83 cvxvxc 2022-01-21 22:32:23 +02:00
Aevann1
6b9ff48dda retarded lives matter 2022-01-21 21:55:42 +02:00
Aevann1
48aad3e93c fds 2022-01-19 12:07:11 +02:00
Aevann1
694dfca0a4 fds 2022-01-19 11:07:16 +02:00
Aevann1
613219d826 big one 2022-01-18 13:19:32 +02:00
Aevann1
9c6ff97e4d bbbb 2022-01-15 08:01:39 +02:00
Aevann1
207507fc8e b 2022-01-14 14:04:35 +02:00
Aevann1
4bae627505 bv 2022-01-12 05:16:49 +02:00
Aevann1
b10ef72021 bbbb 2022-01-12 01:37:04 +02:00
Aevann1
4c5a757c49 bb 2022-01-12 00:22:27 +02:00
Aevann1
5c2eac7ddb bb 2022-01-11 22:42:35 +02:00
Aevann1
d29014a3a6 fsfs 2021-12-20 02:27:25 +02:00
Aevann1
cb87196eee sfdsdf 2021-12-19 15:01:28 +02:00
Aevann1
525f121e24 sffsd 2021-12-17 05:25:05 +02:00
kek7198
9ca7a1eb6a fix 2021-12-06 11:44:41 -06:00
kek7198
a7a94c15f5 fix 2021-12-06 11:43:13 -06:00
kek7198
b24008d1ed fix 2021-12-06 11:35:50 -06:00
Aevann1
aa1099a9d8 fdfsd 2021-11-30 13:02:17 +02:00
Aevann1
234401f351 fds 2021-11-02 13:33:36 -07:00
Aevann1
5be6b3e635 2nd 2021-10-26 23:11:14 +02:00
Aevann1
2265d60b22 fd 2021-10-15 16:08:27 +02:00
Aevann1
9586dd3d69 fdsfds 2021-10-08 15:20:32 +02:00
Aevann1
0f66d78bc4 dfssfd\ 2021-10-02 03:17:24 +02:00
Yo Mama
33392cd253 Fix emoji being added to the wrong textbox 2021-09-30 23:02:50 +02:00
Aevann1
99a5732e5e dsf 2021-09-29 17:42:28 +02:00