aa18595adf
main.js: do not initialize captcha if not required by the mode
2025-02-12 21:32:14 +01:00
262e8971bd
main.js: store captcha mode
2025-02-08 21:30:08 +01:00
a70b6e6ec9
main.js: use new config style
2025-02-08 18:15:07 +01:00
01fbbfc61a
main.js: add minimal jsdoc to captcha wrappers
2025-02-08 00:18:21 +01:00
3be6111fa4
main.js: require captcha before sending a post
2025-02-08 00:18:20 +01:00
95f8d2a159
main.js: remove init style chooser
2025-02-06 00:00:10 +01:00
ebc0c54657
main.js: generate captcha form id
2024-10-28 12:33:36 +01:00
93e37b0c42
main.js: use unified captcha-response
2024-10-28 11:16:07 +01:00
14d48402b4
main.js: remove captcha load recoup
2024-10-19 19:22:39 +02:00
Zankaria
76d237bc89
main.js: load captcha from callback only on pages with post forms
2024-09-01 23:06:15 +02:00
Zankaria
8b5b710cc1
main.js: fix undefined version
2024-08-24 01:53:44 +02:00
Zankaria
4029ec5ba4
Revert "main.js: load stylesheets with the resource version"
...
This reverts commit 4f99346941
.
2024-08-24 01:50:45 +02:00
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
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
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
483d553fc0
Add dynamic captcha support
2024-07-28 00:53:26 +02:00
9799d7e515
thread.html main.js: use ids to identify hud top and bottom bars
2024-04-15 23:55:10 +02:00
8fcad42ba2
main.js: trim
2024-04-15 23:54:30 +02:00
discomrade
1864530b56
Improve citing in replies
2021-09-28 03:11:24 +00:00
discomrade
f0b3c0fcb6
Add automatic and manual reloading of captchas
2021-05-05 15:17:34 -02:00
Benjamin Southall
c58e37ce39
Merged lainchan with vichan master at 25/9/2016 0bd63149b7
@czaks czaks committed on GitHub 2 days ago
2016-09-25 16:34:47 +09:00
czaks
02c3c28a16
main.js: a bit more sane code
2016-05-05 15:37:50 +02:00
czaks
6991ca270e
fix bad merge
2016-05-05 13:53:52 +02:00
8chan
95a9b7b72b
Completely rewrite fix-report-delete-submit.js, add report/delete to menu
2016-05-05 12:52:17 +02:00
Simon McFarlane
4b40f69a4e
Merge remote-tracking branch 'upstream/master' into vichan-merge
2015-05-29 01:34:53 -07:00
czaks
e9e5ceaf90
main.js vs new file uploader
2015-04-01 19:37:06 +02:00