Commit Graph
143 Commits
Author SHA1 Message Date
Jacopo Cappellato b1aa7686f3 No functional changes, just a lot of cleanups for rev. 566781 by Al Byers:
1) added missing license headers
2) removed tabs
3) fixed some weird/random formatting

I'm still not sure that it is correct to keep the two *.ftl files in the script folder... but I don't have time to further review this revision.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567558 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 06:48:53 +00:00
Alfred Maxwell Byers 2c8afab971 I am adding these GIS related files for safe keeping and to serve notice that a GIS component will be forthcoming.
Actually, they work now, so it will be a matter of filling the out - especially translating ogc filter constraints to 
simple method entity expressions.

WFS is a standard in the GIS world for querying and returning metadata (as opposed to the other two standards, WMS and WMC,
which deal with returning images from vector info or images as the native format (coverages).
By putting a WFS server interface in OFBiz, it can be used to add point-of-interest plotting to many business apps.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566781 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 17:14:18 +00:00
David E. Jones 9484bf4926 Removed property for class that no longer exists in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 10:18:52 +00:00
Jacopo Cappellato 6907a4d911 Fixed font url path: I introduced this error in my last commit to this file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565010 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 07:48:22 +00:00
Jacques Le Roux 9245703ffc A patch from Adrian Crum "Improved Time Zone Support, Part 2" (https://issues.apache.org/jira/browse/OFBIZ-1164)
Please see comments in Jira issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564957 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 18:40:45 +00:00
Jacques Le Roux 4bd9d881b9 A patch from Adrian Crum "FreeMarkerWorker.java flexibility" (https://issues.apache.org/jira/browse/OFBIZ-273)
Uses a sort of dependency injection


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564914 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 12:52:41 +00:00
Jacopo Cappellato 22cefa2b17 Added fop config file (with unchanged default value to the webapp/config folder.
Also changed the ApacheFopFactory to load froom webapp/config instead of widget/config.
Thanks to Oleg Andreyev and Krzysztof Podejma for the config file and comments.
OFBIZ-1110

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564545 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 11:02:14 +00:00
David E. Jones 4479906b3a A little better handling of the rare case where the userLoginId is missing or bad; avoid an NPE and give a better error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564344 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 19:25:35 +00:00
David E. Jones ede990f68e Changed a few noisy error messages to verbose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562592 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 21:37:58 +00:00
Jacopo Cappellato 91549b43b5 Fix for index out of bounds exception reported by Bilgin Ibryam.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561759 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 10:47:05 +00:00
David E. Jones 8c07042741 Fixed issue when there is no forward slash in the prefix or in the value in the ofbizContentUrl transform
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561701 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 08:12:58 +00:00
Jacopo Cappellato 471acaa18e Code cleanups: no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561320 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 13:13:17 +00:00
David E. Jones d49ab29996 Some improvements to handling cases where rendering the error messages fails, and the alternate fails, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560486 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 04:10:18 +00:00
David E. Jones d12cdec531 Much better error handling, just in case some actually wants to use this, like for testing or something
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559793 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 12:28:33 +00:00
Jacques Le Roux 174bcd8621 A patch from Shi Yusen "zh properties in progress" (https://issues.apache.org/jira/browse/OFBIZ-617)
The framework part was still waiting to be commited

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
David E. Jones d482174761 Some reformatting for Visit and Visitor entities; also added some fields for information based on the clientIpAddress for future use based on geoIp lookups, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555796 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 22:23:04 +00:00
Jacques Le Roux a0cafa57d5 A patch from Oleg Andreyev "ApacheFopFactory initialize font base url to default value independently of <font-base> tag in fop.xconf" (https://issues.apache.org/jira/browse/OFBIZ-990)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554181 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 11:36:37 +00:00
David E. Jones b7feb3d18f Appled patch from Adrian Crum in Jira #OFBIZ-1117 to add some timeZone passing and retreival code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 08:20:55 +00:00
Andrew Zeneski 4f2d612dbc added rounding to currency display, this does not change the default behavior, but rather gives the option to set the rounding number (rounding=2) in the transform. Useful when you don't control the code which returns the number.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551625 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 17:11:11 +00:00
Jacopo Cappellato 82e557da6c http and https ports should not be changed; I think this change has been committed by accident.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550701 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 05:42:42 +00:00
Jacques Le Roux b67954e73a A patch from Dimitri Unruh "Remove sessionid for Googlebot & Co." (https://issues.apache.org/jira/browse/OFBIZ-857).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550673 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 03:56:42 +00:00
Andrew Zeneski a6c08b0df3 checked in by mistake..
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549647 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 23:35:28 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Andrew Zeneski 8984a0ef7c added new abstract class for making xml-rpc tests easier; refactored the sample (glue) test to use the new abstract test (also used as an example)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547526 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:55:45 +00:00
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