Commit graph

5229 commits

Author SHA1 Message Date
Zankaria
3994afd10d main.js: do not initialize captchas if there is no hook 2024-08-23 14:38:20 +02:00
111fa78921 Merge pull request 'Fix weird flashes when loading' (#183) from codestyle-fix into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/183
2024-08-22 23:11:15 +00: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
89b7e8db7c post-hover.js: enable overboard support 2024-08-22 18:12:24 +02:00
c3e4d51d30 Merge pull request 'Bust more js and all CSS with resource_version' (#180) from cache-busters into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/180
2024-08-22 12:40:43 +00: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
b438283e32 dark_red.css: make inline border solid and grey 2024-08-21 23:54:56 +02:00
Zankaria
06ef3c5287 post-hover.js: hover only in thread and index pages 2024-08-21 23:32:17 +02:00
Zankaria
8477f41b52 pages.php: pass mod array to overboard 2024-08-21 19:58:12 +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
Zankaria
4db387ab52 show-op.js: reduce queries 2024-08-21 12:51:57 +02:00
Zankaria
da3ad44f37 show-op.js: cache the op id in thread pages 2024-08-21 12:47:04 +02:00
Zankaria
4544107e1d show-op.js: format 2024-08-21 12:00:41 +02:00
Zankaria
454405e5f8 config.php: add resource_version configuration option 2024-08-21 11:26:22 +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
4760bb9d4c style.css: handle very long words across all the post 2024-08-20 16:06:51 +02:00
Zankaria
bb5b2104b1 style.css: Fix #169 2024-08-20 15:57:46 +02:00
Zankaria
32f5fbbac7 post_thread.html: go to newline after OP post 2024-08-20 15:46:18 +02:00
Zankaria
d4d7167604 style.css: handle very long words 2024-08-20 15:36:58 +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
8565a6f527 style.css: break by words on the entirety of the post 2024-08-20 14:16:16 +02:00
Zankaria
97159e3c02 posts: add space before post numbers 2024-08-20 14:02:52 +02:00
Zankaria
98888f4e5f thread-stats.js: fix badly named variable #170 2024-08-20 13:51:51 +02:00
Zankaria
0fa25714d4 thread-stats.js: fix image count #170 2024-08-20 11:21:06 +02:00
Zankaria
5811945459 thread-stats.js: reduce duplicated code 2024-08-20 11:03:09 +02:00
Zankaria
7ffb81d1f8 thread-stats.js: format 2024-08-20 11:03:06 +02:00
Zankaria
9c3755c7a7 No more span games on posts 2024-08-20 10:40:11 +02:00
Zankaria
c6fa4706d8 style.css: keep poster id on the left of large screens 2024-08-20 10:37:10 +02:00
Zankaria
8d812fa4f4 Revert "show-backlinks.js: use div instead of span"
This reverts commit b7b87cbf21.
2024-08-20 01:22:54 +02:00
Zankaria
9cd7d08fdf show-backlinks.js: fix baklinks stacking 2024-08-20 01:16:09 +02:00
Zankaria
b7b87cbf21 show-backlinks.js: use div instead of span 2024-08-20 00:33:41 +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
31086b05d9 bans.php: limit post body length to 12 KBs 2024-08-19 22:54:05 +02:00
Zankaria
a6040e704b docker: cache composer dependencies 2024-08-18 21:14:39 +02:00
Zankaria
ee2ddeb29d name.html: format 2024-08-18 21:14:10 +02:00
Zankaria
aec814266c pages.php: HOTFIX add copy fallback in case of already existing file when moving thread. 2024-08-18 01:00:32 +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
ed330a009c Merge pull request 'Rework the captcha to correctly reset after a post' (#158) from captcha-rework into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/158
2024-08-07 19:32:23 +00: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