Commit Graph
1143 Commits
Author SHA1 Message Date
David E. Jones d20742c504 Changed Visit.clientIpAddress from id (20 chars) to short-varchar (60 chars) to handle IPv6 addresses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964553 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 19:46:40 +00:00
Hans Bakker 63ef224344 upgrade birt to 2.6 and at the same time upgrade the itext library (OFBIZ-3407) which does work with this birt version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964371 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 10:33:57 +00:00
Erwan de Ferrieres e710059ab7 OFBIZ-3798 Add xml-rpc engine on serviceengine - A new patch from Nicolas Malin (https://issues.apache.org/jira/browse/OFBIZ-3798) - Also updating xml-rpc libs from 3.0.1 to 3.1.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959261 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 10:52:12 +00:00
Erwan de Ferrieres 0803e3c6f1 Reverting previous commit as it wasn't fully reviewed and was producing errors. Sorry guys...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959076 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 19:19:55 +00:00
Erwan de Ferrieres ad183f5cea OFBIZ-3798 Add xml-rpc engine on serviceengine - (https://issues.apache.org/jira/browse/OFBIZ-3798)
A patch from Nicolas Malin - adding a generic service to call xml-rpc server. The goal is to have a technical interface to make calls directly from mini-lang.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 18:43:56 +00:00
Scott Gray 20eef28ba9 Removed an unused import and an unnecessary call to getControllerConfig(...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955886 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 08:40:07 +00:00
Scott Gray 27719ce38a Controller events (post/preprocessor, first-visit, after-login etc.) without 'name' attributes were not being loaded into the controller properly since the switch to storing them in <String, Event> maps, fixed by deriving a name from the other element attributes when an explicit one isn't provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955882 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 08:23:28 +00:00
Jacques Le Roux dd816e0539 A patch from Sascha Rodekamp "Set webside Id in context filter" (https://issues.apache.org/jira/browse/OFBIZ-3801) - OFBIZ-3801
Very minor: a better way to write the webSiteId in the Session (2d try ;o)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955631 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 15:18:48 +00:00
Scott Gray c023d5a7c7 Check if errorCode is present before attempting to convert to an integer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953917 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 01:06:53 +00:00
Scott Gray ab7580e1d9 Add an additional google bot user agent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952145 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:52:23 +00:00
Jacques Le Roux 98171d02e5 A patch from Sascha Rodekamp "Set webside Id in context filter" (https://issues.apache.org/jira/browse/OFBIZ-3801) - OFBIZ-3801
Very minor: a better way to write the webSiteId in the Session. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:10:52 +00:00
Jacques Le Roux f0e875fcfc A patch from Sascha Rodekamp "Request Handler, makeQuesryString returns a '?' when no parameter is set" (https://issues.apache.org/jira/browse/OFBIZ-3792) - OFBIZ-3792
Just a little patch for good looking URLs. The Method returns a '?' when the query String is empty. I find there shouldn't be a '?' when no key/value pair is past to the URL. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949946 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 07:17:34 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Scott Gray e5551546f0 Be a little more explicit about what didn't return success when a preprocessor event fails
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949088 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 03:30:47 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux c1e14e1a35 A patch from Sascha Rodekamp "Identifying the website id" (https://issues.apache.org/jira/browse/OFBIZ-3784) - OFBIZ-3784
Sascha : here is a little patch to improve the identification of the websites. The original method seems a little bit bare.
Jacques: I can't see any problems with this improvement, though I did not test all cases



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948761 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 10:23:30 +00:00
Adam Heath 9ea996dcb8 There is no reason to convert the controller xml url to a file first.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948439 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:14 +00:00
Scott Gray 70a9563491 Removed the following deprecated classes:
org.ofbiz.webapp.event.JSONSimpleEventHandler
org.ofbiz.webapp.event.AbstractJSONEventHandler

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944549 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 02:22:11 +00:00
Adrian Crum 2c6bdf1f97 Removed deprecated ApacheFopFactory.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944517 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 23:40:17 +00:00
Jacopo Cappellato 9f49ca16f7 Added ofbizHome to the path to fop.xconf (user config file) for consistency with the url for font.base set later in this method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935615 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 15:18:35 +00:00
Adam Heath 95949ff2b7 Add <test-jar> macro.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935381 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:47 +00:00
Scott Gray 06be6c89c0 Removed an unused delegator variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932167 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:53 +00:00
Scott Gray ef95f80dbf Removed some unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932166 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:49 +00:00
Scott Gray c47c48d412 Removed an unnecessary null check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932165 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:44 +00:00
Jacques Le Roux 8c6360bad0 A modified patch from BJ "Tenant login can cause a problem when contacting a delegator" (https://issues.apache.org/jira/browse/OFBIZ-3578) - OFBIZ-3578
If the tenantid has leading/trailing spaces


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930580 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 21:07:37 +00:00
Jacques Le Roux 9d6925fabc A patch from Stefan Roggensack "LoginWorker.doBasicLogout does not check userLogin against null" (https://issues.apache.org/jira/browse/OFBIZ-3577) - OFBIZ-3577
Not easy to reproduce...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928037 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 20:05:54 +00:00
David E. Jones 8e3edae07f Merged multitenant20100310 branch into the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927271 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 04:42:26 +00:00
Scott Gray 68dd372bdb Add the current overrideViewUri to the request attributes if present so that events can access the additional information if necessary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926417 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:47:46 +00:00
Scott Gray f507fad221 [CVE-2010-0432] Properly encode any error messages before attempting to write them to the response. I'm doing it here to avoid having to do the encoding within each app's error.jsp file, I think this should be fine though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920371 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 16:05:19 +00:00
Hans Bakker c3038fdfe6 revert 910871 because the new itext library is not compatible with the current eclipse birt reportgenerator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916599 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 07:40:16 +00:00
Bilgin Ismet Ibryam 75f2d0f5dc Fix typo in RequestHandler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912507 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 08:25:50 +00:00
Erwan de Ferrieres f532a75616 update library iText 2.0.1 to iText 2.1.7 (http://issues.apache.org/jira/browse/OFBIZ-3407)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910871 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 09:09:44 +00:00
Adrian Crum 583d012e4b Created a SOAP serializer facade class to decouple SOAP code from XmlSerialize.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910060 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 18:38:34 +00:00
Scott Gray 5929b3b830 Moved username.lowercase and password.lowercase security property checks from calling events to the userLogin service itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909216 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 03:33:20 +00:00
Jacques Le Roux 6d6a6fa7b3 Not as helpful now, but while at it, fixing the link
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907341 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 23:12:21 +00:00
Adam Heath 592cb808d2 Use MapContext, and dynamically create links to the includes files for
each accessor method.  This fixes a memory leak, and allows for the
included file to be cleared from the cache and reread, without having to
clear all files that included it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904252 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:11:28 +00:00
Adam Heath 93d0182f49 Make all variables in ControllerConfig private, and add accessor
functions to them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:10:51 +00:00
Adam Heath b98a11cf66 Fix for a memory leak; sometime during the past, the initial url fetched
from the servlet container started being a jndi:// form; so, when
include processing was introduced, the urls wouldn't match up.  Instead,
implement a temporary hack to convert the servlet path to a file, so
that the urls will be normalized.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903799 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:50:17 +00:00
Scott Gray ce43168d21 Fix from Ruth Hoffman (OFBIZ-3376), prevent NPEs when invoking the RomeEventHandler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899855 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:43:43 +00:00
Adam Heath b17eb127ec Fix trailing whitespace, and mixed tab/space at the beginning of lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Adam Heath eb0f0bfb16 Fix several generics warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898090 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 22:21:12 +00:00
Hans Bakker ce5a5ee0b4 the netbeans generated code (jax-ws) now works with this patch. contribution by Chris snow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896347 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 08:05:00 +00:00
Hans Bakker eff08dd327 fixed: OFBIZ-3385: Axis2 integration returns 'Unsupported Content-Type: text/html;charset=utf-8', contribution by Chris
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895944 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 08:41:16 +00:00
Adam Heath 93cc17b5b0 Remove a bunch of wildcard imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894106 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 19:54:58 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Hans Bakker ea3a88e1a6 Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +00:00
Scott Gray 3f33a1fab7 Deprecated the various json event handlers and commented out references to them from the controllers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:01:20 +00:00