Skip to content

Version 0.6.0

Compare
Choose a tag to compare
@JohanDufau JohanDufau released this 18 Oct 14:31
· 47 commits to dev since this release

Changelog

This is a major release for wityCMS!

Settings

  • NEW translator feature! Allows you to easily translate all your apps
  • Adds a debug switch
  • Adds an anti-flood switch if you are fed up with anti flood warnings while developping...
  • Adds a version field
  • Adds coordinates fields
  • Adds SEO fields
  • Adds GoogleAnalytics field
  • Adds OpenGraph settings

WTemplate

  • Add a new "wdate" function to render dates easily {$wdate|wdate:'d/m/Y H:i:s'}
  • A new variable is now available: {$wity_now}
  • A new variable is now available: {$wity_userid}

User

  • Fixes a bug when deleting a user whereas config said to keep the user disabled in database
  • Fixes access rights management to prevent from privilege elevation
  • Enables permission config for non admin apps
  • Always store emails in lowercase

Libraries

  • Updates Upload class
  • Updates Bootstrap v3.3.7
  • Updates jQuery v3
  • Updates FPDF v1.81
  • Updates Bootstrap-datepicker v1.6.1
  • Updates RequireJS v2.2.0

Kernel

  • Kernel ready for PHP7
  • WController: $params now contains the "action" if it was not found in manifest
  • Improves WController::getApps() function
  • WSession: camel case format
  • WRequest: handles PUT and DELETE requests
  • WRetriver: getModel & getView now uses the URL to instiate the controller. Contextualization of controller was improved.
  • Fixes a bug when locale_get_display_region is not defined
  • WRequest: new function WRequest::hasDataForURL() to contextualize forms data sending
  • WRequest: deletes auto adding of signature into form
  • Sends a 404 HTTP header if page is not found
  • WLang: new function to get translated country name: WLang::getDisplayRegion()
  • Many bug fixes...
  • Lang system improved, more stable and getting ready for URL based language loading
  • WDate: is now JsonSerializable and exports date in ISO format

General

  • All translations English/French improved. If you want to add a new translation, just send an email to [email protected] !
  • Country list was updated (some new countries appeared since the previous list was not complete)
  • Session now lasts 1 month by default