Commit Graph

292 Commits

Author SHA1 Message Date
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
Benjamin Southall
0d4197da85 Add autotagging feature for deletion. E.g. automatically generate an IP note when a post is deleted by moderator action. 2022-03-01 09:48:01 -01:00
jove
bd19433776 Fixes two bugs preventing replies from being moved. 2022-03-01 09:48:01 -01:00
jove
72382a07f9 Fixes an error reporting typo. 2022-03-01 09:48:01 -01:00
h00j
4ef7feabf2 add telegrams 2021-03-12 21:51:42 +01:00
h00j
bce71c1f98 ip cloaking 2021-02-13 14:11:41 +01:00
rarjpg
0a3bca7dd8 Various fixes 2019-11-29 13:54:08 +08:00
Daniel Saunders
e15e966cdb Fix a bug related to deleting boards (see https://github.com/vichan-devel/vichan/issues/331) 2019-09-22 16:57:12 +08:00
Fredrick Brennan
ac971f36d5 Fix capcodes in PHP7.2. Close #299 2018-07-27 20:08:03 +08:00
Fredrick Brennan
09b373cf60 Merge pull request #245 from ghost/patch-2
Bug fixing inc.
2017-10-26 13:35:26 +08:00
RalphORama
c8765dede4 Update PHP version check
Removed trailing zero
2017-10-24 17:36:14 -04:00
RalphORama
2097562596 PHP version check for mcrypt_create_iv
Use `mcrypt_create_iv()` if PHP version is less than 7.1.0, otherwise use `random_bytes()` (introduced in PHP 7.1 to replace `mcrypt_create_iv()`)
2017-10-24 16:27:00 -04:00
RalphORama
67b1565ef8 Replace mcrypt_create_iv with random_bytes
`mcrypt_create_iv()` was deprecated in PHP 7.1.0.
2017-10-24 16:16:25 -04:00
antedeguemon
4d1dc45a7c Bugfix: allow mods to edit poster name at edit post page 2017-07-29 20:23:18 -03:00
Thalis
7529c83a00 added fix from @Circlepuller to mod_move_reply also
thx @Cirlepuller
2017-07-28 22:51:59 +02:00
Thalis
0846d0c784 might fix moving replies with deleted image
brace yourself for other conflicts lol
2017-07-28 22:41:20 +02:00
Thalis
7883998a78 should fix moving a spoilered thread (OP) image 2017-07-28 21:01:12 +02:00
Daniel Saunders
d8e12a15b7 Dirty quick fix to allow moderation to move threads with deleted files 2017-07-24 15:00:33 -04:00