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