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.2beta1 [2009/09/12 16:27] – laurent | en:changelog:1.2beta1 [2010/10/24 08:44] – laurent | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~LANG: | + | ~~LANG: |
- | ====== Jelix 1.2beta1 | + | ====== Jelix 1.2RC1 ====== |
- | **Still in development**. This page is listing updates and enhancements added since 1.1.x version, and that will be available for the future 1.2beta1 | + | **Still in development**. This page is listing updates and enhancements added since 1.2b1 version, and that will be available for the future 1.2 version. |
- | Changelog updated | + | Changelog updated |
===== Main improvements ===== | ===== Main improvements ===== | ||
- | | + | |
- | * new install | + | * many improvements and bug fixes in the new install system |
- | * Improved the performance and the flexibility of jDb profiles | + | * improvements in jForms: |
- | * new jCache class to store all you want in a cache, and where you want (memcache, files..) | + | * dynamic changes on dependencies of controls |
- | * updated TCPDF to 4.5.015 | + | * better error reporting on client side |
- | * updated Wikirenderer to 3.1.1 | + | * add support of CKEditor for the htmleditor control |
+ | * support of regular expression in input controls | ||
+ | * better error handling with uploads | ||
+ | * update of some vendors librairies | ||
+ | * little improvements in master_admin | ||
===== Migrating from Jelix 1.1.x ===== | ===== Migrating from Jelix 1.1.x ===== | ||
- | == Modules management has changed == | + | Read [[en: |
- | In the configuration file, @@unusedModules@@, | + | ===== Migrating from Jelix 1.2b1 ===== |
- | + | ||
- | * 0: if the module is not used (default value if the option is not created) | + | |
- | * 1: the module is used (you use its dao, forms, business classes etc from an other module), but is not publicly available (it is not accessible from the web). | + | |
- | * 2: the module is used and is accessible from the web | + | |
- | + | ||
- | example: | + | |
- | <code ini> | + | |
- | [modules] | + | |
- | testapp.access | + | |
- | junittests.access | + | |
- | jWSDL.access | + | |
- | jacldb.access | + | |
- | jacl2db.access = 1 | + | |
- | jauthdb.access = 1 | + | |
- | jauth.access = 2 | + | |
- | </ | + | |
- | + | ||
- | == Install your modules == | + | |
- | + | ||
- | You should also to " | + | |
- | + | ||
- | * verify that all your module have a module.xml filed correctly, with a version number, and your project.xml is ok too. | + | |
- | * create a file var/ | + | |
- | + | ||
- | <code ini> | + | |
- | [index] | + | |
- | jelix.installed=1 | + | |
- | jelix.version=1.2b1 | + | |
- | jacl2db.installed=1 | + | |
- | jacl2db.version=1.2b1 | + | |
- | jauth.installed=1 | + | |
- | jauth.version=1.2b1 | + | |
- | jauthdb.installed=1 | + | |
- | jauthdb.version=1.2b1 | + | |
- | junittests.installed=1 | + | |
- | junittests.version=1.2b1 | + | |
- | jWSDL.installed=1 | + | |
- | jWSDL.version=1.2b1 | + | |
- | testapp.installed=1 | + | |
- | testapp.version=1.2b1 | + | |
- | </ | + | |
- | + | ||
- | Indicate all your own modules you use, including those provided by Jelix and you use, by indicating the version of your modules. | + | |
- | + | ||
- | Remove all files into your temp/myapp/ directory, and launch your application. You shouldn' | + | |
- | + | ||
- | You can then create a new a installation script into yourapp/ | + | |
- | + | ||
- | + | ||
- | == Other migration steps == | + | |
- | + | ||
- | * The support of old action selectors and old class naming used as of Jelix 1.0 beta, have been removed. You should change your selector and class name if you migrate from a very old version of Jelix < 1.0. | + | |
- | * If you use directly jelixuser.dao.xml, | + | |
- | * if you made your own jDb driver with a plugin for jDaoGenerator, | + | |
+ | API of installers has been improved. The " | ||
===== Details of changes ===== | ===== Details of changes ===== | ||
+ | Here are changes appeared since the release of 1.2 beta 1. | ||
==== Enhancements, | ==== Enhancements, | ||
- | * **New modules management** | + | |
- | * ticket #821: Improve | + | * jInstaller: the sessionid |
- | * ticket #31/#263: **new installation/ | + | * jInstallerBase: improvements in copyDirectoryContent |
- | * a module should provide a class which should inherit from jInstallerModule. For upgrades, a module can provides a file for each version which needs to do things to upgrade to this version. | + | * Support of parameters for installers |
- | * ticket #965: moved jInstallCheck to installer/ | + | * added the support |
- | * **jDb and jDao** | + | * better error handling during the read of dependencies |
- | * Improved | + | * sqlite script for installers of some modules |
- | * ticket #871: jDbTools provides a way to translate any field type. | + | * optimisations |
- | * Dao files can now refers to any database field type, although it doesn' | + | * jInstallChecker: |
- | * support of a new attribute autoincrement on the property element | + | * Improvements in installWizard: better dbprofile page new confmail page to configure the mailer localization files in fresh for all pages |
- | * better | + | * core |
- | * new properties on jDbField: unifiedType, | + | * ticket #1126: replaced the config parameter use_error_handler by an argument to the constructor of jCoordinator |
- | * new methods on jDbTools: getTypeInfo, | + | * replaced all die instruction by exceptions (#1126) |
- | * no more static properties on jDaoCompiler | + | * error handlers should take care about the existence |
- | * Api of jDaoParser and jDaoGenerator has changed | + | * initDefaultResponseOfRequest should throw an exception |
- | * new properties on jDaoProperty: | + | * added a new jqueryPath config option, which allow to specify path of the jquery directory |
- | * removed the deprecated method jDb:: | + | * use request::getIP instead |
- | * **jForms** | + | * Allow true URLs in errors.log |
- | | + | |
- | * **Responses** | + | |
- | | + | * Ticket |
- | | + | * jforms |
- | | + | * ticket #288: dynamic |
- | | + | * added line breaks in generated html code |
- | | + | * refactored code of html builders |
- | | + | * ctrl_control now accepts attribute to add on generated html elements |
- | | + | * new decorator for errors, it displays errors directly in the html instead of showing an alert. fixed also an issue with the validation of datetime |
- | * **Utils** | + | * replaced |
- | * ticket #540: new jCache class. | + | * added support of CKEditor for htmleditor element. callback function for htmleditor init have now two additionnal parameters, skin and language. |
- | | + | * ticket #1147: allowing to generate optgroup in menulist and listbox. datasource accept now grouped data. |
- | | + | * added localized labels on datepicker buttons |
- | * Added a new method isModified on jIniFileModifier and jIniMultiFilesModifier | + | |
- | * methods | + | * ticket #1094: javascript components |
- | * **core** | + | * jelix-www |
- | | + | |
- | | + | |
- | * **jTpl** | + | |
- | | + | |
- | | + | * Updated wymeditor to 0.5rc2 |
- | | + | * ticket #1183: we should compress javascripts we provide |
- | | + | * Fixed default configuration of wymeditor, and added a basic configuration, |
- | * jEvents | + | * jelix-scripts |
- | * junittest module: new method | + | |
- | * Diff lib: table formater generates now better html content and with line numbers. Added also a default css for diff formating. | + | |
- | * ticket #947: master_admin module: add an $order property on masterAdminDashboardWidget | + | |
- | * **jelix-scripts** | + | |
- | | + | * various cleaning code in templates |
- | | + | * jelix modules |
- | + | * master_admin: | |
+ | * master_admin: default css styles for dashboard widgets | ||
+ | * Improved visibility of information in the header of master_admin interface | ||
+ | * utils | ||
+ | * jIniMultiFilesModifier | ||
+ | * jIniFileModifier: new methods to rename values and section, and to merge sections | ||
+ | * jVersionComparator: new method | ||
+ | * added put and delete | ||
+ | * ticket #1180: it' | ||
+ | * ticket #1179: new method jDatetime::isNull | ||
+ | * ticket #1137: jCrypt : default key in configuration | ||
+ | | ||
+ | * ticket #1145: allowing | ||
+ | * ticket #1182: jTpl: plugin html_meta for jQuery | ||
+ | * jTpl plugin: parameters | ||
+ | * Ticket #1053: update PHPMailer to 5.1 | ||
+ | |||
==== Bug fixes ==== | ==== Bug fixes ==== | ||
- | | + | |
+ | * use of table prefix in sql install scripts (#1119) | ||
+ | * fixed errors about jacl2_profile in installer of jacl2db | ||
+ | * fixed issues in the installation of jacl2db | ||
+ | * fixed bugs in jInstallerBase (#1121) | ||
+ | * jAppManager should throw exceptions instead of printing errors and exit | ||
+ | * sql script for jacl does not take care about db prefix | ||
+ | * ticket #1162: fix bug in installer.ini.php when basePath is set with a value other than empty or slash. It caused unknown module errors. | ||
+ | * ticket #1175: execSQLScript in installer should be executed inside a transaction | ||
+ | * ticket #1176: bad error message in the installer when an error is triggered by jIniFileModifier | ||
+ | * jInstaller : modules should be installed in the right order, even if it doesn' | ||
+ | * installwizard: | ||
+ | * InstallWizard: | ||
+ | * jInstaller and jIniFileModifier: | ||
+ | * jInstallChecker should be able to check if some needed files are writable or no | ||
+ | * ticket # | ||
+ | * jForms | ||
+ | * for wysiwyg editors, if the content has only html elements, no text, it should be considered empty and so the check should fail if a content is required | ||
+ | * ticket #1149: in datasources, | ||
+ | * ticket #1154: jForms:: | ||
+ | * ticket #1143: htmleditor with only img, video, object, should be considered as valid | ||
+ | * ticket #1151: subelements of unselected choice should be marked as disabled instead of readonly. Added also a buton on datetime input to erase the value | ||
+ | * Fixed bug on retrieving labels from a datasource in a form, when the datasource is a dao with criterias. New method jIFormsDatasource2:: | ||
+ | * ticket #1039: use FileInfo instead of mime_content_type | ||
+ | * wrong variable used in jforms_jquery.js | ||
+ | * Fixed issued on error handling on upload controls | ||
+ | * core | ||
+ | * ticket #1166 basePath was rewritten in a cli context whereas it shouldn' | ||
+ | * jExceptionHandler should take care about the case where is not yet ready | ||
+ | * ticket #1170: jResponse: should not force HTTP/1.1 | ||
+ | * ticket #1188: jResponseHtml, | ||
+ | * jDb, jDao | ||
+ | * ticket #1130: bad variable name in mssql.tools.php | ||
+ | * #1138: jPDOConnection:: | ||
+ | * jDbTools, mysql, parseSQLScript: | ||
+ | * ticket #1129: $ should not be allowed in parameters of dao methods | ||
+ | * ticket #1193 : fixed bad dsn generation for sqlite with pdo. Improved the sqlite profile by allowing shorcut like app:, lib: and var: in the database name, both for native driver and pdo. | ||
+ | * ticket #1046: dao: format of date / time too permissive | ||
+ | * jUrl | ||
+ | * ticket #1124: fixed issues with jUrl when creating urls of an other entrypoint | ||
+ | * jurl significant with sub urls.xml: sometimes, there are two / | ||
+ | * fixed bug on significant url: jurl::get didn't return url corresponding to a rest controller | ||
+ | * ticket #1207: url significant, | ||
+ | * jelix modules | ||
+ | * Fixed infinite recursion when authentification is missing in some case. | ||
+ | * master_admin should check the admin password when it is stored with sha1 | ||
+ | * utils | ||
+ | * jMailer: all headers should be in the content when it sends to file | ||
+ | * ticket #1152: bad variable name in jDateTime:: | ||
+ | * ticket #1202: jMailer: failure when using SingleTo feature and mail() function | ||
+ | * ticket #1100: wikirenderer: | ||
+ | * jTpl and tpl plugins | ||
+ | * ticket #1148: jTpl: jdatetime plugin should return an empty string if the date is null | ||
+ | * ticket #1150: jtpl, number_format modifier should use non-breakable space as thousands separator, instead of a simple space. | ||
+ | * ticket #1150: number_format doesn' | ||
+ | * ticket #1172: function gravatar, bad checking of username param | ||
+ | * jelix-scripts | ||
+ | * ticket #1153: fix warning on command createclassfromdao | ||
+ | * ticket #1163: createapp -withcmdline fail in case of non alphanumeric characters in appname | ||
====== Other versions ====== | ====== Other versions ====== |