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
5c597d4990
fix b3ca7ce8ac
2022-06-29 03:31:59 +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
6bd4efa61f
Revert "make small text less small"
...
This reverts commit 42b0f37034
.
2022-06-27 04:33:38 +02:00
Aevann1
42b0f37034
make small text less small
2022-06-27 04:18:14 +02:00
Snakes
e0c3c79902
WPD: Require flairs on all posts.
2022-06-26 03:42:56 -04:00
Snakes
cd556b6d8e
Refactor UI name of hole/sub to constant.
2022-06-26 03:41:28 -04:00
Aevann1
e022b29ef6
rework custom css a little
2022-06-26 07:26:45 +02:00
Aevann1
74978bfbf7
Revert "put custom CSS into HTML templates"
...
This reverts commit 19c82b7ea1
.
2022-06-26 07:07:28 +02:00
Aevann1
19c82b7ea1
put custom CSS into HTML templates
2022-06-26 06:33:41 +02:00
Aevann1
17c81ea9ef
reduce margin above "toggle preview"
2022-06-24 17:40:05 +02:00
Aevann1
f34c4e1196
stop using app.config for our own stuff
2022-06-24 17:08:57 +02:00
Aevann1
ef3843f628
add timer to re-enable form buttons after 1 second
2022-06-24 04:53:31 +02:00
Aevann1
222367cea8
fix 500 errors
2022-06-24 03:28:34 +02:00
Aevann1
9dbe67bf90
respect user's chosen themecolor
2022-06-24 03:27:49 +02:00
Aevann1
4d692bebe8
make all form-submitting buttons get disabled after clicking
...
so spergs like me with poor motor control don't click twice and get hit with 429
2022-06-23 22:49:23 +02:00
Aevann1
d704592bdd
cache-bust all previously broken images
2022-06-22 17:59:47 +02:00
Aevann1
20585ca543
add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes)
2022-06-22 17:51:19 +02:00
Aevann1
d9cdbd0015
return to only allowing images/videos/audio
2022-06-19 18:56:45 +02:00
Aevann1
ccdabcba29
allow uploading of all types of files (using lain.la)
...
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Snakes
a8155d964a
Kitchen sink: emoji content, assert, assetcache.
...
These are all minor and uncontroversial enough it just felt gross
making multiple commits.
- Adds marseymummified.
- Changes the new `raise ValueError(...)` in badge_grant to
an `assert`.
- Expands assetcache to a convenient grab bag of JS files.
2022-06-15 17:17:31 -04:00
Aevann1
cd5f8a528b
in the preview, dont replace '\n' with '\n\n' if the text
...
has "```" or "<pre>" (to match backend behavior)
2022-06-15 22:12:03 +02:00
Aevann1
12a9307ab3
don't restrict file extensions on the frontend side (leave it to the backend)
2022-06-11 13:38:45 +02:00
Aevann1
f548c2077d
show names of all files when pasting instead of just the first file
2022-06-11 00:37:55 +02:00
Aevann1
cda275c194
replace \n with \n\n in previews (to match the backend behavior)
2022-06-10 21:45:48 +02:00
Aevann1
900edaa92e
made it so you can click "CTRL+Enter" anywhere in
...
/submit in order to make a post
2022-06-09 13:12:25 +02:00
Snakes
cb5f9d05c6
templates: Fix improper plurals, create helpers.
...
Previously, the three instances of 'Report[s]' and one instance of
'Coin[s]' in the UI templates were always pluralized, even when they
referred to a singular instance. This has been corrected by creating
a `plural` helper macro.
Additionally, this was used as impetus to create `utils/helpers.html`
to eventually move more recurring template logic into macros.
2022-06-07 05:26:22 -04:00
Snakes
80d04b6d9d
assetcache: Add theme CSS support; bust recent.
2022-05-30 01:50:52 -04: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
6584919d41
sdf
2022-05-28 22:25:28 +02:00
Aevann1
20bce86d33
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-27 22:03:25 +02:00
Aevann1
ead4c791a8
sdf
2022-05-27 22:03:23 +02:00
HappyDOGE
9c8c08ecb5
update bootstrap ( #287 )
2022-05-27 21:40:01 +02:00
HappyDOGE
d6b4c3b166
Added offline service worker (serves a static webpage when no internet connection is present) ( #285 )
...
based
2022-05-27 21:23:01 +02:00
Snakes
af77ec515d
Templates: create assetcache template.
...
For too long, we've Replace-All'd to increment site asset version
numbers. This is a task that has an obvious solution using the
templating engine. As such, we now have templates/util/assetcache.html
which contains a dict of version numbers and a macro to generate the
versioned name of an asset.
Going forward, it is recommended that all future replace-all uses
are used as opportunities to switch to the macro. Do remember to
import the macro in all top-level templates, if not already present.
Recommended form: {%- from 'util/assetcache.html' import asset -%}
Then add a key to CACHE_VER in util/assetcache.html.
Then replace the asset path in templates eg: {{asset('css/main.css')}}
For all future versions of those assets, one can simply increment
the value in util/assetcache.html instead. This will greatly reduce
git spam touching unrelated files and generally be clearer and easier.
2022-05-26 22:47:32 -04:00
Aevann1
22aacf86ec
vf
2022-05-27 00:23:16 +02:00
Aevann1
163267c88c
Revert "Add Y'all Seein' Eye award."
...
This reverts commit a0f441a67d
.
2022-05-26 02:51:42 +02:00
Snakes
a0f441a67d
Add Y'all Seein' Eye award.
...
Adds award to enable viewing profile visitors for non-mops and
non-patrons. This commit should encompass all frontend, backend, and
database changes necessary. Perhaps usable as a model for other
user upgrade flag awards.
2022-05-25 19:44:34 -04:00
Aevann1
6859653e1a
sfd
2022-05-25 23:57:38 +02:00
Aevann1
2c67a34047
fsd
2022-05-25 23:55:07 +02:00
Aevann1
94151bf2d6
fsd
2022-05-25 21:45:03 +02:00
Aevann1
b1d57227ff
sfd
2022-05-25 03:18:36 +02:00
Aevann1
4e4f667387
journoid
2022-05-25 03:14:18 +02:00
Aevann1
bbd851210e
fds
2022-05-24 17:32:49 +02:00
Aevann1
0a74a98ec5
big ass commit
2022-05-23 00:15:29 +02:00
Aevann1
b9316c0073
fsd
2022-05-21 15:19:02 +02:00
Aevann1
cad9952f2b
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-21 14:36:24 +02:00
Aevann1
20cc20d806
fsd
2022-05-21 14:36:22 +02:00
Snakes
6fbaf2f15f
Partially revert: cb1bb4e43b
, 2737a6ca47
.
...
cb1bb4e43b40: Server cleaned out schema.sql for some reason and
it was autocommitted by the sneed cron. This is why the tests fail.
2737a6ca479b: Originally pulled from themotte/rDrama @ 309bf44f12ba.
In light of the fact this is breaking comment previews right now and
the actual XSS threat is unclear, given we sanitize serverside,
this is reverted until I find time to look at it.
2022-05-20 19:15:44 -04:00
Aevann1
2737a6ca47
sfd
2022-05-20 23:41:08 +02:00
Aevann1
a83a72ca95
fsd
2022-05-20 16:51:14 +02:00
Aevann1
f4ac063354
sfd
2022-05-20 16:48:13 +02:00
Snakes
97bfdc5d3e
Improve readability on header birthgay bg.
2022-05-19 19:15:49 -04:00
Aevann1
85bf0ab866
sfd
2022-05-20 00:10:02 +02:00
Aevann1
15f0b963c7
fc
2022-05-18 20:45:04 +02:00
Aevann1
3491c9187d
pls review
2022-05-17 21:58:41 +02:00
Aevann1
9dbd9f42e0
fsd
2022-05-14 15:17:57 +02:00
Aevann1
f67860c566
sf
2022-05-13 13:03:44 +02:00
Aevann1
fac797006e
sf
2022-05-10 14:14:09 +02:00
Aevann1
09f732d009
sf
2022-05-10 13:40:23 +02:00
Aevann1
3f2eb808b8
fd
2022-05-10 10:07:19 +02:00
Aevann1
db99dd8255
sfd
2022-05-10 09:32:11 +02:00
Aevann1
9bd8fcbd1c
sf
2022-05-10 09:20:49 +02:00
Aevann1
421edf92f4
vxc
2022-05-09 16:44:11 +02:00
Aevann1
8fd2002013
dgf
2022-05-09 16:40:27 +02:00
Aevann1
bf683cf5a2
vxc
2022-05-07 11:23:13 +02:00
Aevann1
8535ec8958
hk
2022-05-07 10:51:07 +02:00
Aevann1
b5abdccff8
sdf
2022-05-07 09:13:52 +02:00
Aevann1
036e61110a
sfd
2022-05-07 09:12:59 +02:00
Aevann1
8a5fd22034
sfd
2022-05-07 09:09:46 +02:00
TLSM
0447c9c09e
Fix remaining emoji-btn clickboxes. ( #247 )
...
In line with 1c363303f0
, repeat a similar fix for the four remaining
emoji-btns which had wrong clickboxes.
2022-05-06 05:38:20 +02:00
Aevann1
bb43be278b
dg
2022-05-05 23:49:27 +02:00
Nekobit
1c363303f0
g ( #242 )
2022-05-05 04:15:23 +02:00
Aevann1
6b10d097a2
mn
2022-05-05 01:09:46 +02:00
Aevann1
7b834f2831
fd
2022-05-03 02:13:57 +02:00
Nekobit
94edc2ce52
Fix emojis on freakish browsers & fix buttons ( #240 )
...
thx u nekobit
2022-05-02 19:54:10 -04:00
Aevann1
18509b653a
dfg
2022-05-02 21:39:18 +02:00
Aevann1
999c16e439
sfd
2022-05-02 02:04:25 +02:00
Aevann1
f3983ab491
sdf
2022-05-02 02:02:19 +02:00
Aevann1
41f08325fa
sdf
2022-05-02 01:58:06 +02:00
Aevann1
bc2a20cd4b
sfd
2022-05-01 23:44:38 +02:00
Aevann1
01e55c142a
fsd
2022-04-29 16:28:13 +02:00
Aevann1
d961ffc913
fds
2022-04-28 02:04:01 +02:00
Aevann1
20f925afb7
fds
2022-04-28 01:09:39 +02:00
Aevann1
5a49be1d47
fsd
2022-04-26 15:40:37 +02:00
Aevann1
0f05bf3f94
fsd
2022-04-26 00:28:20 +02:00
Aevann1
6ea487a6e7
fsd
2022-04-24 18:25:01 +02:00
Aevann1
5fd4a0d83d
fds
2022-04-23 01:32:48 +02:00
Aevann1
df046d4677
dsf
2022-04-23 01:31:55 +02:00
Aevann1
56377f5bab
fsd
2022-04-18 18:09:44 +02:00
Aevann1
252d3df198
gf
2022-04-17 19:51:01 +02:00
Aevann1
782c58e8c0
fsd
2022-04-17 15:54:22 +02:00
Aevann1
48c0094ae5
fds
2022-04-17 15:43:36 +02:00
Aevann1
2c8fe2adce
fds
2022-04-16 22:12:34 +02:00
Aevann1
543b9a73cb
rfds
2022-04-14 19:20:00 +02:00
Aevann1
396762f799
fsd
2022-04-14 18:48:50 +02:00
Aevann1
c0a0ca0217
fds
2022-04-14 18:46:57 +02:00
Aevann1
36623e6d0b
fds
2022-04-13 22:20:55 +02:00
Aevann1
bbd633e8ca
fds
2022-04-13 22:07:58 +02:00
Aevann1
e264084921
fds
2022-04-13 21:38:15 +02:00
Aevann1
9d9ad47be7
fds
2022-04-13 21:35:22 +02:00
Aevann1
3ea5c669d2
fdfsd
2022-04-13 21:31:13 +02:00
Aevann1
d5b6fa4ed3
dfg
2022-04-13 21:27:48 +02:00
Aevann1
2406f332f7
fds
2022-04-13 21:18:33 +02:00
Aevann1
5ce87b1f3e
fsd
2022-04-13 19:29:28 +02:00
Aevann1
e86c41799c
fds
2022-04-13 17:54:06 +02:00
Aevann1
7e75211049
fsd
2022-04-13 16:14:47 +02:00
Aevann1
862af75b82
gf
2022-04-13 03:13:09 +02:00
Aevann1
db8b1a41cd
fds
2022-04-13 02:23:44 +02:00
Aevann1
26c2870454
fds
2022-04-13 02:17:37 +02:00
Aevann1
7a7090ef3c
fds
2022-04-13 02:15:47 +02:00
Aevann1
0784c1577f
fds
2022-04-13 02:13:18 +02:00
Aevann1
662d6ae242
fsd
2022-04-13 02:09:55 +02:00
Aevann1
1c4425bf31
fds
2022-04-13 01:36:06 +02:00
Aevann1
f88596fadb
fsd
2022-04-13 01:05:02 +02:00
Aevann1
b443dc1d40
fsd
2022-04-13 00:52:22 +02:00
Aevann1
249be4da66
fsd
2022-04-13 00:46:32 +02:00
Aevann1
3ffae51be5
fsd
2022-04-13 00:28:28 +02:00
Aevann1
17852d30e6
fart mode
2022-04-12 19:29:52 +02:00
Aevann1
e6c0044d35
fart
2022-04-10 02:37:45 +02:00
Aevann1
a334aa815e
fsd
2022-04-10 02:11:06 +02:00
Aevann1
575a3f3712
warning
2022-04-10 02:05:15 +02:00
Aevann1
15a02cf3cd
fds
2022-04-10 01:07:03 +02:00
Aevann1
6db737ba03
ds
2022-04-09 18:42:23 +02:00
Aevann1
0201001279
fsd
2022-04-08 01:11:38 +02:00
Aevann1
77175051ac
gd
2022-04-07 01:50:32 +02:00
Aevann1
430e1dab71
gd
2022-04-06 23:49:45 +02:00
Aevann1
17c7759a75
bc
2022-04-06 23:48:15 +02:00
Aevann1
21e97950ba
bc
2022-04-06 23:46:24 +02:00
Aevann1
102841ea7a
bc
2022-04-06 23:44:58 +02:00
Aevann1
e4c8bde7ba
fsfd
2022-04-05 18:49:05 +02:00
Aevann1
af86a3edab
xvc
2022-04-05 15:44:09 +02:00
Aevann1
11a2d24e9b
fsd
2022-04-05 15:43:29 +02:00
Aevann1
af92802c5e
fds
2022-04-05 15:40:24 +02:00
Aevann1
aeefd40c80
fds
2022-04-05 15:39:10 +02:00
Aevann1
35affa19cd
fds
2022-04-05 15:26:53 +02:00
Aevann1
8ad6fd509f
gd
2022-04-04 22:53:37 +02:00
Aevann1
02f8729c5f
devrama
2022-04-04 19:52:14 +02:00
Aevann1
0b326f7bd5
gdf
2022-04-04 19:29:52 +02:00
Aevann1
4346a7c583
fds
2022-04-03 16:37:23 +02:00
Aevann1
6b58661855
tabs
2022-04-01 20:38:31 +02:00
Aevann1
af1e5ca533
vxc
2022-04-01 15:40:46 +02:00
Aevann1
e52add78f5
sfd
2022-04-01 15:40:07 +02:00
Aevann1
867b1f3121
fds
2022-04-01 15:38:54 +02:00
Aevann1
208b10444e
sdf
2022-04-01 15:37:00 +02:00
Aevann1
c489307c6a
sfd
2022-04-01 15:35:41 +02:00
Aevann1
867143e770
gf
2022-04-01 15:32:55 +02:00
Aevann1
b538d2a24c
gdfg
2022-03-31 18:28:53 +02:00
Aevann1
3a3157def3
df
2022-03-29 19:32:36 +02:00
Aevann1
a30ccc8af5
fds
2022-03-27 20:42:02 +02:00
Aevann1
37d5003af4
bbbbbbbbbbbbb
2022-03-27 15:39:21 +02:00
Aevann1
a9a4b2befe
sdf
2022-03-26 20:47:27 +02:00
Aevann1
9623ce5f4e
dfs
2022-03-26 20:30:18 +02:00
Aevann1
e3bf443e5f
v
2022-03-25 05:21:40 +02:00
Aevann1
48d816f3a9
g]
2022-03-25 05:17:28 +02:00
Aevann1
b0d73a3087
fgd
2022-03-25 05:15:55 +02:00
Aevann1
6007979147
hj
2022-03-24 23:22:45 +02:00
Aevann1
f01b28e6b8
f
2022-03-24 01:00:17 +02:00
Aevann1
6fc9de8278
deflector award
2022-03-24 00:42:33 +02:00
Aevann1
951c3c13d7
fsd
2022-03-22 17:28:44 +02:00
Aevann1
e9f6b45486
fsd
2022-03-22 04:50:39 +02:00
Aevann1
ffe1964981
fds
2022-03-21 23:31:16 +02:00
Aevann1
ec80510e4b
fds
2022-03-21 22:56:43 +02:00
Aevann1
7ef0f7fc77
fds
2022-03-20 22:50:44 +02:00
Aevann1
0293f60453
fart
2022-03-19 21:15:13 +02:00
Aevann1
a9f6f5a0e0
post
2022-03-19 18:19:02 +02:00
Aevann1
d06bbe9862
fart
2022-03-19 00:42:49 +02:00
Aevann1
397dca9a83
publish fix
2022-03-18 21:05:54 +02:00
Aevann1
2ae41be28e
ni
2022-03-18 20:38:36 +02:00
Aevann1
371b4b4478
fsd
2022-03-17 20:34:04 +02:00
Aevann1
b7135461b7
fsd
2022-03-17 19:42:28 +02:00
Aevann1
2b09a060a2
dfs
2022-03-17 17:29:30 +02:00
Aevann1
14f7fa8cca
fsd
2022-03-17 12:35:03 +02:00
Aevann1
830949a209
fsd
2022-03-17 12:28:13 +02:00
Aevann1
b35bab0672
hole
2022-03-09 04:04:37 +02:00
Aevann1
b39e51082c
ghost
2022-03-09 03:49:57 +02:00
Aevann1
89b1f5abf7
fsd
2022-03-09 00:41:49 +02:00
Aevann1
57daa3f194
ooga booga
2022-03-07 00:02:28 +02:00
Aevann1
af801c395a
sfd
2022-03-06 20:27:43 +02:00
Aevann1
1425aa0db6
bump sortign
2022-03-06 00:46:56 +02:00
Aevann1
9e42ece4ca
drama
2022-03-06 00:15:18 +02:00
Aevann1
7d44f8456f
uk
2022-03-05 21:46:47 +02:00
Aevann1
258d2e301f
Ukraine
2022-03-05 20:16:26 +02:00
Aevann1
886c753cca
fds
2022-03-05 05:30:23 +02:00
Aevann1
57342bd08e
putin
2022-03-05 05:24:47 +02:00
Aevann1
3cbf54a68a
xvc
2022-03-05 03:03:49 +02:00
Aevann1
b8c1347f33
se
2022-03-04 23:33:22 +02:00
Aevann1
d6aa08fcf6
sub
2022-03-04 20:19:43 +02:00
Aevann1
b3f196b324
zzz
2022-03-04 20:07:34 +02:00
Aevann1
8175637969
fsd
2022-03-02 04:11:17 +02:00
Aevann1
c48be7c220
gay
2022-03-02 03:03:05 +02:00
Aevann1
b6ad0da4b9
carp
2022-03-02 02:05:30 +02:00
Aevann1
17d3f87134
diogenesjunior
2022-02-28 21:50:27 +02:00
Aevann1
27133859de
v
2022-02-28 04:42:23 +02:00
Aevann1
d145d2ef14
fds
2022-02-28 04:21:49 +02:00
Aevann1
bbd7c04d7c
drunk
2022-02-28 04:12:59 +02:00
Aevann1
d6426aa6fd
fds
2022-02-28 04:11:13 +02:00
Aevann1
8e9f550824
xvc
2022-02-28 04:10:41 +02:00