Commit Graph
10472 Commits
Author SHA1 Message Date
Adrian Crum b722da2a04 Small fixup for ServiceDispatcher.java - truncate log messages longer than 10K. Some service results can be multiple MB in size, resulting in huge log entries (4 MB in entity reference page).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095032 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:20:39 +00:00
Adrian Crum 79a144483d Bug fix: Entity ModelInfo default info was not working.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095029 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:17:01 +00:00
Jacques Le Roux 4ba28611c0 Slight improvement to prevent false error messages when putting spaces in readers names, eg after commas for instance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094600 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 14:40:15 +00:00
Jacques Le Roux 44c9cbd00a A patch from Leon "Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list" https://issues.apache.org/jira/browse/OFBIZ-4258
In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

Fixes some problem in current GeoData_CN.xml

Also changes the geoTypeId from "REGIONS" to "MUNICIPALITY" for some "Autonomous regions" and "Special administrative Regions" and add some missing country-state associations.
It's better to add new geo types for "Autonomous regions" or "Special Administrative Regions", but I don't want to make the thing complex if there's no such strong demand.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094505 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 12:02:47 +00:00
Sascha Rodekamp 4598d690fa Improvement: Enables the jQuery validation plugin for all macro generted forms if min one field has the widget-style required.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094138 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 12:52:54 +00:00
Erwan de Ferrieres 20eb38ee17 missing link in French help to the documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094006 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 15:07:09 +00:00
Erwan de Ferrieres ef9cf5e8ce Correcting properties and using the https start url for selenium tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092796 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:58:48 +00:00
Erwan de Ferrieres 88f43e56ba Adding a new property for the https start url
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092793 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:32:05 +00:00
Erwan de Ferrieres c75733c167 using the firefox profile by default when running selenium tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:30:12 +00:00
Erwan de Ferrieres 7d3833005f Adding a simple firefox profile which has accepted the OFBiz HTTPS certificate. It will be no more necessary to change the port.https.enabled to N in url.properties. Still some changes to come.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092773 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 17:38:57 +00:00
Jacques Le Roux 21cee33617 Keeps firefoxDefaultPath as a reminder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092713 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:15:42 +00:00
Erwan de Ferrieres 2e635a5a55 Automatic imports reorganization in SeleniumXml.java -- no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092710 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:04:58 +00:00
Erwan de Ferrieres cc247e81e2 Now OFBiz is able to run HTML selenium testsuites. Non specific java code is coming from SeleniumHtmlClient (https://github.com/takamori/selenium-html-client-driver) which is under the Apache2 license.
A testsuite is provided with the commit, just go to the selenium webtools' page, and execute it. For now, you still need to change the url.properties file, and start the selenium server.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092706 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 13:55:38 +00:00
Erwan de Ferrieres f865611683 Using default firefox installed in the system for selenium tests, if another one is to be used then the config should be modified
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092652 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 10:11:11 +00:00
Christian Geisert e9f7f30441 Improvement of german Labels
See OFBIZ-4195
Submitted by Konstantin N.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092353 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:49:13 +00:00
Erwan de Ferrieres 3db3ebd0a1 A patch from Seweryn Niemiec, GeoData for Poland OFBIZ-4253
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092320 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:01:00 +00:00
Bruno Busco c4b31b4375 Removed the <BR /> tag at the end of the renderNextPrev macro.
This allows the Navigation bar to be rendered closed to the form itself.
It seems very hard to reduce the BR height using the CSS only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091487 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:59:22 +00:00
Bruno Busco eacce00908 Enabled column sorting in ListSecurityGroupUserLogins and ListUserLogins forms.
Added a userLoginId hyperlink in the ListSecurityGroupUserLogins form.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091486 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:55:09 +00:00
Bruno Busco 7e6f33b66e Simpler markup (removed nested table tags) for rendering the available portlets list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091482 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:52:05 +00:00
Bruno Busco 5296fe401f Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091478 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:45:58 +00:00
Hans Bakker edd3defd63 A simple version of the control/ping command, with less overhead but no db checking
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091013 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 10:30:13 +00:00
Jacques Le Roux 5c3977b73c Fixes a NPE in GenericDispatcher.java. It's related to tenants changes. It appears when you set a jms-service: you have no delegator when you try to create a GenericMessageListener in JmsListenerFactory, but was hidden there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 08:02:11 +00:00
Jacques Le Roux f966ed6518 Fixes a bug in AbstractJmsListener.java. This was 1st reported by Calum Miller on user ML 3 years ago http://markmail.org/message/hb2r7vbjvekxbris. But as it seems this is no often use nobody noticed since but at least Anand H I who used the same in http://markmail.org/message/yvvm5nepopc7y246. It appeared when you tried to set a jms-service in serviceengine.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090961 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:54:22 +00:00
Jacques Le Roux a29d18a4a4 Changes a verbose log to info and improves the related error message. Useful when trying to use a jms-service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090956 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:21:56 +00:00
Jacques Le Roux a3a109e366 A patch from Sascha Rodekamp "Infinite loop when instantiate the delegator using distributetCacheClear" https://issues.apache.org/jira/browse/OFBIZ-3987
We found an infinite loop when instantiate the delegator. This happens when you use the distributetCacheClear .
I moved the init of the dist cache clear to a separate method and call it in the factory which resolves the loop issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090952 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:03:32 +00:00
Hans Bakker 4931953320 Extended error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090909 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 23:24:12 +00:00
Bruno Busco 122b3cfd0b Added a new "passwordChange" common request that allows to any user to change its own password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090857 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 17:57:27 +00:00
Bruno Busco 6603db6900 Added new parameter "requirePasswordChange" to the "updateUserLoginSecurity" service.
When resetting a user password it is now possible to force the password change again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090855 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 17:54:39 +00:00
Bruno Busco 50b329b865 Fixed the requiredPasswordChange feature.
This feature was not working since rev.741374 because a quick return from the login service was introduced if the user was already logged in.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090853 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 17:51:23 +00:00
Bruno Busco 1636b18950 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090829 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 16:56:47 +00:00
Adrian Crum f7176d28e1 Updated ical4j library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090822 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:59:09 +00:00
Bruno Busco 58db81e34f Removed title attribute from form field so that the related FormFieldTitle label is used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090778 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 11:21:55 +00:00
Bruno Busco 55bdc0c53b Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090777 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 11:20:37 +00:00
Bruno Busco 7a31e37a11 Added several missing FormFieldTitle for userLogin entity
Better new Italian labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090776 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 11:19:48 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Hans Bakker d5fef640bf add timeout to selenium tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090744 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 07:20:27 +00:00
Sascha Rodekamp fb880c80a1 Update - i18n from DateTime display fields (https://issues.apache.org/jira/browse/OFBIZ-4014). Ofbiz can now show and interprete i18n dates and times. The Patch uses the datejs library to i18n the displayd date and time fields from the datepicker this works vice versa.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090231 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 13:05:42 +00:00
Andrew Zeneski 4d3223d2cc added fall back to default date formatter when conversion fails before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089946 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:27:53 +00:00
Jacques Le Roux 6c5f2f5f55 Revert r1088762, this is not a working solution, because wsdl2Java fails to generate stubs with these changes.
We have to fix this though. A temporary solution for clients using CXF underneath is to follow the point 2 at http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E

I think, as it has been already reported by Alexander Graf, it's related to http://www.ws-i.org/profiles/basicprofile-1.1.html#R2735, but this have to be checked... Following recommendations and example there should allow us to deliver WS-I Basic Profile compliant WSDL. Unfortunately I have not enough time for that at the moment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089054 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 14:06:10 +00:00
David E. Jones 8f80abdb52 Added code to keep track of where transactions are suspended to help diagnose lock wair timeout types of errors; also small cleanup with new getSuspendedTxStack instead of that code duplicated for each method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088875 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 03:32:07 +00:00
Jacques Le Roux b2b3540bbd To be compliant with clients generated with Apache CFX which uses JAX-WS and follow WS-I Basic Profile: http://en.wikipedia.org/wiki/WS-I_Basic_Profile, allows to define an empty targetNameSpace by commenting out the TargetNamespace property in service.properties. See http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E for details
Keeps the "http://ofbiz.apache.org/service") tns, used only in wsdl:definitions, can be hardcoded


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088762 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 19:48:54 +00:00
Sascha Rodekamp c1e2a81191 Update - jQuery UI to version 1.8.11. The current jQuery UI Version is build on jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088549 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 10:42:28 +00:00
Sascha Rodekamp 7cc04db7d3 Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Jacques Le Roux 85f8b792d1 Cleans imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088048 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:28:27 +00:00
Jacques Le Roux 46142d46a8 Completes https://issues.apache.org/jira/browse/OFBIZ-4218
Keeps the secure idea but enhance when working in a secure environment (VPN, local network, etc.) to return a comprehensive response. Depends on the secureSoapAnswer property in service.properties, true by default

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088047 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:23:40 +00:00
Jacques Le Roux c9929cc9f0 Removes useless suppress warning annotations, fixes module name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088014 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 12:14:18 +00:00
Jacques Le Roux df2c499190 Better handling of the sql-timestamp case (follow ISO format by default)
sql-Timestamp is defined as xsd:dateTime in ModelService.getTypes(), so try to parse the value as xsd:dateTime first.  
Fallback is java.sql.Timestamp because it has been this way before.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087883 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:22:46 +00:00
Jacques Le Roux fc5a14414d Accurate comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087877 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:07:44 +00:00
Hans Bakker 06c464c7e8 2 images were added by accident in previous commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 09:42:50 +00:00
Hans Bakker 0808b047e8 Update selenium version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087595 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:07:26 +00:00