David E. Jones
20916970e7
Small improvement for the messages when an ECA rule evals to true or false
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569763 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 04:32:02 +00:00
Andrew Zeneski
3cd7c25f6f
implemented a simple date based ECA condition
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569693 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 16:02:35 +00:00
Andrew Zeneski
09bc5c770b
fixed default-value which was using the string instead of the converted object
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569692 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 16:02:19 +00:00
David E. Jones
fecd5e035f
Small change to avoid warning messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567519 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 02:00:58 +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
David E. Jones
3fe03469ce
Changed from info to verbose, interesting data but information content low
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564153 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 09:00:46 +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
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
e91a6c47d5
Added timeZone as an automatic attribute for all services; should fix problems introduced by OFBIZ-1117
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553183 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 11:42:45 +00:00
Scott Gray
7085c4efcd
Fixed a bug where an additional listener is attached to the mail store on every call to checkMessages, OFBIZ-124
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552216 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 21:46:22 +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
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
Andrew Zeneski
edd5aae89a
fixed Job Manager so that disabled setting still loads the manager and performs async tasks, just does not enable the poller
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@538659 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 17:36:19 +00:00
Andrew Zeneski
d57b1edf24
fixed LRU synchronization issues
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536399 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 03:34:44 +00:00
Hans Bakker
72132f3013
Bunch of NL updates by Perry Smit from morevalue.nl
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536128 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 08:57:35 +00:00
Andrew Zeneski
ad4915d17d
added rmi trust store
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534994 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 21:53:41 +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
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
Jacopo Cappellato
ce2376c33d
If an async service fails, the status of its JobSandbox record is set to 'failed' even if the service will not be rescheduled.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525721 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 06:20:48 +00:00
Andrew Zeneski
e63fc39ea4
implemented internal email notifications for service invocations; configure groups for notifications, setup templates, email addresses and assign services to groups (serviceengine.xml) all services belong to the default group, in case you want to monitor all errors, failures and/or success
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523801 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 19:12:10 +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
75fcdd6d46
added method to get the total number of defined parameters for a service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522929 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:28:33 +00:00
David E. Jones
0795cd0be1
This is a fairly complete rework of the UtilCache use and the loading code in the service engine; a reload of service definitions should now be possible by clearing the cache; also removed a bunch of the other caches that were either redundant and annoying, or dangerous because clearing them would break things, perhaps unknowingly; these are some problems and really messy weird code that has been around for quite a while, finally got sick of it and decided it needed to go
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521999 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 09:52:10 +00:00
Jacopo Cappellato
85f85361b5
Added new field ('authUserlLoginId') to the JobSandbox entity to store the user login of the user that submitted the async job. The content for the field is retrieved from the context (using the 'userLogin' object, if available).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520300 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 07:20:30 +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
David E. Jones
5b21bea3ca
Changed service dispatcher name to not interfere with main name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516258 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:41:46 +00:00
Andrew Zeneski
92fc817dfa
changed resourceDescription to optional; will get set if not passed in the service engine BUT needs to get passed validation first
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:44:55 +00:00
David E. Jones
79e2463756
Changed the runAsUser here to also be run-as-user for consistency; still supports old runAsUser in Java parsing code, though there will be a parse error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514602 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 08:41:37 +00:00
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