Cotonti Versions Save

Fast, reliable and flexible PHP CMF/CMS

0.9.24.2

3 months ago

Fixing a bug in the template engine found in release 0.9.24

For more detailed info see:

0.9.24.1

3 months ago

Fixing a bug in the template engine found in release 0.9.24

For more detailed info see:

0.9.24

4 months ago

What's new:

  • СoTemplate. Support for multiple function arguments. Now you can write like this:
{PHP|cot_url('page', 'c=news')|var_dump({PHP.L.Home}, $this, {PHP.cfg.mainurl}, {PHP|cot_url('page', 'c=news ')}, {HEADER_TITLE})}

The $this support is left in place for backwards compatibility.

  • СoTemplate. Strict comparison operators: === and !==
  • Fixed a bug where data from the database cache might not be loaded automatically.
  • Static cache improvements.
  • You can now use comments in Url editor's *.dat files
  • Forums API. A new function cot_forums_sqlExcludePrivateTopics() that generates an SQL condition to exclude private topics from the selection, based on the the current user's rights. You can use it in your extensions.
  • The page views counter now works even when the static page cache is enabled.
  • Captcha and posting comments by guests now work when static page cache is enabled.
  • Search. The default sorting is by date descending.
  • Fixed/added meta tags title, description and canonical url in some extensions
  • Function cot_generatePaginationTags() for uniform generation of pagination tags in extensions.
  • Extrafields. Field name validation.
  • CKEditor has been updated to version 4.22.1. In future releases, it will be replaced with version 5.
  • Refactoring of tags in templates has begun. Making tags more understandable and convenient. The old tags are kept for backward compatibility, but will be removed in the future. We recommend updating your themes.
  • The Composer folder has been moved to lib/vendor
  • 1st part of Tags plugin improvements
  • Improvements to the Recent items plugin
  • Other minor improvements
  • Fix for various errors found during operation.

For more detailed info see:

0.9.23

11 months ago

What's new:

  • Added Composer support.
  • Added PSR-4: Autoloader for classes
  • Improved cot_mail() function to follow RFC 2822. Added support for several recipients, CC and BCC recipients and custom sender (from)
  • Added check for file existence for hooks
  • Implemented first part of logging system improvement
  • Install - prevent execution of more than 1 process at a time
  • CKEditor updated to v4.21.0
  • Plugins 'BBcode Parser' and 'MarkItUp!' are removed from standard 'box'
  • Fixed some bugs.

You can find removed plugins here: BBcode Parser and MarkItUp!

Thanks to everyone who participated in the work on this release, programming and testing.

For more detailed info see:

0.9.22

1 year ago

What's new:

What's new:

  • Force HTTPS. If you are using HTTPS but for some reason it is not detected automatically, enable this option in config.php
  • Ability to add attributes to included JS/CSS files via the Resources class
  • Refactored and ordered icons and resources that use them
  • Detailed information about PHP installed on the server (phpinfo) has been added to the admin panel
  • CKEditor updated to version 4.20.2
  • Minor admin panel update
  • Fixed some missing lines in language files
  • There is still some code that is not adapted to php 8.1. But there is less and less of it. In this release, we continued to work on this.
  • Fixed some bugs.

The 'Table Of Contents' plugin has also been updated

There are some breaking changes and new tags in tpl files. Read more on the release page.

Thanks to everyone who participated in the work on this release, programming and testing: Dmitri Beliavski (seditio) Pavlo Tkachenko (Dayver) webitproff and Alexey Kalnov (Alex300)

For more detailed info see:

0.9.21

1 year ago

Whats new:

  • Removed outdated 'News' plugin. Please use 'Index news' instead.
  • The CotDB class has been rewritten. We have taken the first step to using different databases, not just MySQL.
  • The cot_import_date() function can now accept string values. Date/time values ​​are allowed in any format that the strtotime() function supports. See: https://www.php.net/manual/en/datetime.formats.time.php. This makes it easier to use different datepickers on the frontend.
  • Compatibility with PHP8.1
  • Htmlpurifier updated to version 4.15.0
  • Improvements in 'i18n' plugin. (Support for multilingual content in core and extensions)
  • Several improvements and fixes

For more detailed info see:

0.9.20.1

1 year ago

Whats new:

  • Dropped support of PHP 5.3, now minimal requirements is PHP 5.4
  • Compatibility with PHP 8.0. We are waiting for the Htmlpurifier update to implement compatibility with PHP 8.1
  • CKEditor update to version 4.19.1
  • Htmlpurifier updated to version 4.14.0
  • Installer errors have been fixed
  • Improved work with MySQL (InnoDB engine instead of MyISAM, and utf8mb4 charset)
  • Improved email sending
  • Lots of fixes and improvements

For more detailed info see:

0.9.20

1 year ago

Whats new:

  • Dropped support of PHP 5.3, now minimal requirements is PHP 5.4
  • Compatibility with PHP 8.0. We are waiting for the Htmlpurifier update to implement compatibility with PHP 8.1
  • CKEditor update to version 4.19.1
  • Htmlpurifier updated to version 4.14.0
  • Installer errors have been fixed
  • Improved work with MySQL (InnoDB engine instead of MyISAM, and utf8mb4 charset)
  • Improved email sending
  • Lots of fixes and improvements

For more detailed info see:

0.9.19

7 years ago

[See also main changes list for Release candidate 1]

New since 0.9.19-rc1

Finally we drops support of PHP 5.2, now minimal requirements is PHP 5.3 (#1395)

MySQL 5.7 compatibility fixes

See #1505 and #1510:

  • Default values must be set and cant be NOT NULL (Page module affected: bc98c56, 7603b03)
  • Some types can't have default values (6b0bdf5)
  • No zero dates supported anymore, NULL used instead (Users module affected: 39734a2, a093ac2, 3cff686)
  • #1523 Users list page fixes
  • #1516 CKEditor updated to version 4.5.9
  • #1507 Fix not displayed «sorting links» in some pages list
  • #1512 Added new page.admin.validate.done hook (e9c8996)
  • #1517 Fixed hardcoded title prefix used in cot_import_extrafields()
  • #1509 Improved error messages on Extrafields import
  • Fixed cot_page_enum() function introduced in RC1 [Page module API](#1511, #1513)
  • Fixed CotDb::update() working with booleans in some cases (aac6e79)
  • improved cot_rmdir() (1312f10, 076d820)
  • new cot_extrafield_title() [Extrafields API](see #1517)
  • #1514 Fixes breadcrumbs in admin structure
  • #1502 Fixes category structure editing (bug with empty titles)

Other

  • #1501 Fixes not initialized values on install stage
  • Forums module: clean up HTML from code (e77091c)

For more detailed info see:

0.9.19-rc1

8 years ago

Overall changes

  • Extensions version numbering scheme changes (#1464)
  • CoTemplate can use classes and class properties in template callbacks (14d52fb) and vardumps (404a804)
  • Extended config types (see #1368, #1056, f5ee937)
    • fix custom config type (read the docs)
    • extending radio config type to allow custom list (see doc page)
    • extending callback type to support value=>title assoc. arrays (see doc page)

Security updates

  • #1431 security aspects based on reports of Acunetix Web Vulnerability Scanner:
    • Prevent XSS by use of canonical URL (as side effect results in #1435 )
    • Solves error messages on input variable type spoofing
    • Eliminates direct access to some internal files
    • Reduce clickjacing danger
  • #1436 Unexpected session data sharing for different installs bug
  • #1442 Unexpected rights reset in Structure
  • #1474 Omit default port 443 in Canonical and Base URL for HTTPS mode

New extensions

indexnews — next gen. news plugin as replacement to currently outdated and corny news

  • new cot_page_enum() [page API] — Generates page list widget
  • new cot_url_sanitize() [API - Functions] — Sanitize given URL to prevent XSS ()
  • new cot_themes_info() [API - Functions] — Returns themes info data ()
  • new cot_lang_determine() [API - Functions] — Returns a exists language from HTTP_ACCEPT_LANGUAGE (b3453e4)
  • reworked cot_schemefile() — #1493
  • extended cot_load_structure() with cot_load_structure_custom() (#1466)
  • improved cot_selectbox_structure() (149e3d4)
  • fix cot_infoget() breaks data if addition = sign found bug minor ( #1469 )
  • fix cot_safename() for causing duplicate filenames ( #1420 )
  • fix cot_plugin_active() as returns modules list ( #1471 )
  • fix cot_selectbox_theme() treats empty folder as a valid theme bug (#1485)

Enhancements

  • #1491 Hides User's profile theme selector in force default theme mode
  • #1426 Added Theme and language selectors for user edit
  • #1401 Option to remember language selection in cookie for i18n
  • #1398 Default Admin resources rearranged
  • #1112 Аnti_xss parameter «x» can be switched off for certain forms

«User Images» renew

  • #1500, #1496: Def. avatar is not displayed
  • #1462 User avatar not cleared in row cycle
  • #1423 Allow admin to upload users images in edit mode + fix redirect after image had been deleted.
  • #1422 deleting old image on new uploads.
  • #1421 unexpected overwriting files
  • #1407 Avatar is not displayed for guests

«I18n» updates and fixes

  • display search results content on current locale
  • search only in main and user selected locale (not show «junk» locales)
  • First display results with user locale
  • #1455 i18n loads incorrect lang file
  • #1449 Search in pages with i18n
  • #1428 fatal error if no ID

«Search» plugin:

  • #1475 breaking markup on results page
  • #1450 Fix custom date range usage
  • #1434 Search plugin: SQL error bug

«Tags» plugin:

  • #1459 Enchanced plugin meta tags generation
  • #1457 duplicates tags on Tags cloud pagination
  • #1439 Pagination on «all tags» page

«CKEditor» updated to version 4.5.7

  • #1440 CKEditor initialization fail
  • #1482 Fix CSS loading (baseref related)

«Page» module:

  • #1477 Add {DESC_OR_TEXT_CUT} tag
  • #1454 Page module: fatal error on some outdated sorting modes
  • #1432 Page: Administration: filtering pages list
  • #1406 Page: form data reset on error

«URLEditor»

  • #1498 URLEditor + I18n: not consider omit language parameter flag
  • #1478 admin page: breaks markup after saved with AJAX bug UX

«htmlpurifier» updated to 4.7.0 (#1497)

Resources Class fixes

  • #1409 error on non existing files
  • #1467 Resources::addFile() must not check if remote file exists bug
  • and other fixes: f4e66c2, d8b9273, ccf4ff3, e010492, ea03bf8,

Other fixes

  • #1492 User selected Scheme not override with force def. theme
  • #1479 Star Ratings Ajax Error
  • #1470 cot_get_extensionparams() called with wrong params
  • #1453 Structure config defaults rewrites values for individual categories while update
  • #1433 Page list: SQL query inconsistency (page count and pagelist)
  • #1417 PFS files attachments in Forums
  • #1414 Publication with the same name as the category
  • #1411 Fixed some php5.4 related bug
  • #1402 Uploaded exrtafield file with set the custom directory
  • #1397 Dealing with memory_limit
  • (0484bea) MarkitUp preview fix
  • (66e61e1) fix cot_import(). ['REQUEST_METHOD'] is undefined in cli mode
  • (f839607) RSS fix
  • (6ffc2cb) ajaxPageLoad fix

For more detailed info see: