Quick links: Content - sections - sub sections
EN FR

Trace: 1.8.x credits download hall-of-fame 1.0 1.1

This is an old revision of the document!


Jelix 1.1

Still in development. in the trunk directory. Here are the updates and enhancements added since the 1.0 version, and that will be available in the future 1.1 version.

Changelog updated until : SVN-1098

Main improvements

  • many improvements in jForms :
    • new 1.1 version of the XML format (the 1.0 version is still usable)
    • new controls : <hidden>, <captcha>, <group>, <choice>, <htmleditor>…
    • dynamically add/remove or enable/disable controls
    • possibility to know the updated values
    • Integration of jQuery, Wymeditor (wysiwyg html editor)
  • new jAcl2 API, simpler than jAcl
  • support of SOAP

Updating from Jelix 1.0.x

  • replace the lib directory by the one in jelix 1.1
  • remove all the files in the temp/ directory
  • update your code link specified hereafter :
  • remove most of unuseful JELIX_LIB_* constants. Only JELIX_LIB_PATH, JELIX_LIB_CORE_PATH and JELIX_LIB_UTILS_PATH still exist.
  • remove also JELIX_PLUGINS_PATH and JELIX_MODULE_PATH
  • Rename the “plugins” section to “coordplugins” in your configuration files
  • Because of mispelling methods and properties, there were methods and properties renamed:
    • template plugin formdatasfull renamed to formdatafull
    • template plugin formdatas renamed to formdata
    • jFormsBase::getDatas() renommé en getAllData()
    • jFormsDatasource::getDatas() renamed to getData()
    • jFormsDatasource::$datas renamed to $data
    • jFormsDataContainer::$datas renamed to $data
    • jResponseJson::$datas renamed to $data
    • jResponseRdf::$datas renamed to $data
    • jControllerDaoCrud::_checkDatas() renamed to _checkData()
  • The jDateTime::durationTo does not accept a jDateTime object as parameter

anymore, but a jDuration object.

  • in your customized response objects, rename the _commonProcess method to doAfterActions
  • jForms :
    • in the templates, the {form} and {formfull} plugins have their list

of parameters updated

  * The name of the root tag of the jForms files is now uniform and is
  then called "form". Rename the "forms" tags into "form".
  * The javascript API of jForms has been slightly updated : if you use it
  (but it is rare), you have to update your scripts.
  * The API of the jFormBase object has been slightly updated at the level
  of methods setReadOnly()
  * The id of the generated html form tags has changed (#423) and also the

the ids of the controls to avoid collisions and “guess” it more easily.

  • The old syntax of the action selectors (with a “_” instead

of a “:”) is no more supported. You have to change your old selectors.

  (for those who mirate from a < 1.0 version)

Details of changes

  • all little improvements in the 1.0.x branch
  • core:
    • added support of SOAP (#377)
    • improvements in error handler and exception handler (code refactor) (#467)
    • better error handling in CLI context (#408)
    • made little performance improvement during retrieving of the response object
    • CRUD controller : new method _beforeSaveUpdate and _beforeSaveCreate (#618)
    • new CRUD controller, jControllerDaoCrudDfk, for tables which have primary key based on 2 fields
    • new jResponseHtmlFragment, to send html fragment for ajax requests (#501)
    • new jResponseCmdLine, for CLI scripts, with a new coordinator jCmdlineCoordinator (#406)
    • first argument of jController::getResponse is now optional
    • jLocale: support multiline rendering in strings (#569)
    • Errors logs: messageLogFormat now supports %url% to log the url causing an error (#638)
  • jResponseHtml:
    • we can specify our own doctype in html response, by overriding the new outputDoctype function.(#440)
    • renamed _commonProcess method to doAfterActions (however _commonProcess is still there for the compatibility)
  • jForms:
    • Improve jForms to allow to use our own builder as a plugin (#434) and now template plugins for jForms are more independant from the output format.
    • choice of builder in jforms tpl plugins (#583)
    • New version 1.1 of xml format
      • New <hidden> control (#212)
      • New <captcha> control (#248)
      • New <hmleditor> control (#215). Abilities to choice your own engine. Added wymeditor, a javascript script to do html wysiwyg editing.
      • support of type=“html” on <input> and <textarea>: then jforms checks the content to avoid security issues like XSS (#381)
      • new way to specify datasources : <datasource> element and new attributes
      • possibility to indicate a parameter for method of dao for datasource (#555)
      • optional profile for dao datasource (#582)
      • added support of maxlength attribute on input tags (#460)
    • The compiler has been rewritten to be easier to modify
    • new method jForms::clean() to destroy all oldest forms in sessions
    • new method jFormsBase::getModifiedControls() to know fields which have been modified (#351)
    • new method jFormsBase::prepareDaoFromControl() (similar to saveToDao but the saving is not done) (#497)
    • added the possibility to set the activation of a form's field in a controller (new method jFormsBase::deactivate and jFormsBase::isActivated) (#518)
    • new template plugin ifctrl (#601)
    • linebreaks in text from textarea are replaced by a br element during the display of the value (#579)
  • jDao
    • jDaoFactoryBase::countBy : allowing to do count on distinct fields (#580)
    • new method jDaoConditions::addItemGroup to create groupby (#579)
  • jAcl2: better acl API
  • new module jacl2_admin to manage rights with jAcl2, in a HTML user interface
  • jAuth: renamed “persistanceEnabled” event parameter by “persistence”, and this parameter contains the timestamp of the persistence timeout
  • jTpl:
    • new methods registerModifier and registerFunction (#138)
    • new method assignByRef (#137)
    • added support of multiline tags in templates (#55)
    • new plugin 'cycle' (#149)
    • new plugin to integrate flash objects (#498, #585)
    • improvements on plugin meta_html (#553)
    • new plugin breadcrumb (#527)
    • new plugin link_to_remote (AJAX) (#30)
  • jelix:utils
    • Added a class to do http request, jHttp, based on netHttp from clearbricks (#7)
    • new class jIniFileModifier
    • new class jDuration, to use with jDateTime
    • new class jMessage and {jmessage} jTpl plugin to manage messages in session and display them in templates (#644)
    • Updated WikiRenderer (jWiki) to 3.1pre version
    • Added enhanced service handling (dependency injection) in jClasses (#523)
  • jelix-www
    • updated tooltip.js to 1.1 version
    • added jQuery + some plugins
  • new coord plugin : history (#507)
  • added support of virtual jdb profiles (#410)
  • added a javascript packer to compress javascript files in some editions

Bug fixes

  • all bug fixed in the 1.0.x branch
  • jDateTime::durationTo method did a bad calculation of the duration, and now use the new class jDuration (#453)
  • Change content-type of jResponseJSon to application/json according to rfc4627 (#552)

Other versions

en/changelog/1.1.1222408966.txt.gz · Last modified: 2008/09/26 06:02 by doubleface

Recent changes RSS feed Creative Commons License