Quick links: Content - sections - sub sections
EN FR

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:changelog:1.2beta1 [2009/09/12 16:08] laurenten:changelog:1.2beta1 [2010/03/30 19:53] bballizlife
Line 5: Line 5:
 **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 version. **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 version.
  
-Changelog updated until : [[http://hg.jelix.org/jelix/jelix-trunk/log/64db81e2a6cd|64db81e2a6cd]]+Changelog updated as of : [[http://bitbucket.org/jelix/jelix-trunk/changesets/54326085b4ff/|54326085b4ff]]
  
  
 ===== Main improvements ===== ===== Main improvements =====
  
 +  * new module management
 +  * new install and upgrade system
 +  * Improved the performance and the flexibility of jDb profiles
 +  * new jCache class to store all you want in a cache, and where you want (memcache, files..)
 +  * support of nosql database with jKVDb
   * updated TCPDF to 4.5.015   * updated TCPDF to 4.5.015
-  * updated Wikirenderer to 3.1.1+  * updated Wikirenderer to 3.1.2
  
-==== Migrating from Jelix 1.1.x ====+===== Migrating from Jelix 1.1.x =====
  
 == Modules management has changed == == Modules management has changed ==
  
-In the configuration file,  @@unusedModules@@, @@trustedModules@@ and @@checkTrustedModules@@ are not used anymore, you should remove themYou should create new "modules" section, and create an option for each module your application use. The option is the module name plus ".access". The value should be:+In the configuration file,  @@unusedModules@@, @@trustedModules@@ and @@checkTrustedModules@@ are not used anymore. There is now a "modules" section, in which the level access of each modules is declared. The option is the module name plus ".access". The value should be:
  
-   * 0: if the module is not used (default value if the option is not created)+   * 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).    * 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    * 2: the module is used and is accessible from the web
Line 35: Line 40:
 </code> </code>
  
-== Install your modules ==+== modules installation ==
  
-You should also to "installyour modulenew file "installer.ini.php" should be created into your var/config/ directory. It contains, for each entrypoints, the list of installed modules, and for each of them, the installed version. +To use a module, a module should be "installed"In fact, there should be a new file "installer.ini.php"  which contains, for each entrypoints, the list of installed modules, and for each of them, the installed version. New commands "installapp" and "installmodule" are provided to install and upgrade modules.
  
-  * verify that all your module have a module.xml filed correctly, with a version number, and your project.xml is ok too. +== Migrating ==
-  * create a file var/config/installer.ini.php. Example:+
  
-<code ini> +A "migrate" command is provided, in order to do needed changes in configuration file of your existing application made with jelix 1.1., and to create this installer.ini.php file.
-[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 +
-</code>+
  
-Indicate all your own modules you use, including those provided by Jelix and you useby indicating the version of your modules+  * replace the lib/ directory by the lib/ of Jelix 1.2 
- +  * verify that your project.xml is okthat it contains a <jelix> tag with the max version to "1.1"
-Remove all files into your temp/myappdirectoryand launch your application. You shouldn't have problems+  * in your configuration files (defaultconfig.ini.php and other ini files): 
- +     * set @@checkTrustedModules@@ to "on" 
-You can then create a new a installation script into yourapp/install/ [[http://hg.jelix.org/jelix/jelix-trunk/file/64db81e2a6cd/testapp/install/installer.php|like in testapp]]. So you can use it later (in a command line) to install or update easily your application.+     * removed from modulesPath, directories where you don't use any modules 
 +     * 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/jelix-scripts/ and run @@php jelix.php --yourapp migrate@@ 
 +  * removed all files from temp/yourapp/ 
 +  * read the next sectionto do changes in your code 
 +  * test your application. it should be ok
 +   
 +new a installation script yourapp/install/installer.php has been created, so you can use it later (in a command line) to install or update easily your application. You can create scripts into the install/ directory of your modules, which will be called to install or upgrade your modules. Documentation soon.
  
  
Line 79: Line 75:
 ==== Enhancements, new features ==== ==== Enhancements, new features ====
  
-  * New modules management+  * **New modules management**.
     * ticket #821: Improve the policy management module. see above.     * ticket #821: Improve the policy management module. see above.
-    * ticket #31/#263: new installation/update system+  * ticket #31/#263: **new installation/update system**
       * 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.       * 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.
-      * ticket #965: move jInstallCheck to installer/ and unified message reporters between jInstallCheck and jInstaller. The same interface is used now. +      * ticket #965: moved jInstallCheck to installer/ and unified message reporters between jInstallCheck and jInstaller. The same interface is used now. 
- +  * ticket #1048: support of nosql database with jKVDb 
- +  * **jDb and jDao** 
-  * Improved the performance and the flexibility of jDb profiles. Now a profile name can be an alias or a real name. If a profile doesn't exist, the default profile is used. So, if an external module needs a specific profile name, we don't have to setup a profile. We just have to set an alias.  +    * Improved the performance and the flexibility of jDb profiles. Now a profile name can be an alias or a real name. If a profile doesn't exist, the default profile is used. So, if an external module needs a specific profile name, we don't have to setup a profile. We just have to set an alias. 
- +    * ticket #590make PDO/sqlite database path specification relative. 
-  * ticket #854Optimisation of the loading of coord plugins+    * new method jDbConnection::tools, and jDb::getTools is now deprecated. 
-  * ticket #871: jDbTools provides a way to translate any field type. +    * new jDbSchema object to create and manage tables. only mysql driver for the moment
-    * Dao files can now refers to any database field type, although it doesn't support blob fields yet +    * ticket #799: experimental jdb driver for mssql  
-    * support of a new attribute autoincrement on the property element in jdao +    * ticket #871: jDbTools provides a way to translate any field type. 
-    * better support of long numerical values +      * Dao files can now refers to any database field type, although it doesn't support blob fields yet 
-    * new properties on jDbField: unifiedType, unsigned, minLength, maxLength minValue maxValue +      * support of a new attribute autoincrement on the property element in jdao 
-    * new methods on jDbTools: getTypeInfo, unifiedToPhpType, stringToPhpValue, escapeValue, getBooleanValue, encloseName +      * better support of long numerical values 
-    * no more static properties on jDaoCompiler +      * new properties on jDbField: unifiedType, unsigned, minLength, maxLength minValue maxValue 
-    * Api of jDaoParser and jDaoGenerator has changed +      * new methods on jDbTools: getTypeInfo, unifiedToPhpType, stringToPhpValue, escapeValue, getBooleanValue, encloseName 
-    * new properties on jDaoProperty: unifiedType, autoIncrement, and the signature of the constructor has changed +      * no more static properties on jDaoCompiler 
-    * removed the deprecated method jDb::getProfil and you should use jDb::getProfile instead. +      * Api of jDaoParser and jDaoGenerator has changed 
-  * ticket #887: jFormsBase::prepareObjectFromControls supports the new unifiedType +      * new properties on jDaoProperty: unifiedType, autoIncrement, and the signature of the constructor has changed 
-  * ticket #810: we can now change the title of the html response with the jtpl meta plugin +      * removed the deprecated method jDb::getProfil and you should use jDb::getProfile instead. 
-  * ticket #864: improvements on jResponseLatexPdf +    * ticket #923: jDao, support of insertpattern on primary key not autoincremented. removed also the primary keys into update queries 
-    * added a date property +    * ticket #869: execSQLScript now is able to use the table prefix indicated in a profile 
-    * added a property outputFileName +    * ticket #477: support of postgresql schemas in jdb profiles. you can indicate the search_path value  
-    * we can choice the title +  * **jForms** 
-    * changes on the command line call +     * ticket #887: jFormsBase::prepareObjectFromControls supports the new unifiedType 
-  * ticket #796: added a new output type FULL_LANG_DATE in jDateTime. +     * ticket #1000: new jFormsBase::getUploads() method 
-  * ticket #903: jUrl, significant engine: multiple modules without action for a unique entrypoint. +     * ticket #1002: CSS classes added to specify control types in html builders 
-  * ticket #540new jCache class+     * ticket #934: new wikieditor widget for jForms 
-  * added the include plugin for jtpl+  * **Responses** 
 +     * ticket #810: we can now change the title of the html response with the jtpl meta plugin 
 +     * ticket #864: improvements on jResponseLatexPdf 
 +       * added a date property 
 +       * added a property outputFileName 
 +       * we can choice the title 
 +       * changes on the command line call 
 +     * Added a property $temporary on redirect and redirecturl responses 
 +     * ticket #737: display of the stack trace with the error message, in responses, if the TRACE keyword is used in the configuration 
 +     * ticket #1063: support of author and generator metas on jResponseHtml 
 +  * **Utils** 
 +     * ticket #540: new jCache class. 
 +     * ticket #796: added a new output type FULL_LANG_DATE in jDateTime. 
 +     * ticket #623: new method jDateTime::substract  
 +     * 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 
 +     * Added a new method isModified on jIniFileModifier and jIniMultiFilesModifier 
 +     * improved jIniFileModifier : removeValue(), supporting comments when removing a value. 
 +     * methods of jCrypt become public. 
 +     * new class jVersionComparator 
 +  * **core** 
 +     * ticket #854: Optimisation of the loading of coord plugins. 
 +     * ticket #903: jUrl, significant engine: multiple modules without action for a unique entrypoint. 
 +     * New method jRequest::getProtocol() 
 +     * ticket #656better support of PUT for rest controllers
 +  * **jTpl** 
 +     * ticket #804: parenthesis were not accepted in foreach statements 
 +     * added a default tpl variable in jTpl: $j_locale, which contains the current locale code  
 +     * added the include plugin for jtpl 
 +     * ticket #808: add break jTpl plugin. 
 +     * ticket #943: cycle_init accepts now arrays as argument 
 +     * ticket #760: new tpl plugin, modifier truncatehtml. 
 +     * ticket #996: meta_html plugin allows now additionnal parameters 
 +     * ticket #1003: new mailto plugin 
 +     * ticket #938: new jfullurl plugin 
 +     * ticket #654: date_format accepts now a timestamp for the default date 
 +     * ticket #1019: new hook plugin, to send events during the content generation 
 +     * ticket #993: new gravatar plugin 
 +  * **jAcl2** 
 +     * ticket #1014: jAcl2db_admin: localized subject instead of the id 
 +     * ticket #1015: new jAcl2DbUserGroup::getPrivateGroup() method 
 +     * ticket #1016: jAcl2Db: support named groups  
 +  * jEvents : more flexibility by calling the old method performEvent on listeners
   * junittest module: new method jUnitTestsDb::assertTableContainsRecordsByKeys    * junittest module: new method jUnitTestsDb::assertTableContainsRecordsByKeys 
   * Diff lib: table formater generates now better html content and with line numbers. Added also a default css for diff formating.   * Diff lib: table formater generates now better html content and with line numbers. Added also a default css for diff formating.
-  * ticket #808 : add break jTpl plugin. +  * ticket #947: master_admin module: add an $order property on masterAdminDashboardWidget 
-  * jMailer: added new type of mailer, file, to store mails into files instead of sending them, to test an application without having connectivity to internet +  * ticket #934 Added markitup, wiki editor in javascript 
-  * jEvents more flexibility by calling the old method performEvent on listeners +  * ticket #1051additionnal events generated by jAuth: AuthErrorLogin and AuthBeforeLogin 
-  * ticket #943cycle_init accepts now arrays as argument +  * **jUrl** 
-  * ticket #947 add an $order property on masterAdminDashboardWidget   +    * Significant url engineyou can now use <entrypoint type=...> instead of <...entrypoint> 
-  * ticket #760: new tpl plugin, modifier truncatehtml.  +    * ticket #767allowing external files to define significant urls  
-  * ticket #870: new script to create a business class from a dao +  * **jelix-scripts** 
-  * Added a new method isModified on jIniFileModifier and jIniMultiFilesModifier +     * ticket #870: new script to create a business class from a dao 
-  * methods of jCrypt become public. +     * ticket #848: createform and createdaocrud create now files for locales 
-  +     ticket #937commands can now indicate if the application must exist or not to run the command  
- +  * remove deprecated classes and members from some classesjController::processZone, jResponseHtml::_commonProcess, jResponseHtmlFragment::_commonProcess, jResponseXUL::_commonProcess, jFormsBase::getDatas, jTpl::metaFetch, jDateTime::BD_*, interface jIFormDatasource, class jDummyAuthUser
- +
-  * ticket #848 : createform and createdaocrud should create locales files, +
-  Added a property $temporary on redirect and redirecturl responses +
-  * Ticket ?Added ILIKE as a valid PostgreSQL operator  +
-  * Ticket ?Disable autocommit while single_transaction is on +
-  * ticket #936Support de l'ope?rateur NOT LIKE dans jDaoConditions. +
  
  
 ==== Bug fixes ==== ==== Bug fixes ====
  
- +  These release contains all bug fixed in 1.1.x series.
-  * ticket #952: regression, Submit Button no more created in command line createform. +
-  * ticket #870: fixed a little bug on the new createclassfromdao command  +
- +
-  * bug fixed in 1.1.1+
  
  

en/changelog/1.2beta1.txt · Last modified: 2012/04/15 08:26 by laurent

Recent changes RSS feed Creative Commons License