1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-22 11:23:45 +01:00

470 Commits

Author SHA1 Message Date
fowr
8caf0f738b update report captcha 2025-01-09 15:57:07 -03:00
fowr
8ccf506e0f fix captcha being triggered when only new_thread_capt is enabled 2025-01-09 14:51:37 -03:00
Zankaria
e0807a1811 post.php: use ReportQueries 2024-12-11 16:39:10 +01:00
Zankaria
d9b983a3fb post.php: check post body min and max op characters 2024-11-27 22:17:35 +01:00
Zankaria
d0de1d82d3 post.php: add minimum body length check 2024-11-27 21:56:03 +01:00
Zankaria
d4935786c6 post.php: format post length checks 2024-11-27 21:47:46 +01:00
fowr
d55273df14
update maxmind lib 2024-11-15 13:11:47 -03:00
Lorenzo Yario
fed2170923
Merge pull request #832 from Zankaria/captcha-breakup
Breakup the captcha file
2024-10-31 13:52:19 -07:00
Zankaria
9bf6e6f94d captcha-queries.php: break up captcha queries 2024-10-30 11:57:32 +01:00
Zankaria
8f58172c5c
post.php: fix captcha call typo 2024-10-25 10:44:31 +02:00
Lorenzo Yario
7c305f58bf
Merge pull request #822 from Zankaria/fix-captcha-call
post.php: fix invocation of native captcha
2024-10-08 20:12:25 -07:00
Zankaria
3fe44653f2 post.php: fix invocation of native captcha 2024-10-06 13:08:29 +02:00
Zankaria
927a837216 post.php: update LogDriver 2024-10-04 20:16:06 +02:00
Zankaria
cae85a6a0c http-driver.php: move to Data 2024-10-04 01:13:12 +02:00
Zankaria
f4ff39c876 post.php, mod.php: pass the context to check_login 2024-10-01 22:16:54 +02:00
seisatsu
43b926c41b Fix typo in post.php that breaks Tesseract OCR
Fixes a typo in post.php that causes an uninitialized variable "$value"
to be referenced instead of the correct variable "$txt". This caused all
attempts to use the Tesseract OCR feature to fail with an error.
2024-09-06 15:23:37 -05:00
Lorenzo Yario
5ee48c5865
Merge pull request #793 from Zankaria/captcha-rework-vichan
Refactor (again) the captcha backend + add support for dynamic captchas
2024-08-16 21:43:31 -07:00
Lorenzo Yario
60135bbb89
Merge pull request #794 from Zankaria/fix-di
Forgot to convert a method call in #784
2024-08-16 21:43:24 -07:00
Zankaria
d408ed0413 theme.php: rename functions to snake_case 2024-08-16 18:33:02 +02:00
Zankaria
e640217a8f post.php: fix DI method call 2024-08-15 16:39:12 +02:00
Zankaria
165ea5308a config.php: ops, wrong name for the native captcha 2024-08-15 16:33:56 +02:00
Zankaria
f7073d5d7e post.php: do not verify the poster IP if the captcha is dynamic 2024-08-15 16:22:58 +02:00
Zankaria
fb92e5fb68 config.php: rework captcha configuration 2024-08-15 16:20:58 +02:00
Zankaria
a275d04efa captcha-queries.php: refactor NativeCaptchaQuery to use DI 2024-08-15 15:17:54 +02:00
Zankaria
933594194c captcha-queries.php: refactor remote captcha queries to use DI and abstract the implementation better 2024-08-15 15:11:32 +02:00
Zankaria
e825e7aac5 Add dynamic captcha support 2024-08-15 14:37:59 +02:00
Lorenzo Yario
f3e81c80d9
Merge pull request #784 from Zankaria/micro-di
(What should be a) much better Dependency Injection implementation
2024-08-11 03:05:47 -07:00
Zankaria
75714505a0 config.php: add auto_maintenance configuration option 2024-08-11 12:04:10 +02:00
Zankaria
980b2ef7bf bans.php: split findSingle implementations 2024-08-11 10:28:08 +02:00
Zankaria
0c074016e7 context.php: much better Dependency Injection implementation 2024-08-11 10:06:20 +02:00
Lorenzo Yario
230cc252c5
add changes from #782 2024-08-09 00:39:08 -07:00
Lorenzo Yario
89a31794d9
fixing and standardizing something i did at like 4am with tripcode disabling 2024-07-04 11:29:18 -07:00
Weav
fee67b6719
Merge branch 'dev' into hash-passwords 2024-06-20 13:21:05 +00:00
fowr
fff9b88c6d
hash poster passwords 2024-06-20 10:11:47 -03:00
Zankaria
96bebe8c79 post.php: fix broken JS cookie setting 2024-05-11 12:44:16 +02:00
fowr
010ab2bf62 post.php: add default exif_stripped 2024-05-11 12:19:42 +02:00
Lorenzo Yario
82881fe512
disabling tripcodes 2024-05-08 18:34:35 -07:00
papereth
0dd064b2ea
Fix Exif leak in JPEG orientation conversion code
https://github.com/vichan-devel/vichan/issues/735
2024-05-04 15:01:17 +01:00
Zankaria
b7eed34b83 functions: split off time formatting functions 2024-04-30 15:56:53 +02:00
Zankaria
b86b9e375d post.php: fix hcaptcha reading wrong post field 2024-04-16 22:39:32 +02:00
Zankaria
f93dd1fae5 Context: extract dependency building from the container 2024-04-09 11:33:06 +02:00
Lorenzo Yario
3c49645af0
Merge pull request #717 from Zankaria/dep-inj-logging
Add logger by dependency injection
2024-04-04 19:43:46 -07:00
Zankaria
710f6aa6c2 post.php: use logger 2024-04-04 12:44:37 +02:00
Zankaria
4d9d68b550 Substitute deprecated php functions calls 2024-04-04 11:09:43 +02:00
Lorenzo Yario
5680d73f08
Merge pull request #716 from Zankaria/adjust-image-stripping
Enhance image metadata ops
2024-04-03 14:23:39 -07:00
Zankaria
eaacf27199 post.php: do not strip orientation metadata 2024-04-03 21:38:16 +02:00
Zankaria
6ceee8261e post.php: strip and reorient png and webp images 2024-04-03 21:34:51 +02:00
Zankaria
2bb1b0b9d4 post.php: remove double check 2024-04-03 21:24:10 +02:00
Zankaria
9072ce5992 post.php: strip metadata from png and webp image file types 2024-04-03 21:23:48 +02:00
Zankaria
8120c42440 Format injected javascript on failed native captcha 2024-04-03 14:33:38 +02:00