Commit Graph

309 Commits

Author SHA1 Message Date
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
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
fowr
4023ede3d7 feature: dismiss all reports for a post 2024-01-30 10:05:44 -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
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
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
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
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
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
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
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
ec917def7c Block D+ and D++ on special IP addresses 2023-01-14 05:50:40 -01:00
0ac2b7ec70 Show ban appeal count on mod dashboard 2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
146f7a341a Improve robustness when moving / merging posts and threads.
Co-Authored-By: Discomrade <nice@try.fbi>
2023-01-14 05:50:40 -01:00
c3de0f1feb Removes rebuilds after each deleted post when deleting by IP. 2023-01-14 05:50:40 -01:00
Dedushka
d55dd98e68 Protect IPv6 IPs in public moderation logs.
As reported, IPv6 addresses were not properly hidden in the public
facing moderation logs. This commit filters both IPv4 and IPv6
addresses.
2023-01-14 05:50:40 -01:00
PupperWoff
9406a72d7d Bugfix : If you moved a reply to same board it deleted the image. 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
2b05fd12f4 Added Feature - Statistics 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
0778052ef7 Small Update - Updated Rebuild to archive threads/running cleanup before building index, Also added php_timeout to update scripts. 2023-01-14 05:50:39 -01:00
PupperWoff
b359d89de5 BugFix - Bugfix to Archive Code 2023-01-14 05:50:39 -01:00
PupperWoff
45b00c76b5 Update to Shadow Delete - Option to view deleted threads, and view recent shadow deleted posts and threads (threads are listed first - posts in these threads are not shown in recent list - to see these posts you need to view whole shadow deleted thread) 2023-01-14 05:50:39 -01:00
PupperWoff
93d316f0fc BugFix - More stupid errors in code I had to fix 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
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
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
73820cd5b4 Add merge thread functionality as a moderator feature (shadow threading and leaving OP is not yet supported) 2023-01-13 20:55:31 -01:00
Benjamin Southall
f458f08989 Add board filter functionality to Recent Posts interface 2023-01-13 20:55:31 -01:00
PupperWoff
fcd7976881 Bugfix - Move thread now works with update to handle multiple fileshashes 2022-03-01 09:50:24 -01:00
fallenPineapple
7d8432d5f0 Implementing Warning System to Issue Warnings for Posts
Auto-tagging was omitted as warnings are visible anyway.
Co-Authored-By: Discomrade <nice@try.fbi>
2022-03-01 09:50:24 -01:00
fallenPineapple
8b8828ae3b Show ban appeal count
Thank you PupperWof
2022-03-01 09:50:24 -01:00
fallenPineapple
c8821a3dec Add moderation tools for file banning
Thank you PupperWof
2022-03-01 09:50:24 -01:00
Benjamin Southall
b54d414bc4 Implemented mods can't access random from dashboard #88. Please note this doesn't use mod custom_pages functionality provided by vichan (because the that only works if your overboard has name that doesn't look like other boards), and requires ['overboards'] to be set as an array of board uri's which are overboards, with the correct values for type (theme type e.g. ukko, rand or semirand) title, subtitle, thread_limit and exclude in array of for each board uri 2022-03-01 09:48:01 -01:00
Benjamin Southall
96aaab0e6d [autotagging] Deleting all posts by IP (D++) doesn't seem to work properly #87 Changing query inside the while loop to query2 in order to delete all posts, not just the first post. 2022-03-01 09:48:01 -01:00
Benjamin Southall
f4cb143945 Add JSON interface to Recents Posts functionality, e.g. mod_recent_posts 2022-03-01 09:48:01 -01:00
Benjamin Southall
b9152ceea6 #87 Attempt to change the error message associated when using deletebyip e.g D++ with autotagging of deletions enabled. 2022-03-01 09:48:01 -01:00
Benjamin Southall
79575c84cb Added check for post time being empty string, in order to handle the case that occurs when a deleted post is deleted a second time. 2022-03-01 09:48:01 -01:00