mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 955db6cf6c75939a4b03df484788bdefaec24e89
parent a964a7cfb912813afa8a2a60ac9648b0167629eb
Author: markseu <mark2011@mayberg.se>
Date:   Fri, 11 Nov 2022 11:59:33 +0100

Updated API, moved normalisation to lookup

Diffstat:
Msystem/extensions/core.php | 7+++++--
Msystem/extensions/update-current.ini | 4++--
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/system/extensions/core.php b/system/extensions/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/annaesvensson/yellow-core class YellowCore { - const VERSION = "0.8.101"; + const VERSION = "0.8.102"; const RELEASE = "0.8.21"; public $content; // content files public $media; // media files @@ -2809,7 +2809,10 @@ class YellowToolbox { return $this->getServer("HTTP_IF_MODIFIED_SINCE")==$lastModifiedFormatted; } - public function normaliseArguments($text, $appendSlash = true, $filterStrict = true) { return $this->yellow->lookup->normaliseArguments($text, $appendSlash, $filterStrict); } //TODO: remove later, for backwards compatibility + // TODO: remove later, for backwards compatibility + public function normaliseUpperLower($input) { return $this->yellow->lookup->normaliseArray($input); } + public function normaliseArguments($text, $appendSlash = true, $filterStrict = true) { return $this->yellow->lookup->normaliseArguments($text, $appendSlash, $filterStrict); } + public function normalisePath($text) { return $this->yellow->lookup->normalisePath($text); } } class YellowPage { diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -11,11 +11,11 @@ Tag: feature system/extensions/command.php: command.php, create, update Extension: Core -Version: 0.8.101 +Version: 0.8.102 Description: Core functionality of the website. DocumentationUrl: https://github.com/annaesvensson/yellow-core DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/core.zip -Published: 2022-11-10 15:28:28 +Published: 2022-11-11 11:56:13 Developer: Mark Seuffert, David Fehrmann Tag: feature system/extensions/core.php: core.php, create, update