Updated edit events for Steffen
This commit is contained in:
parent
98c3b3502a
commit
713faebf15
|
@ -213,14 +213,14 @@ Status: available
|
|||
system/workers/dutch.php: dutch.php, create, update
|
||||
|
||||
Extension: Edit
|
||||
Version: 0.9.6
|
||||
Version: 0.9.7
|
||||
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-30 17:04:26
|
||||
Published: 2024-05-06 23:17:11
|
||||
Status: available
|
||||
system/workers/edit.php: edit.php, create, update
|
||||
system/workers/edit.css: edit.css, create, update
|
||||
|
@ -229,14 +229,14 @@ system/workers/edit-stack.svg: edit-stack.svg, create, update
|
|||
content/shared/page-new-default.md: page-new-default.md, create, optional
|
||||
|
||||
Extension: Emoji
|
||||
Version: 0.9.2
|
||||
Version: 0.9.3
|
||||
Description: Lots and lots of emoji.
|
||||
Developer: Anna Svensson
|
||||
Tag: feature
|
||||
DownloadUrl: https://github.com/annaesvensson/yellow-emoji/archive/refs/heads/main.zip
|
||||
DocumentationUrl: https://github.com/annaesvensson/yellow-emoji
|
||||
DocumentationLanguage: en, de, sv
|
||||
Published: 2024-04-09 19:50:25
|
||||
Published: 2024-05-06 23:16:06
|
||||
Status: available
|
||||
system/workers/emoji.php: emoji.php, create, update
|
||||
system/workers/emoji.css: emoji.css, create, update
|
||||
|
|
|
@ -20,14 +20,14 @@ system/layouts/navigation.html: navigation.html, create, update, careful
|
|||
system/layouts/pagination.html: pagination.html, create, update, careful
|
||||
|
||||
Extension: Edit
|
||||
Version: 0.9.6
|
||||
Version: 0.9.7
|
||||
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-30 17:04:26
|
||||
Published: 2024-05-06 23:17:11
|
||||
Status: available
|
||||
system/workers/edit.php: edit.php, create, update
|
||||
system/workers/edit.css: edit.css, create, update
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Edit extension, https://github.com/annaesvensson/yellow-edit
|
||||
|
||||
class YellowEdit {
|
||||
const VERSION = "0.9.6";
|
||||
const VERSION = "0.9.7";
|
||||
public $yellow; // access to API
|
||||
public $response; // web response
|
||||
public $merge; // text merge
|
||||
|
@ -1079,6 +1079,7 @@ class YellowEditResponse {
|
|||
$page = new YellowPage($this->yellow);
|
||||
$page->setRequestInformation($scheme, $address, $base, $location, $fileName, false);
|
||||
$page->parseMeta($rawData, 200);
|
||||
$this->editContentFile($page, "normalise", $this->userEmail);
|
||||
if ($this->yellow->content->find($page->location)) {
|
||||
$page->location = $this->getPageNewLocation($page->rawData, $page->location, $page->get("editNewLocation"));
|
||||
$page->fileName = $this->getPageNewFile($page->location, $page->fileName, $page->get("editNewPrefix"));
|
||||
|
@ -1112,6 +1113,7 @@ class YellowEditResponse {
|
|||
$page = new YellowPage($this->yellow);
|
||||
$page->setRequestInformation($scheme, $address, $base, $location, $fileName, false);
|
||||
$page->parseMeta($rawData, 200);
|
||||
$this->editContentFile($page, "normalise", $this->userEmail);
|
||||
$pageSource = new YellowPage($this->yellow);
|
||||
$pageSource->setRequestInformation($scheme, $address, $base, $location, $fileName, false);
|
||||
$pageSource->parseMeta($rawDataSource, 200);
|
||||
|
|
Loading…
Reference in a new issue