From: Banana Date: Thu, 19 Jun 2025 20:19:35 +0000 (+0200) Subject: version 1.6 Neon X-Git-Tag: 1.6^2 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=f041022b206719216dc59c40885513bceb9e3bd1;p=selfpaste.git version 1.6 Neon Signed-off-by: Banana --- diff --git a/CHANGELOG b/CHANGELOG index a70e7d1..d00ca40 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ -yyyymmdd version 1.x Neon +20250619 version 1.6 Neon +* Required PHP 8.3 now. * Moved and added settings to config file. See update.txt * Better logging * Updated client/webclient diff --git a/VERSION b/VERSION index f41d507..b25e74e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.x Neon +1.6 Neon diff --git a/documentation/requirements.txt b/documentation/requirements.txt index 63d5c02..b541592 100644 --- a/documentation/requirements.txt +++ b/documentation/requirements.txt @@ -1,4 +1,4 @@ -PHP >= 8.1 +PHP >= 8.3 Apache >= 2.4 - mod_deflate - mod_rewrite diff --git a/documentation/setup.txt b/documentation/setup.txt index 86dd763..307600d 100644 --- a/documentation/setup.txt +++ b/documentation/setup.txt @@ -1,7 +1,7 @@ Unpack and move everything in the webroot folder to a web-accessible folder into your webserver. -Rename config.default.php t config.php. +Rename config.default.php to config.php. Open config.php, read the comments and make your changes. diff --git a/documentation/update.txt b/documentation/update.txt index 15c973c..e44fc9e 100644 --- a/documentation/update.txt +++ b/documentation/update.txt @@ -5,7 +5,7 @@ Update process is as follows: - update your config.php - make sure of any special update steps listed below. -## x.x Neon +## 1.6 Neon Moved and added settings to config file. See config.default.php Make sure to add (with default values): const DEBUG = false; diff --git a/webroot/lib/summoner.class.php b/webroot/lib/summoner.class.php index 7d51b4f..720c436 100644 --- a/webroot/lib/summoner.class.php +++ b/webroot/lib/summoner.class.php @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. * - * 2019 - 2023 https://://www.bananas-playground.net/projekt/selfpaste + * 2019 - 2025 https://://www.bananas-playground.net/projekt/selfpaste */ /** @@ -165,6 +165,7 @@ class Summoner { * create a short string based on a integer * * @see https://www.jwz.org/base64-shortlinks/ + * @param string $id * @return string */ static function b64sl_pack_id(string $id): string {