Commit Graph

1828 Commits

Author SHA1 Message Date
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
5df46e0c77 Improve page titles and social media cards 2023-01-14 05:50:40 -01:00
bd120bbda7 Clean up duplicate code for IPv6 2023-01-14 05:50:40 -01:00
d606deba0e Add IPv6 support for DNSBL
Should have used the library but didn't want to experiement and posiibly break the includes
2023-01-14 05:50:40 -01:00
f7478bc840 Remove newlines and modifiers from thread title 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
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
b91d8694a9 Prevent double-encoding of HTML entities in [code] 2023-01-14 05:50:40 -01:00
Pietro Carrara
43cc3fd465 Check if file fields are set on the API 2023-01-14 05:50:40 -01:00
Pietro Carrara
cb8c7ddd2e Load board config while generating json 2023-01-14 05:50:40 -01:00
Pietro Carrara
68dc6bb495 Check fields, use config paths 2023-01-14 05:50:40 -01:00
Pietro Carrara
3b9494e362 Use thumb, not thumb_path 2023-01-14 05:50:40 -01:00
Pietro Carrara
2b914f6145 Modify api image fields 2023-01-14 05:50:40 -01:00
b1629a33e9 Fix thumb_ext being ignored
When using ImageMagick's convert tool, the output defaults to the input format if no file extension or format is specified.
The temp file currently has no extension, so a $config['thumb_ext'] value has no effect on the image.
By appending the thumb_ext to the temp output file, it will convert the image to the intended format.
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
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
95fc4a1f42 Adds the proposed ffmpeg.php changes 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
Pietro Carrara
38065ff02c Add unique_ips field to the API 2023-01-14 05:50:40 -01:00
Pietro Carrara
7002bc7698 Add warning and ban messages to the API 2023-01-14 05:50:40 -01:00
Pietro Carrara
f60b4ea6b3 Enable API flags for user_flag and country_flags 2023-01-14 05:50:40 -01:00
Pietro Carrara
0b8c4b49b1 Enable non-country flags on the JSON api 2023-01-14 05:50:40 -01:00
Couchy
2a1d99a4bb Fix rejected images not being deleted
$file['thumb_path'] and $file['thumb_path'] need to be set before calling undoImage($file).
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
Benjamin Southall
768fd905fe Add support for gopher url:// markup as hyperlinks 2023-01-14 05:50:40 -01:00
Benjamin Southall
3c89b30861 Allow user to set the boardlist to point to catalog links instead of regular index page in Options.
Edited to only affect local board links, not external index.html links.
2023-01-14 05:50:40 -01:00
H1K1CH4N
6906318d4e Fixed deletion of mod archive thread.
This should remove the 'Page or post not found' error when trying to deleted a thread from the mod archive.
2023-01-14 05:50:40 -01:00
PupperWoff
6d80285513 Add image spoiler flag to JSON API 2023-01-14 05:50:40 -01:00
PupperWoff
e754a6fead Added: Archive moves json files to archive too 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
37b37f0e04 BugFix: Removed markup that was shown in title of thread. 2023-01-14 05:50:40 -01:00
PupperWoff
d568e5a311 BugFix - Shadow Delete - if spoilered image getting "extension" index error 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
81bdcfdf6d Added multiple file select dialog for post form
Completely revamped, code by Discomrade
Moved filepaths processing loops into a function for easier maintainance
2023-01-14 05:50:40 -01:00
PupperWoff
9083090c46 Changed archive list to order by thread ID and not archive time (added option to change it via function call) 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
fca78a3a04 BugFix - Small BugFix to Archive and Voting (adding line of text) 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
371d87e840 Bugfix - Small bugfix 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