Jacques Le Roux
4c442ee379
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Jacopo Cappellato
7c3554bf05
The context of the email is now logged only at verbose level.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801522 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 07:10:21 +00:00
Scott Gray
26f3d3d25c
Add a convenience method for converting uoms
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800197 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:53:48 +00:00
Scott Gray
37cbcbf738
Returning a messageWrapper even if mail notifications are disabled seems to work fine and it gets rid of that annoying service exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799507 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 03:35:48 +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
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
Hans Bakker
9d1004714b
Now allows for employees to add a note to the customer request, the customer gets notified by email with an url. If he logs in he can also add a note as a reply to the note of the employee, the employee will be notified with a system info message when the customer added the note
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788950 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 10:54:31 +00:00
Hans Bakker
f97b2fe488
create commevent from email did not render the subject causing display giving an error, removed a not required seca
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788589 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 05:48:26 +00:00
Christian Geisert
4dafa44a64
fixed eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778786 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 16:11:43 +00:00
Andrew Zeneski
2967e9faa3
sendMail service now uses the FlexibleStringExpander to expand subject/body; communication event ID is added to the bodyParamters for the other mail services
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774217 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 05:51:45 +00:00
Andrew Zeneski
d294d588cf
minor changes to make sure the sendMail service is called through the service engine instead of as a method call; sendMail now returns a MimeMessageWrapper object with all the mail information to be used by communication event processing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774196 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 04:58:24 +00:00
Adam Heath
b23e2f79e0
Generics markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771016 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:16:13 +00:00
Adam Heath
e180117c27
Fix comparison of authenticators with classes loaded by different
...
classloaders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:14:11 +00:00
Adam Heath
cafb175428
Generics fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770049 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 03:27:29 +00:00
Adam Heath
9840b7cc1c
Fix some StringBuffer usage that has crept in.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770030 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:22:44 +00:00
Adam Heath
2220cb2419
Remove the Resolving classes; instead, make use of ServiceRegistry,
...
which simplifies the code quite nicely. However, this means that
the system will *not* walk the classpath, converting everything to
a file/jar, and trying to load *all* org.ofbiz.* classes. Instead,
it only will load those classes that have been configured to be
looked at, by way of the services text files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770025 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 00:58:04 +00:00
Andrew Zeneski
0914e26d41
Fixed spelling mistakes in comments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769920 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 20:45:57 +00:00
Andrew Zeneski
f7e613752e
refactored Authorization resolver to use the AbstractResolver superclass
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769475 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:32:16 +00:00
Andrew Zeneski
5375cb0ac7
dded touch points to userLogin & changePassword services to call AuthHelper for external authentication module support. Part of the new Authentication API. This commit also includes the service changes for the new 'externalAuthId' field on UserLogin.
...
Part 1: define the API for external authentication modules (done rev 767281)
Part 2: update LoginServices to call AuthHelper for external modules (done)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 21:20:16 +00:00
Andrew Zeneski
ae0a6ec821
updated javadocs and added missing license
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767282 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:18:10 +00:00
Andrew Zeneski
eb103f9f0b
initial implementation of new Authenticator API.
...
Part 1: define the API for external authentication modules (done)
Part 2: update LoginServices to call AuthHelper for external modules (in progress)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767281 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:14:27 +00:00
Andrew Zeneski
706e4d5e21
minor changes to better understand why an email may fail to be sent; specific excpetions are now caught
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765476 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:55:51 +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
97c4dedcfd
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759231 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:56:17 +00:00
David E. Jones
3eee2073cc
Moved some party dependent services out of the framework
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757644 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:44:59 +00:00
Adam Heath
f08c8a99e0
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757078 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:08 +00:00
Jacques Le Roux
0e0519e802
All tabs to 4 spaces in *.groovy, *.java, *.xml
...
Done with Eclipse S/R "\t"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:43:49 +00:00
Hans Bakker
749e9412b2
small improvement on prevous captcha commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754845 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 08:46:33 +00:00
Hans Bakker
32450a3936
captcha not always visible...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754827 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 07:02:47 +00:00
Jacques Le Roux
f796e230d2
catch( => catch(
...
}else => } else
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux
ec8e04ad01
try{ => try {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux
fc6db9e886
if( => if (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +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
Jacques Le Roux
cb74438cd4
Refactoring of ImageTransform, mostly
...
* Split into 2 classes one in framework/common : ImageTransform, one remains in product : ScaleImage.java
* Moved some labels used by ImageTransformCreated from ProductErrorUiLabels.xml in new CommonErrorUiLabels.xml
* Moved Jdom from webapp/lib to base/lib, updated .classpath
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750018 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 14:22:55 +00:00
Hans Bakker
c29a617884
missed this file in last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748142 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:29:59 +00:00
David E. Jones
f27b4eeaaa
No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Hans Bakker
921a74c3f4
as reported in the mailinglist, lookups now working
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742862 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 06:09:26 +00:00
Hans Bakker
d4afd2a5bb
add the optional parameters 'distinct' and 'fieldList' to the performFind service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742328 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 08:36:08 +00:00
Jacopo Cappellato
153ec0eba1
Misc enhancements to the update password screen and events: improved layout, error handling.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742015 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 08:14:58 +00:00
Jacopo Cappellato
ceacb9a1bd
Fixed bug reported by deepak dixit in OFBIZ-2173: setting a blank password could messed up things.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741886 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 12:28:48 +00:00
David E. Jones
afb434f132
More log message refinements for more info, but less message and noise
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741742 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:37:42 +00:00
Jacopo Cappellato
af9e2ab62d
Enhanced checkNewPassword to work like the "userLogin" method when dealing with hashed passwords.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739738 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:02:46 +00:00
Jacques Le Roux
ce297d5a9b
Add geolocation screens to Facility ContactMechs, FacilityLocation and FixedAsset + miscellaneous enhancements, also in data.
...
I have began to refactor toward putting as much as possible geolocation artifacts in framework/common with the idea of creating an applications/common component where all shared (transversal) features/artifacts would be. More explanations on dev ML soon...
There is also an unused taxAuthorityVATReport request/view-map in accounting controller (part of another task I slowly work on)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@738452 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 11:03:20 +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
Hans Bakker
9b31d5dcb7
move temporary captcha to /runtime/tempfiles, this directory can now now read via the /tempfiles mountpoint in the browser, make it work on windows (not tested), reduced the size of the registration screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736896 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 03:14:27 +00:00
Hans Bakker
2dd8e81c84
first version of captcha, not perfect yet: multiple users registering at the same time, image should be stored in 'runtime' not working on windows. Another problem is what files to put where.....the captcha itself looks like a framework feature...however the registration process needs the party component....so let us know, we will correct it....
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735965 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 08:30:41 +00:00
Adrian Crum
08a0e03138
Fixed a design flaw in the user preference services. The services accepted an optional parameter - userLoginId - so that admins could perform CRUD operations on other user's preferences. This parameter caused a name clash with screens and services that also had a userLoginId parameter. The preference services userLoginId parameter has been renamed to userPrefLoginId.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732744 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 16:18:54 +00:00
Jacques Le Roux
5d75cb4e28
A patch from Erwan de Ferrières "Change date format in BI component when calling loadDateDimension" '( https://issues.apache.org/jira/browse/OFBIZ-2113 ) - OFBIZ-2113
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732653 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 09:09:32 +00:00
Jacques Le Roux
ffd4ed534f
A slightly modified patch from jack Guo "Using IN operator with FindServices.java" '( https://issues.apache.org/jira/browse/OFBIZ-2108 ) - OFBIZ-2108
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730001 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29 21:30:17 +00:00
Jacques Le Roux
31d56e8064
A patch from Ravindra Mandre "The userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions" ( https://issues.apache.org/jira/browse/OFBIZ-1996 ) - OFBIZ-1996
...
With some help by Vikas Mayur for the "Upgrading OFBiz from earlier revisions" Wiki page update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712366 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 08:59:31 +00:00