Updated responsible developer

Co-Authored-By: Anna <14218799+annaesvensson@users.noreply.github.com>
This commit is contained in:
markseu 2022-10-02 20:55:50 +02:00
parent 9811e44b27
commit 269803e777
4 changed files with 10 additions and 12 deletions

View file

@ -2,7 +2,7 @@
// Edit extension, https://github.com/annaesvensson/yellow-edit // Edit extension, https://github.com/annaesvensson/yellow-edit
class YellowEdit { class YellowEdit {
const VERSION = "0.8.63"; const VERSION = "0.8.64";
public $yellow; // access to API public $yellow; // access to API
public $response; // web response public $response; // web response
public $merge; // text merge public $merge; // text merge
@ -141,9 +141,7 @@ class YellowEdit {
public function userShow($command, $text) { public function userShow($command, $text) {
$data = array(); $data = array();
foreach ($this->yellow->user->settings as $key=>$value) { foreach ($this->yellow->user->settings as $key=>$value) {
$name = $value["name"]; $data[$key] = "$value[email] - User account by $value[name].";
if (preg_match("/\s/", $name)) $name = "\"$name\"";
$data[$key] = "$value[email] $name $value[status]";
} }
uksort($data, "strnatcasecmp"); uksort($data, "strnatcasecmp");
foreach ($data as $line) echo "$line\n"; foreach ($data as $line) echo "$line\n";

View file

@ -27,12 +27,12 @@ system/layouts/navigation.html: navigation.html, create, update, careful
system/layouts/pagination.html: pagination.html, create, update, careful system/layouts/pagination.html: pagination.html, create, update, careful
Extension: Edit Extension: Edit
Version: 0.8.63 Version: 0.8.64
Description: Edit your website in a web browser. Description: Edit your website in a web browser.
DocumentationUrl: https://github.com/annaesvensson/yellow-edit DocumentationUrl: https://github.com/annaesvensson/yellow-edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/edit.zip DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/edit.zip
Published: 2022-05-20 11:14:14 Published: 2022-10-02 18:41:45
Developer: Datenstrom Developer: Anna Svensson
Tag: feature Tag: feature
system/extensions/edit.php: edit.php, create, update system/extensions/edit.php: edit.php, create, update
system/extensions/edit.css: edit.css, create, update system/extensions/edit.css: edit.css, create, update
@ -121,12 +121,12 @@ system/themes/stockholm-opensans-light.woff: stockholm-opensans-light.woff, crea
system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful
Extension: Update Extension: Update
Version: 0.8.81 Version: 0.8.82
Description: Keep your website up to date. Description: Keep your website up to date.
DocumentationUrl: https://github.com/annaesvensson/yellow-update DocumentationUrl: https://github.com/annaesvensson/yellow-update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/update.zip DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/update.zip
Published: 2022-09-26 19:42:02 Published: 2022-10-02 18:37:43
Developer: Datenstrom Developer: Anna Svensson
Tag: feature Tag: feature
system/extensions/update.php: update.php, create, update system/extensions/update.php: update.php, create, update
system/extensions/updatepatch.bin: updatepatch.php, create, additional system/extensions/updatepatch.bin: updatepatch.php, create, additional

View file

@ -2,7 +2,7 @@
// Update extension, https://github.com/annaesvensson/yellow-update // Update extension, https://github.com/annaesvensson/yellow-update
class YellowUpdate { class YellowUpdate {
const VERSION = "0.8.81"; const VERSION = "0.8.82";
const PRIORITY = "2"; const PRIORITY = "2";
public $yellow; // access to API public $yellow; // access to API
public $extensions; // number of extensions public $extensions; // number of extensions
@ -822,7 +822,7 @@ class YellowUpdate {
// Return extension documentation // Return extension documentation
public function getExtensionDocumentation($key, $value) { public function getExtensionDocumentation($key, $value) {
return $value->isExisting("documentationUrl") ? "Read more at ".$value->get("documentationUrl") : "No documentation available"; return "Read more at ".($value->isExisting("documentationUrl") ? $value->get("documentationUrl") : $this->yellow->system->get("updateExtensionUrl"));
} }
// Return extension file // Return extension file