Commit Graph
7001 Commits
Author SHA1 Message Date
Erwan de Ferrieres 4e60dbe157 Upgrading to latest tomcat release 7.0.32
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405298 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 07:09:41 +00:00
Jacques Le Roux b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux e381dea7a3 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403655 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 10:35:01 +00:00
Jacques Le Roux af2f71f48f Import/export https://issues.apache.org/jira/browse/OFBIZ-5047
This fix a random issue which appears sometimes on Ubuntu (it seems beginning from Ubuntu 12.04, maybe related to Open jdk)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1402766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 09:26:03 +00:00
Scott Gray a2a2857bef Replace more misc. webSiteId retrievals with calls to WebSiteWorker.getWebSiteId(request). Deprecated CatalogWorker.getWebSiteId(request) and CatalogWorker.getWebSite(request).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400626 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 11:27:10 +00:00
Scott Gray 47abb49013 Replaced direct access to webSiteId from the servlet context attributes with calls to WebSiteWorker.getWebSiteId(request)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400601 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 08:53:04 +00:00
Scott Gray 206d159601 Avoid potential NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400574 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 05:09:46 +00:00
Adrian Crum bd722a7f97 User Name is two words.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400388 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:47:52 +00:00
Sascha Rodekamp 1fbfbaea83 Upgrade jQuery Validation to Version 1.10
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399132 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:14:00 +00:00
Sascha Rodekamp a567174540 - Upgrade Timepicker to version 1.0.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399128 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:01:03 +00:00
Sascha Rodekamp 17f95ebca0 Upgrade jQuery to Version 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398800 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 13:55:23 +00:00
Sascha Rodekamp 72318d523a Upgrade jQuery UI to Version 1.9
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398771 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 12:57:46 +00:00
Jacques Le Roux ee091b11d5 A Christoph Neuroth's idea "Include complete stack trace in groovy script exception messages" https://issues.apache.org/jira/browse/OFBIZ-5049
When a groovy script fails, currently you can only follow the stack trace to rg.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348), but not into the failed script itself, which makes debugging really hard.

This can easily be improved by wrapping the exception there:

-            throw new IllegalArgumentException(errMsg);
+            throw new IllegalArgumentException(errMsg, e);



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398679 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 07:09:54 +00:00
Jacques Le Roux 88dfaa9bb4 Just to clarify, when you check all you don't check views. I just changed English and French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1397809 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 10:24:49 +00:00
Jacques Le Roux 06025d5235 A patch from Leon "very trivial update to fieldlookup.js in case of "null object" failure for weird unknonw reason" https://issues.apache.org/jira/browse/OFBIZ-4911
I cannot find the root cause and it's hard to reproduce, but it does happen sometimes. The web browser reports "null object" exception when it tries to evaluate following codes in fieldlookup.js: 
{quote}
var obj_caller = (window.opener? window.opener.lookups[num_id]: null);
{quote}

window.opener is there but window.opener.lookups is null.

jleroux: better be safe than sorry, even if it hides the original reason this no functional change can't have any side effects.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395460 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 07:26:02 +00:00
Jacques Le Roux 1daa9d0525 While testing for https://issues.apache.org/jira/browse/OFBIZ-5047 with trunk (instead of 10.04) I got an issue introduced by http://svn.apache.org/viewvc?view=revision&revision=950764 but actually the FTL code did not make any sense, why using a static call to isNotEmpty when you have ?has_content?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395296 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:24:44 +00:00
Jacques Le Roux 8e6e049ad5 A patch from Varun Bhansaly "Email configuration - mail.smtp.starttls.enable ignored" https://issues.apache.org/jira/browse/OFBIZ-4943
The email configuration setting mail.smtp.starttls.enable is ignored by the system.
I encountered this while configuring OFBiz an email server which had TLS enabled.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395104 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 16:18:09 +00:00
Jacques Le Roux cc5ddd92da Remove trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395035 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 12:53:28 +00:00
Jacques Le Roux ac9f940790 A modified patch from Jyoti Sharma https://issues.apache.org/jira/browse/OFBIZ-5043
When i worked with Url Rewrite Filter, i faced the following issue:-
In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten.

The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case.
So, if we place response.encodeUrl() their the issue is resolved. 

jleroux: This makes sense since we are still in the "if (encode) {" block. I just noticed that response != null was checked above so I placed the same check before encoding

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1394995 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 10:59:12 +00:00
Jacques Le Roux 6eb198e3c2 No functional change, just swap parameters positions in JavaDoc, while reading fast I got confused
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393556 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 15:38:21 +00:00
Jacques Le Roux d652185fce Adds a new line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393369 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:26:15 +00:00
Jacques Le Roux 899598caba Moves throwRequestHandlerExceptionOnMissingLocalRequest from general.properties to requestHandler.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:25:19 +00:00
Adrian Crum 423947d9ed Small improvement to Web Tools Find Values screen - order values by pk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393258 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 02:30:19 +00:00
Sascha Rodekamp 959321e0f1 Bug Fix: No Url encoding for get parameters (https://issues.apache.org/jira/browse/OFBIZ-2628). Thanks Wojciech Szymanowski for the hint. This Patch fixes the problems with parameters from hidden fields sending with POST method and parameters sending during "request-redirect" response type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1392766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 07:22:05 +00:00
Jacques Le Roux ecfc317a79 Closes "ControlServlet - Exception thrown for requests not defined by controller.xml" https://issues.apache.org/jira/browse/OFBIZ-5037
This has been tested in a custom project and work as expected it does not add any functional features for OFBiz if you don't use external requests in controllers. So should have any impacts OOTB

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1391037 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 14:49:20 +00:00
Sascha Rodekamp 49adbc5bcc Bug Fix: No Url encoding for get parameters (https://issues.apache.org/jira/browse/OFBIZ-2628). Thanks Wojciech Szymanowski for the hint. The CatalinaContainer.createConnector() method does not initialize Connector.URIEncoding property from ContainerConfig class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1390542 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 15:03:23 +00:00
Adrian Crum a8793d83dd Fixed a bug introduced in rev 1334336 - do not throw an exception if the web.xml file does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1389802 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 11:12:34 +00:00
Jacques Le Roux 73324f3b4a A patch from Daniel Riquelme " Improve Tree Widget to support Multiple PK Entities" https://issues.apache.org/jira/browse/OFBIZ-4971
The PKs are used to keep track of which nodes have been rendered when performing recursion inside Tree Widget rendering code.
Currently Multiple PKs Entities can't be used as nodes in a Tree Widget because the rendering code does not handle them.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1387884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 07:06:17 +00:00
Jacques Le Roux 3d1ccc11ed Closes "UtilXml firstChildElement should use getNodeName instead of getLocalName " https://issues.apache.org/jira/browse/OFBIZ-4441
The previous solution was not complete and prevented SOAP call to work correctly (see http://markmail.org/message/sz5esi3j6ombmrte).
This guarantee best of both worlds: uses getLocalName for SOAP if not null, else fall-backs to getNodeName


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1387878 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 06:57:10 +00:00
Jacques Le Roux 0323d6f48c No functional changes, just organizes imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1387567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 12:55:58 +00:00
Jacques Le Roux 934cede069 Fix an issue with WSDL and nillable attribute (can be only in 1st level element)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1384251 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 09:37:58 +00:00
Jacques Le Roux 0cef05fa6b Trivial changes on r1383340
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1383381 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 12:36:08 +00:00
Erwan de Ferrieres 901c176aa2 A patch from Nicolas Malin - OBFIZ-5032 - Complete French traduction for common component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1383340 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 10:35:57 +00:00
Erwan de Ferrieres 21c0d55c09 Upgrading to tomcat 7.0.30
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381977 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:11:42 +00:00
Jacques Le Roux 9dcd3564e3 Moves the workflow component to attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:39:26 +00:00
Jacques Le Roux 678a145d75 A patch from Chatree Srichart for "Fields in extended entity do not override attribute enable-audit-log" https://issues.apache.org/jira/browse/OFBIZ-4844
Tested with NoteData.noteParty


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381559 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:24:01 +00:00
Erwan de Ferrieres d8a1e145ea A patch from Leon - OFBIZ-5025 - jquery validator localization looks for messages_cn.js for locale zh_CN and _tw for zh_TW
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381146 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 11:17:02 +00:00
Hans Bakker 3bca44db12 OFBiz 5018: LoginWorker does not check a base permission for the root mount point
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1378020 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 08:30:10 +00:00
Sascha Rodekamp 1985a8206e Lookup Form not working with Arabic characters (https://issues.apache.org/jira/browse/OFBIZ-4915): A patch from Taher Alkhateeb: Any field in a form that uses the <lookup target-form-name="WhateverForm"/> would not return results when searching in Arabic. I suspect the main offender is javascript/jQuery when parsing user input.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377988 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 06:41:07 +00:00
Jacques Le Roux 5cc959344a CVE-2012-3506: Unlike descriptions and values, tooltips were not encoded, thanks to Scott for spotting it (r1377382 was flawed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377388 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:35:34 +00:00
Jacques Le Roux 3b1205669c Revert r1377382, this was not complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377386 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:32:46 +00:00
Jacques Le Roux 5016c7291f Unlike descriptions and values, tooltips were not encoded, thanks to Scott for spotting it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377382 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:21:05 +00:00
Jacques Le Roux efae3a2e7e No functional changes: removes now useless comments (since r1170125)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377253 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 10:24:12 +00:00
David E. Jones 358f61fdbc Added ext-test and ext-demo to all datasources so that install without specifying readers behaves as expected (ie loads all readers)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1376379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 06:09:36 +00:00
Erwan de Ferrieres 5f2e3fffe5 Updating Apache HttpComponents to their latest version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1376296 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 22:40:25 +00:00
Erwan de Ferrieres 0cd3370cc9 updating other Apache-commons libraries to their latest version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1375502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 12:29:14 +00:00
Erwan de Ferrieres 792e6a1729 updating some Apache-commons library to the latest versions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1375145 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 17:56:21 +00:00
Adrian Crum e31fc1c801 Some Job Scheduler related notes/warnings - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374736 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 11:33:07 +00:00
Adrian Crum c8ab3eb95d Fixed a bug in JobPoller.java where the poller thread would start before all of the components were loaded - causing exceptions to be thrown and unpredictable behavior.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 10:36:46 +00:00
Adrian Crum 0828388d85 More work on Start.java - added the capability for client code to query the class for server state.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374720 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:59:31 +00:00