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
Adrian Crum
9a7cbede73
Some work on Start.java:
...
1. Removed unused method.
2. Consolidated/separated the Commons Daemon implementation - this just makes it easier to distinguish it from the rest of the code.
3. Changed some public methods to private, and added a private constructor.
4. Made ServerState enum public.
These changes are in preparation for enabling client code to query the class for the server's state.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374711 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 08:46:21 +00:00
Adrian Crum
3425bca428
Re-organize and format code in Start.java - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374705 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 08:05:46 +00:00
Adrian Crum
5b24afe6ab
Fixed generics in Config.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374704 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 08:04:43 +00:00
Adrian Crum
b499717344
Updated Web Tools Thread List screen to reflect changes in the Job Scheduler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374625 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 18:06:44 +00:00
Adrian Crum
aaf10dce39
Small fixup for my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374619 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 17:48:55 +00:00
Adrian Crum
e130531db9
Moved JobInvoker.java code to AbstractJob.java, removed JobInvoker.java. Also worked on the Job API - the meaning of "runtime" was a little muddled, so I made "runtime" mean job execution elapsed time, and added a getStartTime method to the Job interface. This should make the distinction clearer.
...
This commit completes the Job Scheduler overhaul.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374618 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 17:43:03 +00:00
Adrian Crum
6d132e8bd7
A small bug fix in JobManager.java - re-initialize a reused variable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374603 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 16:05:01 +00:00
Adrian Crum
2e4cb54075
Refactored JobPoller.java - the JobPoller instance is now a singleton.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374596 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 15:21:14 +00:00
Adrian Crum
7dc28a9f5d
Small change to GenericServiceJob - restore job state in the deQueue method so client code can keep trying to submit the job.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374588 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 14:28:13 +00:00
Hans Bakker
655c38dd6e
adapt ant create component target for new security organization
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374160 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 06:45:07 +00:00
Erwan de Ferrieres
da60e4d9f4
Updating to latest nekohtml release 1.9.16
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1373435 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 14:44:31 +00:00
Adrian Crum
25c04f28af
Partially reverting rev 1372738. As Scott pointed out on the dev mailing list, the conditions requiring a cast are rare - rendering those optimizations ineffective.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1373239 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 07:08:57 +00:00
Sascha Rodekamp
1e0411fb47
Cleanup javascript jquery folder and update jquery references for the elrte editor
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372757 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 07:52:59 +00:00
Sascha Rodekamp
5b8548563a
Update jQuery to Version 1.8 and jQuery UI to Version 1.8.22
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372751 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 07:21:15 +00:00
Adrian Crum
afd4e8b3c0
Small GenericEntity optimization - remove instanceof checks in getXxx methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372738 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 06:02:58 +00:00
Adrian Crum
85d2a421a0
Updated ofbiz-properties.xsd.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372510 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 16:58:31 +00:00
Adrian Crum
f90c42db0f
Add the deQueue method to AbstractJob to solve a workflow build problem. Patch from Leon - https://issues.apache.org/jira/browse/OFBIZ-5007 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372501 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 16:41:32 +00:00