Jacopo Cappellato
05dbda99ed
Upgraded velocity to latest stable release 1.5.
...
The runtime dependencies are: commons-collections, commons-lang, oro
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534359 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 09:01:38 +00:00
Jacopo Cappellato
d7b17e1aaa
Upgrade to the latest stable release of iText: 2.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534346 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 08:03:01 +00:00
Jacopo Cappellato
096dcdca11
Renamed Datavision jar file with revision number suffix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534343 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 07:59:47 +00:00
David E. Jones
58ca7f6323
Changed to behave better after recent VisitHandler refactoring; now shows warning message when no visit is found in a session (which really shouldn't ever happen...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534041 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 12:42:05 +00:00
David E. Jones
5e1d6ab6d9
Finished fixing a problem that I almost fixed yesterday, but I didn't quite do it right; now the login won't be called twice, avoiding the UserLoginHistory problem, which was reported for MySQL with the timestamp resolution problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533305 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 06:07:39 +00:00
David E. Jones
621d3d1d0e
Some fair refactoring of the VisitHandler class to make it more resilient and centralize some of the data gathering in the ControlServlet; along with this are fixes for a couple of problems that caused the initial request data to be missing from the Visit especially on logout which cleared the session; this has been broken for a long time so is hopefully resolved now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533037 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 09:39:09 +00:00
David E. Jones
5f4dbb56c9
Small change so that on login if previous request was login, logout, or checkLogin then it will null the request name so it goes to the default; this avoids a login/logout funny loop that resulted in ServerHit/UserLoginHistory entries with duplicate pks because they happen within one second
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532993 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 07:18:20 +00:00
Andrew Zeneski
8a17059a76
removed no longer needed debugging
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532591 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 03:29:50 +00:00
Andrew Zeneski
5073124b68
made the pattern which finds the userLoginId from the common name (x500) configurable; also can disable cert login from security.properties
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532403 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 16:45:18 +00:00
Andrew Zeneski
8cf17e8b49
now checking issuer serial number as well; one more layer of additional security
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532069 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 20:14:43 +00:00
Andrew Zeneski
472a560846
pulled block to a method for reuse
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531547 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 18:06:24 +00:00
Andrew Zeneski
7cbcc85cbd
refactored x509 implementations; now it will use the certificate to determine the userlogin; tomcat changed to ignore cert files (just pass through) so all checking can be handled by ofbiz; login worker updated to use new method of cert checking; added isser entity to configure what issuers are allowed to sign login certs (the certificate must also be included in a trust store) new component based trust/cert stores configured in ofbiz-component.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531272 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 20:56:58 +00:00
Andrew Zeneski
a8dff4a381
added Array to List conversion
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529696 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 18:08:25 +00:00
Andrew Zeneski
4cef879e88
x509 required SSL to function; added code to make sure you can't slip by the security by using HTTP (instead of HTTPS)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529423 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:46:24 +00:00
Andrew Zeneski
4932217a02
XML-RPC handler only returns valid out parameters back; no more internal parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529339 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 17:45:33 +00:00
Andrew Zeneski
27212c4d9e
changed x509 code to looked certs in the database by serialnumber instead of trying to query the clob
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528719 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 00:36:42 +00:00
Andrew Zeneski
250e352b3d
changed name of method to a more proper name; not just truststores, but any keystore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528045 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 17:14:30 +00:00
Andrew Zeneski
7ad476e218
fixed bug in x509 code where the ofbiz default trust store failed to load (bad protocol)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527755 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:12:56 +00:00
Andrew Zeneski
df64c2610f
fixed auto-login from x509 cert
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527736 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 00:14:37 +00:00
Andrew Zeneski
8a49232950
implemented x509 certificate security for specific requests (define with security attribute x509=true)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527718 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:36:50 +00:00
Andrew Zeneski
8c9e6bd5c6
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Andrew Zeneski
2ad2dc2e47
RPC calls now return service errors as an XML response; not as an exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523435 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 18:46:09 +00:00
Andrew Zeneski
3577c779de
implemented echo back in XML-RPC; will return back the request in a valid XML-RPC XML message; use the query string ?echo to any request to enable this; note the request will not actually run, just echo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523176 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 05:07:45 +00:00
Jacopo Cappellato
597766520d
Properties files for all OfBiz modules available in romanian language.
...
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
Andrew Zeneski
5a41ee8f99
added VERY simple xml-rpc test; however this does not work unless OFBiz is running on port 8080
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523057 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:57:25 +00:00
Andrew Zeneski
feab93f4ea
XML-RPC now will accept un-named services parmeters in order which they appear in the servicedef
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523051 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:42:29 +00:00
Andrew Zeneski
1fea1fc2dc
added XML-RPC client libs for test cases
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523049 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:36:23 +00:00
Andrew Zeneski
0620606b87
implemented XML-RPC to service engine
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521060 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 00:51:42 +00:00
David E. Jones
939fca3962
Chagned ofbizContentUrl to not NPE when there is no request in the context; now tries to do its best with the standard content prefix from url.properties; this was happening in the Order PDF with an image URL which should probably not use ofbizContentUrl in the first place, but now will at least work
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517731 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:31:24 +00:00
David E. Jones
b5a7493883
Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
Jacopo Cappellato
a7c598bd9b
Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
Jacopo Cappellato
f69d0c1960
Applied patch from Stefan Huehner (OFBIZ-515) to fix string comparison.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514196 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:18:40 +00:00
Si Chen
3cbc9ca452
removing RequestHandler from request attributes before a request-redirect. OFBIZ-750
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513430 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 18:32:40 +00:00
Andrew Zeneski
48a2428618
default-request now gets included
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510736 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:54:02 +00:00
Andrew Zeneski
ca459744d6
added new object to request to keep the actual request processed; used when default request kicks in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509877 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 03:36:22 +00:00
David E. Jones
e5ed2900bb
Added _REQUEST_HANDLER_ to request attribute, in addition to its place in the ServletContext
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509127 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 08:28:44 +00:00
Andrew Zeneski
2f30ad50f1
implemented default request for web applications; setting a default-request will forward all requests which do not have a valid mapping to this specific request. Here you can process additional information, forward to a landing page, etc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509068 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:52:31 +00:00
Si Chen
e2facb2fac
Applied patch from Andrew Sykes to run services synchronously in webtools (OFBIZ-677)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507567 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:12:32 +00:00
Andrew Zeneski
70ee48ef80
implemented RomeEventHandler; calls a service (should implement the rssFeedInterface which returns a WireFeed object) to generate a RSS feed; returns the feed to the browser
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507364 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:54:29 +00:00
Andrew Zeneski
3dad964b31
changed order so that event handlers can get access to the request handler from the servlet context
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507363 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:53:03 +00:00
Andrew Zeneski
ef97324303
added JDOM and ROME libraries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507362 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:52:29 +00:00
Hans Bakker
11e199ea42
update of fop jars to version 0.93
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506261 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 03:55:22 +00:00
David E. Jones
3415c28553
Based on feedback from Anil Patel changed the max to unbounded for the include element so represent how it is actually implemented
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505674 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 11:12:59 +00:00
Alfred Maxwell Byers
cf34240e6b
Put a test for null result map, like in ServiceEventHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504816 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 07:53:45 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Andrew Zeneski
78e184e344
fixed problem with root context; the control path would come back as //control instead of /control; big problem just not getting noticed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497883 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:31:52 +00:00
Jacques Le Roux
64cea174fc
This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Jacques Le Roux
c27a34e566
A patch from Christian Geisert for "Incorrect rendering of international characters in PDF reports created using XSL:FO" ( https://issues.apache.org/jira/browse/OFBIZ-170 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@495969 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 21:05:57 +00:00
Si Chen
fd8fcc9134
OFBIZ-554: Include the sessionId in the request handler log messages. Includes a new method to get the sessionId from an HttpServletRequest, which returns "unknown" if no session is defined.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491944 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:18:31 +00:00