commit d0eb549fde225c26cd180c44a7cd53377543ff03
parent dcd79874f40e91fe1e2dd65ed11237e07627a7c0
Author: markseu <mark2011@mayberg.se>
Date: Mon, 16 Aug 2021 10:35:07 +0200
Updated edit extension, file formats
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/system/extensions/edit.php b/system/extensions/edit.php
@@ -2,7 +2,7 @@
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
class YellowEdit {
- const VERSION = "0.8.51";
+ const VERSION = "0.8.52";
public $yellow; // access to API
public $response; // web response
public $merge; // text merge
@@ -15,7 +15,7 @@ class YellowEdit {
$this->merge = new YellowEditMerge($yellow);
$this->yellow->system->setDefault("editLocation", "/edit/");
$this->yellow->system->setDefault("editUploadNewLocation", "/media/@group/@filename");
- $this->yellow->system->setDefault("editUploadExtensions", ".gif, .jpg, .pdf, .png, .svg, .zip");
+ $this->yellow->system->setDefault("editUploadExtensions", ".gif, .jpg, .mp3, .ogg, .pdf, .png, .svg, .zip");
$this->yellow->system->setDefault("editKeyboardShortcuts", "ctrl+b bold, ctrl+i italic, ctrl+k strikethrough, ctrl+e code, ctrl+s save, ctrl+alt+p preview");
$this->yellow->system->setDefault("editToolbarButtons", "auto");
$this->yellow->system->setDefault("editEndOfLine", "auto");
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -39,11 +39,11 @@ content/shared/page-new-default.md: page-new-default.md, create, optional
content/shared/page-error-404.md: page-error-404.md, create, optional
Extension: Edit
-Version: 0.8.51
+Version: 0.8.52
Description: Edit your website in a web browser.
HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip
-Published: 2021-06-30 10:04:13
+Published: 2021-08-16 10:32:46
Developer: Datenstrom
Tag: feature
system/extensions/edit.php: edit.php, create, update
diff --git a/system/extensions/yellow-system.ini b/system/extensions/yellow-system.ini
@@ -50,7 +50,7 @@ CommandStaticDefaultFile: index.html
CommandStaticErrorFile: 404.html
EditLocation: /edit/
EditUploadNewLocation: /media/@group/@filename
-EditUploadExtensions: .gif, .jpg, .pdf, .png, .svg, .zip
+EditUploadExtensions: .gif, .jpg, .mp3, .ogg, .pdf, .png, .svg, .zip
EditKeyboardShortcuts: ctrl+b bold, ctrl+i italic, ctrl+k strikethrough, ctrl+e code, ctrl+s save, ctrl+alt+p preview
EditToolbarButtons: auto
EditEndOfLine: auto