Zankaria
fe598cf3a4
main.js: load styles with dyanamically provided resource version.
...
This is done because:
- If the version is updated before the rebuild, someone might cache the old version in the meanwhile.
- One could not rebuild javascript before updating the version. Now it's possible.
2024-08-24 01:36:49 +02:00
Zankaria
92e2344926
Revert "main.js: add resource version on if there is a uri"
...
This reverts commit 60d6b797f2
.
2024-08-24 01:34:04 +02:00
Zankaria
990484fac5
main.js: "transactional" transisition from default to user-selected style
2024-08-23 14:38:20 +02:00
Zankaria
3994afd10d
main.js: do not initialize captchas if there is no hook
2024-08-23 14:38:20 +02:00
Zankaria
60d6b797f2
main.js: add resource version on if there is a uri
2024-08-23 01:00:46 +02:00
Zankaria
4f99346941
main.js: load stylesheets with the resource version
...
Solves Flashes of Untyled Content
2024-08-23 00:48:49 +02:00
Zankaria
04f55dfdd2
main.js: check if there even is a style before setting the code style
2024-08-23 00:01:20 +02:00
Zankaria
ef1634184a
templates: bust all css caches with resource_version
2024-08-22 14:39:36 +02:00
Zankaria
abfa773282
templates: bust all js caches with resource_version
2024-08-22 14:39:32 +02:00
Zankaria
ff9dbe2566
fileinfo.html: fix #176
2024-08-21 15:36:27 +02:00
Zankaria
acebbb97f4
header.html: format
2024-08-21 15:29:37 +02:00
fowr
285c151be9
Add resource_version to avoid cache.
2024-08-21 11:24:05 +02:00
Zankaria
dc0e54d2fb
post_thread.html: fix #174
2024-08-21 00:22:16 +02:00
Zankaria
32f5fbbac7
post_thread.html: go to newline after OP post
2024-08-20 15:46:18 +02:00
Zankaria
49cd1f6f59
style.css: treat multiple files as a single block. Fixes weird text wrapping
2024-08-20 15:00:40 +02:00
Zankaria
4e6803e9a7
fileinfo.html: use only tabs
2024-08-20 15:00:00 +02:00
Zankaria
97159e3c02
posts: add space before post numbers
2024-08-20 14:02:52 +02:00
Zankaria
9c3755c7a7
No more span games on posts
2024-08-20 10:40:11 +02:00
Zankaria
28eeb3de76
post_controls.html: use div instead of span
2024-08-20 00:32:22 +02:00
Zankaria
f2ea90a2d0
Improve the mobile UX ( #167 )
...
Chunky PR
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/167
Co-authored-by: Zankaria <zankaria.auxa@skiff.com>
Co-committed-by: Zankaria <zankaria.auxa@skiff.com>
2024-08-19 21:57:50 +00:00
Zankaria
ee2ddeb29d
name.html: format
2024-08-18 21:14:10 +02:00
Zankaria
d8c5c600a8
Add hcaptcha support ( #166 )
...
Co-authored-by: RealAngeleno <angeleno@screamer.wiki>
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/166
Co-authored-by: Zankaria <zankaria.auxa@skiff.com>
Co-committed-by: Zankaria <zankaria.auxa@skiff.com>
2024-08-10 19:58:20 +00:00
25089f5cbb
main.js: HOTFIX double captcha init
2024-08-10 01:05:36 +02:00
eb6649b260
main.js: fix captcha breaks if loaded before main.js #164 ( #165 )
...
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/165
2024-08-09 22:53:25 +00:00
17f92344e9
main.js: handle undefined styleName in style chooser
2024-08-07 22:49:04 +02:00
14272c87e9
main.js: do no change to undefined styles
2024-08-07 22:44:17 +02:00
057addafa8
main.js: fix reset wiping the captcha token from the form before it was sent
2024-08-07 00:31:57 +02:00
b83be67b55
main.js: fix template
2024-08-07 00:31:57 +02:00
8223dcfbad
main.js: rename onready to camelCase
2024-08-07 00:31:57 +02:00
d7896b9c02
main.js: rename init_stylechooser to camelCase
2024-08-07 00:31:57 +02:00
a260bcb6d4
main.js: format
2024-08-07 00:31:57 +02:00
d8ea4c49ad
main.js: rename dopost to camelCase
2024-08-07 00:31:57 +02:00
b77685f8f4
main.js: format getCookie
2024-08-07 00:31:57 +02:00
30d0b3bfe4
main.js: extract captcha reset
2024-08-07 00:31:57 +02:00
1eaa0f7631
main.js: abstract captcha renderer
2024-08-07 00:31:57 +02:00
1b3b8cb9b6
main.js: refactor captcha parameters to be managed in JS
2024-08-07 00:31:55 +02:00
584fac7caa
main.js: rework dynamic captcha rendering to correctly reset when a user posts
2024-08-07 00:16:03 +02:00
95d5ec6cc6
captcha_script.html: refactor captcha script inclusion in a separate template
2024-08-07 00:16:00 +02:00
be69385fef
main.js: use camelCase for captcha javascript
2024-08-03 23:57:25 +02:00
7b98295dcf
main.js: fix captcha selection check
2024-08-03 23:45:53 +02:00
fb48c74565
main.js: add dynamic turnstile support
2024-07-29 21:35:49 +02:00
6097849ea2
main.js: unfuck dynamic captcha support
2024-07-29 21:24:14 +02:00
4f61026842
templates: inject turnslide js
2024-07-28 00:53:33 +02:00
f3c45073cb
post_form.html: add data-action parameter to turnstile captcha
2024-07-28 00:53:33 +02:00
483d553fc0
Add dynamic captcha support
2024-07-28 00:53:26 +02:00
024a6fe20b
banned.html: add missing space
2024-07-14 19:17:55 +02:00
4f2bd22fae
banned.html: add missing space to banned template
2024-06-22 23:00:57 +02:00
38e0b22916
templates: wrap posts intro links: number and quotation
2024-06-15 00:15:41 +02:00
f2f901e1f7
post_reply.html: format
2024-06-15 00:12:42 +02:00
Zankaria
cfdbcfcad9
Add about theme
2024-05-21 16:43:26 +02:00