Trace:
Differences ¶
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:changelog:1.1 [2008/09/26 08:14] – doubleface | en:changelog:1.1 [2009/01/01 17:40] – goofy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~LANG: | ||
====== Jelix 1.1 ====== | ====== Jelix 1.1 ====== | ||
- | **Still in development**. in the trunk directory. | + | **Still in development** |
- | **Changelog updated until : SVN-1098** | + | This page is listing updates and enhancements added since 1.0 version, and that will be available for the future 1.1 version. |
+ | |||
+ | **Changelog updated until : SVN-1261** | ||
===== Main improvements ===== | ===== Main improvements ===== | ||
Line 9: | Line 12: | ||
* many improvements in jForms : | * many improvements in jForms : | ||
* new 1.1 version of the XML format (the 1.0 version is still usable) | * new 1.1 version of the XML format (the 1.0 version is still usable) | ||
- | * new controls : < | + | * new controls : < |
* dynamically add/remove or enable/ | * dynamically add/remove or enable/ | ||
- | * possibility to know the updated | + | * static association between some controls |
+ | * method listing modified | ||
* Integration of jQuery, Wymeditor (wysiwyg html editor) | * Integration of jQuery, Wymeditor (wysiwyg html editor) | ||
+ | * Automatic protection against CSRF attacks | ||
+ | * Builders migrated into jForms plugins | ||
* new jAcl2 API, simpler than jAcl | * new jAcl2 API, simpler than jAcl | ||
+ | * new response htmlfragment useful for AJAX calls | ||
* support of SOAP | * support of SOAP | ||
+ | * jTpl template engine enhancements : | ||
+ | * support on-the-fly declaration of modifiers and functions | ||
+ | * syntax : multilines instruction, | ||
+ | * new plugins : cycle, flash, breadcrumb, link_to_remote, | ||
+ | * new utilities class: jIniFileModifier, | ||
+ | * virtual profiles in jDb | ||
+ | * jelix-scripts enhanced | ||
+ | * new modules: master_admin and jacl2db_admin | ||
- | ==== Updating from Jelix 1.0.x ==== | ||
- | * replace the lib directory by the one in jelix 1.1 | + | ==== Migrating |
- | * remove all the files in the temp/ directory | + | |
- | * update your code as specified hereafter : | + | |
- | + | ||
- | * remove most of unuseful JELIX_LIB_* constants. Only JELIX_LIB_PATH, | + | |
- | * remove also JELIX_PLUGINS_PATH and JELIX_MODULE_PATH | + | |
- | * Rename the " | + | |
- | * Because of mispelling methods and properties, there were methods and properties renamed: | + | |
- | * template plugin formdatasfull renamed to formdatafull | + | |
- | * template plugin formdatas | + | |
- | * jFormsBase:: | + | |
- | * jFormsDatasource:: | + | |
- | * jFormsDatasource:: | + | |
- | * jFormsDataContainer:: | + | |
- | * jResponseJson:: | + | |
- | * jResponseRdf:: | + | |
- | * jControllerDaoCrud:: | + | |
- | * The jDateTime:: | + | |
- | 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 " | + | |
- | * 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 " | + | |
- | * The old syntax of the action selectors (with a " | + | |
+ | Read the [[en: | ||
===== Details of changes ===== | ===== Details of changes ===== | ||
Line 55: | Line 44: | ||
* core: | * core: | ||
* added support of SOAP (#377) | * added support of SOAP (#377) | ||
+ | * Security improvements : new config parameter ' | ||
* improvements in error handler and exception handler (code refactor) (#467) | * improvements in error handler and exception handler (code refactor) (#467) | ||
* made little performance improvement during retrieving of the response object | * made little performance improvement during retrieving of the response object | ||
Line 60: | Line 50: | ||
* new jResponseHtmlFragment, | * new jResponseHtmlFragment, | ||
* new jResponseCmdLine, | * new jResponseCmdLine, | ||
+ | * a CLI script can now be dedicated to the default action, so we don't have to indicate the action as arguments of the script | ||
* first argument of jController:: | * first argument of jController:: | ||
* jLocale: support multiline rendering in strings (#569) | * jLocale: support multiline rendering in strings (#569) | ||
* Errors logs: messageLogFormat now supports %url% to log the url causing an error (#638) | * Errors logs: messageLogFormat now supports %url% to log the url causing an error (#638) | ||
- | * Automatic detection of the time zone (#600) | + | * Automatic detection of the time zone (#600) |
- | * new url engine basic_significant, | + | |
- | * jControllerDaoCrud | + | * init.php use now spl autoload instead of @@__autoload@@ so other libs could define their own autoload. |
- | * new _preCreate and _preUpdate methods (#627) | + | * jControllerDaoCrud |
- | * jResponseHtml : | + | |
- | * you can now specify your own doctype, by overloading the new outputDoctype() method (#440) | + | * new _getForm and _createForm methods so we can redefine them to personnalize the form before its use. |
- | | + | * jResponseHtml : |
- | * new addLink method() (#657) | + | |
- | * jForms : | + | |
- | * possibility to add your own builder (XUL, extjs or other) under the form of a plugin (#434). The template plugins for jForms are now more more independents from the ouptut | + | |
- | * possiblity | + | * jForms : |
+ | | ||
+ | | ||
* New version 1.1 of xml format of jForms including : | * New version 1.1 of xml format of jForms including : | ||
* New < | * New < | ||
* New < | * New < | ||
- | * New < | + | |
- | * new < | + | * new < |
* New < | * New < | ||
+ | * New < | ||
* support of type=" | * support of type=" | ||
* new way to specify datasources : < | * new way to specify datasources : < | ||
- | * possibility to indicate a parameter for method of dao for datasource (#555) | + | * possibility to indicate a parameter for method of dao for datasource (#555): criteria and criteriafrom |
- | * new < | + | * new < |
- | * support of the minlength and maxlength attributes for < | + | * support of the minlength and maxlength attributes for < |
- | * support of the " | + | * support of the " |
- | * new method jForms:: | + | |
- | * new method jFormsBase:: | + | |
* new method jFormsBase:: | * new method jFormsBase:: | ||
+ | * new method jFormsBase:: | ||
* new methods for jFormsBase : isReadOnly(), | * new methods for jFormsBase : isReadOnly(), | ||
- | * Possibility to add or remove controls dynamically thanks to new methods of jFormsBase : addControl(), | + | * Possibility to add or remove controls dynamically thanks to new methods of jFormsBase : addControl(), |
* New methods in jFormsControl : setForm(), setData(), setReadOnly(), | * New methods in jFormsControl : setForm(), setData(), setReadOnly(), | ||
* Possiblity to specify the presence of a fields in the generated form, thanks to jFormsBase:: | * Possiblity to specify the presence of a fields in the generated form, thanks to jFormsBase:: | ||
* added support of maxlength attribute on input tags (#460) | * added support of maxlength attribute on input tags (#460) | ||
- | * important reorganizations in jForm' | + | * important reorganizations in jForm' |
* new template plugin ifctrl (#601) | * new template plugin ifctrl (#601) | ||
- | * new template plugin formdatafull text reponses | + | * new template plugin formdatafull text responses |
- | * {formcontrol} template plugin : it is now possible to specify a list of controls that we **don' | + | |
- | * linebreaks are replaced by a <br> when displaying the content of a text area (#646) | + | * linebreaks are replaced by a <br/> when displaying the content of a text area (#646) |
- | * new htmllight builder (#688) : it generates classical HTML and javascript, and the html builder now uses jquery. | + | |
- | * jDao : | + | * support of external urls (http and https) for the urls to submit a form (#710) |
- | * jDaoFactoryBase:: | + | * jDao : |
- | * new jDaoConditions:: | + | |
- | * jelix-www | + | |
- | * the javascipts | + | * During an update, field which have updatepattern and selectpattern are updated in the reocrd object. (#770) |
- | | + | * jDb: |
- | * added wymeditor to do wysiwyg html editing (#214) | + | * removed support of old PDO version for PHP 5.0 and constants JPDO* |
- | | + | * jDbConnection:: |
- | | + | * added support of FETCH_INTO |
- | * new module | + | * added support of virtual jdb profiles (#410) |
- | * jAuth: | + | |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | * jAcl2: better acl API | ||
+ | * new module | ||
+ | * jAuth: | ||
* added a " | * added a " | ||
- | | + | |
+ | | ||
* jTpl: | * jTpl: | ||
* new methods registerModifier and registerFunction (#138) | * new methods registerModifier and registerFunction (#138) | ||
Line 118: | Line 121: | ||
* added support of multiline tags in templates (#55) | * added support of multiline tags in templates (#55) | ||
* new plugin ' | * new plugin ' | ||
- | * minor enhancements in the compilator | + | * minor enhancements in the compilator |
- | * enhancement of the image plugin | + | |
* new plugin to integrate flash objects (#498, #585) | * new plugin to integrate flash objects (#498, #585) | ||
* improvements on plugin meta_html (#553) | * improvements on plugin meta_html (#553) | ||
* new plugin breadcrumb (#527) | * new plugin breadcrumb (#527) | ||
* new plugin link_to_remote (AJAX) (#30) | * new plugin link_to_remote (AJAX) (#30) | ||
- | * new modifer plugin number_format (#679) | + | * new modifer plugin number_format (#679) |
- | * for the compiled template plugins : new jTplCompiler:: | + | |
- | allowing to know if we are inside a block or not. | + | * new plugin to display PHP constants(only in trusted modules) |
+ | * new syntax to display results of PHP expressions : {=$truc…} | ||
* other plugins | * other plugins | ||
* coord plugin : history (#507) | * coord plugin : history (#507) | ||
- | * zendframework plugin for the coordinator allowing to directly use | + | * zendframework plugin for the coordinator allowing to directly use utility classes of ZF (#652) |
- | utility classes of ZF (#652) | + | |
* jelix:utils | * jelix:utils | ||
- | * new class jIniFileModifier | + | * new classes |
- | | + | |
* new class jDuration, to use with jDateTime (#425) | * new class jDuration, to use with jDateTime (#425) | ||
- | * Updated WikiRenderer (jWiki) to 3.1pre version | ||
* Added enhanced service handling (dependency injection) in jClasses (#523) | * Added enhanced service handling (dependency injection) in jClasses (#523) | ||
- | * new class jMessage and {jmessage} | + | * new jMessage |
- | * jMailer : possibility to use a template for the messages | + | |
* jZone : replaced the getParam() method by param() (getParam is still here but deprecated) (#690) | * jZone : replaced the getParam() method by param() (getParam is still here but deprecated) (#690) | ||
- | | + | * new class jImageModifier to ease modification and caching |
* junittests module : possibility to run the tests in command line (#454) | * junittests module : possibility to run the tests in command line (#454) | ||
+ | * module auth | ||
+ | * jauth~login: | ||
+ | * enhanced redirection to a referring page (origin of the request to auth module) (#658) | ||
+ | * created a new response htmlauth for better customization | ||
+ | * new modifier for jDiff (Diff) (#720) | ||
+ | * new script jelix_check_server.php checking jelix compatibility against a server (#409). | ||
* jelix php extensions (gold edition) : new option for php.ini to deactivate the extension in virtualhost (#386) | * jelix php extensions (gold edition) : new option for php.ini to deactivate the extension in virtualhost (#386) | ||
+ | * Jelix-Scripts : | ||
+ | * scripts.conf.php is renamed to scripts.conf.php.dist, | ||
+ | * createapp : application documentroot can be indicated optionnally (it still defaults to your_app/ | ||
+ | * createapp : application.init.php now includes jelix/ | ||
+ | * new constants can be edited in scripts.conf.php (author, copyright, license...) to fill automatically heading comments of php files, module.xml, plugin.xml and project.xml. | ||
+ | * new command createentrypoint : create an entry point with your type of choice. | ||
+ | * createform: now it adds controls for primary keys if there are not autoincremented, | ||
+ | * new specs for module.xml, plugin.xml et project.xml. | ||
+ | * Jelix-www: jQuery and jQuery UI added. | ||
+ | * TCPDF update, version 4.3.006 | ||
+ | * PHPMailer update, version 2.3 (jMailer and PHPMailer now clearly separated) | ||
+ | * WikiRenderer update, version 3.1pre65 | ||
==== Bug fixes ==== | ==== Bug fixes ==== | ||
Line 150: | Line 170: | ||
* Change content-type of jResponseJSon to application/ | * Change content-type of jResponseJSon to application/ | ||
* jDaoFactoryBase:: | * jDaoFactoryBase:: | ||
+ | |||
+ | ===== little improvements and bug fixes since jelix 1.1RC1 ===== | ||
+ | |||
+ | * renamed @@C@jBinding@@ to @@C@jClassBindind@@. This class is still experimental. | ||
+ | * removed @@M@jClasses:: | ||
+ | * in the config file, renamed the @@[Bindings]@@ section to @@[classbindings]@@. | ||
+ | * a CLI script can now be dedicated to the default action, so we don't have to indicate the action as arguments of the script (# | ||
+ | * @@F@init.php@@ use now spl autoload instead of @@__autoload@@ so other libs could define their own autoload. | ||
+ | * Jelix scripts: | ||
+ | * added verification on the module name in createapp and createmodule. | ||
+ | * createdao: fixed a bug on the support of the table parameter, and little improvements on the dao template | ||
+ | * it was impossible to create a module when basePath is set to a virtual path (#783) | ||
+ | * @@createapp -wwwpath somepath@@ doesn' | ||
+ | * scripts.conf.php is renamed to scripts.conf.php.dist, | ||
+ | * jMailer: | ||
+ | * the @@M@Tpl()@@ method return a jTpl object so we can assign any variables on the template | ||
+ | * Changed some properties from private to protected access on phpmailer class, so jMailer can access to it | ||
+ | * jforms_jquery.js: | ||
+ | * jForms: | ||
+ | * minor fixes in JS datepicker | ||
+ | * allow @@E@< | ||
+ | * fixed menulist for hour selection in date and datetime controls. (#790) | ||
+ | * modified internal API of jForms javascript object, in order to facilitate unit tests | ||
+ | * fixed javascript error during the validation of radio buttons. (#781) | ||
+ | * @@M@getModifiedControls@@ didn't work for checkbox. (#772) | ||
+ | * fixed syntax error in javascript files in compressed mode | ||
+ | | ||
+ | * jDb: better parsing of a mysql script in jDbTools. | ||
+ | * fixed urls in the @@check_install@@ template and other templates | ||
+ | * updated clearbricks to its svn-204 version, and include @@F@lib.files.php@@ for ticket #776 | ||
+ | * jIniFileModifier: | ||
+ | * modules: | ||
+ | * Renamed the module jacl2_admin to jacl2db_admin | ||
+ | * Added sql script to create jlx_users table, and fixed comments in jacl2db_admin | ||
+ | * Added sql scripts to create jAuth.db tables in pgsql, and little improvements in sql scripts for jAuth.db | ||
+ | * new module master_admin, | ||
+ | * improvements in templates of jacl2db_admin | ||
+ | * Security improvements : new config parameter ' | ||
+ | * regression: check for addJSLink, addCSSLink support before calling it.(#791) | ||
+ | * | ||
+ | |||
====== Other versions ====== | ====== Other versions ====== | ||
* [[en: | * [[en: | ||
+ |