David E. Jones
d4aa04aee8
Added some documentation about the service definition transaction related attributes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797962 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 17:45:24 +00:00
Adrian Crum
e4ee374a66
Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
...
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.
I'll let the dust settle from this, then I'll add the user-selected calendar capability.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
David E. Jones
497a7cbf0d
Change to handling of error messages in simple-methods called as a service to pass errors through in List/Map and not combine into one big String, add text you can't change, etc; now logs details and passes errors as-is
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792633 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 18:51:00 +00:00
Scott Gray
dec24b29f2
Sorry for the big commit, got a bit carried away.
...
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
David E. Jones
b7120f61db
Removed this deprecated flag for now since it isn't really deprecated yet
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@787416 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 21:47:09 +00:00
David E. Jones
776d75659c
Added divs since it looks like in the bizznesstime theme that h2 no longer causes a newline; also fixed serial warning in ServiceEcaRule
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780597 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 08:51:12 +00:00
Andrew Zeneski
336a1cf7b2
more improvements to the message wrapper logic for getting attachments and reading multipart messages; added methods to get headers; mail container now marks messages which are too big to process (the max size setting) as read (but never deleted) so they are not always being checked but remain in the mailbox for human review
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774178 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 03:05:00 +00:00
Andrew Zeneski
9bd6c7d37a
added a bunch of mail handing methods to the message wrapper to make dealing with email messages easiler
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774087 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 21:09:48 +00:00
Jacques Le Roux
058d6aed57
A patch from Ashish Vijaywargiya "Change Copyright Year" ( https://issues.apache.org/jira/browse/OFBIZ-2346 ) - OFBIZ-2346
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Adam Heath
1a31984695
Several minor generics fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771124 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:35:52 +00:00
Andrew Zeneski
485805fe3f
Renamed AbtractAuthorization to AbstractAuthorization (bad typo)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770836 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 21:53:29 +00:00
Andrew Zeneski
f36c5a9335
No longer requiring the boolean field 'expanded' as part of the API; after dicussing w/ Adrian; the FSE can handle pre-expanded strings
...
Added new API method findMatchingPermission() which takes a regular expression for the base permission returning the value of all matching permissions (see unit tests)
Fixed missing base permission in SecurityData.xml
JIRA OFBIZ-2381
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770401 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:14:48 +00:00
Andrew Zeneski
d8f436a148
Integration with new Authz API - JIRA OFBIZ-2381
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769936 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:11:35 +00:00
Hans Bakker
cdf0d78cf0
corrected non-thread safe code after a comment from David
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 12:46:43 +00:00
Hans Bakker
4c0c034121
some more faultfixing on customer request notifications: mainly the partyIdTo was not provided
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769274 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 07:49:12 +00:00
Hans Bakker
9c6612b740
intermittent error seems to be solved with this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769236 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 04:16:19 +00:00
Scott Gray
4acd7cc4f9
Corrected simple method documentation regarding the transaction timeout UOM, added the same to the services xsd and fixed a couple of service defs that appeared
...
to be specifying milliseconds rather than seconds.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 23:53:40 +00:00
Jacques Le Roux
5de088f285
I have not seen this error for some times, but anyway this is more secure, suggested by Stephen Rufle on user ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768675 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 07:43:24 +00:00
Hans Bakker
0c5a93074c
fix the new notification services using sendMailFromTemplateSetting using body parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 10:08:55 +00:00
Adam Heath
886e885d39
Add a newInstance() variant that takes a collection of reader urls.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765737 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:06:18 +00:00
Scott Gray
7531687fdd
OFBIZ-2259: Implemented test data rollback per test-suite using the GenericDelegator
...
Provides the following benefits:
1. Test data independence per component suite
2. Ability to run tests repeatedly without reloading the database
3. Continued database independence for the testing tools
4. The possibility of future improvements for controlling when data is rolled back (per unit test, group of unit tests within a suite or
even tree structured tests where data is partially rolled back before continuing)
5. The future possibility to export data changes resulting from a test run
6. The future possibility to verify a test result automatically based on the output of #4
The rollback currently doesn't catch changes resulting from async service calls and also doesn't rollback changes to SequenceValueItem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765057 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 06:01:36 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Adam Heath
a1a9782939
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759240 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:58:16 +00:00
David E. Jones
4a1705a315
Removed some more references to applications stuff from framework, including small cleanup of service engine to get rid of WebAppDispatcher and use new factory method in GenericDispatcher, and changed AvailableServices.groovy to get the real dispatcher list instead of a hard-coded one; also updated eclipse classpath file for new webslinger stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 06:27:03 +00:00
Adam Heath
a941692516
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757069 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:25 +00:00
Adam Heath
231f647742
Typo in javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753371 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 20:01:44 +00:00
Adam Heath
9057861730
Add the appropriate configuration to allow webslinger to work at
...
runtime.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753084 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:18:54 +00:00
David E. Jones
a521969954
Changed the HTML checking to only check and never change values; if they come from a webapp they will already be canonicalized, and for services calling other services and such we don't want to do canonicalization or the like
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751990 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:14:15 +00:00
Jacques Le Roux
f0b05c11a9
switch( => switch (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751007 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:56:24 +00:00
Jacques Le Roux
13a934f823
In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
...
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Adam Heath
ecd71ac2eb
Revert back to the previous version.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750345 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 07:05:04 +00:00
Adam Heath
c41f9edc98
Converted to <test-group>, as these are really all related.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 02:41:37 +00:00
David E. Jones
1a5c2de3c5
Changed LoginWorker.makeLoginUrl back to returning a String and implemented a more general solution for the @ofbizUrl and @ofbizContentUrl tags so that they do decoding and are now tolerant of encoded URLs just in case it happens; this should be a more general fix and avoid the problem more; also a few cleanups like resolving warnings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744418 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 08:17:05 +00:00
David E. Jones
09825430f1
Added new allow-html tag on the attribute, auto-attribute, and override elements; has 3 options: none, safe, and any; the comments in the XSD file describe what each of these do; the important thing to know is that none is the default meaning no html is allowed; if html is needed use safe and look at the antisamy-esapi.xml file to see policy details; in extreme trust cases use any where any html is allowed; note that many services need updating which should allow at least safe html, and it may take some time to discover all of those and get them handled; please send in issues and requests for service attributes that should allow safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742352 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 09:34:34 +00:00
David E. Jones
9075027988
Some cleanups, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 03:16:02 +00:00
David E. Jones
4d9382e887
Cleanup and pretty-up a bunch of log statements; moved some less helpful ones to verbose, combined some, and generally tried to make logs in various places more user friendly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741424 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:04:58 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Jacques Le Roux
9c5e043c53
Cleanup_labels35.patch from Marco Risaliti 'Clean up labels" ( https://issues.apache.org/jira/browse/OFBIZ-1780 ) - OFBIZ-1780
...
This close this issue.
There are some labels related to geoLocation in this commit, I will commit the geoLocation work as is since I will not have much time this next weeks to work on it. Anyway it's already sufficient as a basis for other parts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735402 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 09:06:03 +00:00
Adrian Crum
258acadf91
Improved exception handling in JavaMailContainer.java. Problem reported in https://issues.apache.org/jira/browse/OFBIZ-156 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732727 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 15:40:02 +00:00
Jacques Le Roux
c890b3ef32
Reverted on Adam's guidances
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728536 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:25:22 +00:00
Jacques Le Roux
d5f99b443a
A modified patch from Erik Wegner "Patch for all language files (*Labels.xml) to correct language order, find duplicates or invalid entries" ( https://issues.apache.org/jira/browse/OFBIZ-2073 ) - OFBIZ-2073
...
I removed some hunks, see https://issues.apache.org/jira/browse/OFBIZ-2073?focusedCommentId=12656651#action_12656651
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726808 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 21:28:06 +00:00
Jacques Le Roux
5f1f00276d
A patch from Philipp Hoppen " Individual logfiles for scheduled jobs" ( https://issues.apache.org/jira/browse/OFBIZ-2042 ) - OFBIZ-2042
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@719836 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 11:24:28 +00:00
Adrian Crum
725c12fc77
More Temporal Expression work:
...
1. Fixed a bug in the TimeOfDayRange class where it didn't calculate properly across a daylight saving transition.
2. Added interval and count to TimeOfDayRange. Now the next() method will increment according to the new fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718373 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:42:16 +00:00
Adrian Crum
5dc2fbe3b6
Temporal Expression class improvements:
...
1. Hardened classes.
2. Added accessor methods to expression classes and added a visitor interface. These are in preparation for the upcoming iCalendar integration.
3. JavaDoc improvements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@713848 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 22:44:52 +00:00
Adam Heath
0c8e487006
This is a bit more map-like now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709906 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 18:55:05 +00:00
Adam Heath
d8f09e9985
makeValidContext now takes a read-only context; the underlying
...
methods already did it this way, so this keeps calling code from
having to copy the context itself.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709905 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 18:53:38 +00:00
Bilgin Ismet Ibryam
828d56b761
A patch from Joe Eckard "Groovy & Beanshell Service Engines do not provide DispatchContext to scripts" - OFBIZ-1979
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707599 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 10:35:00 +00:00
Adrian Crum
0a591e6583
Made the Temporal Expressions UI more France friendly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701257 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:00:11 +00:00
Adrian Crum
1171dcddb0
Temporal Expression UI fixups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700497 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 15:17:28 +00:00
Adrian Crum
08d114f1d8
Temporal Expression UI artifacts. There is a Temporal Expression Maintenance screen in the Webtools component.
...
I tried my best to break this up into re-usable pieces and put them where I thought they made sense. Feel free to move things around if you have a better idea.
Internationalization note: this commit contains new UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700310 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:58:59 +00:00