mikuli.cz

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

commit e9304d6d449ec95e1a5671cb6fccee357ff93772
parent e605ca83679aaa4aa9161a1c6143a801799bddc3
Author: markseu <mark2011@mayberg.se>
Date:   Sun, 17 Apr 2022 02:46:56 +0200

Updated API, replaced extension HelpUrl with DocumentationUrl

Diffstat:
Msystem/extensions/command.php | 4++--
Msystem/extensions/install-blog.bin | 0
Msystem/extensions/install-language.bin | 0
Msystem/extensions/install-wiki.bin | 0
Msystem/extensions/update-current.ini | 30+++++++++++++++---------------
Msystem/extensions/update.php | 4++--
6 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/system/extensions/command.php b/system/extensions/command.php @@ -2,7 +2,7 @@ // Command extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/command class YellowCommand { - const VERSION = "0.8.36"; + const VERSION = "0.8.37"; public $yellow; // access to API public $files; // number of files public $links; // number of links @@ -50,7 +50,7 @@ class YellowCommand { if ($this->yellow->extension->isExisting("update")) { list($dummy, $settingsCurrent) = $this->yellow->extension->get("update")->getExtensionSettings(false); foreach ($settingsCurrent as $key=>$value) { - $documentation = $value->isExisting("helpUrl") ? $value->get("helpUrl") : "No documentation available"; + $documentation = $value->isExisting("documentationUrl") ? $value->get("documentationUrl") : "No documentation available"; echo ucfirst($key)." ".$value->get("version")." - $documentation\n"; } } else { diff --git a/system/extensions/install-blog.bin b/system/extensions/install-blog.bin Binary files differ. diff --git a/system/extensions/install-language.bin b/system/extensions/install-language.bin Binary files differ. diff --git a/system/extensions/install-wiki.bin b/system/extensions/install-wiki.bin Binary files differ. diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -3,7 +3,7 @@ Extension: Bundle Version: 0.8.25 Description: Bundle website files. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/bundle +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/bundle DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/bundle.zip Published: 2022-04-13 18:41:53 Developer: Datenstrom @@ -11,11 +11,11 @@ Tag: feature system/extensions/bundle.php: bundle.php, create, update Extension: Command -Version: 0.8.36 +Version: 0.8.37 Description: Command line of the website. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/command.zip -Published: 2022-04-15 12:40:46 +Published: 2022-04-17 02:25:54 Developer: Datenstrom Tag: feature system/extensions/command.php: command.php, create, update @@ -23,7 +23,7 @@ system/extensions/command.php: command.php, create, update Extension: Core Version: 0.8.68 Description: Core functionality of the website. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/core.zip Published: 2022-04-17 02:00:23 Developer: Datenstrom @@ -39,7 +39,7 @@ system/layouts/pagination.html: pagination.html, create, update, careful Extension: Edit Version: 0.8.56 Description: Edit your website in a web browser. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip Published: 2022-03-11 00:51:13 Developer: Datenstrom @@ -54,7 +54,7 @@ content/shared/page-new-default.md: page-new-default.md, create, optional Extension: Image Version: 0.8.14 Description: Images and thumbnails. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/image +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/image DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/image.zip Published: 2022-04-13 18:42:22 Developer: Datenstrom @@ -66,7 +66,7 @@ media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional Extension: Install Version: 0.8.68 Description: Install a brand new, shiny website. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/install +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/install DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/install.zip Published: 2022-04-17 01:09:22 Developer: Datenstrom @@ -88,7 +88,7 @@ media/downloads/yellow.pdf: yellow.pdf, create Extension: Markdown Version: 0.8.19 Description: Text formatting for humans. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/markdown +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/markdown DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/markdown.zip Published: 2022-01-20 17:20:03 Developer: Datenstrom @@ -98,7 +98,7 @@ system/extensions/markdown.php: markdown.php, create, update Extension: Meta Version: 0.8.14 Description: Meta data for social media sites. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/meta +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/meta DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/meta.zip Published: 2020-07-26 16:03:37 Developer: Datenstrom, Steffen Schultz @@ -108,7 +108,7 @@ system/extensions/meta.php: meta.php, create, update Extension: Serve Version: 0.8.19 Description: Built-in web server. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/serve +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/serve DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/serve.zip Published: 2022-04-16 21:28:27 Developer: Datenstrom @@ -118,7 +118,7 @@ system/extensions/serve.php: serve.php, create, update Extension: Stockholm Version: 0.8.11 Description: Stockholm is a clean theme. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/stockholm +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/stockholm DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/stockholm.zip Published: 2021-04-08 00:37:30 Designer: Datenstrom @@ -131,11 +131,11 @@ system/themes/stockholm-opensans-light.woff: stockholm-opensans-light.woff, crea system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful Extension: Update -Version: 0.8.69 +Version: 0.8.70 Description: Keep your website up to date. -HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update +DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/update.zip -Published: 2022-04-17 01:50:25 +Published: 2022-04-17 02:29:57 Developer: Datenstrom Tag: feature system/extensions/update.php: update.php, create, update diff --git a/system/extensions/update.php b/system/extensions/update.php @@ -2,7 +2,7 @@ // Update extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/update class YellowUpdate { - const VERSION = "0.8.69"; + const VERSION = "0.8.70"; const PRIORITY = "2"; public $yellow; // access to API public $extensions; // number of extensions @@ -180,7 +180,7 @@ class YellowUpdate { $output = "Datenstrom Yellow ".YellowCore::RELEASE." - <a href=\"".htmlspecialchars($url)."\">".htmlspecialchars($url)."</a><br />\n"; list($dummy, $settingsCurrent) = $this->getExtensionSettings(false); foreach ($settingsCurrent as $key=>$value) { - $documentation = $value->isExisting("helpUrl") ? "<a href=\"".htmlspecialchars($value->get("helpUrl"))."\">".htmlspecialchars($value->get("helpUrl"))."</a>" : "No documentation available"; + $documentation = $value->isExisting("documentationUrl") ? "<a href=\"".htmlspecialchars($value->get("documentationUrl"))."\">".htmlspecialchars($value->get("documentationUrl"))."</a>" : "No documentation available"; $output .= ucfirst($key)." ".$value->get("version")." - $documentation<br />\n"; } }