Suraj Khurana
9eb6ba5a39
Improved: Converted all CustRequestItem related CRUD services from simple to entity-auto ( #118 )
...
(OFBIZ-11663)
2020-05-12 10:17:18 +05:30
Suraj Khurana
0393ebe994
Fixed: testIntegrations caused due to invalid cust request status 'CRQ_SUBMITTED', so loaded QuoteTestData.xml with proper status before executing CustRequestTests. Also fixed default dateValue for nowTimestamp as in case of overrided fromDate, entity-auto doesn't take care of it.
...
Thanks: Jacques Le Roux for reporting.
2020-05-06 12:16:12 +05:30
Suraj Khurana
7988fab8ab
Improved: Converted all CustRequestAttribute related CRUD services from simple to entity-auto ( #101 )
...
(OFBIZ-11637)
Added seca rule to updateCustRequestLastModifiedDate on commit operation of this service, earlier it was called inline.
2020-05-04 18:02:46 +05:30
Suraj Khurana
3615f5b842
Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto ( #94 )
...
* Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto
(OFBIZ-11627)
* Improved: Added seca rule for checkStatusCustRequest while invoke and updateCustRequestLastModifiedDate while commit for services related to CustRequestContent.
2020-05-02 17:00:48 +05:30
Suraj Khurana
edca9f22b0
Improved: Converted all CustRequestParty related CRUD services from simple to entity-auto ( #95 )
...
* Improved: Converted all CustRequestParty related CRUD services from simple to entity-auto
(OFBIZ-11621)
2020-05-02 13:47:09 +05:30
Jacques Le Roux
2dadaacac8
Fixed: Services allow arbitrary HTML for parameters with allow-html set to "safe"
...
(OFBIZ-5254)
This was reopened after discussion at
https://markmail.org/message/jnaitmwahjcjmdn5
This is a new solution which follows the work done with OFBIZ-6669 and OFBIZ-10187
Roughly said, it uses org.owasp.html.PolicyFactory and org.owasp.html.Sanitizers
Thanks: Christoph Neuroth for report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859877 13f79535-47bb-0310-9956-ffa450edef68
2019-05-24 13:47:08 +00:00
Arun Patidar
815afa131e
Implemented: Added CRUD services for QuoteTypeAttr, RejectionReason, ReorderGuideline, RequirementAttribute, RequirementBudgetAllocation, RequirementType, RequirementTypeAttr, RespondingParty, ReturnAdjustmentType and ReturnHeaderType entities.
...
(OFBIZ-8306) (OFBIZ-8308) (OFBIZ-8309) (OFBIZ-8310) (OFBIZ-8311) (OFBIZ-8314) (OFBIZ-8325) (OFBIZ-8326) (OFBIZ-8327) (OFBIZ-8328)
Thanks: Amit Gadaley for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763306 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 17:24:12 +00:00
Arun Patidar
964fcfb87f
Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
...
(OFBIZ-8132) (OFBIZ-8133)(OFBIZ-8134)
Thanks: Amit Gadaley for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:51:07 +00:00
Arun Patidar
076f0e465b
Applied patch for "Added CRUD services for CustRequestResolution entity" from issue [OFBIZ-8131]
...
Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759885 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 18:39:36 +00:00
Arun Patidar
1542b3e13a
Applied patch for "Added CRUD services for CustRequestCategory entity" from issue [OFBIZ-8095]
...
Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759883 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 18:32:53 +00:00
Deepak Dixit
834691742b
(OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Julien Nicolas
e16a4d0d10
OFBiz-7622 follow status change user follow up
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752219 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 21:51:24 +00:00
Jacques Le Roux
ec66e361e1
A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
...
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)
I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix
I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to
"The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Christian Carlow
1dd09ed536
Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
...
https://issues.apache.org/jira/browse/OFBIZ-6463
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Jacques Le Roux
7adfe90d71
Fixes <<Services allow arbitrary HTML for parameters with allow-html set to "safe">> https://issues.apache.org/jira/browse/OFBIZ-5254
...
After r751990, <<allow-html="any">> and <<allow-html="safe">> are the same: they do nothing! The only difference is the warning message from the OWASP Antisamy IntrusionDetector, which is both, as Christoph noted "giving you a false sense of security" or as I wrote "disturbing, wrong and useless". So there are no longer any reasons for differencing "safe" and "any".
This
* Deprecates "safe" (making it clear in the XSD documentation), keeping only "none" and "any". This is for backward compatibility, else we could completely remove the misleading "safe". Note that "none" is the default.
* Replaces in services definition all allow-html="safe" by allow-html="any"
* Remove from ModelService.java (near line 587) the code which throws the OWASP Antisamy IntrusionDetector message in log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536324 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 12:12:43 +00:00
Hans Bakker
cc3702ccb5
allow safe html in workeffort name and desciption
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189555 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 00:36:17 +00:00
Hans Bakker
7d62e698fc
make notification services for custRequest and commevent website aware
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128984 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 03:01:29 +00:00
Hans Bakker
473f78cecf
allow 'safe' html in workeffort name, description and request description
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1027897 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 10:31:41 +00:00
Hans Bakker
c2833dcf2f
reverting rev 1027811 because of buildbot errors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1027885 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 10:12:49 +00:00
Hans Bakker
9fd992cdb6
allow 'safe' html in workeffort name, description and request description
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1027811 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 04:21:04 +00:00
Hans Bakker
3806ace734
allow an optional 'reason' parameter when the status is changed of a customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938817 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 08:36:05 +00:00
Hans Bakker
86c0fb30c9
add delete customer request in draft status service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928974 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 04:15:24 +00:00
Ashish Vijaywargiya
94324e76a6
CreateCustomerRequest from CommunicationEvent was broken.
...
Fixed the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927843 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 13:35:48 +00:00
Hans Bakker
fb05a37d04
allow story field of first requestitem to be updated together with the header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922187 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 09:09:27 +00:00
Hans Bakker
2e505334d4
add a draft status to the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922152 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 06:05:58 +00:00
Hans Bakker
f59e3fae3f
allow 'safe' html in customer request notes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 07:30:29 +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
0f2db54b40
several adjustments on customer request notifications and added a notification when a note is added to the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788606 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:35:54 +00:00
Hans Bakker
9365575c9e
move of requestlist request to projectmgr, create request from commevent enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776994 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 07:43:11 +00:00
Hans Bakker
53b0d3715f
some error corrections on r775883: create custreq,task and assign from commevent all in one screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776217 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 07:20:55 +00:00
Hans Bakker
d8a175d4a6
added a function to check for the presence of a companent, make the projectmanager custrequest creation working using the commevent as the data, added some allow-html= safe flags
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@775883 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 10:07:51 +00:00
Hans Bakker
81acb60df5
allow safe html in customer request name and item content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773772 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 03:20:28 +00:00
Hans Bakker
1a05ec9312
html allow corrections and default view
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771576 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 06:17:44 +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
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
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
Hans Bakker
c1491066f0
moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
Jacques Le Roux
a5042291f7
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux
4b6a8d7172
order component
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755936 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:36:53 +00:00
Hans Bakker
aead488837
fromPartyId not required for update
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749179 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:21:32 +00:00
Jacques Le Roux
60ab8e11f4
A patch from Karim Rahimpur "Error in request overview screen when no party is given" https://issues.apache.org/jira/browse/OFBIZ-2119 OFBIZ-2119
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746199 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 10:52:08 +00:00
Hans Bakker
5cea27a539
implementation of OFBIZ-2024: add content attachments to a customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709427 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 14:09:43 +00:00
Hans Bakker
581fb4e7d0
on a custRequest, return old status when updated, enable setting of name on create request from comm event
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695633 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 21:20:31 +00:00
Jacopo Cappellato
49d752809e
Missing service attribute from my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691978 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:49:32 +00:00
Jacopo Cappellato
6081ebe472
Migrated permission control for cust request creation to the new permission framework based on services.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691962 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:06:05 +00:00
Ashish Vijaywargiya
d9e8c3f9fc
Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1937 (Added new updateCustRequestNote service)
...
For now we are adding service and later on we can add the GUI support for this service.
Thanks Ratnesh and Harsha for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690217 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 12:47:05 +00:00
Ashish Vijaywargiya
d7867af0b0
Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1910 "Add support of fromDate & thruDate in CustRequestRole entity".
...
Slight change in Entity name in this commit.
In the attached patch the name of entity was "CustomerRequestRole" but in this commit the name of new entity is "CustRequestParty"(Looked more close to the data model pattern).
Thanks Bilgin for your valuable Input on this.
I have also written the Migration service for providing the Backward compatibility.
Special thanks to Ratnesh & Jacopo in discussing with me on this work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686731 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 11:47:14 +00:00
Hans Bakker
b9f9ad2cb9
when a custRequest is created, create also optionally the item because often the texual customer request consists out of a single item
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685836 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:38:42 +00:00
Hans Bakker
484567da28
move createCustRequest from the party to the order component, utilize the requestItem for creation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681372 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 13:55:11 +00:00
Hans Bakker
35ec502a49
added partyId field to customerRequestType, created related view to partyReLationship to be able to list customerRequests by reponsible person and added new service to change customer request status
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678339 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 04:08:30 +00:00