Dotclear

2021 Nov 13

Dotclear 2.20

Still gardening and happy tooyou Kozlika!


As announced at the time of the 2.19 release, we are publishing new versions more often - or at least trying to.

In this new version 2.20, the highlights are as follows:

  • A new alternative repository system has been set up for third-party plugins and themes, which can be useful if the DotAddict server is running out of steam, as it did recently (thanks to Noé for getting it up and running again), or if the author does not wish to deposit his work elsewhere than on his own public repository. We detail the procedure to follow below.
  • A new IPv6-specific spam filter (which is starting to be deployed quite a bit) is included in parallel with the IPv4-specific filter.
  • Users can now enter several additional email addresses and websites in their profile. Indeed, some themes allow the author of a post to be differentiated from other commenters on the basis of those email and web site addresses, which may change over time. This system therefore makes it possible to indicate new addresses without having to modify the metadata of old comments.
  • Dotclear's wiki syntax has been extended to allow the easy insertion of HTML block details. A vertical bar at the beginning of the line, followed by the text of the summary is necessary to start this block, followed by the free content of the block, followed by a line with a vertical bar as the first character only ending the whole, i.e. :
|summary of the detail block (hidden by default)
    …
content of my block
    …
|

Please note: this version is the last to support PHP 7.3; the next 2.21 will require at least PHP 7.4 (or PHP 8). A message will be displayed on your dashboard if your PHP version is affected.


Alternative repositories:

To implement an alternative repository for a module, plugin or theme, you need two things:

  1. A repository entry in the properties provided in the module's _define.php file, such as: 'repository' => 'https://raw.githubusercontent.com/franck-paul/sysInfo/main/dcstore.xml'
  2. A dcstore.xml file structured as follows, and stored in accordance with the URL provided above:
<modules xmlns:da="http://dotaddict.org/da/">
  <module id="[MODULE_ID]">
    <name>[MODULE NAME]</name>
    <version>[MODULE.VERSION]</version>
    <author>[MODULE AUTHOR]</author>
    <desc>[MODULE DESCRIPTION]</desc>
    <file>[MODULE_ARCHIVE.ZIP]</file>
    <da:dcmin>[MODULE_DOTCLEAR_VERSION_MIN]</da:dcmin>
    <da:details>[MODULE_DETAIL_URL]</da:details>
    <da:support>[MODULE_SUPPORT_URL]</da:support>
  </module>
</modules>

Example for the sysInfo plugin:

<modules xmlns:da="http://dotaddict.org/da/">
  <module id="sysInfo">
    <name>System Information</name>
    <version>1.16.3</version>
    <author>System Information</author>
    <desc>System Information</desc>
    <file>https://github.com/franck-paul/sysInfo/releases/download/1.16.3/plugin-sysInfo-1.16.3.zip</file>
    <da:dcmin>2.19</da:dcmin>
    <da:details>https://open-time.net/docs/plugins/sysInfo</da:details>
    <da:support>https://github.com/franck-paul/sysInfo</da:support>
  </module>
</modules>

Note that the dcstore.xml file does not need to be included in the module installation archive.

As soon as a module, indicating in its _define.php file an alternative repository, will be installed with Dotclear version 2.20, then the latter will also consult this repository to check for the presence of a new version.


One more thing!

It is possible to save the default settings for inserting a media file (image, sound, ...) which is then used when editing posts and pages. See Blog settings, section "Media and images". It is also possible to save the current insertion parameters when inserting media into a post.

This is convenient but can be counterproductive in some cases.

Dotclear version 2.20 now takes into account the presence of a .mediadef file (or .mediadef.json) structured as follows, so that the settings specified in it become automatically pre-selected instead of those saved by default for the blog:

{
"size": "o",
"legend": "none",
"alignment": "center",
"link": false
}

Voilà les valeurs possibles pour les différents réglages :

  • size : "sq" for thumbnail, "s" for small, "m" for medium, "o" for original
  • legend : "none" for none, "title" for title only, "legend" for title and legend
  • alignment : "none" for none, "left" to left align, "right" to right align, "center" to center
  • link : true with the link, false without the original image link

You are not obliged to specify all the settings and if one or more of them are missing, the one or more saved for the blog will be used.

Moreover, this preset file is only valid for the folder in which it is saved and therefore only for the media it contains.


Conclusion

For the rest, the curious can consult the details of the modifications in the CHANGELOG file of this version.

Et voilà !

2021 Aug 13

Dotclear 2.19

A new version to celebrate the 18 years of Dotclear.

On the program, a more robust code (PHP and Javascript), some improvements for themes developers, a minimal version of PHP 7.3 required, the compatibility with PHP 8 being ensured, the few used libraries have been updated (jQuery, CKEditor, codemirror, ...).

Note that the MySQL driver support has been removed and is now replaced by the MySQLi driver. You don't have to change anything if you were using the old one, the replacement is automatic.

Furthermore, the "remember me" function present on the blog comment forms, previously managed via the creation of a cookie, is now replaced by a local storage in the browser via the localStorage API.

Note also that Google's FLoC tracking system is automatically disabled (which can be overridden via the blog settings).

The curious can study the CHANGELOG file for details.

We will also try to publish new versions more often with probably less stuff each time as the application has already reached its maturity/majority :-)

2021 Feb 13

Dotclear 2.18.1

A maintenance version that corrects a few bugs, especially when putting programmed entries online.

2020 Nov 13

Dotclear 2.18

A new version that brings some changes and updates.

The most notable are :

  1. The IP addresses - especially from comments - are now displayed in the administration only if you are administrator or super-administrator.
  2. The HTML syntax and the CKEditor editor are now proposed by default for new users and new blogs.
  3. The CKEditor editor now integrates footnotes management.

Note that the next major release, 2.19, will require PHP 7.0 or greater!

2020 Aug 17

Dotclear 2.17.2

A maintenance version that fixes two minor problems with Safari.

2020 Aug 15

Dotclear 2.17.1

A maintenance version to fix a problem caused by Chrome with the optional password fields of posts and pages.

2020 Aug 13

Dotclear 2.17

Here's the “Jurassic blog edition”, aka Dotclear 2.17 to celebrate 17 years of Dotclear today \o/


The CHANGELOG:

* 🐘 PHP 5.6+ is required, PHP 7.4 compliance
* 🛡 Security: Password is now needed to export blog settings and contents (full/simple)
* Themes can now be cloned
* New helper button (show/hide) for password fields
* Enhancement of filter/sort usage for lists (posts, comments, …)
* 3rd automatic theme for backend theme (which follow OS setting)
* Authentication (backend) and password form (public for password protected entry) have been redesigned
* Add a Cancel button wherever relevant in backend
* PHP files can now be edited in Theme editor
* Plugins may now use SVG icon rather than JPG/PNG
* Black/White list names become Block/Allow list (antispam)
* Wiki: subscript syntax changed from _subscript_ to ,,subscript,,
* Wiki: add ;;span-content;; syntax
* Wiki: add §§attributes[|list attributes]§§ for blocks (at end of the 1st line of block)
* Wiki: add §attributes§ for inline elements (just before closing marker, warning: cannot be nested)
* Tpl: Add {{tpl:BlogNbEntriesFirstPage}} and {{tpl:BlogNbEntriesPerPage}}
* Tpl: Add optional even attribute to <tpl:EntryIfOdd>, <tpl:CommentIfOdd> and <tpl:PingIfOdd>
* Tpl: Add author="…" as attribute of <tpl:EntryIf>
* Sys: Add several behaviors, coreBeforeImageMetaCreate, themeBeforeClone and themeAfterClone
* a11y: Reduce motion if required in provided themes and backend
* Lib: Update jQuery to 3.5.1 (backend and public)
* Lib: Update Codemirror to 5.55.0
* Lib: CKEditor new color palette (configurable)
* Fix: Notification system refactored (now based on db rather than PHP Session)
* Fix: Missing confirmation before closing modified forms / unecessary confirmation asked before closing not modified forms
* i18n: Switch from Transifex to Crowdin for localisation purpose (https://dotclear.crowdin.com/)
* 🐛 → Various bugs, a11y concerns and typos fixed
* 🌼 → Some locales and cosmetic adjustments

2020 Jun 2

Dotclear 2.16.9

A new little version that fixes some minor bugs.

2020 May 27

Dotclear 2.16.8

This version fixes the use of the Clearbricks library, not updated in the previous version.

Dotclear 2.16.7

As the previous one, a new little version that fixes some minor but sometimes annoying bugs.

2020 May 22

Dotclear 2.16.6

A new version that fixes some minor but sometimes annoying bugs.

2020 May 14

Dotclear 2.16.5

A new version that fixes some minor but sometimes annoying bugs.

2020 Apr 24

Dotclear 2.16.4

A new version which integrates the correction of a bug forgotten in the previous version.

2020 Apr 21

Dotclear 2.16.3

A new version that fixes two minors bugs.

2020 Apr 17

Dotclear 2.16.2

A new minor version that fixes the lack of warning when content has been modified and not saved with CKEditor.

- page 3 of 8 -

Sites map