Trace: • 1.1 • 1.4.x • accueil • 1.2rc1 • utiliser-composer • 1.3 • 1.4 • 1.7.x • evanjelix • simple-jforms-example
Differences ¶
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:changelog:1.3 [2011/03/18 17:31] – laurent | en:changelog:1.3 [2012/04/15 08:27] (current) – [Migrating from Jelix 1.2.x] laurent | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Jelix 1.3 ====== | ====== Jelix 1.3 ====== | ||
- | **Still in development**. | + | This page is listing updates and enhancements added since 1.2.x version, and that are available for the 1.3 version. |
- | Changelog updated as of: [[https:// | + | Release date: 18/10/2011 |
- | + | | |
- | See [[the documentation of new features here|en: | + | |
===== Main improvements ===== | ===== Main improvements ===== | ||
+ | * only one application.init.php and only one temp directory is needed now, for the www, cli and jelix scripts. | ||
* jLog and jResponseHtml have now plugins | * jLog and jResponseHtml have now plugins | ||
* new error managements. jLog is used to store errors, and errors are not displayed any more in responses. | * new error managements. jLog is used to store errors, and errors are not displayed any more in responses. | ||
+ | * new error page (http code: 500), displayed when an error occured. you can redefine it to have the design you want. | ||
+ | * all connection profiles (for jDb, jKVDb, jCache etc) are now stored in a single file @@F@profiles.ini.php@@. | ||
* a new nice debug bar, extensible, showing many informations (errors, sql queries...) | * a new nice debug bar, extensible, showing many informations (errors, sql queries...) | ||
- | * JELIX_APP_* constants are now replaced by a new jApp class | + | * JELIX_APP_* constants are now replaced by methods in a new jApp class |
+ | * improvements in jAcl2: subjects groups, rights can be forbidden by a group. | ||
+ | * Major rework of jelix-scripts, | ||
+ | * Better handling of the CGI context for CLI scripts that are launched with php-cgi | ||
+ | * Upgraded all vendors libraries: TCPDF 5.9.093, php5redis 1.2, jquery 1.6.2, jQuery UI 1.8.15, markitup 1.1.12 | ||
===== Migrating from Jelix 1.2.x ===== | ===== Migrating from Jelix 1.2.x ===== | ||
- | * replace the lib/ directory | + | * **READ THE [[http://docs.jelix.org/ |
- | | + | |
- | * delete the content of temp directories | + | |
- | * **change your application.init.php** to use jApp:: | + | |
- | * If you have activated minification of js and css files in your html responses, it won't work anymore because the configuration has changed. (manual soon) | + | |
- | + | ===== Details of changes | |
- | ===== Details of changes ===== | + | |
==== Enhancements ==== | ==== Enhancements ==== | ||
- | * JELIX_APP_* constants are now replaced by new properties in a new jApp class. application.init.php must be changed into existing applications, | + | |
- | * jLog has been moved to the core, and has now plugins | + | |
- | * new basic html response (on which you can provide a template containing a full html page) | + | * Removed multiple *.init.php files. Only one application.init.php is needed, and only one temp directory is needed. application-cli.init.php and jelix-scripts.init.php can be removed safely from applications. And only the temp/myapp/ directory is needed to store every temp files of any contexts. |
- | * jResponseHtml has now plugins. | + | * New object jInstallerApplication to retrieve the list of entry points, all used modules etc.. |
- | * Minify is now a plugin of jResponseHtml, | + | |
- | * new true debug bar (as a plugin of jResponseHtml). It displays errors gracefully, | + | * new method jLog:: |
- | | + | * Ticket #1126: new way how errors are managed. Responses are not responsible anymore to displays errors. Errors are handled by loggers. Loggers can inject errors in responses if they want. A new template is responsible to display a generic error message. Details of the errors are stored by loggers. Moved or renamed some configuration parameters |
- | * Ticket #1126: new way how errors are managed. Responses are not responsible anymore | + | * added a new method jRequest:: |
- | * Made changes in responses | + | * support of PHP 5.0 and PHP 5.1 has been removed definitively. |
- | * jBuildTools, | + | * Removed jUrl:: |
- | * added a new method jRequest:: | + | * jRequest:: |
- | * support | + | * new jApp object handling paths of the application. It has also these methods: |
- | * Removed jUrl:: | + | * jApp:: |
- | * jMailer: added the possibility to copy all mails in files | + | * New parameter backendBasePath in the configuration, |
- | * jRequest::getIp() - better handling | + | * Plugins for the coordinator: |
- | * implementation of jDbConnection:: | + | * jLocale: added support of a fallback locale. (ticket 1252) |
- | * new method jApp:: | + | |
+ | * responses: | ||
+ | | ||
+ | * jResponseHtml has now plugins. | ||
+ | * Minify is now a plugin of jResponseHtml, | ||
+ | * Made changes in responses to use the new error management. For most of responses, error content is output as a text response or as a html response. | ||
+ | | ||
+ | | ||
+ | | ||
+ | * plugin | ||
+ | | ||
+ | * jDb | ||
+ | * implementation | ||
+ | | ||
+ | | ||
+ | * jMailer: | ||
+ | * New jSoapClient class to retrieve | ||
+ | * Added scripts to create and run phpunit tests (Simpletests integration and the junittests module is now deprecated) | ||
+ | * Better random password generator in jAuth | ||
+ | * jAcl2: | ||
+ | * the primary key of a user group is now a string, not an autoincremented integer. setting rights | ||
+ | * added the possibility to forbid a right in a group. If a user is in several group, and if a right is canceled in one of these groups, then the user has not this right. | ||
+ | * Made improvements on the UI of rights management | ||
+ | * jForms: | ||
+ | * added the ability to run easily js code during the submit event. new jFormsJQ.addSubmitHandler method. | ||
+ | * added support of attributes on the form tpl plugin, ie: html attributes can be added on the generated form element. | ||
+ | | ||
+ | * Menulist should have empty item even when it is not required (Ticket #977) | ||
+ | * added support of empty items in listboxes (Ticket #977) | ||
+ | * Jelix-scripts: major rework of jelix-scripts, | ||
+ | * no more jelix.php script. Replaced by a new cmd.php into the application to launch commands on the application | ||
+ | * new createapp.php script into lib/jelix-scripts/ | ||
+ | * new configuration file (ini format), to store in your own HOME directory. No more default.conf.php file | ||
+ | | ||
+ | | ||
+ | * new command | ||
+ | * jTpl: we should be able to indicate | ||
==== Bugs fixed ==== | ==== Bugs fixed ==== | ||
+ | * Ticket #1318: fix bug: jUrl:: | ||
+ | * https protocol is now checked when https is required, in significant url engine (ticket #380) | ||
+ | * ticket #1160: support of limit query in the mssql driver. | ||
+ | |||
+ | And all bug fixes from the 1.2.x branch (1.2.0, 1.2.1, 1.2.2). | ||
+ | |||
+ | ===== Details of changes in 1.3RC1 ===== | ||
+ | |||
+ | ==== Improvements ==== | ||
+ | |||
+ | * Ticket #1379 - upgrade TCPDF 5.9.093 | ||
+ | * Updated php5redis lib to 1.2 | ||
+ | * Upgraded jquery to 1.6.2 | ||
+ | * Update jQuery UI to 1.8.15 | ||
+ | * Update markitup to 1.1.12 | ||
+ | * jForms: better check of control name when retrieving a control in some methods | ||
+ | * New implode plugin for jTpl | ||
+ | * ticket #1340 - jTpl: formdatafull should output a list for multiple-items controls | ||
+ | * Debug bar, sql log: improvement on the display of the list of log, better detection of jdao object | ||
+ | * jAcl2: new dao method to change the subject group on subjects | ||
+ | * ticket #809 - Generate jACL2 rights with the createdao command. | ||
+ | * ticket #1388 - enhance performance when using clearstatcache | ||
+ | * Ticket #1189 - crud controller, offset page should be passed to all pages so the user return at the right part on the page list | ||
+ | * ticket #1421 - Display HTTP referer in logs | ||
+ | * better security check based on the ip in the auth plugin | ||
+ | * Jelix script: | ||
+ | * Little improvement in the display of the help command | ||
+ | * changed an error message in the createapp script | ||
+ | * ticket #1400 - added date time format without second in jDateTime | ||
+ | * In a cli context, it's better to display error messages directly on the console | ||
+ | * Better handling of the CGI context for CLI scripts that are launched with php-cgi | ||
+ | * jUrl - significant engine - new parameter type, ' | ||
+ | * Ticket #1411 - Add a config option to force HTTP version | ||
+ | * ticket #1416 - jIncluder should throw an exception when the compiler fails | ||
+ | * ticket #1220 part 2 - new method jImageModifier:: | ||
+ | * Default value for notfoundAct should not be empty | ||
+ | * Update links in the template of the zone check_install | ||
+ | |||
+ | ==== Bugs fixed ==== | ||
+ | |||
+ | * fixed a jelix update, where emailHeaders was moved with a bad value | ||
+ | * install sql scripts, pgsql: boolean values should be inside quotes | ||
+ | * ticket #1384: fixed bug on an updater for jelix 1.3 | ||
+ | * ticket #1381 - fixed undefined variable in jAuth:: | ||
+ | * ticket #1382 - error File jIAuthDriver.iface.php doesn' | ||
+ | * fixed bad method name in jRequest: getDomainName | ||
+ | * jUrl:: | ||
+ | * Components should use methods of jRequest to retrieve the protocol and the domain name, instead of using directly | ||
+ | * Ticket #1385: memory logger should have limits to store messages | ||
+ | * Fixed bug in jUrl:: | ||
+ | * fixed bugs in jacl2db_admin: | ||
+ | * ticket #1404 - fixed php error when using the CSS exclude list in the minify plugin | ||
+ | * ticket #1392 - jelix commands should be compatible with php-cgi in a cli context. | ||
+ | * Ticket #1414 - fixed a regression: For specific protocols, errors responses are not in the right format | ||
+ | * jelix scripts: for command that have variable parameters, the error 'too many parameters' | ||
+ | * jelix-scripts, | ||
+ | |||
+ | And all bug fixes from the 1.2.x branch (1.2.3, 1.2.4, 1.2.5). | ||
+ | |||
+ | |||
+ | |||
+ | ===== Details of changes in 1.3RC2 ===== | ||
+ | |||
+ | ==== Critical bug fixes ==== | ||
+ | |||
+ | * XSS Vulnerability in the form of the module jauth. In the template “auth~login.form”, | ||
+ | |||
+ | ==== Other bug fixes ==== | ||
+ | |||
+ | * ticket #1426 - the datepicker in jforms was not initialized with the given date. Regression after the update of jQueryUI. | ||
+ | * Fixed an issue in jDao: the use of float values into SQL queries may generate SQL errors, when the system locale does not have a point as decimal separator. new jDb:: | ||
+ | * Fixed a regression in the support of Minify: first CSS/JS was minified even if it shouldn' | ||
+ | |||
+ | |||
+ | ===== Details of changes in 1.3RC3 ===== | ||
+ | |||
+ | ==== Critical bug fixes ==== | ||
+ | |||
+ | * none | ||
+ | |||
+ | ==== Other bug fixes ==== | ||
+ | |||
+ | * Fixed a regression: jAcl2db did not worked anymore with postgresql. bad field type in the database. | ||
+ | * the authlogout listener of jacl2db now clear the jAcl2DbUserGroup cache | ||
+ | * junittests now takes care about the new ' | ||
+ | * jDaoConditions: | ||
+ | * Jelix-scripts: | ||
+ | * Jelix-scripts: | ||
+ | * In PHPUnit tests for an application, | ||
+ | |||
+ | ==== Improvements ==== | ||
+ | |||
+ | * jUnitTestCase: | ||
+ | * Jelix-scripts: | ||
+ | * Jelix-scripts: | ||
+ | * PHPUnit launcher: Added help for specific options for jelix tests | ||
+ | |||
+ | |||
+ | ===== Details of changes in 1.3 final ===== | ||
+ | |||
+ | * Fixed infinite loop when ob_end_clean fails, during the display of an error page | ||
+ | * ticket #1432 - date_format should support timestamp as parameter | ||
+ | * Redirection should be allowed with almost of type of request | ||
====== Other versions ====== | ====== Other versions ====== |