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 [2010/03/30 14:08] – 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 as of : [[http:// | + | Changelog updated as of : [[http:// |
===== 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 |
- | * support of nosql database | + | * better error reporting on client side |
- | * updated TCPDF to 4.5.015 | + | * add support of CKEditor for the htmleditor control |
- | * updated Wikirenderer to 3.1.2 | + | * support of regular expression in input controls |
+ | * better error handling | ||
+ | * 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 |
- | + | ||
- | * 0: if the module is not used at all (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 = 0 | + | |
- | jacl2db.access = 1 | + | |
- | jauthdb.access = 1 | + | |
- | jauth.access = 2 | + | |
- | </ | + | |
- | + | ||
- | == modules installation == | + | |
- | + | ||
- | To use a module, a module should be " | + | |
- | + | ||
- | == Migrating | + | |
- | + | ||
- | A " | + | |
- | + | ||
- | * replace the lib/ directory by the lib/ of Jelix 1.2 | + | |
- | * verify that your project.xml is ok, that it contains a < | + | |
- | * in your configuration files (defaultconfig.ini.php and other ini files): | + | |
- | * set @@checkTrustedModules@@ to " | + | |
- | * removed from modulesPath, | + | |
- | * list all modules which can be called from the web in @@trustedModules@@ | + | |
- | * list all modules you don't use at all in @@unusedModules@@ | + | |
- | * go into lib/ | + | |
- | * removed all files from temp/ | + | |
- | * read the next section, to do changes in your code | + | |
- | * test your application. it should be ok. | + | |
- | + | ||
- | A new a installation script 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, | ||
- | | + | |
- | * 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 |
- | * ticket #965: moved jInstallCheck to installer/ | + | * added the support |
- | * ticket #1048: support | + | * better error handling during the read of dependencies |
- | * **jDb and jDao** | + | |
- | * Improved | + | * optimisations in the jInstaller source code |
- | * ticket #590: make PDO/sqlite | + | * jInstallChecker: better check of php extensions. Can check database extensions. We can indicate some other extension to check. |
- | * new method jDbConnection::tools, and jDb:: | + | * Improvements in installWizard: |
- | * new jDbSchema object | + | * core |
- | * ticket #799: experimental jdb driver for mssql | + | * ticket #1126: replaced the config parameter use_error_handler by an argument |
- | * ticket #871: jDbTools provides a way to translate any field type. | + | * replaced all die instruction by exceptions (#1126) |
- | * Dao files can now refers to any database field type, although it doesn' | + | * error handlers should take care about the existence |
- | * support of a new attribute autoincrement on the property element in jdao | + | * initDefaultResponseOfRequest should throw an exception |
- | * better support | + | * added a new jqueryPath config option, which allow to specify path of the jquery directory |
- | * new properties on jDbField: unifiedType, | + | * use request::getIP instead |
- | * new methods on jDbTools: getTypeInfo, unifiedToPhpType, | + | * Allow true URLs in errors.log |
- | * no more static properties on jDaoCompiler | + | * ticket #1201: API on jRequest to retrieve headers |
- | * Api of jDaoParser and jDaoGenerator has changed | + | * jUrl, significant engine: allowing to add global option optionalTrailingSlash |
- | * new properties on jDaoProperty: | + | * Ticket |
- | * removed the deprecated method jDb:: | + | * jforms |
- | * ticket #923: jDao, support of insertpattern on primary key not autoincremented. removed also the primary keys into update queries | + | * ticket #288: dynamic |
- | * ticket #869: execSQLScript now is able to use the table prefix indicated in a profile | + | * added line breaks in generated html code |
- | * ticket #477: support of postgresql schemas | + | * refactored code of html builders |
- | * **jForms** | + | * ctrl_control now accepts attribute to add on generated html elements |
- | * ticket #887: jFormsBase:: | + | * 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 |
- | | + | * replaced |
- | * ticket #1002: CSS classes added to specify control types in html builders | + | * 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. |
- | * **Responses** | + | * added localized labels on datepicker buttons |
- | * ticket #810: we can now change the title of the html response with the jtpl meta plugin | + | |
- | * ticket #864: improvements on jResponseLatexPdf | + | * ticket #1094: javascript components |
- | * added a date property | + | * jelix-www |
- | | + | * removed unused the plugin date_input for jquery |
- | | + | * update jquery to 1.4.2 |
- | | + | * updated markitup to 1.1.7 |
- | | + | * updated jquery ui to 1.8.2 |
- | * ticket #737: display of the stack trace with the error message, in responses, if the TRACE keyword is used in the configuration | + | * Updated wymeditor to 0.5rc2 |
- | | + | * ticket #1183: we should compress javascripts we provide |
- | * **Utils** | + | * Fixed default configuration of wymeditor, and added a basic configuration, |
- | * ticket #540: new jCache class. | + | * jelix-scripts |
- | | + | * changed name of customized configuration file, and allow to have a configuration file for each application |
- | | + | * added some comments into the template of dao crud. |
- | * jMailer: added a new type of mailer, file, to store mails into files instead of sending them, to test an application without having connectivity to internet | + | * createmodule command: add some files for master_admin when using option -admin |
- | | + | * closeapp command: new optional parameter, the message to display |
- | | + | * various cleaning code in templates |
- | | + | * jelix modules |
- | | + | * master_admin: added a new main menu item, refdata, for pages allowing to manage reference data |
- | * **core** | + | * 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 |
- | * **jTpl** | + | * jVersionComparator: new method to serialize version numbers in order to compare them easily |
- | | + | * added put and delete method on jHttp |
- | | + | * ticket #1180: it's better if jMailer provides the text version |
- | | + | * ticket #1179: new method jDatetime::isNull |
- | | + | * ticket #1137: jCrypt |
- | | + | * misc: |
- | * ticket #760: new tpl plugin, modifier truncatehtml. | + | * ticket #1145: allowing to specify UID attribute in LDAP auth driver |
- | | + | * ticket #1182: jTpl: plugin html_meta for jQuery and jQueryUI |
- | | + | * jTpl plugin: parameters for formurlparam are now optional |
- | | + | * Ticket |
- | | + | |
- | | + | |
- | | + | |
- | * **jAcl2** | + | |
- | | + | |
- | | + | |
- | | + | |
- | * jEvents : more flexibility by calling the old method performEvent on listeners | + | |
- | * junittest module: new method jUnitTestsDb:: | + | |
- | * Diff lib: table formater generates now better html content and with line numbers. Added also a default | + | |
- | * ticket #947: master_admin module: add an $order property on masterAdminDashboardWidget | + | |
- | * ticket #934 Added markitup, a wiki editor | + | |
- | * ticket #1051: additionnal events generated by jAuth: AuthErrorLogin and AuthBeforeLogin | + | |
- | * **jUrl** | + | |
- | * Significant url engine: you can now use < | + | |
- | * ticket #767: allowing | + | |
- | * **jelix-scripts** | + | |
- | * ticket #870: new script to create a business class from a dao | + | |
- | | + | |
- | | + | |
- | | + | |
- | jResponseXUL:: | + | |
- | + | ||
==== 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 ====== |