parent
7502423750
commit
45e84abd9f
156
CHANGELOG.md
156
CHANGELOG.md
|
@ -1,82 +1,102 @@
|
||||||
todo:
|
postWidgetText 2023.08.15
|
||||||
- cleanup plugin importExport features
|
===========================================================
|
||||||
|
* Require Dotclear 2.27
|
||||||
|
* Require PHP 8.1
|
||||||
|
* Fix pgsql support
|
||||||
|
* Upgrade to Dotclear 2.27 stable
|
||||||
|
* Move third party repository
|
||||||
|
* Use Dotclear style for CHANGELOG
|
||||||
|
|
||||||
2023.05.13
|
postWidgetText 2023.05.13
|
||||||
- require dotclear 2.26
|
===========================================================
|
||||||
- require PHP 8.0+
|
* require dotclear 2.26
|
||||||
- use define php_min
|
* require PHP 8.0+
|
||||||
- fix post editor
|
* use define php_min
|
||||||
|
* fix post editor
|
||||||
|
|
||||||
2023.04.26
|
postWidgetText 2023.04.26
|
||||||
- require dotclear 2.26
|
===========================================================
|
||||||
- require PHP 8.0+
|
* require dotclear 2.26
|
||||||
- use namespace
|
* require PHP 8.0+
|
||||||
- use sql statement
|
* use namespace
|
||||||
- add use columns preference
|
* use sql statement
|
||||||
- add list filters
|
* add use columns preference
|
||||||
- add plugin Uninstaller features (no direct actions)
|
* add list filters
|
||||||
- various fixes
|
* add plugin Uninstaller features (no direct actions)
|
||||||
|
* various fixes
|
||||||
|
|
||||||
2022.12.23
|
postWidgetText 2022.12.23
|
||||||
- use SVG icon
|
===========================================================
|
||||||
- use constant for table name
|
* use SVG icon
|
||||||
- use abstract plugin id and settings ns
|
* use constant for table name
|
||||||
- use short settings id
|
* use abstract plugin id and settings ns
|
||||||
- use new addBehaviors
|
* use short settings id
|
||||||
- fix autoload
|
* use new addBehaviors
|
||||||
- fix permissions
|
* fix autoload
|
||||||
- fix install
|
* fix permissions
|
||||||
- fix phpstan errors
|
* fix install
|
||||||
|
* fix phpstan errors
|
||||||
|
|
||||||
2022.11.20
|
postWidgetText 2022.11.20
|
||||||
- fix compatibility with Dotclear 2.24 (required)
|
===========================================================
|
||||||
|
* fix compatibility with Dotclear 2.24 (required)
|
||||||
|
|
||||||
2021.11.06
|
postWidgetText 2021.11.06
|
||||||
- fix error on empty record on widget
|
===========================================================
|
||||||
- update to PS12
|
* fix error on empty record on widget
|
||||||
|
* update to PS12
|
||||||
|
|
||||||
2021.10.30
|
postWidgetText 2021.10.30
|
||||||
- clean up code
|
===========================================================
|
||||||
- update license
|
* clean up code
|
||||||
- update translations
|
* update license
|
||||||
- check Dotclear 2.19
|
* update translations
|
||||||
- check php7.3+, php8.0
|
* check Dotclear 2.19
|
||||||
- complete readme file
|
* check php7.3+, php8.0
|
||||||
- fix widget rendering
|
* complete readme file
|
||||||
- fix combo name
|
* fix widget rendering
|
||||||
- fix javascript
|
* fix combo name
|
||||||
- add user pref for posts list filters (dc 2.20)
|
* fix javascript
|
||||||
- move config to blog pref
|
* add user pref for posts list filters (dc 2.20)
|
||||||
|
* move config to blog pref
|
||||||
|
|
||||||
2013.11.21
|
postWidgetText 2013.11.21
|
||||||
- Switch to Dotclear 2.6 and clean up code
|
===========================================================
|
||||||
- Change icons
|
* Switch to Dotclear 2.6 and clean up code
|
||||||
- Add dashboard icon
|
* Change icons
|
||||||
|
* Add dashboard icon
|
||||||
|
|
||||||
2011.06.10
|
postWidgetText 2011.06.10
|
||||||
- Fixed export bug (thks @noe)
|
===========================================================
|
||||||
- (c) 2011
|
* Fixed export bug (thks @noe)
|
||||||
|
* (c) 2011
|
||||||
|
|
||||||
2011.04.11
|
postWidgetText 2011.04.11
|
||||||
- Changed version numbering
|
===========================================================
|
||||||
- Fixed Dotclear 2.2.3 chage on plugin page (thks @tomek)
|
* Changed version numbering
|
||||||
- Fixed call to $core->blog on prepend
|
* Fixed Dotclear 2.2.3 chage on plugin page (thks @tomek)
|
||||||
|
* Fixed call to $core->blog on prepend
|
||||||
|
|
||||||
0.6.1 - 2010.11.12
|
postWidgetText 0.6.1 - 2010.11.12
|
||||||
- Fixed install on nightly build
|
===========================================================
|
||||||
|
* Fixed install on nightly build
|
||||||
|
|
||||||
0.6 - 2010-06-08
|
postWidgetText 0.6 - 2010-06-08
|
||||||
- Switched to DC 2.2
|
===========================================================
|
||||||
|
* Switched to DC 2.2
|
||||||
|
|
||||||
0.5 - 2010.04.07
|
postWidgetText 0.5 - 2010.04.07
|
||||||
- Rewrited and cleaned extension
|
===========================================================
|
||||||
- Changed table
|
* Rewrited and cleaned extension
|
||||||
|
* Changed table
|
||||||
|
|
||||||
0.4 - 2009.08.23
|
postWidgetText 0.4 - 2009.08.23
|
||||||
- Added behaviors
|
===========================================================
|
||||||
- Added custom widget title
|
* Added behaviors
|
||||||
- Added "plugin page'' support
|
* Added custom widget title
|
||||||
|
* Added "plugin page'' support
|
||||||
|
|
||||||
0.3
|
postWidgetText 0.3
|
||||||
- Fixed php 5.3 compatibility
|
===========================================================
|
||||||
- Fixed typo in export function
|
* Fixed php 5.3 compatibility
|
||||||
|
* Fixed typo in export function
|
31
README.md
31
README.md
|
@ -1,11 +1,10 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
|
[![Release](https://img.shields.io/badge/release-2023.08.15-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/postWidgetText/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
|
[![Date](https://img.shields.io/badge/date-2023.08.15-c44d58.svg)](https://git.dotclear.watch/JcDenis/postWidgetText/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/issues)
|
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download)
|
||||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/postWidgetText)
|
||||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/postWidgetText)
|
[![License](https://img.shields.io/github/license/JcDenis/postWidgetText)](https://git.dotclear.watch/JcDenis/postWidgetText/blob/master/LICENSE)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/blob/master/LICENSE)
|
|
||||||
|
|
||||||
## WHAT IS POSTWIDGETTEXT ?
|
## WHAT IS POSTWIDGETTEXT ?
|
||||||
|
|
||||||
|
@ -16,12 +15,12 @@ Add a widget related to an entry with custom titles and content.
|
||||||
|
|
||||||
## REQUIREMENTS
|
## REQUIREMENTS
|
||||||
|
|
||||||
_postWidgetText_ requires:
|
_postWidgetText_ requires:
|
||||||
|
|
||||||
* permissions to manage widgets
|
* permissions to manage widgets
|
||||||
* permissions to manage entries
|
* permissions to manage entries
|
||||||
* Dotclear 2.26
|
* Dotclear 2.27
|
||||||
* PHP 8.0+
|
* PHP 8.0+
|
||||||
|
|
||||||
Note this plugin add table called post_option to Dotclear database.
|
Note this plugin add table called post_option to Dotclear database.
|
||||||
|
|
||||||
|
@ -37,12 +36,12 @@ Manage (delete) "widgets" from sidebar menu called "Post widget text".
|
||||||
|
|
||||||
## LINKS
|
## LINKS
|
||||||
|
|
||||||
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
||||||
* Source & contribution : [GitHub Page](https://github.com/JcDenis/postWidgetText)
|
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/postWidgetText) or [GitHub Page](https://github.com/JcDenis/postWidgetText)
|
||||||
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/postWidgetText)
|
* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/postWidgetText/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/postWidgetText)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
* Jean-Christian Denis
|
* Jean-Christian Denis (author)
|
||||||
|
|
||||||
You are welcome to contribute to this code.
|
You are welcome to contribute to this code.
|
||||||
|
|
14
_define.php
14
_define.php
|
@ -10,7 +10,7 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,22 +18,22 @@ $this->registerModule(
|
||||||
'Post widget text',
|
'Post widget text',
|
||||||
'Add a widget with a text related to an entry',
|
'Add a widget with a text related to an entry',
|
||||||
'Jean-Christian Denis and Contributors',
|
'Jean-Christian Denis and Contributors',
|
||||||
'2023.05.13',
|
'2023.08.15',
|
||||||
[
|
[
|
||||||
'requires' => [
|
'requires' => [
|
||||||
['php', '8.0'],
|
['php', '8.0'],
|
||||||
['core', '2.26'],
|
['core', '2.27'],
|
||||||
],
|
],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcCore::app()->auth::PERMISSION_USAGE,
|
dcCore::app()->auth::PERMISSION_USAGE,
|
||||||
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
||||||
]),
|
]),
|
||||||
'type' => 'plugin',
|
|
||||||
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
|
|
||||||
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
|
||||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
|
||||||
'settings' => [
|
'settings' => [
|
||||||
'blog' => '#params.pwt_params',
|
'blog' => '#params.pwt_params',
|
||||||
],
|
],
|
||||||
|
'type' => 'plugin',
|
||||||
|
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
||||||
|
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
||||||
|
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
10
dcstore.xml
10
dcstore.xml
|
@ -2,12 +2,12 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="postWidgetText">
|
<module id="postWidgetText">
|
||||||
<name>Post widget text</name>
|
<name>Post widget text</name>
|
||||||
<version>2023.05.13</version>
|
<version>2023.08.15</version>
|
||||||
<author>Jean-Christian Denis and Contributors</author>
|
<author>Jean-Christian Denis and Contributors</author>
|
||||||
<desc>Add a widget with a text related to an entry</desc>
|
<desc>Add a widget with a text related to an entry</desc>
|
||||||
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2023.05.13/plugin-postWidgetText.zip</file>
|
<file>https://git.dotclear.watch/JcDenis/postWidgetText/releases/download/v2023.08.15/plugin-postWidgetText.zip</file>
|
||||||
<da:dcmin>2.26</da:dcmin>
|
<da:dcmin>2.27</da:dcmin>
|
||||||
<da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details>
|
<da:details>https://git.dotclear.watch/JcDenis/postWidgetText/src/branch/master/README.md</da:details>
|
||||||
<da:support>https://github.com/JcDenis/postWidgetText</da:support>
|
<da:support>https://git.dotclear.watch/JcDenis/postWidgetText/issues</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
Loading…
Reference in New Issue