release 2023.08.14
This commit is contained in:
parent
8462d3d97d
commit
7495252f13
4 changed files with 187 additions and 161 deletions
293
CHANGELOG.md
293
CHANGELOG.md
|
@ -1,158 +1,185 @@
|
||||||
dev
|
enhancePostContent 2023.08.14
|
||||||
- [ ] add auto-find post title in content
|
===========================================================
|
||||||
- [ ] add auto-find categorie
|
* Require Dotclear 2.27
|
||||||
- [ ] use SQL statements
|
* Require PHP 8.1
|
||||||
|
* Move third party repository
|
||||||
|
* Use Dotclear style for CHANGELOG
|
||||||
|
|
||||||
2023.07.30
|
enhancePostContent 2023.07.30
|
||||||
- require Dotclear 2.27
|
===========================================================
|
||||||
- require PHP 8.1+
|
* require Dotclear 2.27
|
||||||
- update to Dotclear 2.27-dev
|
* require PHP 8.1+
|
||||||
|
* update to Dotclear 2.27-dev
|
||||||
|
|
||||||
2023.05.13
|
enhancePostContent 2023.05.13
|
||||||
- require Dotclear 2.26
|
===========================================================
|
||||||
- require PHP 8.1+
|
* require Dotclear 2.26
|
||||||
- use define php_min
|
* require PHP 8.1+
|
||||||
- fix wrong call property
|
* use define php_min
|
||||||
|
* fix wrong call property
|
||||||
|
|
||||||
2023.04.23
|
enhancePostContent 2023.04.23
|
||||||
- require Dotclear 2.26
|
===========================================================
|
||||||
- require PHP 8.1+
|
* require Dotclear 2.26
|
||||||
- use latest Database namespace
|
* require PHP 8.1+
|
||||||
- remove some magic
|
* use latest Database namespace
|
||||||
|
* remove some magic
|
||||||
|
|
||||||
2023.04.22
|
enhancePostContent 2023.04.22
|
||||||
- require Dotclear 2.26
|
===========================================================
|
||||||
- require PHP >= 8.1
|
* require Dotclear 2.26
|
||||||
- break settings for tplValues and pubPages (must reconf them)
|
* require PHP >= 8.1
|
||||||
- change default values on ignore tags
|
* break settings for tplValues and pubPages (must reconf them)
|
||||||
- fix bug in replacement (html tag)
|
* change default values on ignore tags
|
||||||
- phpstan code review (level 8)
|
* fix bug in replacement (html tag)
|
||||||
- use object for filters stacks (change registration for them)
|
* phpstan code review (level 8)
|
||||||
- add plugin Uninstaller feature
|
* use object for filters stacks (change registration for them)
|
||||||
- add code doc
|
* add plugin Uninstaller feature
|
||||||
|
* add code doc
|
||||||
|
|
||||||
2023.04.09
|
enhancePostContent 2023.04.09
|
||||||
- require Dotclear 2.26
|
===========================================================
|
||||||
- require PHP >= 8.1
|
* require Dotclear 2.26
|
||||||
- use namespace
|
* require PHP >= 8.1
|
||||||
- code review (readonly properties, etc...)
|
* use namespace
|
||||||
|
* code review (readonly properties, etc...)
|
||||||
|
|
||||||
2022.12.21
|
enhancePostContent 2022.12.21
|
||||||
- use svg icon
|
===========================================================
|
||||||
- use anonymous functions
|
* use svg icon
|
||||||
- use abstract plugin name
|
* use anonymous functions
|
||||||
- use json for settings array (vs serialize)
|
* use abstract plugin name
|
||||||
- change some class names
|
* use json for settings array (vs serialize)
|
||||||
- fix permissions
|
* change some class names
|
||||||
- fix notices
|
* fix permissions
|
||||||
- fix autoload
|
* fix notices
|
||||||
- fix table name
|
* fix autoload
|
||||||
- fix install
|
* fix table name
|
||||||
|
* fix install
|
||||||
|
|
||||||
2022.11.20
|
enhancePostContent 2022.11.20
|
||||||
- fix compatibility with Dotclear 2.24 (required)
|
===========================================================
|
||||||
|
* fix compatibility with Dotclear 2.24 (required)
|
||||||
|
|
||||||
2021.10.06
|
enhancePostContent 2021.10.06
|
||||||
- update translations (and remove .lang.php file)
|
===========================================================
|
||||||
- add priority on filters for replacement order
|
* update translations (and remove .lang.php file)
|
||||||
- add autosubmit onadmin menu
|
* add priority on filters for replacement order
|
||||||
- remove ability to edit record (=> delete then create)
|
* add autosubmit onadmin menu
|
||||||
- move sort options from blog pref to user pref
|
* remove ability to edit record (=> delete then create)
|
||||||
- split filters into modules
|
* move sort options from blog pref to user pref
|
||||||
- add pager for records list
|
* split filters into modules
|
||||||
- add user pref for filters options (dc 2.20)
|
* add pager for records list
|
||||||
- add some js helpers
|
* add user pref for filters options (dc 2.20)
|
||||||
- use url handler for css (externalize css)
|
* add some js helpers
|
||||||
- fix various bugs and typo
|
* use url handler for css (externalize css)
|
||||||
|
* fix various bugs and typo
|
||||||
|
|
||||||
2021.09.05
|
enhancePostContent 2021.09.05
|
||||||
- fix duplicate records id
|
===========================================================
|
||||||
- fix bad UFT8 filters modifier delimiter
|
* fix duplicate records id
|
||||||
- fix filters replacement limit
|
* fix bad UFT8 filters modifier delimiter
|
||||||
- fix admin redirections
|
* fix filters replacement limit
|
||||||
- fix dc link to settings
|
* fix admin redirections
|
||||||
- enhance admin design
|
* fix dc link to settings
|
||||||
|
* enhance admin design
|
||||||
|
|
||||||
2021.08.24.1
|
enhancePostContent 2021.08.24.1
|
||||||
- add links to blog prefs
|
===========================================================
|
||||||
- clean up php files style
|
* add links to blog prefs
|
||||||
- add dcstore.xml
|
* clean up php files style
|
||||||
|
* add dcstore.xml
|
||||||
|
|
||||||
2021.08.24
|
enhancePostContent 2021.08.24
|
||||||
- switch to Dotclear 2.19
|
===========================================================
|
||||||
- switch to php 7.3+ and php 8.0.x
|
* switch to Dotclear 2.19
|
||||||
- switch to Github
|
* switch to php 7.3+ and php 8.0.x
|
||||||
- update license
|
* switch to Github
|
||||||
- update php code to PSR-2 and short array
|
* update license
|
||||||
- move settings from plugin to blog
|
* update php code to PSR-2 and short array
|
||||||
- fix widget rendering
|
* move settings from plugin to blog
|
||||||
- fix php strict warning on undeclared var on public content
|
* fix widget rendering
|
||||||
|
* fix php strict warning on undeclared var on public content
|
||||||
|
|
||||||
2013.11.08
|
enhancePostContent 2013.11.08
|
||||||
- Switch to Dotclear 2.6 (admin styles and settings)
|
===========================================================
|
||||||
- Add dashboard icon
|
* Switch to Dotclear 2.6 (admin styles and settings)
|
||||||
- Add widget options (content_only and class)
|
* Add dashboard icon
|
||||||
- Fix records list pager
|
* Add widget options (content_only and class)
|
||||||
|
* Fix records list pager
|
||||||
|
|
||||||
2013.06.25
|
enhancePostContent 2013.06.25
|
||||||
- Fixed widget compatibility for php 5.4
|
===========================================================
|
||||||
|
* Fixed widget compatibility for php 5.4
|
||||||
|
|
||||||
2013.05.11
|
enhancePostContent 2013.05.11
|
||||||
- Fixed bug with Twitter replacement and wiki synthax of blockquote
|
===========================================================
|
||||||
- Fixed page title
|
* Fixed bug with Twitter replacement and wiki synthax of blockquote
|
||||||
|
* Fixed page title
|
||||||
|
|
||||||
2011.06.03
|
enhancePostContent 2011.06.03
|
||||||
- Added 'feeds pages'
|
===========================================================
|
||||||
|
* Added 'feeds pages'
|
||||||
|
|
||||||
0.9 - 2010-06-06
|
enhancePostContent 0.9 - 2010-06-06
|
||||||
- Switched to DC 2.2
|
===========================================================
|
||||||
|
* Switched to DC 2.2
|
||||||
|
|
||||||
0.8.1 - 2010-03-31
|
enhancePostContent 0.8.1 - 2010-03-31
|
||||||
- Fixed some l10n
|
===========================================================
|
||||||
- Added option for default list order
|
* Fixed some l10n
|
||||||
|
* Added option for default list order
|
||||||
|
|
||||||
0.8 - 2010-03-31
|
enhancePostContent 0.8 - 2010-03-31
|
||||||
- Added admin lists sortable
|
===========================================================
|
||||||
- Added pager for admin lists
|
* Added admin lists sortable
|
||||||
- Added update on records
|
* Added pager for admin lists
|
||||||
- Changed title of HTML tag on links replacement
|
* Added update on records
|
||||||
- Removed empty CSS from head
|
* Changed title of HTML tag on links replacement
|
||||||
- Enhanced admin pages
|
* Removed empty CSS from head
|
||||||
|
* Enhanced admin pages
|
||||||
|
|
||||||
0.7 - 2010-01-12
|
enhancePostContent 0.7 - 2010-01-12
|
||||||
- Moved lists from setting to a new database
|
===========================================================
|
||||||
|
* Moved lists from setting to a new database
|
||||||
|
|
||||||
0.6 - 2010-01-09
|
enhancePostContent 0.6 - 2010-01-09
|
||||||
- Fixed HTML tags to use standard tags.
|
===========================================================
|
||||||
- Fixed CSS class names
|
* Fixed HTML tags to use standard tags.
|
||||||
- Changed settings management
|
* Fixed CSS class names
|
||||||
- Added widget (only for post page)
|
* Changed settings management
|
||||||
- Added some post enhancement
|
* Added widget (only for post page)
|
||||||
|
* Added some post enhancement
|
||||||
|
|
||||||
0.5 - 2009-12-28
|
enhancePostContent 0.5 - 2009-12-28
|
||||||
- Added support of comment content
|
===========================================================
|
||||||
- Added support of word replacement
|
* Added support of comment content
|
||||||
- Added option for case sensitive
|
* Added support of word replacement
|
||||||
- Added option for plural
|
* Added option for case sensitive
|
||||||
- Changed class from post-xxx to epc-xxx
|
* Added option for plural
|
||||||
- Changed names from acronyme to acronym
|
* Changed class from post-xxx to epc-xxx
|
||||||
- Changed acronym html tag from <span> to <acronym>
|
* Changed names from acronyme to acronym
|
||||||
- Changed all settings management
|
* Changed acronym html tag from <span> to <acronym>
|
||||||
|
* Changed all settings management
|
||||||
|
|
||||||
0.4 - 2009-12-24
|
enhancePostContent 0.4 - 2009-12-24
|
||||||
- Merry Christmas!
|
===========================================================
|
||||||
- enhanced filters
|
* Merry Christmas!
|
||||||
- Added support of entry excerpt
|
* enhanced filters
|
||||||
- Added support of custom ignored HTML tags
|
* Added support of entry excerpt
|
||||||
- Added some help
|
* Added support of custom ignored HTML tags
|
||||||
|
* Added some help
|
||||||
|
|
||||||
0.3 - 2009-12-21
|
enhancePostContent 0.3 - 2009-12-21
|
||||||
- Fixed filter with punctuation (slow hack)
|
===========================================================
|
||||||
è Added word-to-link filter
|
* Fixed filter with punctuation (slow hack)
|
||||||
|
* Added word-to-link filter
|
||||||
|
|
||||||
0.2 - 2009-12-12
|
enhancePostContent 0.2 - 2009-12-12
|
||||||
- Fixed case sensitive definition
|
===========================================================
|
||||||
- Prepared DC 2.2
|
* Fixed case sensitive definition
|
||||||
|
* Prepared DC 2.2
|
||||||
|
|
||||||
0.1 - 2009-10-17
|
enhancePostContent 0.1 - 2009-10-17
|
||||||
- First release
|
===========================================================
|
||||||
|
* First release
|
||||||
|
|
35
README.md
35
README.md
|
@ -1,11 +1,10 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/enhancePostContent)](https://github.com/JcDenis/enhancePostContent/releases)
|
[![Release](https://img.shields.io/badge/release-2023.08.14-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/enhancePostContent/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/enhancePostContent)](https://github.com/JcDenis/enhancePostContent/releases)
|
[![Date](https://img.shields.io/badge/date-2023.08.14-c44d58.svg)](https://git.dotclear.watch/JcDenis/enhancePostContent/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/enhancePostContent)](https://github.com/JcDenis/enhancePostContent/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.27-blue.svg)](https://fr.dotclear.org/download)
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
||||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
[![License](https://img.shields.io/github/license/JcDenis/enhancePostContent)](https://git.dotclear.watch/JcDenis/enhancePostContent/blob/master/LICENSE)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/enhancePostContent)](https://github.com/JcDenis/enhancePostContent/blob/master/LICENSE)
|
|
||||||
|
|
||||||
## WHAT IS ENHANCEPOSTCONTENT ?
|
## WHAT IS ENHANCEPOSTCONTENT ?
|
||||||
|
|
||||||
|
@ -18,16 +17,16 @@ atgs, acronyms, abbreviations, definition, citation, link, etc...
|
||||||
|
|
||||||
## REQUIREMENTS
|
## REQUIREMENTS
|
||||||
|
|
||||||
enhancePostContent requires:
|
_enhancePostContent_ requires:
|
||||||
|
|
||||||
* admin permissions to set up plugin
|
* admin permissions to set up plugin
|
||||||
* content admin permissions to manage fitlers
|
* content admin permissions to manage fitlers
|
||||||
* Dotclear 2.27
|
* Dotclear 2.27
|
||||||
* PHP 8.1+
|
* PHP 8.1+
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
First install enhancePostContent, manualy from a zip package or from
|
First install _enhancePostContent_, manualy from a zip package or from
|
||||||
Dotaddict repository. (See Dotclear's documentation to know how do this)
|
Dotaddict repository. (See Dotclear's documentation to know how do this)
|
||||||
|
|
||||||
Go to ''blog preference'' => fieldset ''plugin preference'', fill in form.
|
Go to ''blog preference'' => fieldset ''plugin preference'', fill in form.
|
||||||
|
@ -38,13 +37,13 @@ you should also add widgets.
|
||||||
|
|
||||||
## 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/enhancePostContent)
|
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/enhancePostContent) or [GitHub Page](https://github.com/JcDenis/enhancePostContent)
|
||||||
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/enhancePostContent/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
||||||
* Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?id=40876)
|
* Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?id=40876)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
* Jean-Christian Denis
|
* Jean-Christian Denis
|
||||||
|
|
||||||
You are welcome to contribute to this code.
|
You are welcome to contribute to this code.
|
||||||
|
|
10
_define.php
10
_define.php
|
@ -18,7 +18,7 @@ $this->registerModule(
|
||||||
'Enhance post content',
|
'Enhance post content',
|
||||||
'Add features to words in post content',
|
'Add features to words in post content',
|
||||||
'Jean-Christian Denis and Contributors',
|
'Jean-Christian Denis and Contributors',
|
||||||
'2023.07.30',
|
'2023.08.14',
|
||||||
[
|
[
|
||||||
'requires' => [
|
'requires' => [
|
||||||
['php', '8.1'],
|
['php', '8.1'],
|
||||||
|
@ -27,12 +27,12 @@ $this->registerModule(
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
dcAuth::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.epc_params',
|
'blog' => '#params.epc_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',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="enhancePostContent">
|
<module id="enhancePostContent">
|
||||||
<name>Enhance post content</name>
|
<name>Enhance post content</name>
|
||||||
<version>2023.07.30</version>
|
<version>2023.08.14</version>
|
||||||
<author>Jean-Christian Denis and Contributors</author>
|
<author>Jean-Christian Denis and Contributors</author>
|
||||||
<desc>Add features to words in post content</desc>
|
<desc>Add features to words in post content</desc>
|
||||||
<file>https://github.com/JcDenis/enhancePostContent/releases/download/v2023.07.30/plugin-enhancePostContent.zip</file>
|
<file>https://git.dotclear.watch/JcDenis/enhancePostContent/releases/download/v2023.08.14/plugin-enhancePostContent.zip</file>
|
||||||
<da:dcmin>2.27</da:dcmin>
|
<da:dcmin>2.27</da:dcmin>
|
||||||
<da:details>https://plugins.dotaddict.org/dc2/details/enhancePostContent</da:details>
|
<da:details>https://git.dotclear.watch/JcDenis/enhancePostContent/src/branch/master/README.md</da:details>
|
||||||
<da:support>https://github.com/JcDenis/enhancePostContent</da:support>
|
<da:support>https://git.dotclear.watch/JcDenis/enhancePostContent/issues</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
Loading…
Reference in a new issue