Updated extensions for new folder structure

This commit is contained in:
markseu 2022-09-29 13:01:36 +02:00
parent 4d2320a8d5
commit 65d00b964e
14 changed files with 25 additions and 25 deletions

View file

@ -1,5 +1,5 @@
<?php
// Command extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/command
// Command extension, https://github.com/annaesvensson/yellow-command
class YellowCommand {
const VERSION = "0.8.42";

View file

@ -1,5 +1,5 @@
<?php
// Core extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/core
// Core extension, https://github.com/annaesvensson/yellow-core
class YellowCore {
const VERSION = "0.8.89";

View file

@ -1,4 +1,4 @@
/* Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit */
/* Edit extension, https://github.com/annaesvensson/yellow-edit */
.yellow-bar {
position: relative;

View file

@ -1,4 +1,4 @@
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
// Edit extension, https://github.com/annaesvensson/yellow-edit
var yellow = {
onLoad: function(e) { yellow.edit.load(e); },

View file

@ -1,5 +1,5 @@
<?php
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
// Edit extension, https://github.com/annaesvensson/yellow-edit
class YellowEdit {
const VERSION = "0.8.63";

View file

@ -1,5 +1,5 @@
<?php
// Install extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/install
// Install extension, https://github.com/annaesvensson/yellow-install
class YellowInstall {
const VERSION = "0.8.76";

View file

@ -1,5 +1,5 @@
<?php
// Markdown extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/markdown
// Markdown extension, https://github.com/annaesvensson/yellow-markdown
class YellowMarkdown {
const VERSION = "0.8.22";

View file

@ -1,5 +1,5 @@
<?php
// Meta extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/meta
// Meta extension, https://github.com/annaesvensson/yellow-meta
class YellowMeta {
const VERSION = "0.8.15";

View file

@ -1,5 +1,5 @@
<?php
// Serve extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/serve
// Serve extension, https://github.com/annaesvensson/yellow-serve
class YellowServe {
const VERSION = "0.8.20";

View file

@ -1,5 +1,5 @@
<?php
// Stockholm extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/stockholm
// Stockholm extension, https://github.com/annaesvensson/yellow-stockholm
class YellowStockholm {
const VERSION = "0.8.13";

View file

@ -3,8 +3,8 @@
Extension: Command
Version: 0.8.42
Description: Command line of the website.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/command.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-command
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/command.zip
Published: 2022-09-22 10:13:59
Developer: Datenstrom
Tag: feature
@ -13,8 +13,8 @@ system/extensions/command.php: command.php, create, update
Extension: Core
Version: 0.8.89
Description: Core functionality of the website.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/core.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/core.zip
Published: 2022-06-22 21:10:40
Developer: Datenstrom
Tag: feature
@ -29,8 +29,8 @@ system/layouts/pagination.html: pagination.html, create, update, careful
Extension: Edit
Version: 0.8.63
Description: Edit your website in a web browser.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/edit.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/edit.zip
Published: 2022-05-20 11:14:14
Developer: Datenstrom
Tag: feature
@ -57,7 +57,7 @@ Extension: Install
Version: 0.8.76
Description: Install a brand new, shiny website.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/install
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/install.zip
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/install.zip
Published: 2022-09-28 21:14:00
Developer: Datenstrom
Status: unlisted
@ -108,10 +108,10 @@ system/extensions/serve.php: serve.php, create, update
Extension: Stockholm
Version: 0.8.13
Description: Stockholm is a clean theme.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/stockholm
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/stockholm.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-stockholm
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/stockholm.zip
Published: 2022-06-15 16:03:38
Designer: Datenstrom
Designer: Anna Svensson
Tag: theme
system/extensions/stockholm.php: stockholm.php, create, update
system/themes/stockholm.css: stockholm.css, create, update, careful
@ -123,8 +123,8 @@ system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff,
Extension: Update
Version: 0.8.81
Description: Keep your website up to date.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/downloads/update.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/update.zip
Published: 2022-09-26 19:42:02
Developer: Datenstrom
Tag: feature

View file

@ -1,5 +1,5 @@
<?php
// Update extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/update
// Update extension, https://github.com/annaesvensson/yellow-update
class YellowUpdate {
const VERSION = "0.8.81";
@ -721,7 +721,7 @@ class YellowUpdate {
$fileNameLatest = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateLatestFile");
$expire = $this->yellow->toolbox->getFileModified($fileNameLatest) + 60*10;
if ($expire<=time()) {
$url = $this->yellow->system->get("updateExtensionUrl")."/raw/master/".$this->yellow->system->get("updateLatestFile");
$url = $this->yellow->system->get("updateExtensionUrl")."/raw/main/".$this->yellow->system->get("updateLatestFile");
list($statusCode, $fileData) = $this->getExtensionFile($url);
if ($statusCode==200 && !$this->yellow->toolbox->createFile($fileNameLatest, $fileData)) {
$statusCode = 500;

View file

@ -1,4 +1,4 @@
/* Stockholm extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/stockholm */
/* Stockholm extension, https://github.com/annaesvensson/yellow-stockholm */
/* Colors and fonts */