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
c1a2c9cf2f
Enable configurations by default: moving, subject in title, hourly stats, anti-bump-flood
2024-01-30 10:05:42 -01:00
e8251ade6a
Change dates to ISO 8601-like, fix deprecation of strfdate() in PHP 8.1, fix non-GMT dates
...
Unfortunately this means there are two format strings needed when using JS for local time.
2024-01-30 10:05:42 -01:00
7324135025
Add PPH and IPs stats table (doesn't require JS)
2023-01-14 05:50:41 -01:00
5b74355046
Collapse post form by default on index page.
...
This reduces wasted space as making threads is a relatively rare operation, and dissuades people from mistakenly making a thread instead of a reply.
2023-01-14 05:50:41 -01:00
6645a8f989
Add meaningful error codes for captchas
2023-01-14 05:50:41 -01:00
58d719c7f9
Allow local securimage captcha to be run without cURL library
2023-01-14 05:50:40 -01:00
288f09c1f9
Remove unused functions from inc/function.php
...
strategy_first was left in as I suspect it's a userful example.
2023-01-14 05:50:40 -01:00
8cd2ad7b10
Drop remaining MySQL <5.5.3 support (utf8 without multibyte)
...
It's over 10 years out-of-date and EOL and the version code isn't failsafe which causes issues with some MariaDB versions, resulting in broken multibyte character behaviors.
2023-01-14 05:50:40 -01:00
a8115d2e53
Remove wizchan remnants
...
Put me in the screencap
2023-01-14 05:50:40 -01:00
6fb529e745
Add option to force a subject when posting threads
2023-01-14 05:50:40 -01:00
17ed5819f6
Add maximum text length to ban appeals.
2023-01-14 05:50:40 -01:00
321c742124
Prevent raw HTML editing a post with tinyboard modifiers (e.g. user flags) from inserting them into the visible post body
2023-01-14 05:50:40 -01:00
f6b4eb9040
Fix multiple issues with anti_bump_flood
...
- bumplocked thread with one reply, delete the reply and no post matches the query
- saged posts aren't ignored when finding last bump
- bumplocked threads should be ignored
2023-01-14 05:50:40 -01:00