diff --git a/README-de.md b/README-de.md index e504f6a..faa9833 100644 --- a/README-de.md +++ b/README-de.md @@ -1,6 +1,6 @@

Deutsch   English   Svenska

-# Datenstrom Yellow 0.8.23 +# Datenstrom Yellow 0.9 Datenstrom Yellow ist für Menschen die kleine Webseiten machen. [Demo ausprobieren](https://datenstrom.se/de/yellow/demo/). diff --git a/README-sv.md b/README-sv.md index 6c02628..1ba3cc0 100644 --- a/README-sv.md +++ b/README-sv.md @@ -1,6 +1,6 @@

Deutsch   English   Svenska

-# Datenstrom Yellow 0.8.23 +# Datenstrom Yellow 0.9 Datenstrom Yellow är för människor som skapar små webbsidor. [Prova demon](https://datenstrom.se/sv/yellow/demo/). diff --git a/README.md b/README.md index 7587d1a..78d6997 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

Deutsch   English   Svenska

-# Datenstrom Yellow 0.8.23 +# Datenstrom Yellow 0.9 Datenstrom Yellow is for people who make small websites. [Try the demo](https://datenstrom.se/yellow/demo/). diff --git a/content/1-home/page.md b/content/1-home/page.md index e025496..6e3c876 100755 --- a/content/1-home/page.md +++ b/content/1-home/page.md @@ -3,4 +3,4 @@ Title: Home --- [image photo.jpg Example rounded] -[edit - You can edit this page in a web browser] or use a text editor. [Get help](https://datenstrom.se/yellow/help/). +[edit - You can edit this page] or use a text editor. [Get help](https://datenstrom.se/yellow/help/). diff --git a/media/downloads/yellow.pdf b/media/downloads/yellow.pdf deleted file mode 100644 index 172d985..0000000 Binary files a/media/downloads/yellow.pdf and /dev/null differ diff --git a/system/extensions/install-blog.bin b/system/extensions/install-blog.bin deleted file mode 100644 index 88eac92..0000000 Binary files a/system/extensions/install-blog.bin and /dev/null differ diff --git a/system/extensions/install-language.bin b/system/extensions/install-language.bin deleted file mode 100644 index 7be30f0..0000000 Binary files a/system/extensions/install-language.bin and /dev/null differ diff --git a/system/extensions/install-wiki.bin b/system/extensions/install-wiki.bin deleted file mode 100644 index eda6595..0000000 Binary files a/system/extensions/install-wiki.bin and /dev/null differ diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini index 4bb87a6..d92f0f7 100644 --- a/system/extensions/update-available.ini +++ b/system/extensions/update-available.ini @@ -44,16 +44,16 @@ system/themes/berlin-opensans-light.woff: berlin-opensans-light.woff, create, up system/themes/berlin-opensans-regular.woff: berlin-opensans-regular.woff, create, update, careful Extension: Blog -Version: 0.8.31 +Version: 0.9.1 Description: Blog for your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-blog/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-blog DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:52:01 +Published: 2024-04-04 17:13:35 Status: available -system/extensions/blog.php: blog.php, create, update +system/workers/blog.php: blog.php, create, update system/layouts/blog.html: blog.html, create, update, careful system/layouts/blog-start.html: blog-start.html, create, update, careful content/shared/page-new-blog.md: page-new-blog.md, create, optional @@ -74,27 +74,27 @@ Status: available system/extensions/breadcrumb.php: breadcrumb.php, create, update Extension: Bundle -Version: 0.8.32 +Version: 0.9.1 Description: Bundle website files. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-bundle/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-bundle DocumentationLanguage: en, de, sv -Published: 2024-03-28 14:29:53 +Published: 2024-04-04 16:35:34 Status: available -system/extensions/bundle.php: bundle.php, create, update +system/workers/bundle.php: bundle.php, create, update Extension: Catalan -Version: 0.8.44 +Version: 0.9.1 Description: Catalan language. Translator: Andreu Ferrer Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/catalan.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/catalan -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:22 Status: available -system/extensions/catalan.php: catalan.php, create, update +system/workers/catalan.php: catalan.php, create, update Extension: Check Version: 0.8.2 @@ -109,15 +109,15 @@ Status: available system/extensions/check.php: check.php, create, update Extension: Chinese -Version: 0.8.44 +Version: 0.9.1 Description: Chinese language. Translator: Hyson Lee Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/chinese.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/chinese -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:33 Status: available -system/extensions/chinese.php: chinese.php, create, update +system/workers/chinese.php: chinese.php, create, update Extension: Contact Version: 0.8.25 @@ -148,16 +148,16 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful system/themes/copenhagen.png: copenhagen.png, create Extension: Core -Version: 0.8.133 +Version: 0.9.1 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-03 21:29:08 +Published: 2024-04-04 14:38:12 Status: available -system/extensions/core.php: core.php, create, update +system/workers/core.php: core.php, create, update system/layouts/default.html: default.html, create, update, careful system/layouts/error.html: error.html, create, update, careful system/layouts/header.html: header.html, create, update, careful @@ -166,26 +166,26 @@ system/layouts/navigation.html: navigation.html, create, update, careful system/layouts/pagination.html: pagination.html, create, update, careful Extension: Czech -Version: 0.8.44 +Version: 0.9.1 Description: Czech language. Translator: Ufo Vyhuleny Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/czech.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/czech -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:36 Status: available -system/extensions/czech.php: czech.php, create, update +system/workers/czech.php: czech.php, create, update Extension: Danish -Version: 0.8.44 +Version: 0.9.1 Description: Danish language. Translator: David Garcia Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/danish.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/danish -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:38 Status: available -system/extensions/danish.php: danish.php, create, update +system/workers/danish.php: danish.php, create, update Extension: Draft Version: 0.8.18 @@ -200,31 +200,31 @@ Status: available system/extensions/draft.php: draft.php, create, update Extension: Dutch -Version: 0.8.44 +Version: 0.9.1 Description: Dutch language. Translator: Robin Vannieuwenhuijse Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/dutch.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/dutch -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:42 Status: available -system/extensions/dutch.php: dutch.php, create, update +system/workers/dutch.php: dutch.php, create, update Extension: Edit -Version: 0.8.79 +Version: 0.9.1 Description: Edit your website in a web browser. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-edit DocumentationLanguage: en, de, sv -Published: 2024-04-03 19:54:42 +Published: 2024-04-04 14:52:31 Status: available -system/extensions/edit.php: edit.php, create, update -system/extensions/edit.css: edit.css, create, update -system/extensions/edit.js: edit.js, create, update -system/extensions/edit-stack.svg: edit-stack.svg, create, update -system/extensions/edit.woff: edit.woff, delete +system/workers/edit.php: edit.php, create, update +system/workers/edit.css: edit.css, create, update +system/workers/edit.js: edit.js, create, update +system/workers/edit-stack.svg: edit-stack.svg, create, update +system/workers/edit.woff: edit.woff, delete content/shared/page-new-default.md: page-new-default.md, create, optional Extension: Emoji @@ -250,15 +250,15 @@ system/extensions/emoji-extra7-stack.svg: emoji-extra7-stack.svg, create, update system/extensions/emoji-flags-stack.svg: emoji-flags-stack.svg, create, update Extension: English -Version: 0.8.44 +Version: 0.9.1 Description: English language. Translator: Mark Seuffert Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/english.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/english -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:20:39 Status: available -system/extensions/english.php: english.php, create, update +system/workers/english.php: english.php, create, update Extension: Feed Version: 0.8.25 @@ -275,15 +275,15 @@ system/layouts/feed.html: feed.html, create, update, careful content/feed/page.md: page.md, create, optional Extension: French -Version: 0.8.44 +Version: 0.9.1 Description: French language. Translator: Juh Nibreh Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/french.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/french -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:46 Status: available -system/extensions/french.php: french.php, create, update +system/workers/french.php: french.php, create, update Extension: Gallery Version: 0.8.19 @@ -304,27 +304,27 @@ system/extensions/gallery-default-skin.svg: gallery-default-skin.svg, create, up system/extensions/gallery-preloader.gif: gallery-preloader.gif, create, update Extension: Generate -Version: 0.8.54 +Version: 0.9.1 Description: Generate a static website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-generate/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-generate DocumentationLanguage: en, de, sv -Published: 2024-03-29 20:45:42 +Published: 2024-04-04 14:55:02 Status: available -system/extensions/generate.php: generate.php, create, update +system/workers/generate.php: generate.php, create, update Extension: German -Version: 0.8.44 +Version: 0.9.1 Description: German language. Translator: David Fehrmann Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/german.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/german -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:20:49 Status: available -system/extensions/german.php: german.php, create, update +system/workers/german.php: german.php, create, update Extension: Googlecalendar Version: 0.8.18 @@ -384,37 +384,37 @@ media/images/language-en.png: language-en.png, create, optional media/images/language-sv.png: language-sv.png, create, optional Extension: Highlight -Version: 0.8.18 +Version: 0.9.1 Description: Highlight source code. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-highlight/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-highlight DocumentationLanguage: en, de, sv -Published: 2024-04-03 10:13:46 +Published: 2024-04-04 16:36:43 Status: available -system/extensions/highlight.php: highlight.php, create, update -system/extensions/highlight.css: highlight.css, create, update -system/extensions/highlight-cpp.json: highlight-cpp.json, create, update -system/extensions/highlight-css.json: highlight-css.json, create, update -system/extensions/highlight-javascript.json: highlight-javascript.json, create, update -system/extensions/highlight-json.json: highlight-json.json, create, update -system/extensions/highlight-lua.json: highlight-lua.json, create, update -system/extensions/highlight-php.json: highlight-php.json, create, update -system/extensions/highlight-python.json: highlight-python.json, create, update -system/extensions/highlight-xml.json: highlight-xml.json, create, update -system/extensions/highlight-yaml.json: highlight-yaml.json, create, update +system/workers/highlight.php: highlight.php, create, update +system/workers/highlight.css: highlight.css, create, update +system/workers/highlight-cpp.json: highlight-cpp.json, create, update +system/workers/highlight-css.json: highlight-css.json, create, update +system/workers/highlight-javascript.json: highlight-javascript.json, create, update +system/workers/highlight-json.json: highlight-json.json, create, update +system/workers/highlight-lua.json: highlight-lua.json, create, update +system/workers/highlight-php.json: highlight-php.json, create, update +system/workers/highlight-python.json: highlight-python.json, create, update +system/workers/highlight-xml.json: highlight-xml.json, create, update +system/workers/highlight-yaml.json: highlight-yaml.json, create, update Extension: Hungarian -Version: 0.8.44 +Version: 0.9.1 Description: Hungarian language. Translator: Ádám Tuba Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/hungarian.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/hungarian -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:50 Status: available -system/extensions/hungarian.php: hungarian.php, create, update +system/workers/hungarian.php: hungarian.php, create, update Extension: Icon Version: 0.8.15 @@ -431,16 +431,16 @@ system/extensions/icon.css: icon.css, create, update system/extensions/icon.woff: icon.woff, create, update Extension: Image -Version: 0.8.20 +Version: 0.9.1 Description: Add images and thumbnails. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-image/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-image DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:49:07 +Published: 2024-04-04 14:56:26 Status: available -system/extensions/image.php: image.php, create, update +system/workers/image.php: image.php, create, update media/images/photo.jpg: photo.jpg, create, optional media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional @@ -456,26 +456,26 @@ system/extensions/instagram.php: instagram.php, create, update system/extensions/instagram.js: instagram.js, create, update Extension: Italian -Version: 0.8.44 +Version: 0.9.1 Description: Italian language. Translator: Giovanni Salmeri Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/italian.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/italian -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:53 Status: available -system/extensions/italian.php: italian.php, create, update +system/workers/italian.php: italian.php, create, update Extension: Japanese -Version: 0.8.44 +Version: 0.9.1 Description: Japanese language. Translator: Yuhko Senuma, Tomonori Ikeda Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/japanese.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/japanese -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:56 Status: available -system/extensions/japanese.php: japanese.php, create, update +system/workers/japanese.php: japanese.php, create, update Extension: Karlskrona Version: 0.8.19 @@ -501,39 +501,39 @@ system/themes/karlskrona.css: karlskrona.css, create, update, careful system/themes/karlskrona.png: karlskrona.png, create Extension: Markdown -Version: 0.8.28 +Version: 0.9.1 Description: Text formatting for humans. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-markdown/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-markdown DocumentationLanguage: en, de, sv -Published: 2024-04-03 10:08:24 +Published: 2024-04-04 14:58:34 Status: available -system/extensions/markdown.php: markdown.php, create, update +system/workers/markdown.php: markdown.php, create, update Extension: Meta -Version: 0.8.17 +Version: 0.9.1 Description: Meta data for humans and machines. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-meta/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-meta DocumentationLanguage: en, de, sv -Published: 2023-05-19 00:58:40 +Published: 2024-04-04 20:54:52 Status: available -system/extensions/meta.php: meta.php, create, update +system/workers/meta.php: meta.php, create, update Extension: Norwegian -Version: 0.8.44 +Version: 0.9.1 Description: Norwegian language. Translator: Per Arne Solvik Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/norwegian.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/norwegian -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:23:59 Status: available -system/extensions/norwegian.php: norwegian.php, create, update +system/workers/norwegian.php: norwegian.php, create, update Extension: Paris Version: 0.8.14 @@ -556,26 +556,26 @@ system/themes/paris-opensans-light.woff: paris-opensans-light.woff, create, upda system/themes/paris-opensans-regular.woff: paris-opensans-regular.woff, create, update, careful Extension: Polish -Version: 0.8.44 +Version: 0.9.1 Description: Polish language. Translator: Paweł Klockiewicz, Kanbeq Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/polish.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/polish -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:03 Status: available -system/extensions/polish.php: polish.php, create, update +system/workers/polish.php: polish.php, create, update Extension: Portuguese -Version: 0.8.44 +Version: 0.9.1 Description: Portuguese language. Translator: Al Garcia Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/portuguese.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/portuguese -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:07 Status: available -system/extensions/portuguese.php: portuguese.php, create, update +system/workers/portuguese.php: portuguese.php, create, update Extension: Previousnext Version: 0.8.19 @@ -602,16 +602,16 @@ Status: available system/extensions/private.php: private.php, create, update Extension: Publish -Version: 0.8.73 +Version: 0.9.1 Description: Make and publish extensions. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-publish/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-publish DocumentationLanguage: en, de, sv -Published: 2024-03-21 22:24:10 +Published: 2024-04-04 15:11:41 Status: available -system/extensions/publish.php: publish.php, create, update +system/workers/publish.php: publish.php, create, update Extension: Readingtime Version: 0.8.22 @@ -626,15 +626,15 @@ Status: available system/extensions/readingtime.php: readingtime.php, create, update Extension: Russian -Version: 0.8.44 +Version: 0.9.1 Description: Russian language. Translator: Сергей Ворон Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/russian.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/russian -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:11 Status: available -system/extensions/russian.php: russian.php, create, update +system/workers/russian.php: russian.php, create, update Extension: Search Version: 0.8.30 @@ -651,16 +651,16 @@ system/layouts/search.html: search.html, create, update, careful content/search/page.md: page.md, create, optional Extension: Serve -Version: 0.8.24 +Version: 0.9.1 Description: Built-in web server. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-serve/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-serve DocumentationLanguage: en, de, sv -Published: 2023-05-25 22:35:15 +Published: 2024-04-04 15:00:12 Status: available -system/extensions/serve.php: serve.php, create, update +system/workers/serve.php: serve.php, create, update Extension: Sitemap Version: 0.8.15 @@ -692,38 +692,38 @@ system/extensions/slider.css: slider.css, create, update system/extensions/slider-splide.min.js: slider-splide.min.js, create, update Extension: Slovak -Version: 0.8.44 +Version: 0.9.1 Description: Slovak language. Translator: Ádám Tuba Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/slovak.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/slovak -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:13 Status: available -system/extensions/slovak.php: slovak.php, create, update +system/workers/slovak.php: slovak.php, create, update Extension: Spanish -Version: 0.8.44 +Version: 0.9.1 Description: Spanish language. Translator: Al Garcia, David Garcia Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/spanish.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/spanish -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:16 Status: available -system/extensions/spanish.php: spanish.php, create, update +system/workers/spanish.php: spanish.php, create, update Extension: Stockholm -Version: 0.8.14 +Version: 0.9.1 Description: Stockholm is a clean theme. Designer: Anna Svensson Tag: default, theme DownloadUrl: https://github.com/annaesvensson/yellow-stockholm/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-stockholm DocumentationLanguage: en, de, sv -Published: 2024-04-20 18:43:38 +Published: 2024-04-04 15:00:52 Status: available -system/extensions/stockholm.php: stockholm.php, create, update +system/workers/stockholm.php: stockholm.php, create, update system/themes/stockholm.css: stockholm.css, create, update, careful system/themes/stockholm.png: stockholm.png, create system/themes/stockholm-opensans-bold.woff: stockholm-opensans-bold.woff, create, update, careful @@ -731,15 +731,15 @@ 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: Swedish -Version: 0.8.44 +Version: 0.9.1 Description: Swedish language. Translator: Anna Svensson Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/swedish.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/swedish -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:20 Status: available -system/extensions/swedish.php: swedish.php, create, update +system/workers/swedish.php: swedish.php, create, update Extension: Toc Version: 0.8.11 @@ -766,40 +766,41 @@ Status: available system/extensions/traffic.php: traffic.php, create, update Extension: Turkish -Version: 0.8.44 +Version: 0.9.1 Description: Turkish language. Translator: Osman Kars Tag: language DownloadUrl: https://github.com/annaesvensson/yellow-language/raw/main/downloads/turkish.zip DocumentationUrl: https://github.com/annaesvensson/yellow-language/tree/main/translations/turkish -Published: 2024-03-21 00:16:05 +Published: 2024-04-04 15:24:23 Status: available -system/extensions/turkish.php: turkish.php, create, update +system/workers/turkish.php: turkish.php, create, update Extension: Update -Version: 0.8.101 +Version: 0.9.1 Description: Keep your website up to date. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-update/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-update DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:50:26 +Published: 2024-04-04 15:10:35 Status: available -system/extensions/update.php: update.php, create, update +system/workers/update.php: update.php, create, update +system/workers/updatepatch.bin: updatepatch.php, create, additional system/extensions/updatepatch.bin: updatepatch.php, create, additional Extension: Wiki -Version: 0.8.31 +Version: 0.9.1 Description: Wiki for your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-wiki/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-wiki DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:51:50 +Published: 2024-04-04 17:13:33 Status: available -system/extensions/wiki.php: wiki.php, create, update +system/workers/wiki.php: wiki.php, create, update system/layouts/wiki.html: wiki.html, create, update, careful system/layouts/wiki-start.html: wiki-start.html, create, update, careful content/shared/page-new-wiki.md: page-new-wiki.md, create, optional diff --git a/system/extensions/update-current.ini b/system/extensions/yellow-extension.ini similarity index 71% rename from system/extensions/update-current.ini rename to system/extensions/yellow-extension.ini index 77b9c68..87c13f4 100755 --- a/system/extensions/update-current.ini +++ b/system/extensions/yellow-extension.ini @@ -1,16 +1,16 @@ -# Datenstrom Yellow update settings for installed extensions +# Datenstrom Yellow extension settings Extension: Core -Version: 0.8.133 +Version: 0.9.1 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-03 21:29:08 +Published: 2024-04-04 14:38:12 Status: available -system/extensions/core.php: core.php, create, update +system/workers/core.php: core.php, create, update system/layouts/default.html: default.html, create, update, careful system/layouts/error.html: error.html, create, update, careful system/layouts/header.html: header.html, create, update, careful @@ -19,106 +19,108 @@ system/layouts/navigation.html: navigation.html, create, update, careful system/layouts/pagination.html: pagination.html, create, update, careful Extension: Edit -Version: 0.8.79 +Version: 0.9.1 Description: Edit your website in a web browser. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-edit DocumentationLanguage: en, de, sv -Published: 2024-04-03 19:54:42 +Published: 2024-04-04 14:52:31 Status: available -system/extensions/edit.php: edit.php, create, update -system/extensions/edit.css: edit.css, create, update -system/extensions/edit.js: edit.js, create, update -system/extensions/edit-stack.svg: edit-stack.svg, create, update -system/extensions/edit.woff: edit.woff, delete +system/workers/edit.php: edit.php, create, update +system/workers/edit.css: edit.css, create, update +system/workers/edit.js: edit.js, create, update +system/workers/edit-stack.svg: edit-stack.svg, create, update +system/workers/edit.woff: edit.woff, delete content/shared/page-new-default.md: page-new-default.md, create, optional Extension: Generate -Version: 0.8.54 +Version: 0.9.1 Description: Generate a static website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-generate/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-generate DocumentationLanguage: en, de, sv -Published: 2024-03-29 20:45:42 +Published: 2024-04-04 14:55:02 Status: available -system/extensions/generate.php: generate.php, create, update +system/workers/generate.php: generate.php, create, update Extension: Image -Version: 0.8.20 +Version: 0.9.1 Description: Add images and thumbnails. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-image/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-image DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:49:07 +Published: 2024-04-04 14:56:26 Status: available -system/extensions/image.php: image.php, create, update +system/workers/image.php: image.php, create, update media/images/photo.jpg: photo.jpg, create, optional media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional Extension: Install -Version: 0.8.95 +Version: 0.9.1 Description: Install a brand new website. Developer: Anna Svensson DownloadUrl: https://github.com/annaesvensson/yellow-install/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-install DocumentationLanguage: en, de, sv -Published: 2024-04-01 15:57:41 +Published: 2024-04-04 14:49:36 Status: unassembled -system/extensions/install.php: install.php, create -system/extensions/install-language.bin: install-language.bin, compress @source/yellow-language/, create -system/extensions/install-wiki.bin: install-wiki.bin, compress @source/yellow-wiki/, create -system/extensions/install-blog.bin: install-blog.bin, compress @source/yellow-blog/, create +system/workers/install.php: install.php, create +system/workers/install-language.bin: install-language.bin, compress @source/yellow-language/, create +system/workers/install-wiki.bin: install-wiki.bin, compress @source/yellow-wiki/, create +system/workers/install-blog.bin: install-blog.bin, compress @source/yellow-blog/, create system/extensions/yellow-system.ini: yellow-system.ini, create system/extensions/yellow-user.ini: yellow-user.ini, create system/extensions/yellow-language.ini: yellow-language.ini, create content/1-home/page.md: 1-home-page.md, create content/9-about/page.md: 9-about-page.md, create content/shared/page-error-404.md: page-error-404.md, create -media/downloads/yellow.pdf: yellow.pdf, create +media/downloads/yellow-english.pdf: yellow-english.pdf, create +media/downloads/yellow-deutsch.pdf: yellow-deutsch.pdf, create +media/downloads/yellow-svenska.pdf: yellow-svenska.pdf, create ./yellow.php: yellow.php, create ./robots.txt: robots.txt, create Extension: Markdown -Version: 0.8.28 +Version: 0.9.1 Description: Text formatting for humans. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-markdown/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-markdown DocumentationLanguage: en, de, sv -Published: 2024-04-03 10:08:24 +Published: 2024-04-04 14:58:34 Status: available -system/extensions/markdown.php: markdown.php, create, update +system/workers/markdown.php: markdown.php, create, update Extension: Serve -Version: 0.8.24 +Version: 0.9.1 Description: Built-in web server. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-serve/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-serve DocumentationLanguage: en, de, sv -Published: 2023-05-25 22:35:15 +Published: 2024-04-04 15:00:12 Status: available -system/extensions/serve.php: serve.php, create, update +system/workers/serve.php: serve.php, create, update Extension: Stockholm -Version: 0.8.14 +Version: 0.9.1 Description: Stockholm is a clean theme. Designer: Anna Svensson Tag: default, theme DownloadUrl: https://github.com/annaesvensson/yellow-stockholm/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-stockholm DocumentationLanguage: en, de, sv -Published: 2024-04-20 18:43:38 +Published: 2024-04-04 15:00:52 Status: available -system/extensions/stockholm.php: stockholm.php, create, update +system/workers/stockholm.php: stockholm.php, create, update system/themes/stockholm.css: stockholm.css, create, update, careful system/themes/stockholm.png: stockholm.png, create system/themes/stockholm-opensans-bold.woff: stockholm-opensans-bold.woff, create, update, careful @@ -126,14 +128,15 @@ 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.101 +Version: 0.9.1 Description: Keep your website up to date. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-update/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-update DocumentationLanguage: en, de, sv -Published: 2024-04-01 18:50:26 +Published: 2024-04-04 15:10:35 Status: available -system/extensions/update.php: update.php, create, update +system/workers/update.php: update.php, create, update +system/workers/updatepatch.bin: updatepatch.php, create, additional system/extensions/updatepatch.bin: updatepatch.php, create, additional diff --git a/system/extensions/core.php b/system/workers/core.php similarity index 98% rename from system/extensions/core.php rename to system/workers/core.php index 8a0f847..d42e5d4 100755 --- a/system/extensions/core.php +++ b/system/workers/core.php @@ -2,8 +2,8 @@ // Core extension, https://github.com/annaesvensson/yellow-core class YellowCore { - const VERSION = "0.8.133"; - const RELEASE = "0.8.23"; + const VERSION = "0.9.1"; + const RELEASE = "0.9"; public $content; // content files public $media; // media files public $system; // system settings @@ -40,13 +40,13 @@ class YellowCore { $this->system->setDefault("coreContentErrorFile", "page-error-(.*).md"); $this->system->setDefault("coreLanguageFile", "yellow-language.ini"); $this->system->setDefault("coreUserFile", "yellow-user.ini"); + $this->system->setDefault("coreExtensionFile", "yellow-extension.ini"); $this->system->setDefault("coreWebsiteFile", "yellow-website.log"); $this->system->setDefault("coreMediaLocation", "/media/"); $this->system->setDefault("coreDownloadLocation", "/media/downloads/"); $this->system->setDefault("coreImageLocation", "/media/images/"); $this->system->setDefault("coreThumbnailLocation", "/media/thumbnails/"); $this->system->setDefault("coreExtensionLocation", "/media/extensions/"); - $this->system->setDefault("coreThemeLocation", "/media/themes/"); $this->system->setDefault("coreMultiLanguageMode", "0"); $this->system->setDefault("coreDebugMode", "0"); } @@ -77,17 +77,19 @@ class YellowCore { $this->system->set("coreLayoutDirectory", "system/layouts/"); $this->system->set("coreThemeDirectory", "system/themes/"); $this->system->set("coreTrashDirectory", "system/trash/"); + $this->system->set("coreWorkerDirectory", "system/workers/"); list($pathInstall, $pathRoot, $pathHome) = $this->lookup->findFileSystemInformation(); $this->system->set("coreServerInstallDirectory", $pathInstall); $this->system->set("coreServerRootDirectory", $pathRoot); $this->system->set("coreServerHomeDirectory", $pathHome); + $this->system->set("coreThemeLocation", "/media/extensions/"); // TODO: remove later, for backwards compatibility register_shutdown_function(array($this, "processFatalError")); if ($this->system->get("coreDebugMode")>=1) { ini_set("display_errors", 1); error_reporting(E_ALL); } date_default_timezone_set($this->system->get("coreTimezone")); - $this->extension->load($this->system->get("coreExtensionDirectory")); + $this->extension->load($this->system->get("coreWorkerDirectory")); $this->language->load($this->system->get("coreExtensionDirectory").$this->system->get("coreLanguageFile")); $this->user->load($this->system->get("coreExtensionDirectory").$this->system->get("coreUserFile")); $this->startup(); @@ -1104,7 +1106,7 @@ class YellowLookup { // Return file system information public function findFileSystemInformation() { - $pathInstall = substru(__DIR__, 0, 1-strlenu($this->yellow->system->get("coreExtensionDirectory"))); + $pathInstall = substru(__DIR__, 0, 1-strlenu($this->yellow->system->get("coreWorkerDirectory"))); $pathBase = $this->yellow->system->get("coreContentDirectory"); $pathRoot = $this->yellow->system->get("coreMultiLanguageMode") ? "default/" : ""; $pathHome = "home/"; @@ -1287,16 +1289,16 @@ class YellowLookup { // Return media location from file path public function findMediaLocationFromFile($fileName) { $location = ""; - $extensionDirectoryLength = strlenu($this->yellow->system->get("coreExtensionDirectory")); $themeDirectoryLength = strlenu($this->yellow->system->get("coreThemeDirectory")); + $workerDirectoryLength = strlenu($this->yellow->system->get("coreWorkerDirectory")); $mediaDirectoryLength = strlenu($this->yellow->system->get("coreMediaDirectory")); - if (substru($fileName, 0, $extensionDirectoryLength)==$this->yellow->system->get("coreExtensionDirectory")) { - if ($this->isSafeFile($fileName)) { - $location = $this->yellow->system->get("coreExtensionLocation").substru($fileName, $extensionDirectoryLength); + if (substru($fileName, 0, $themeDirectoryLength)==$this->yellow->system->get("coreThemeDirectory")) { + if ($this->isSafeFile($fileName)) { + $location = $this->yellow->system->get("coreExtensionLocation").substru($fileName, $themeDirectoryLength); } - } elseif (substru($fileName, 0, $themeDirectoryLength)==$this->yellow->system->get("coreThemeDirectory")) { + } elseif (substru($fileName, 0, $workerDirectoryLength)==$this->yellow->system->get("coreWorkerDirectory")) { if ($this->isSafeFile($fileName)) { - $location = $this->yellow->system->get("coreThemeLocation").substru($fileName, $themeDirectoryLength); + $location = $this->yellow->system->get("coreExtensionLocation").substru($fileName, $workerDirectoryLength); } } elseif (substru($fileName, 0, $mediaDirectoryLength)==$this->yellow->system->get("coreMediaDirectory")) { $location = "/".$fileName; @@ -1308,15 +1310,12 @@ class YellowLookup { public function findFileFromMediaLocation($location) { $fileName = ""; $extensionLocationLength = strlenu($this->yellow->system->get("coreExtensionLocation")); - $themeLocationLength = strlenu($this->yellow->system->get("coreThemeLocation")); $mediaLocationLength = strlenu($this->yellow->system->get("coreMediaLocation")); if (substru($location, 0, $extensionLocationLength)==$this->yellow->system->get("coreExtensionLocation")) { if ($this->isSafeFile($location)) { - $fileName = $this->yellow->system->get("coreExtensionDirectory").substru($location, $extensionLocationLength); - } - } elseif (substru($location, 0, $themeLocationLength)==$this->yellow->system->get("coreThemeLocation")) { - if ($this->isSafeFile($location)) { - $fileName = $this->yellow->system->get("coreThemeDirectory").substru($location, $themeLocationLength); + $fileNameOne = $this->yellow->system->get("coreThemeDirectory").substru($location, $extensionLocationLength); + $fileNameTwo = $this->yellow->system->get("coreWorkerDirectory").substru($location, $extensionLocationLength); + $fileName = is_file($fileNameOne) ? $fileNameOne : $fileNameTwo; } } elseif (substru($location, 0, $mediaLocationLength)==$this->yellow->system->get("coreMediaLocation")) { $fileName = substru($location, 1); @@ -3306,23 +3305,21 @@ class YellowPage { } } if ($name=="header") { + $extensionLocation = $this->yellow->system->get("coreServerBase").$this->yellow->system->get("coreExtensionLocation"); $fileNameTheme = $this->yellow->system->get("coreThemeDirectory").$this->yellow->lookup->normaliseName($this->get("theme")).".css"; if (is_file($fileNameTheme)) { - $locationTheme = $this->yellow->system->get("coreServerBase"). - $this->yellow->system->get("coreThemeLocation").$this->yellow->lookup->normaliseName($this->get("theme")).".css"; - $output .= "\n"; + $fileLocation = $extensionLocation.$this->yellow->lookup->normaliseName($this->get("theme")).".css"; + $output .= "\n"; } $fileNameScript = $this->yellow->system->get("coreThemeDirectory").$this->yellow->lookup->normaliseName($this->get("theme")).".js"; if (is_file($fileNameScript)) { - $locationScript = $this->yellow->system->get("coreServerBase"). - $this->yellow->system->get("coreThemeLocation").$this->yellow->lookup->normaliseName($this->get("theme")).".js"; - $output .= "\n"; + $fileLocation = $extensionLocation.$this->yellow->lookup->normaliseName($this->get("theme")).".js"; + $output .= "\n"; } $fileNameFavicon = $this->yellow->system->get("coreThemeDirectory").$this->yellow->lookup->normaliseName($this->get("theme")).".png"; if (is_file($fileNameFavicon)) { - $locationFavicon = $this->yellow->system->get("coreServerBase"). - $this->yellow->system->get("coreThemeLocation").$this->yellow->lookup->normaliseName($this->get("theme")).".png"; - $output .= "\n"; + $fileLocation = $extensionLocation.$this->yellow->lookup->normaliseName($this->get("theme")).".png"; + $output .= "\n"; } } return $output; diff --git a/system/extensions/edit-stack.svg b/system/workers/edit-stack.svg similarity index 100% rename from system/extensions/edit-stack.svg rename to system/workers/edit-stack.svg diff --git a/system/extensions/edit.css b/system/workers/edit.css similarity index 100% rename from system/extensions/edit.css rename to system/workers/edit.css diff --git a/system/extensions/edit.js b/system/workers/edit.js similarity index 100% rename from system/extensions/edit.js rename to system/workers/edit.js diff --git a/system/extensions/edit.php b/system/workers/edit.php similarity index 99% rename from system/extensions/edit.php rename to system/workers/edit.php index a7ab7c0..1767ab4 100644 --- a/system/extensions/edit.php +++ b/system/workers/edit.php @@ -2,7 +2,7 @@ // Edit extension, https://github.com/annaesvensson/yellow-edit class YellowEdit { - const VERSION = "0.8.79"; + const VERSION = "0.9.1"; public $yellow; // access to API public $response; // web response public $merge; // text merge diff --git a/system/extensions/generate.php b/system/workers/generate.php similarity index 97% rename from system/extensions/generate.php rename to system/workers/generate.php index 1eae14a..9713f61 100755 --- a/system/extensions/generate.php +++ b/system/workers/generate.php @@ -2,7 +2,7 @@ // Generate extension, https://github.com/annaesvensson/yellow-generate class YellowGenerate { - const VERSION = "0.8.54"; + const VERSION = "0.9.1"; public $yellow; // access to API public $files; // number of files public $errors; // number of errors @@ -386,13 +386,13 @@ class YellowGenerate { foreach ($fileNames as $fileName) { array_push($locations, $this->yellow->lookup->findMediaLocationFromFile($fileName)); } - $extensionPath = $this->yellow->system->get("coreExtensionDirectory"); - $fileNames = $this->yellow->toolbox->getDirectoryEntriesRecursive($extensionPath, "/.*/", false, false); + $themePath = $this->yellow->system->get("coreThemeDirectory"); + $fileNames = $this->yellow->toolbox->getDirectoryEntriesRecursive($themePath, "/.*/", false, false); foreach ($fileNames as $fileName) { array_push($locations, $this->yellow->lookup->findMediaLocationFromFile($fileName)); } - $themePath = $this->yellow->system->get("coreThemeDirectory"); - $fileNames = $this->yellow->toolbox->getDirectoryEntriesRecursive($themePath, "/.*/", false, false); + $workerPath = $this->yellow->system->get("coreWorkerDirectory"); + $fileNames = $this->yellow->toolbox->getDirectoryEntriesRecursive($workerPath, "/.*/", false, false); foreach ($fileNames as $fileName) { array_push($locations, $this->yellow->lookup->findMediaLocationFromFile($fileName)); } @@ -402,17 +402,17 @@ class YellowGenerate { // Return media locations to ignore public function getMediaLocationsIgnore() { $locations = array(""); - $extensionPath = $this->yellow->system->get("coreExtensionDirectory"); - $extensionDirectoryLength = strlenu($this->yellow->system->get("coreExtensionDirectory")); + $workerPath = $this->yellow->system->get("coreWorkerDirectory"); + $workerDirectoryLength = strlenu($this->yellow->system->get("coreWorkerDirectory")); if ($this->yellow->extension->isExisting("bundle")) { - foreach ($this->yellow->toolbox->getDirectoryEntries($extensionPath, "/^bundle-(.*)/", false, false) as $entry) { + foreach ($this->yellow->toolbox->getDirectoryEntries($workerPath, "/^bundle-(.*)/", false, false) as $entry) { list($locationsBundle) = $this->yellow->extension->get("bundle")->getBundleInformation($entry); $locations = array_merge($locations, $locationsBundle); } } if ($this->yellow->extension->isExisting("edit")) { - foreach ($this->yellow->toolbox->getDirectoryEntries($extensionPath, "/^edit\.(.*)/", false, false) as $entry) { - $location = $this->yellow->system->get("coreExtensionLocation").substru($entry, $extensionDirectoryLength); + foreach ($this->yellow->toolbox->getDirectoryEntries($workerPath, "/^edit\.(.*)/", false, false) as $entry) { + $location = $this->yellow->system->get("coreExtensionLocation").substru($entry, $workerDirectoryLength); array_push($locations, $location); } } diff --git a/system/extensions/image.php b/system/workers/image.php similarity index 99% rename from system/extensions/image.php rename to system/workers/image.php index 58d9a0e..b04d4e5 100644 --- a/system/extensions/image.php +++ b/system/workers/image.php @@ -2,7 +2,7 @@ // Image extension, https://github.com/annaesvensson/yellow-image class YellowImage { - const VERSION = "0.8.20"; + const VERSION = "0.9.1"; public $yellow; // access to API // Handle initialisation diff --git a/system/workers/install-blog.bin b/system/workers/install-blog.bin new file mode 100644 index 0000000..bc06373 Binary files /dev/null and b/system/workers/install-blog.bin differ diff --git a/system/workers/install-language.bin b/system/workers/install-language.bin new file mode 100644 index 0000000..229a270 Binary files /dev/null and b/system/workers/install-language.bin differ diff --git a/system/workers/install-wiki.bin b/system/workers/install-wiki.bin new file mode 100644 index 0000000..9af7cb2 Binary files /dev/null and b/system/workers/install-wiki.bin differ diff --git a/system/extensions/install.php b/system/workers/install.php similarity index 97% rename from system/extensions/install.php rename to system/workers/install.php index fc3eaed..58300f6 100755 --- a/system/extensions/install.php +++ b/system/workers/install.php @@ -2,7 +2,7 @@ // Install extension, https://github.com/annaesvensson/yellow-install class YellowInstall { - const VERSION = "0.8.95"; + const VERSION = "0.9.1"; const PRIORITY = "1"; public $yellow; // access to API @@ -132,7 +132,7 @@ class YellowInstall { // Update languages public function updateLanguages($option) { $statusCode = 200; - $path = $this->yellow->system->get("coreExtensionDirectory")."install-language.bin"; + $path = $this->yellow->system->get("coreWorkerDirectory")."install-language.bin"; $zip = new ZipArchive(); if ($zip->open($path)===true) { $pathBase = ""; @@ -143,7 +143,7 @@ class YellowInstall { $fileDataIni = $zip->getFromName($pathBase."translations/$extension/extension.ini"); $statusCode = max($statusCode, $this->updateLanguageArchive($fileDataPhp, $fileDataIni, $pathBase, "install")); } - $this->yellow->extension->load($this->yellow->system->get("coreExtensionDirectory")); + $this->yellow->extension->load($this->yellow->system->get("coreWorkerDirectory")); $this->yellow->language->load($this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreLanguageFile")); $zip->close(); } else { @@ -161,7 +161,7 @@ class YellowInstall { $extension = lcfirst($settings->get("extension")); $version = $settings->get("version"); $modified = strtotime($settings->get("published")); - $fileNamePhp = $this->yellow->system->get("coreExtensionDirectory").$extension.".php"; + $fileNamePhp = $this->yellow->system->get("coreWorkerDirectory").$extension.".php"; if (!is_string_empty($extension) && !is_string_empty($version) && !is_file($fileNamePhp)) { $statusCode = max($statusCode, $this->yellow->extension->get("update")->updateExtensionSettings($extension, $action, $settings)); $statusCode = max($statusCode, $this->yellow->extension->get("update")->updateExtensionFile( @@ -183,7 +183,7 @@ class YellowInstall { $settings = $this->yellow->toolbox->getTextSettings($fileData, "extension"); $extensions = $this->getAvailableExtensionsRequired($settings, $option); $statusCode = $this->downloadExtensionsAvailable($settings, $extensions); - $path = $this->yellow->system->get("coreExtensionDirectory"); + $path = $this->yellow->system->get("coreWorkerDirectory"); foreach ($this->yellow->toolbox->getDirectoryEntries($path, "/^install-.*\.bin$/", true, false) as $entry) { if (basename($entry)=="install-language.bin") continue; if (preg_match("/^install-(.*?)\.bin/", basename($entry), $matches) && !in_array($matches[1], $extensions)) continue; @@ -196,7 +196,7 @@ class YellowInstall { } } if (!is_string_empty($extension)) { - $path = $this->yellow->system->get("coreExtensionDirectory")."install-".$extension.".bin"; + $path = $this->yellow->system->get("coreWorkerDirectory")."install-".$extension.".bin"; if (is_file($path)) { $statusCode = $this->yellow->extension->get("update")->updateExtensionArchive($path, "install"); } @@ -288,20 +288,20 @@ class YellowInstall { public function removeInstall($log = false) { $statusCode = 200; if (function_exists("opcache_reset")) opcache_reset(); - $path = $this->yellow->system->get("coreExtensionDirectory"); + $path = $this->yellow->system->get("coreWorkerDirectory"); foreach ($this->yellow->toolbox->getDirectoryEntries($path, "/^install-.*\.bin$/", true, false) as $entry) { if (!$this->yellow->toolbox->deleteFile($entry)) { $statusCode = 500; $this->yellow->page->error($statusCode, "Can't delete file '$entry'!"); } } - $fileName = $this->yellow->system->get("coreExtensionDirectory")."install.php"; + $fileName = $this->yellow->system->get("coreWorkerDirectory")."install.php"; if ($statusCode==200 && !$this->yellow->toolbox->deleteFile($fileName)) { $statusCode = 500; $this->yellow->page->error($statusCode, "Can't delete file '$fileName'!"); } if ($statusCode==200) unset($this->yellow->extension->data["install"]); - $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile"); + $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreExtensionFile"); $fileData = $this->yellow->toolbox->readFile($fileName); $fileDataNew = $this->yellow->toolbox->unsetTextSettings($fileData, "extension", "install"); if ($statusCode==200 && !$this->yellow->toolbox->createFile($fileName, $fileDataNew)) { @@ -337,7 +337,7 @@ class YellowInstall { // Check web server complete upload public function checkServerComplete() { $complete = true; - $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile"); + $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreExtensionFile"); $fileData = $this->yellow->toolbox->readFile($fileName); $settings = $this->yellow->toolbox->getTextSettings($fileData, "extension"); $fileNames = array($fileName); @@ -405,7 +405,7 @@ class YellowInstall { public function downloadExtensionsAvailable($settings, $extensions) { $statusCode = 200; if ($this->yellow->extension->isExisting("update")) { - $path = $this->yellow->system->get("coreExtensionDirectory"); + $path = $this->yellow->system->get("coreWorkerDirectory"); $extensionsNow = 0; $extensionsTotal = count($extensions); $curlHandle = curl_init(); @@ -495,7 +495,7 @@ class YellowInstall { // Return extensions installed public function getExtensionsCount() { - $fileNameCurrent = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile"); + $fileNameCurrent = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreExtensionFile"); $fileData = $this->yellow->toolbox->readFile($fileNameCurrent); $settings = $this->yellow->toolbox->getTextSettings($fileData, "extension"); return count($settings); diff --git a/system/extensions/markdown.php b/system/workers/markdown.php similarity index 99% rename from system/extensions/markdown.php rename to system/workers/markdown.php index a345eaf..2441bd8 100644 --- a/system/extensions/markdown.php +++ b/system/workers/markdown.php @@ -2,7 +2,7 @@ // Markdown extension, https://github.com/annaesvensson/yellow-markdown class YellowMarkdown { - const VERSION = "0.8.28"; + const VERSION = "0.9.1"; public $yellow; // access to API // Handle initialisation diff --git a/system/extensions/serve.php b/system/workers/serve.php similarity index 98% rename from system/extensions/serve.php rename to system/workers/serve.php index 314ef2c..a53b21e 100755 --- a/system/extensions/serve.php +++ b/system/workers/serve.php @@ -2,7 +2,7 @@ // Serve extension, https://github.com/annaesvensson/yellow-serve class YellowServe { - const VERSION = "0.8.24"; + const VERSION = "0.9.1"; public $yellow; // access to API // Handle initialisation diff --git a/system/extensions/stockholm.php b/system/workers/stockholm.php similarity index 96% rename from system/extensions/stockholm.php rename to system/workers/stockholm.php index 7581e0f..d97cc6b 100644 --- a/system/extensions/stockholm.php +++ b/system/workers/stockholm.php @@ -2,7 +2,7 @@ // Stockholm extension, https://github.com/annaesvensson/yellow-stockholm class YellowStockholm { - const VERSION = "0.8.14"; + const VERSION = "0.9.1"; public $yellow; // access to API // Handle initialisation diff --git a/system/extensions/update.php b/system/workers/update.php similarity index 99% rename from system/extensions/update.php rename to system/workers/update.php index 6a061ef..c63ebc4 100644 --- a/system/extensions/update.php +++ b/system/workers/update.php @@ -2,7 +2,7 @@ // Update extension, https://github.com/annaesvensson/yellow-update class YellowUpdate { - const VERSION = "0.8.101"; + const VERSION = "0.9.1"; const PRIORITY = "2"; public $yellow; // access to API public $extensions; // number of extensions @@ -13,7 +13,6 @@ class YellowUpdate { $this->yellow->system->setDefault("updateCurrentRelease", "none"); $this->yellow->system->setDefault("updateAvailableUrl", "auto"); $this->yellow->system->setDefault("updateAvailableFile", "update-available.ini"); - $this->yellow->system->setDefault("updateCurrentFile", "update-current.ini"); $this->yellow->system->setDefault("updateExtensionFile", "extension.ini"); $this->yellow->system->setDefault("updateEventPending", "none"); $this->yellow->system->setDefault("updateEventDaily", "0"); @@ -363,7 +362,7 @@ class YellowUpdate { // Update pending patches public function updatePatchPending() { - $fileName = $this->yellow->system->get("coreExtensionDirectory")."updatepatch.bin"; + $fileName = $this->yellow->system->get("coreWorkerDirectory")."updatepatch.bin"; if (is_file($fileName)) { if ($this->yellow->system->get("coreDebugMode")>=2) echo "YellowUpdate::updatePatchPending file:$fileName
\n"; if (!$this->yellow->extension->isExisting("updatepatch")) { @@ -443,7 +442,7 @@ class YellowUpdate { // Update extension settings public function updateExtensionSettings($extension, $action, $settings) { $statusCode = 200; - $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile"); + $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreExtensionFile"); $fileData = $fileDataNew = $this->yellow->toolbox->readFile($fileName); if ($action=="install" || $action=="update") { $settingsCurrent = $this->yellow->toolbox->getTextSettings($fileData, "extension"); @@ -778,7 +777,7 @@ class YellowUpdate { $statusCode = 200; $settings = array(); if ($current) { - $fileNameCurrent = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile"); + $fileNameCurrent = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreExtensionFile"); $fileData = $this->yellow->toolbox->readFile($fileNameCurrent); $settings = $this->yellow->toolbox->getTextSettings($fileData, "extension"); foreach ($settings->getArrayCopy() as $key=>$value) { diff --git a/yellow.php b/yellow.php index be7b8e5..69c1f01 100755 --- a/yellow.php +++ b/yellow.php @@ -1,7 +1,7 @@