Commit Graph
319 Commits
Author SHA1 Message Date
Andrew Zeneski 1a6c81da7a added new RpcClient class which handles all the transport configuration internally (simpler to use); updated the RPC glue test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547443 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:24:08 +00:00
Si Chen 25bcdaf745 Fix an upload encoding bug. OFBIZ-1072 from Krzysztof Podejma
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546286 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 21:03:39 +00:00
Jacopo Cappellato 44f5f4d1dd Russian labels from Oleg Andreyev OFBIZ-1037
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
Andrew Zeneski d885200436 fixed tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545349 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 23:38:38 +00:00
Si Chen e57831ea58 oops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544338 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 00:56:39 +00:00
Si Chen c050364083 Return an XML-RPC fault on service error in the XML-RPC event handler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544329 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 23:51:41 +00:00
Jacopo Cappellato aef48a6d77 Removed unused code that was causing a warning message while building OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543417 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 07:48:44 +00:00
Jacopo Cappellato f4c5f55894 Fixed warnings after upgrade of common* jars related to a deprecated class used to manage file upload.
Added a new folder (runtime/tmp) to store temporary files during upload and added new properties to configure the file upload to the general.properties file.
Issue OFBIZ-942.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543404 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 06:45:10 +00:00
Andrew Zeneski cfa218101c added Apache XML-RPC client extension to support passing specific aliases certificates to RPC servers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@542332 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 21:57:01 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
Andrew Zeneski 8448021670 fixed a few possible NPE; stopped post-proc from looping
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541931 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:23:53 +00:00
Andrew Zeneski 6cf5ef16e6 added convenience for calling the doRequest method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541673 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 14:43:15 +00:00
Jacopo Cappellato 068789ea9c Applied patch from Scott Gray as a temp fix to disable all the roundings done in the ui.
This will help to expose all the processes where rounding should be better handled.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541209 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:11:12 +00:00
Si Chen e45ca80d89 Fix for OFBIZ-1010 where a URI like ~pcategory/LookupPartyName would crash.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540773 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 22:22:14 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Hans Bakker 8abd1fe79d jira OFBIZ-988 fom Oleg Andreyev
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@538424 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 04:11:26 +00:00
Jacopo Cappellato a2d01f0beb Updated DataVision to 1.0.0; removed MinML2 jars that was only needed by the old DataVision jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536788 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 09:23:39 +00:00
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