release 1.2.1

master v1.2.1
Jean-Christian Paul Denis 2023-10-13 20:34:49 +02:00
parent 56e2578190
commit a497583379
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
6 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
noodles 1.2.1 - 2023.10.13
===========================================================
* Require Dotclear 2.28
* Require PHP 8.1
* Upgrade to last minute change to Dotclear 2.28
noodles 1.2 - 2023.10.12 noodles 1.2 - 2023.10.12
=========================================================== ===========================================================
* Require Dotclear 2.28 * Require Dotclear 2.28

View File

@ -1,7 +1,7 @@
# README # README
[![Release](https://img.shields.io/badge/release-1.2-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/noodles/releases) [![Release](https://img.shields.io/badge/release-1.2.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/noodles/releases)
![Date](https://img.shields.io/badge/date-2023.10.12-c44d58.svg) ![Date](https://img.shields.io/badge/date-2023.10.13-c44d58.svg)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download) [![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/oodles) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/oodles)
[![License](https://img.shields.io/github/license/JcDenis/noodles)](https://git.dotclear.watch/JcDenis/noodles/blob/master/LICENSE) [![License](https://img.shields.io/github/license/JcDenis/noodles)](https://git.dotclear.watch/JcDenis/noodles/blob/master/LICENSE)

View File

@ -17,7 +17,7 @@ $this->registerModule(
'Noodles', 'Noodles',
'Add users gravatars everywhere', 'Add users gravatars everywhere',
'Jean-Christian Denis and contributors', 'Jean-Christian Denis and contributors',
'1.2', '1.2.1',
[ [
'requires' => [['core', '2.28']], 'requires' => [['core', '2.28']],
'permissions' => 'My', 'permissions' => 'My',

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="noodles"> <module id="noodles">
<name>Noodles</name> <name>Noodles</name>
<version>1.2</version> <version>1.2.1</version>
<author>Jean-Christian Denis and contributors</author> <author>Jean-Christian Denis and contributors</author>
<desc>Add users gravatars everywhere</desc> <desc>Add users gravatars everywhere</desc>
<file>https://git.dotclear.watch/JcDenis/noodles/releases/download/v1.2/plugin-noodles.zip</file> <file>https://git.dotclear.watch/JcDenis/noodles/releases/download/v1.2.1/plugin-noodles.zip</file>
<da:dcmin>2.28</da:dcmin> <da:dcmin>2.28</da:dcmin>
<da:details>https://git.dotclear.watch/JcDenis/noodles/src/branch/master/README.md</da:details> <da:details>https://git.dotclear.watch/JcDenis/noodles/src/branch/master/README.md</da:details>
<da:support>https://git.dotclear.watch/JcDenis/noodles/issues</da:support> <da:support>https://git.dotclear.watch/JcDenis/noodles/issues</da:support>

View File

@ -33,7 +33,7 @@ class Frontend extends Process
return false; return false;
} }
App::frontend()->tpl->setPath(App::frontend()->tpl->getPath(), My::path() . '/default-templates'); App::frontend()->template()->setPath(App::frontend()->template()->getPath(), My::path() . '/default-templates');
foreach ($targets->dump() as $target) { foreach ($targets->dump() as $target) {
if ($target->active() && $target->hasPhpCallback()) { if ($target->active() && $target->hasPhpCallback()) {

View File

@ -184,7 +184,7 @@ class UrlHandler extends Url
if (str_contains($file, '..')) { if (str_contains($file, '..')) {
return ''; return '';
} }
$paths = App::frontend()->tpl->getPath(); $paths = App::frontend()->template()->getPath();
foreach ($paths as $path) { foreach ($paths as $path) {
if (preg_match('/tpl(\/|)$/', $path)) { if (preg_match('/tpl(\/|)$/', $path)) {