Commit Graph
61 Commits
Author SHA1 Message Date
David E. Jones 45ebdaec6d Changed runAsUser to run-as-user to be consistent with everything else in the entire framework; still supports the old attribute in parsing code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514251 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 21:51:13 +00:00
David E. Jones 8bc8a3f460 Changed default for the optional attribute on the implements element from false to true, because as is ALL attributes are being set to optional, which I think is not normally what is wanted and I bet there have been a few surprises and frustrations from this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514243 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 21:13:17 +00:00
Andrew Zeneski bd77afa875 fixed bug in route engine not returning proper OUT parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:27:45 +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 d521f0c604 Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
David E. Jones 644f99042a Small change to an error message to show the name of the permission-service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508884 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 07:25:04 +00:00
Andrew Zeneski b7e757aafe fixed big bug in using default-value with override parameters; effected groups and implemented services w/ overrides
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508566 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:38:54 +00:00
Andrew Zeneski 5c2bbdd692 eca set operation now uses the flexible string expander to access additional data from the context
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508236 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 23:38:04 +00:00
Andrew Zeneski f0cbbac2ea ECA actions can now specify to run in a new transaction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508207 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 22:29:03 +00:00
David E. Jones 8304484c86 Small improvements to the permission-service code to show service name in exception messages, and to throw a descriptive exception instead of an NPE with no hasPermission field is returned from a permission-service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507808 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:10:26 +00:00
Andrew Zeneski 1ca8d6d1c6 minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507547 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:42:59 +00:00
Alfred Maxwell Byers 90701c5189 Made a simple fix in evalPermission.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504815 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 07:51:44 +00:00
Si Chen fd701c1efa Fix issue with service error generation code. It doesn't do any validation of input, so it will crash if it gets fed an error list with null messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500005 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 21:41:26 +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
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
David E. Jones df2244194e Fixed bug with getting default info for resource description; thanks to Ashish for reporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@495523 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 09:23:25 +00:00
David E. Jones c8ffca7540 Added resource-description attribute to permission-service element, which if not specified will default to the service-name for the main service; this is then passed to the permission service for use in error messages, etc; added example to this in the example component; also updated the header on the ExamplePermissionServices.xml file to make it more consistent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494762 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 08:18:50 +00:00
Andrew Zeneski 45cf1f4ea1 implemented new service based permission; removed the ServiceSecurity interface which this now replacess
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494718 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 05:29:30 +00:00
Andrew Zeneski a8968a03cf implemeted:
1) default values for service parameters; when default-value is set, it becomes optional, if no value is passed, the defined default value is used.

2) implemented new interface for custom service security

Changed JobManager finalize() method to shutdown() since calling finalize() is not recommended in java


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493185 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:42:51 +00:00
Andrew Zeneski 8187b68439 fixed so that parameter setters only happen when conditions eval as true
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493184 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:40:29 +00:00
Andrew Zeneski 4834cb951b allows the 'service' element to be passed, but returns a warning message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493135 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:48:10 +00:00
Andrew Zeneski ff901cfd8c refactor of service groups; implemented in-line group definition in standard service defs, this removes the need to create two definitions for a service group. Old group definition files are still supported, but need to be updated to change 'service' to 'invoke'. Update to existing group files will follow in next commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493117 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:26:51 +00:00
Andrew Zeneski d9fceae1b8 fixed XSD error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 02:35:40 +00:00
Andrew Zeneski 0a002665bc few more updates and corrections for the new service interface code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492848 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 02:12:23 +00:00
Andrew Zeneski af466b671c added missing file from previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492816 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 23:46:49 +00:00
Andrew Zeneski 3dcd312c08 changed which implement other services to specifiy if the parameters should be optional or default to the inherited service; rather than always being optional.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492815 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 23:45:08 +00:00
Andrew Zeneski 47346f6abf implement field override for eca services; you can now use :
<set field-name="[name of context field]" value="RAW_VALUE"/>
or
<set field-name="[name of context field]" env-name="[another field name]"/>

There are also format options, see the updated XSD for options.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492770 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 21:56:22 +00:00
Jacques Le Roux 2d4ebae2ae A patch from Stefan Huehner "JavaMailContainer is broken for all password not consisting of only lowercase characters" (https://issues.apache.org/jira/browse/OFBIZ-543).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488137 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 06:49:52 +00:00
David E. Jones e9bdbf0d28 Re-applied the patch from Adam Heath in Jira #OFBIZ-401 to update BSF to the Apache version 2.4.0; with JPublish gone this should work much better now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486518 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 06:58:02 +00:00
Jacques Le Roux bd428bde64 A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" (https://issues.apache.org/jira/browse/OFBIZ-530).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux f855cb3f2b A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" (https://issues.apache.org/jira/browse/OFBIZ-533).
This files was missing because I had to revert them to resolve previous conflict


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:15:39 +00:00
Jacques Le Roux 3abcbcf1fa A patch from Peter Goron :"Allow user to give a name to the job he is scheduling" (https://issues.apache.org/jira/browse/OFBIZ-519)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482807 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 22:20:39 +00:00
Jacopo Cappellato 55bcc8af8f Applied patch from Stefan Huehner (OFBIZ-511), to remove some unnecessary casts where the source-type and the casted-to type are identical.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481546 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 10:45:01 +00:00
David E. Jones fef539252d Some improvements on error handling and message passing especially for failed commits when rollbackOnly is set; based on patch from Si Chen, but quite a bit different; from Jira #OFBIZ-503
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@480741 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 22:24:55 +00:00
Hans Bakker 5524f51fa5 add a parammeter to be able to limit the maximum size of an incoming email message (set to 1Mb)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477691 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 14:51:49 +00:00
Jacques Le Roux f1393c6cb0 Better error message when Unable to bind RMIDispatcher to RMI (https://issues.apache.org/jira/browse/OFBIZ-447)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473893 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 06:56:07 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
David E. Jones 86634c3cbe Small change to allow seca files without any rules in them
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 00:18:50 +00:00
Jacques Le Roux a309b22b29 Forgot to revert java files to IBM bsf (com.ibm.bsf)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468683 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 12:19:52 +00:00
Jacques Le Roux 080680236a A patch from Adam Heath "Upgrade bsf to something a bit more modern" (https://issues.apache.org/jira/browse/OFBIZ-401)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467304 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 10:58:36 +00:00
Jacopo Cappellato 025969126a Removed author information from all the files of the "service" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454117 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:15:27 +00:00
Jacopo Cappellato b79f8b95c5 Removed unused import statements from Java classes.
Patch from Peter Goron (OFBIZ-349).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
David E. Jones 732992ba9f Removed compression code from Sun that has a problematic license, people can still grab and use this, but we just won't be distributing it as before; this is not used by default; note that there may be other zip socket implementations that we could put in place if this is important to someone, but I don't know that anyone has looked into this yet
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451171 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 08:50:42 +00:00
David E. Jones d3f94c5aef Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
Jacques Le Roux 70e9e48503 A patch contributed by Peter Goron and reminded by Marco Risaliti. Thans to them.
Please see "Overriding a service attribute type changes attribute's name" OFBIZ-756

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440964 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 03:40:01 +00:00
Jacques Le Roux 8b08df2c19 Patch from Rodrigo Aguinaga : OFBiz does speak Spanish now :o)
Thanks for your great work Rodrigo

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434047 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 13:53:14 +00:00
Jacques Le Roux 4132a6e5cd git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434036 13f79535-47bb-0310-9956-ffa450edef68 2006-08-23 13:19:58 +00:00
Jacopo Cappellato e61d1bb7a2 Moved addErrors private method from CheckOutHelper to ServiceUtil (as public static).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432961 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 10:32:17 +00:00
Jacques Le Roux d74d2faaec Add *_es.properties from Rodrigo Aguinaga (see Apache Jira OFBIZ-157)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432188 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 09:21:27 +00:00