Commit graph

5254 commits

Author SHA1 Message Date
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
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
8f98665a1c post.php: make dynamic captcha less prone to misuse 2024-07-29 20:48:22 +02:00
40475158eb post.php: use the dynamic_captcha config value to pick from which IP to check for captcha reponsens 2024-07-29 20:46:30 +02:00
fccd0a16dd quick-reply.js: move recaptcha rendering to function 2024-07-28 00:53:33 +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
67de8df246 post.php: add turnstile server side checks 2024-07-28 00:53:33 +02:00
12f0fd1cb4 config.php: add turnstile field options 2024-07-28 00:53:33 +02:00
43ea24ea20 config.php: add turnstile's form field to the whitelist 2024-07-28 00:53:33 +02:00
483d553fc0 Add dynamic captcha support 2024-07-28 00:53:26 +02:00
81f5c70681 quick-reply.js: format 2024-07-28 00:52:49 +02:00