Commit Graph
167 Commits
Author SHA1 Message Date
Scott Gray eee7ea6436 The noConditionFind parameter wasn't being passed from the performFind service to the prepareFind service but it's needed to perform some logic around the filterByDate condition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931283 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 19:29:46 +00:00
Ashish Vijaywargiya 8f83bfeda0 The screen was broken for CommunicationEventOrder.
The order was not associating with communication event when the new communication event was generating in system for different mail notifications(like OrderConfirmation, OrderComplete, ShipmentComplete etc.)
Now after this commit it will work without any issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927758 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:25:08 +00:00
Adam Heath 6122265c29 s/ServiceRegistry/ServiceLoader/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921085 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 19:52:50 +00:00
Bilgin Ismet Ibryam 3b8784b6ab Renamed a variable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:40:28 +00:00
Bilgin Ismet Ibryam bb180a0999 Revert cascadeDelete service after Adam and Adrian's feedback.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910256 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 16:41:35 +00:00
Bilgin Ismet Ibryam 25b998b069 Added a generic cascadeDelete service which can be used for data deletion. It uses recursion to delete all the related data entries.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:14:32 +00:00
Scott Gray 5929b3b830 Moved username.lowercase and password.lowercase security property checks from calling events to the userLogin service itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909216 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 03:33:20 +00:00
Erwan de Ferrieres e818c214b4 Formating the error message in userLogin Service : adding spaces in error messages
(https://issues.apache.org/jira/browse/OFBIZ-3460) OFBIZ-3460

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908897 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:39:44 +00:00
Andrew Zeneski 30f13fbbb1 implemented not-contains and not-like operators in the generic performFind service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906709 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 22:52:22 +00:00
Scott Gray 1ad191b93c Moved some workflow related test services out of common and into the workflow component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903938 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 02:01:47 +00:00
Adam Heath b17eb127ec Fix trailing whitespace, and mixed tab/space at the beginning of lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Erwan de Ferrieres cbdb5a1097 fix test to avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898721 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 11:26:13 +00:00
Adam Heath eb0f0bfb16 Fix several generics warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898090 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 22:21:12 +00:00
Scott Gray f1d8327678 Emails will now be sent to any valid recipients even if the SMTP server rejected any invalid ones. This can be turned off if desired in general.properties and also on a per service call basis.
A failure notification will be sent to the email's "from" address, listing the failed recipients and the reason for each failure. The notification can be turned off by setting the sendFailureNotification parameter to false in the s

These changes fix a problem where emails are not sent to valid recipients and users receive no feedback when emails fail to be sent, generally because of the smtp server rejecting one or more recipients.

OFBIZ-3379, thanks to Pranay Pandey for the report and testing, also thanks to Tim Ruppert and Ruth Hoffman for their input into the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896213 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 20:48:15 +00:00
Scott Gray 80f029bd91 The sendMail service has a problem where any email addresses that fail a RCPT TO: SMTP check causes the message to not be sent to any of the valid recipients. Fixed by making use of the mail.smtp.sendpartial property which enables the message to still be delivered to valid recipients. I've made sendpartial = true the default but also made it configurable via general.properties. This is the first part of a fix for OFBIZ-3379
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894236 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 19:52:43 +00:00
Adam Heath 93cc17b5b0 Remove a bunch of wildcard imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894106 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 19:54:58 +00:00
David E. Jones ef3571738a Small cleanup of a couple of warnings, still many others in this file to clean up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894047 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 07:58:16 +00:00
Hans Bakker a6f58e1d8c make the soap tests independent of the application component, contribution by chatree, suggestion by Scott
detail:
1. change from ProductCategory and Product entity to Testing and TestingNode entity in testSOAP service
2. insert login.username and login.password attribute document in message part of WSDL
3. change type of eepk- and eeval- element to map-Map and insert its document in WSDL
4. insert document for cus-obj element in WSDL

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:47:20 +00:00
Hans Bakker ea3a88e1a6 Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +00:00
Marco Risaliti a5d07a3295 With this changes now we could remove default country to avoid double rows in drop-down.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892512 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 22:17:41 +00:00
Marco Risaliti b82a0ad594 Add the possibility to sort the associated states to a country in a different way than by geoId (OFBIZ-3370)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892470 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 13:50:39 +00:00
Scott Gray 4d2a839b1d Added a common resquest mapping for sending json responses based on the request attributes, requests requiring json responses should chain the request. Removes the need for a json event wrapper for every type of event. Based on idea put forward by Bob Morley OFBIZ-2778
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892218 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:54:20 +00:00
Marco Risaliti 684b54c979 When gets the associated state list to the regions show also the county (OFBIZ-3359)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891925 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:35:30 +00:00
Jacques Le Roux c0ccc25289 No duplicates, alphabetical order (at least in English, hopefully more to come regardind this aspect)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 14:59:11 +00:00
Jacques Le Roux ba29f3ee12 Improve getCountryList: following Scott's remarks on dev ML.
Though now we don't check errors in the countries property list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884317 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:44:01 +00:00
Jacques Le Roux c72b29cb1f Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Hans Bakker d0293a5f16 fix for using equals operator with null field in performFind service: OFBIZ-3151
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883525 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 22:24:59 +00:00
Jacques Le Roux 4e0d303e06 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.length == 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883507 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 21:42:18 +00:00
Jacques Le Roux 8ae9319710 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.size == 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883492 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 20:34:27 +00:00
Adam Heath 820d11eb97 Deprecate UtilCache constructors, and add a create helper function.
This is the first step to making utilCacheTable concurrent, and
non-blocking.  To do so, the constructor has to have no side-effects.
This means it can't modify utilCacheTable itself; this will be moved to
the helper function created above.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883217 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 02:56:28 +00:00
Jacques Le Roux fcb48aa971 A modified patch from Marco Risailit " Add the possibility to filter the list of available countries from the drop down." (https://issues.apache.org/jira/browse/OFBIZ-3192) - OFBIZ-3192
I have used StringUtil.split() and enhanced for loops instead

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883017 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 00:20:12 +00:00
Jacques Le Roux a5eae6afcc Add an EncryptedString format possibilities in datafile (use in Record.java, needed some changes to build in framework/build.xml and datafile/build.xml)
+ datafile/dtd/datafiles.xsd enhanced with some documentations, and an enumeration for the type: I used all occurrences found in Record.setString() method)
+ datafile/dtd/datafiles-catalog.xml added
+ Few generics cleaning in login/LoginServices.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882892 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 13:10:07 +00:00
Scott Gray c0cfbd2469 Allow the duration of the blocking service test to be specified by the caller
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835546 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 21:11:04 +00:00
Jacopo Cappellato 7b8ab6c265 Fixed bug that was preventing the recursive algorithm to work properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833916 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 19:31:49 +00:00
Hans Bakker 68e0b97b45 1. ignore parties which have the party's status = disabled, change FindServices.createCondition method
2. add 'email address', 'telephone number', 'city', 'country', 'company' field to list.
3. Accounts and Leads, the opportunity box have a link to the actual opportunity in sfa
4. viewing a communication event in SFA should have a reply/replyall/new email button which links to an new email request in 'mycommunciations' in party
5. remove party's status field from list (always active)
6. Account Lookup screen  replaced ftl by forms.
7. change name of party's statusId field in PartyRelationshipAndContactMechDetail view called 'partyStatusId' because It be orverrided by relationship's statusId.
8. delete unuse ftl file,screens, forms, request and view map.
9. combined partyname and id in one field
10. changed the performfind service with a notequal operation that a null value is also not selected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832694 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 10:10:14 +00:00
Adrian Crum a4d68934c9 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Hans Bakker 0b7fe13bb1 On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Jacopo Cappellato a38f8202aa New util method to find out if a "type" record has a given ancestor.
The method is also used to clean the code related to the two existing marketing package types (that have now in common the same parent).
This will make the framework more flexible because you will be able to create a new product subtype and the system will treat them as its parent type; then you can add custom code to treat it in the special way (if needed). This pattern can be extended in other areas of the system, starting from product types (right now it is also applied to marketing packages).
Thanks to Mridul Pathak for the patch - OFBIZ-2902

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:02:33 +00:00
Jacques Le Roux 8696a908d9 A patch from Eric DE MAULDE "Image scaling quality" (https://issues.apache.org/jira/browse/OFBIZ-2552) - OFBIZ-2552
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811707 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 20:29:43 +00:00
Jacques Le Roux 912fb00085 A patch from Erwan de FERRIERES "display a message when the password is changed with success" (https://issues.apache.org/jira/browse/OFBIZ-2845) - OFBIZ-2845
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810864 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:18:12 +00:00
Scott Gray 49fe2b05ce Switched back to using scroll insensitive cursors, fixes problem reported by Jacques and Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809425 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:15:01 +00:00
Scott Gray 4f373bdf8e Changes to the performFind and performFindList services to limit the size of the resultset where possible.
Changes to ModelForm to allow using form supplied pagination information as service parameters in the action tag, plus changes to how the list size is retrieved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808814 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:40:58 +00:00
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