Commit Graph

676 Commits

Author SHA1 Message Date
fowr
e2fddbbca2 update twig to 2.9 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
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
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
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
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
sshscp15
57ee34ad55 simple catalog support for moderators 2024-01-30 10:05:43 -01:00
b80a7b00f0 Add status.php for mobile API 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
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
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
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
5df46e0c77 Improve page titles and social media cards 2023-01-14 05:50:40 -01:00
ec917def7c Block D+ and D++ on special IP addresses 2023-01-14 05:50:40 -01:00
49b5fb75a6 Fix 387ebe9c0c for reports, extract limit to variable, give more descriptive error name 2023-01-14 05:50:40 -01:00
1f155498b0 Fix combining character set, allow limit for combining characters 2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
19e216b924 Display YouTube video thumbnail (with local url) in embeds 2023-01-14 05:50:40 -01:00
Benjamin Southall
d63a54cf7f Add apple touch icon support and configuration option 2023-01-14 05:50:40 -01:00
PupperWoff
060ae1e547 Added option for mods to send threads directly to archive (removing them from catalog) 2023-01-14 05:50:40 -01:00
PupperWoff
b72b335f3e Added function: Option to disable GETs on boards 2023-01-14 05:50:40 -01:00
PupperWoff
787fa11309 Small fix to config for - auto send to feature archive 2023-01-14 05:50:40 -01:00
PupperWoff
c76a1bd3ef Added multiple dice roll. Automatic feature archive if op uses configured trip. Increaced post char limit 2023-01-14 05:50:40 -01:00
PupperWoff
2b05fd12f4 Added Feature - Statistics 2023-01-14 05:50:40 -01:00
PupperWoff
dd0847b751 Added Archive Feature - Added feature allowing Users to vote for threads they want Featured in the Archive 2023-01-14 05:50:40 -01:00
Arvo Huru
4989762458 Added Feature - Different wait-time for OP and reply deletion. 2023-01-14 05:50:40 -01:00
Arvo Huru
008273f707 Small BugFix - Small fix to Shadow Delete 2023-01-14 05:50:40 -01:00
Arvo Huru
ce750b8a20 Added Function - Mod can shadow delete if they are unsure 2023-01-14 05:50:40 -01:00
PupperWoff
7ffa8a00f9 Added Feature - Seperate Archive Mods can put posts in - only mods can see this archive 2023-01-14 05:50:40 -01:00
PupperWoff
73a0547fe6 Added Function to Shadow Delete - You can set a mod level for automatically permanently delete posts that mod deletes 2023-01-14 05:50:39 -01:00
PupperWoff
c353e1284d Added Feature - Shadow Delete of Posts and Threads (can be restored if deleted by mod) - Still need a way to see and restore deleted threads 2023-01-14 05:50:39 -01:00
PupperWoff
e74c54601e BugFix - Small bugfix to Archive Code 2023-01-14 05:50:39 -01:00
PupperWoff
16c4f2719a Added Feature - Cutoff for deletion of threads by OP if they have a certain number of replies. 2023-01-14 05:50:39 -01:00
PupperWoff
e712b12ad9 Added Feature - Warn and Delete [W&D] function 2023-01-14 05:50:39 -01:00
PupperWoff
8544714057 Update and BugFix - Added Links to Archive and Featured Archive and Reload to Thread Pages and Catalog - Added Announcements to Catalog - And Small Bugfix to Announcements where link to [Show all] was wrong 2023-01-14 05:50:36 -01:00
PupperWoff
c015c4a8b4 Update - Updated Archive Code so it can be run in Cron Job 2023-01-14 01:26:50 -01:00
PupperWoff
0ba32d3b1a Added Feature - Added Archive Feature - Archive and Featured Archive 2023-01-14 01:26:46 -01:00
Benjamin Southall
060bbf3040 Add missing post_control template and configuration values for thread merge functionality 2023-01-13 20:55:31 -01:00
PupperWoff
4017822218 Added Feature - Announcements - Create announcements that is displayed on "top" of the site (last n entries) and in a full list in seperate page
Re-written to not require JavaScript or cookies to view or edit.

Co-Authored-By: Discomrade <nice@try.fbi>
2023-01-13 20:55:31 -01:00
PupperWoff
b62260d5e4 Added Feature - Premade Ban Reasons (might need some visual tinkering) 2023-01-13 20:55:31 -01:00
Benjamin Southall
a6e2485afb Add new fields for pdf_file_thumbail and autotagging / IP note generation of deleted posts to config.php for Deleting posts as mod does not work #104 2022-03-01 09:50:24 -01:00