Release Name: openCRX/Core 2.6.0 Release Date: 2009-05-01 --------------------------------------------------------------------- Notes: This software is published under the BSD license as listed below. Copyright (c) 2004-2010, CRIXP Corp., Switzerland All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of CRIXP Corp. nor the names of the contributors to openCRX may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------ This product includes software developed by the Apache Software Foundation (http://www.apache.org/). This product includes software developed by contributors to openMDX (http://www.openmdx.org/) --------------------------------------------------------------------- 0. SUMMARY * AirSync adapter * Shop adapter * SSL support for IMAP and LDAP adapters * Bug fixes * UML models migrated to Eclipse/EMF UML2 Tools * Performance improvements For more information see below and http://www.opencrx.org/opencrx/2.6/new.htm ============================================================================== Version 2.6.0 2010-06-01 ============================================================================== 1. NEW FEATURES CR10008982 Shop Adapter. The shop API (org:opencrx:application:shop1) gives a service- oriented access to a subset of the openCRX API. The API allows to manage customers, contracts, products, prices and activities. Application clients (GUIs, XML-RPC servlets, JSPs, EJBs, ...) can instantiate the shop adapter with new org.opencrsx.application.shop1.service.ShopServiceImpl() and then use its public methods. The adapter itself delegates to the openCRX API. CR10009335 SSL support for IMAP and LDAP. IMAPServlet and LDAPServlet are configured for SSL support as follows: * Create cert and key with OpenSSL (e.g. server.key, server.crt) * Convert cert and key to PEM format using OpenSSL: o Key: openssl rsa -in server.key -out server-key.pem -outform PEM o Cert: openssl x509 -in server.crt -out server-cert.pem -outform PEM * Use a Java Keytool which allows you to a) create a keystore, b) import a certificate, c) import a private key. KeyTool IUI (http://yellowcat1.free.fr/keytool_iui.html) is a good choice. See attached screenshots. * Add init-param to web.xml of IMAPServlet and LDAPServlet as follows: sslKeystoreFile /var/ssl/keystore.jks sslKeystoreType JKS sslKeystorePass changeit sslKeyPass changeit * For IMAPServlet the port should be changed from 1143 to 1443: port imap:1443 * For LDAPServlet the port should be changed from 1389 to 1689. port ldap:1689 CR10009206 The AirSync servlet (org.opencrx.application.airsync.server.impl.SyncServlet) allows AirSync-capable clients to synchronize with openCRX. The UserSettings wizard creates the SyncProfile 'AirSync' which is used by the SyncServlet. The SyncServlet synchronizes contacts (Accounts), activities (Meeting, Task, EMail) and alerts (EMails). CR10009196 LDAP Server. LDAP server added in org.opencrx.application.ldap. The server allows to access contact information using LDAP clients. Below is a sample query using ldapsearch: ldapsearch -D "guest@Standard" -w guest -h localhost -p 1389 -b "ou=filter/All Accounts,ou=Persons" -l 100 -z 100 -P 3 "" CR10008978 Captcha Servlet. Add servlet which allows to generate Captchas (see http://jcaptcha.sourceforge.net/). The GetCaptchaServlet allows to get captchas which can be used in JSPs offering openCRX functionality for anonymous and non-authenticated users. E.g. AnonymousCreateActivity.jsp accepts posts which create activities. CR10008958 Tomcat Connectors: pause / resume. Tomcat extension which allows to start multiple Tomcat instances with the same configuration and allow to stop / start the connectors of these instances individually. The class org.openmdx.catalina.core.ExtendedService allows to handle the requested scenario. Adapt the server.xml as follows: ... ... The system properties are set per Tomcat instance, e.g. Instance A: * -Dtomcat.server.port=8005 * -Dtomcat.service.port=8006 Instance B: * -Dtomcat.server.port=8105 * -Dtomcat.service.port=8106 If instance A and instance B have to run with different versions of EARs/WARs create a Tomcat directory for each instance. Start instance A. The connectors are started. Start instance B. The connectors can not be started because of port conflicts. Switch from instance A to B as follows: * telnet localhost 8006. Enter command stopConnectors. * telnet localhost 8106. Enter command startConnectors. If the property org.openmdx.catalina.core.ExtendedService.autostartConnectors is unset or the property is set to true then the connectors will be started at startup of Tomcat. Otherwise the connectors are not started. CR10008960 IMAPServer: pause / resume. The IMAPServlet (opencrx-imap-CRX/IMAPServlet) provides a simple GUI which allows to pause and resume the IMAPServer. The Wizard IMAPServer.jsp available as admin-Root redirects to the IMAPServlet. The IMAPServlet accepts the system property org.openmdx.catalina.core.ExtendedService.autostartConnectors. If unset or set to true, the IMAPServer is started at startup. If set to false, the IMAPServer has to be started manually. CR10008961 WorkflowController: pause / resume. The WorkflowControllerServlet accepts the new commands pause and resume. Pause stops pinging the controlled WorkflowServlets. The new commands are available via the GUI. The WorkflowControllerServlet accepts the system property org.openmdx.catalina.core.ExtendedService.autostartConnectors. If it is unset or set to true the WorkflowController is activated on startup. If set to false the WorkflowController has to be resumed manually. 2. CHANGES 2.0. CHANGED FEATURES CR10009315 SubscriptionHandlerServlet. SubscriptionHandlerServlet must use a persistence manager which is specific for the subscribing user. CR10009198 PortalExtension: getDataBinding(). The signature of getDataBinding() has changed. The parameter ApplicationContext app is removed because data bindings must not depend on the application context. The new interface DataBinding_2_0 has been added to support data bindings where the application context is passed as parameter for setValue(), getValue(). CR20018907 Portal: Ajax-based login. Login.jsp now first invokes the protected ./jsp/GetPath.jsp. The session is not authenticated if GetPath returns the redirect URL to the Login page. In this case the Login form is displayed. If GetPath returns the non-redirected URL, Login.jsp forwards to the ObjectInspectorServlet without displaying the login form. As a consequence /jsp/* must be protected in web.xml. 2.1. FIXED BUGS CR10009299 Rendering contracts as RTF (cyrillic text). Error: workstr.append("\\'" + Integer.toHexString(ch)) You are encoding UTF character as «\'hh» (h — hexadecimal digit). But in RTF format UTF characters are encoded as «\udddd?» (d — decimal digit, dddd — shift from beginning of UTF-8 table). So, I think that correct version of this statemnet must be: workstr.append("\\u" + String.format("%04d", (int)ch) + "?"); CR10009177 ICAL: ATTENDEE not updated. ICALs ATTENDEEs are not updated in activity parties are added or removed. 2.2 REMOVED FEATURES none ---