Commit graph

84 commits

Author SHA1 Message Date
4eb12479ec post_form.html: use new config style 2025-02-08 18:14:52 +01:00
f792470af7 post_form.html: add captcha form id 2024-10-28 12:33:19 +01:00
81ad1fff38 post_form: add unified captcha response hook 2024-10-28 00:44:26 +01: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
d8ea4c49ad main.js: rename dopost to camelCase 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
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
Zankaria
a9211d23b5 Remove feature: upload by url 2024-01-29 11:18:01 +01:00
discomrade
a3a1e8e55e Rename email field to options. (hack)
Didn't worry about doing it properly with translations because this is a local fork
2024-01-16 18:04:00 +00:00
discomrade
61a3aa8fe1 Describe sage option in email select
'sage' is too esoteric for noobs. Ideally we should make this a checkbox because always noko but whatever
2024-01-16 18:04:00 +00:00
Your Name
845ff14e52 Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
Your Name
e2bef8c2f2 Simple anti-spam mechanism 2024-01-16 18:04:00 +00:00
discomrade
a1f64335f9 Added multiple file select dialog for post form
Mostly 808c2072d3
2022-02-12 01:34:46 -01:00
discomrade
4fcbad3fb1 Make file-selector.js inline call conditional 2021-11-11 13:07:32 -01:00
discomrade
3ae859d6e6 Call upload-selection.js inline
Makes the change happen earlier, reducing content shift
2021-11-11 13:06:19 -01:00
discomrade
b3adcfe98b Revert attempt at deferring file selector
Reverts most of c44bbde511 which failed to remove the previous file uploader https://git.leftypol.org/leftypol/leftypol/issues/37
2021-11-11 09:42:03 -01:00
nonmakina
baef16208c fixes quick reply 2021-07-11 16:00:39 +02:00
towards-a-new-leftypol
c44bbde511 defer additional_javascript
- this required a fix to file-selector
2021-06-27 01:09:28 +00:00
discomrade
33bc63a354 Add margin to flag preview image 2021-06-16 02:25:20 -02:00
discomrade
b2c7aa42f3 Create flag preview 2021-05-31 17:30:44 -02:00
discomrade
f0b3c0fcb6 Add automatic and manual reloading of captchas 2021-05-05 15:17:34 -02:00
discomrade
11bab0a9ad Add basic captcha 2021-05-05 10:29:06 -02:00
Benjamin Southall
44f99c5f0c Fixes You look like a bot (reCaptcha window doesn't appear) #159, straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241, the template changes which the previous commit forgot 2019-08-10 20:54:52 +10:00
Benjamin Southall
23d079313c Add antibot to post form in attempt to ensure posting from overboards is not incorrectly flagged as spam by the tinyboard antispam engine 2017-06-01 07:18:19 +09:00
Benjamin Southall
19c0f384a5 Add ['overboard_post_form'] to allow overboard post forms. Adjustments to ukko theme to support this 2017-04-25 00:47:14 +09:00
Benjamin Southall
47273d6887 Adding support for multiple file upload using URLs, previously only one URL was supported. Also removes duplicate slack reporting merge. 2017-03-20 20:19:03 +09:00
Michael Walker
a7e9b3e853 Fix Twig templte syntax error 2016-08-23 20:41:30 +01:00
Kashire
60e849bad0 Re-implimenting the spoiler button
potentially re-added the spoiler button.
2016-08-23 14:17:23 -05:00
Simon McFarlane
4b40f69a4e Merge remote-tracking branch 'upstream/master' into vichan-merge 2015-05-29 01:34:53 -07:00
czaks
271dcb7a65 fileboard: fix possible XSS (mainly applicable to 8chan) 2015-04-23 03:45:08 +02:00
Marcin Łabanowski
4014682882 fileboard support 2015-04-22 06:06:34 +02:00
czaks
745bdc2b6c password is text nao, fuck you chrome 2015-03-31 07:01:51 +02:00
czaks
765dea599b trivial fixes to file-selector.js 2015-03-31 06:50:05 +02:00
8chan
f26256f55a Make file selector work, add to config
Conflicts:
	inc/instance-config.php
	templates/post_form.html
2015-03-31 05:59:54 +02:00
marktaiwan
6e84a25f9a Adds keyboard focus to file selector 2015-03-31 05:57:45 +02:00
marktaiwan
0005f11098 initialize file selector soon as it's loaded
Conflicts:
	templates/post_form.html
2015-03-31 05:57:22 +02:00
marktaiwan
3bd7f94861 Fallback for browsers that disables javascript
Conflicts:
	stylesheets/style.css
	templates/post_form.html
2015-03-31 05:54:07 +02:00
Michael Walker
c1c8e387f6 Allow the comment box to be disabled in the post form 2014-11-13 00:19:44 +00:00
Michael Walker
08ad292ae0 Incorporate post form style changes (mostly yuuko) 2014-10-12 02:37:21 +01:00
Fredrick Brennan
23c73ca839 Allow the user to decide whether or not he wants to display his country 2014-09-20 16:35:28 +00:00
Jano Slota
cadfa2cee9 Do not show noko in email selectbox if it's disabled 2014-08-08 21:53:21 +02:00
kaf
f83c87b623 Added: /pol/-like flags based on a953229de7
Conflicts:
	inc/config.php
	templates/post_form.html
2014-04-19 18:48:17 +02:00
czaks
15c0802c06 Disable the sucky chrome autofill
It used to force login into "embed" field and password into post password.

Disabling autocomplete (at form) didn't work. Recreating the fields either.
Trying to induce default values didn't as well. x-autocompletetype didn't.

What worked – creating two dummy fields:
  <input type='text'>
  <input type='password'>
...just before the real post password.
2014-04-10 11:44:38 +02:00
czaks
5c9c095e84 okay, that dready css rule refered to this... 2014-02-01 21:53:46 +01:00
czaks
b36cb115ae solution of (our) quick-reply and antispam conflict 2014-01-04 01:42:16 +01:00
czaks
ed16e40e20 upload: add ids for a script for selection 2013-08-17 16:37:15 -04:00
ctrlcctrlv
7c5222ffb5 Make it so oekaki can be disabled 2013-08-17 17:36:38 +00:00
czaks
4f855cf3b3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-13 14:46:16 -04:00