Jacopo Cappellato
b4ab7d2fdd
Updated icu jar file to the latest stable release: 3.6
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533587 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:23:46 +00:00
Jacopo Cappellato
dda7d6e354
Updated to the latest release a number of commons* jars:
...
commons-dbcp to 1.2.2
commons-cli to 1.0
commons-lang to 2.3
commons-validator to 1.3.1
commons-primitives to 1.0
commons-el to 1.0
commons-vfs to 1.0
commons-collections to 3.2
commons-pool to 1.3
commons-discovery to 0.4
commons-logging to 1.1
commons-beanutils to 1.7.0
commons-modeler to 2.0
commons-codec to 1.3
commons-digester to 1.8
commons-io to 1.3.1
commons-fileupload to 1.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 07:21:23 +00:00
David E. Jones
68e5c4344e
Updated bsh to version 2.0b4, with additions needed by OFBiz for caching parsed scripts as an object; Jira issue #OFBIZ-528; thanks to Cameron Smith for the initial efforts and testing on this; see that issue for more details
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533448 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 00:10:27 +00:00
Jacopo Cappellato
aaa243eb53
Applied patch from Scott Gray in OFBIZ-937:
...
setMaximumFractionDigits should be called after setCurrency, otherwise setCurrency changes it back to the default for that currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533347 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 14:19:59 +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
Andrew Zeneski
768f220859
fixed X500 converter to support commas in names (broken since it is split on comma)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 03:45:40 +00:00
Andrew Zeneski
d45f5643fd
added getLocation method
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532577 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:30:51 +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
a8eec804d5
added missing keystore element
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532068 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 20:14:14 +00:00
Andrew Zeneski
85747a3ec2
fixed bugs in truststore loading; added method to load the keystore from the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532041 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 18:51:59 +00:00
Andrew Zeneski
2d40130ffd
changed loop to use Arrays method; added a few methods for reading/writing keystores (not fully tested yet)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531546 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 18:05:36 +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
350b033397
removed no longer needed keystores
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531271 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 20:53:17 +00:00
Andrew Zeneski
ec4177bd91
added methods to StringUtil to convert results of Map.toString() and List.toString() back to Map/List (assuming the contents are Strings for now); changed the ObjectType for Arrays->List conversion to only run when the type is List (per discussion on Dev list)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529716 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:06:45 +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
b5909605e3
changed to use the normal host checking by default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529496 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 06:10:57 +00:00
David E. Jones
5003ee5a9f
Fixed compile error; I think related to some stuff Andrew Zeneski was working on, so will do this for now and let him review it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529492 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 05:49:04 +00:00
Andrew Zeneski
0ea3b57138
now uses the new hostname verifier code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529428 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:49:11 +00:00
Andrew Zeneski
88a4d9e5d6
implemented hostname verifier so that SSL certs do not HAVE to match that of the site; as long as we add them to the trust store
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529427 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:52 +00:00
Andrew Zeneski
0af480b6e7
now ignores the issuers; since we are looking for a specific alias; we now just look up that alias for all issuers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529425 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:09 +00:00
Andrew Zeneski
a4410b3f20
added missing SecureRandom to SSL Factory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528069 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:11:46 +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
868f076307
updated some methods related to certs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528015 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 16:32:00 +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
David E. Jones
991e0cc752
A few new methods for convenience, especially working with Lists and Maps of Maps and doing certain calculations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526354 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 04:19:10 +00:00
David E. Jones
92a0c2aab0
Fixed a couple of issues with the appserver template stuff, still does not seem to be getting the classpath entries though, and little tweaks like adding the cached class loader container did not help; somehow the component class path stuff isn't making it through
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526071 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 06:23:29 +00:00
David E. Jones
a92d7653ae
Changed to better handle the error when the bsh location is not valid
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525281 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 21:17:50 +00:00
Andrew Zeneski
31e29fdc5c
small change to get information from other places
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523909 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 02:06:06 +00:00
Andrew Zeneski
394d1201fa
added option for running just a single component's test suite;
...
java -jar ofbiz.jar -test -component=[componentName]
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523053 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:56:52 +00:00
David E. Jones
75e03b6d97
Changed CatalinaContainer and added configuration settings for the cataling runtime directory, which is now under the ofbiz/runtime directory and that is where the work directory and such will go
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523002 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:16:35 +00:00
Jacopo Cappellato
257f417108
Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
...
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00
David E. Jones
82547889be
Fixed extra equals sign type reported by Sebastien Schirmer, part of tomcat session rep config
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521871 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 19:04:58 +00:00
Andrew Zeneski
ec22d58cac
implemented new data loading arguement -component to limit data loading to a single component (by name)
...
example:
java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:48:21 +00:00
Andrew Zeneski
d7e7a60f60
created a simple string output stream; funny how java doesn't come with this!
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516635 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 01:35:20 +00:00
David E. Jones
761e6161bf
Added a bunch of stuff to do a pseudo converstion from objects to List and Set by creating a List or Set and putting the object in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516321 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:46:51 +00:00
David E. Jones
4516bbe6dd
Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:28:43 +00:00
Alfred Maxwell Byers
54789c1eca
Added RenderContentTransform which does both content and subcontent rendering.
...
Linked to it in FreeMarkerWorker, but did not remove other transform defs.
This has not been tested - will be doing that now - just making available to other hackathoners.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516168 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:32:39 +00:00
David E. Jones
9dfc0f8847
Added isNotEmpty method for Object, alternative to patch proposed by Joe Eckard in Jira #OFBIZ-785
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515877 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:24:35 +00:00
Jacopo Cappellato
34d858166a
Applied (a slightly different) patch from Stefan Huehner (OFBIZ-537) to cleanup the code that creates a refNum for payment transactions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514204 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:55:44 +00:00
Andrew Zeneski
1956a2416d
added method to send file name to browser when streaming data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512946 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 20:18:16 +00:00
Andrew Zeneski
9e2bc7dcc9
fixed javadoc error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512865 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:37:16 +00:00
Jacopo Cappellato
d445d699d3
Small improvements to the way Long are transformed to Strings.
...
Thanks to Stefan Huehner for the patch OFBIZ-537
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511260 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 12:04:34 +00:00
Jacopo Cappellato
6b5c14ce92
Applied patch from Stefan Huehner (OFBIZ-511) to remove unnecessary casts.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511251 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:32:06 +00:00
David E. Jones
ff924a279a
Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); thanks to Andras Robert for his research and comments on this; looking at the Java API docs it looks like this basically just escaped the characters in the eventual URL
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505358 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 16:37:05 +00:00
Jacques Le Roux
ee910a9f25
Revert shark enabling changes commited by error with update of ASL2 headers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499595 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:32: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
David E. Jones
c50b44ea31
Based on patch from Chris Howe in Jira #OFBIZ-400, added some entries for primitive types and a few more of the common java.lang objects; note that this is different as it doesn't have the .class extensions or any of the .TYPE entries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498921 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 05:08:46 +00:00
Jacques Le Roux
38327f3097
ASL2 header dynamically modified (actually all file which forces us to put ASL2 header programmatically)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497359 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 09:02:26 +00:00
Andrew Zeneski
1fb805def3
changed HashMap and ArrayList to FastMap and FastList
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497180 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:34:50 +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