Commit Graph

661 Commits

Author SHA1 Message Date
RealAngeleno
9a8ddccc9d allow cyclical images to be set independently of stickies 2024-01-30 10:05:44 -01:00
RealAngeleno
bc6460d6ab Update functions.php 2024-01-30 10:05:44 -01:00
e01f35814c Allow exclamation point after cite
Credit to 75236d6ae5
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
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
837fe4d6fa Check file exists before unlinking in 'file_unlink' 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
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
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
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
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
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
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
768fd905fe Add support for gopher url:// markup as hyperlinks 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
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
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
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
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
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
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
932b0b9e63 Bugfix - Bugfix to Archive code 2023-01-14 05:50:39 -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
Equus
91a6ea2d27 Fix bugs with post cite links
Fixes parentheses around cites (post quotes) - "(>>1)"
Uses lookaheads to prevent regex consuming the space after a post quote, instead of merely checking that it's there. As a result textually consecutive cites could not be separated by a single space.
2023-01-13 20:55:31 -01:00
PupperWoff
5419f49259 Added Functionality - Users can now post from catalog page
Fix multi-image.js is a few commits later
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
c8821a3dec Add moderation tools for file banning
Thank you PupperWof
2022-03-01 09:50:24 -01:00
fallenPineapple
83f40a7e4b Hide referrer. 2022-03-01 09:50:24 -01:00
Benjamin Southall
59d83ab7de Thumbnails for PDFs / other things #6 When locale fails to be loaded fallback on C.UTF-8 instead of C, so that boards with unicode characters in the name are not stripped by escape_shell_args 2022-03-01 09:48:01 -01:00
Benjamin Southall
5efe6d272d Added support for anonymous name generator to be a function in addition to being an array of names 2022-03-01 09:48:01 -01:00
Benjamin Southall
81720b3364 Add support for ignoring URLs when using word filters 2022-03-01 09:48:01 -01:00
Michael Walker
81aed5f42f Trim leading newlines and trailing whitespace from code blocks. 2022-03-01 09:48:01 -01:00
h00j
281dccb690 fix undefined index in cloak_mask/uncloak_mask 2021-04-01 22:30:22 +02:00
h00j
908b843854 move antibot functions 2021-02-13 21:14:06 +01:00
h00j
599fee5e21 use composer 2021-02-13 19:24:03 +01:00
h00j
bce71c1f98 ip cloaking 2021-02-13 14:11:41 +01:00
Sardach
19151def82 insignificant fix
PHP7 shows a warning when executing tools/rebuild2.php: "Declaration of case-insensitive constants is deprecated"
$group_name and $group_value really not need be case-insensitive, so i simply removed that "true".
2020-10-31 04:24:21 -07:00
papereth
a268004c7a
Fix wrong variable used in ban lookup (#376)
` $_SERVER['REMOTE_ADDR']` was hardcoded in ban lookup instead of `$ip` variable
2020-08-09 18:31:50 -07:00
Daniel Saunders
c7e5cd6814 $board can be NULL here, prevent indexing it
Simplest 7.4 fix ever? Possibly.
2020-01-20 10:37:10 +08:00
Fredrick Brennan
5e809047ad By default, no longer treat deprecations as errors
Close #363.

See also https://www.youtube.com/watch?v=9crnlHLVdno
2020-01-20 10:04:39 +08:00