Commit Graph

1888 Commits

Author SHA1 Message Date
RealAngeleno
acf880012a add hcaptcha support 2024-01-30 10:05:44 -01:00
eli
cf5a3e0882 fix float division deprecation warning breaking captcha.php json 2024-01-30 10:05:44 -01:00
RealAngeleno
3c68674cb4 drop-in replacement for rc4-40 2024-01-30 10:05:44 -01:00
RealAngeleno
eff78a1607 add hourly thread limit (from npfchan) 2024-01-30 10:05:44 -01:00
RealAngeleno
5988246bf1 hourly thread limit. Mostly from NPFchan 2024-01-30 10:05:44 -01:00
RealAngeleno
9a8ddccc9d allow cyclical images to be set independently of stickies 2024-01-30 10:05:44 -01:00
RealAngeleno
ea14391c24 allow cyclical images to be set separately from stickies 2024-01-30 10:05:44 -01:00
RealAngeleno
bc6460d6ab Update functions.php 2024-01-30 10:05:44 -01:00
RealAngeleno
0296c3eaea Fix multi-report bug #567 2024-01-30 10:05:44 -01:00
fowr
87bb597251 remove telegrams 2024-01-30 10:05:44 -01:00
RealAngeleno
8207b11024 prohibit emails from showing up in api if hide_email is true 2024-01-30 10:05:44 -01:00
RealAngeleno
eb1225a6b6 prohibit original filename from showing up in api when disabled
Makes it so that if $config['show_filename'] = false, it will show $apiPost['tim'] as the filename instead.
2024-01-30 10:05:44 -01:00
RealAngeleno
ba749b27df Update config.php
prevent conflict
2024-01-30 10:05:44 -01:00
RealAngeleno
bb7e385e32 add missing break in switch/case for dismiss post
fixes bug in which Dismiss Post worked identically to Dismiss+
2024-01-30 10:05:44 -01:00
mikka
2d6bb46e14 A small typo 2024-01-30 10:05:44 -01:00
RealAngeleno
d4a9847b16 add too many lines 2024-01-30 10:05:44 -01:00
RealAngeleno
e5feb252f7 Update config.php 2024-01-30 10:05:44 -01:00
fowr
4023ede3d7 feature: dismiss all reports for a post 2024-01-30 10:05:44 -01:00
fowr
5730eb164d change the default of twig_auto_reload to false 2024-01-30 10:05:44 -01:00
fowr
0143b0d261 delete remove_whitespace filter 2024-01-30 10:05:43 -01:00
fowr
e2fddbbca2 update twig to 2.9 2024-01-30 10:05:43 -01:00
fowr
59f9dfdd83 add global to mod_confirm 2024-01-30 10:05:43 -01:00
Fred Brennan
cdde589d6a Apply inc/display.php@0a2dfed from vichan/infinity 2024-01-30 10:05:43 -01:00
3c9c29b22d Fix post number on dismissed reports log, show id
Previously the report dismiss logs would show the report id instead of the post number.
2024-01-30 10:05:43 -01:00
3c20a558d8 Add overboard support to mod catalog 2024-01-30 10:05:43 -01:00
perdedora
94c98765b3 feat: edit pre-existing bans (#528)
* feat: edit pre-existing bans

* change default permission

* theres no need for elseif here. related: d34f083a6b33185927c6b79a38477f4ea4ce49b5

* quote href param

* changes made
2024-01-30 10:05:43 -01:00
e01f35814c Allow exclamation point after cite
Credit to 75236d6ae5
2024-01-30 10:05:43 -01:00
63fb6bea27 Add default value for flood_cache
The original code left flood_cache undefined, leading to errors in newer versions of PHP. See https://github.com/vichan-devel/vichan/issues/525
2024-01-30 10:05:43 -01:00
522d208099 Handle statistics case where query returns no posts 2024-01-30 10:05:43 -01:00
deysu
582b123be4 Add banners as default functionality & display them on mod login / dashboard when enabled (#513)
* Add banner support as a default, integrated option.
Used lainchan's original banner script, authored by barrucadu

* Display banners on moderator login and dashboard

* Remove memes & better directory structure
2024-01-30 10:05:43 -01:00
Fred Brennan
704af3d64d Use ENT_QUOTES when converting UTF-8 to HTML (#448)
Closes #448.
2024-01-30 10:05:43 -01:00
sshscp15
02edb9a896 Fix display warning/errors (#496)
* prevent filling debug param when debug is off

* fix php warning: "$item" must be passed by reference
2024-01-30 10:05:43 -01:00
27chan
2216a0155c Removed regex with possibiblity of XSS
An anonymous user reported the issue to me
2024-01-30 10:05:43 -01:00
Fred Brennan
2bc1a32105 Flip insane default for non-developers 2024-01-30 10:05:43 -01:00
Fred Brennan
fdc574906a Add support for APC(u) 2024-01-30 10:05:43 -01:00
C Hatfield
4026e4c448 Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com>
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2024-01-30 10:05:43 -01:00
haruhianon609
139e975bfb Add yandex images as image identification option (#430)
* Add yandex images as image identification option

* Update image_identification.html

* Fix indentation

Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2024-01-30 10:05:43 -01:00
Fredrick Brennan
56d67ab268 Change illogical default of $config[force_body]
Makes JS and non-JS enforcement equivalent while providing a downgrade path.

JS may not allow empty bodies even when $config[force_body] false. Don't care enough to fix. PR welcome.

Close #493.
2024-01-30 10:05:43 -01:00
bebyx
ffcc496a6f Fix editing global pages for 7.4 (#487) 2024-01-30 10:05:43 -01:00
Junicchi
2103948afe fix Undefined index ip problem, fixes #434 2024-01-30 10:05:43 -01:00
sshscp15
57ee34ad55 simple catalog support for moderators 2024-01-30 10:05:43 -01:00
837fe4d6fa Check file exists before unlinking in 'file_unlink' 2024-01-30 10:05:43 -01:00
8c9ef0d2bd Check temp file exists before unlinking when processing images 2024-01-30 10:05:43 -01:00
b80a7b00f0 Add status.php for mobile API 2024-01-30 10:05:43 -01:00
f17875da7a Enable compatibility with Twig 2.x 2024-01-30 10:05:43 -01:00
419829f8aa Check files exist before deleting when rebuilding
This is most likely an effect of the @ operator changes in PHP 8.0.0
2024-01-30 10:05:43 -01:00
e307afd09f Prevent filling debug parameter when debug is turned off in config
The debug parameter can lead to memory exhaustion errors for some errors, this prevents it happening when debug output is disabled
2024-01-30 10:05:43 -01:00
71d9463e47 Add filename as alt text to images 2024-01-30 10:05:43 -01:00
d61e98524c Update Tor blocklist 2024-01-30 10:05:42 -01:00
fc3564bc10 Change order of static page markup methods
Markdown doesn't appear to be enabled without extensions, so it's not good to have it first.
2024-01-30 10:05:42 -01:00