Commit Graph
57 Commits
Author SHA1 Message Date
Michael Brohl 662a3f9d1c Improved: Remove Compdoc functionality from content manager
(OFBIZ-10476)
2021-02-13 17:33:05 +01:00
Benjamin Jugl f5788b2a81 Improved: Converts DataServices.xml to Groovy. (OFBIZ-11469) 2021-02-01 17:08:46 +01:00
Pawan Verma 271e3c9bd5 Improved: Convert createCommEventContentAssoc service from mini-lang to groovy DSL(OFBIZ-11380)
Thanks, Devanshu for report, rushikesh and priya for the patch and Suraj and jacques for the review.
2020-08-22 19:09:44 +05:30
Pawan Verma 568fa2c173 Improved: Convert updateSingleContentPurpose service from mini-lang to groovy DSL(OFBIZ-11367)
Thanks: Devanshu for report and Sourabh for the patch.
2020-08-22 10:44:02 +05:30
Pawan Verma 7799673fa3 Improved: Convert createEmailContent service from mini-lang to groovy DSL(OFBIZ-11370)
Thanks, Devanshu for the report and Rohit for initial patch and Nicolas for updated patch and review.
2020-07-18 22:25:55 +05:30
Pawan Verma 904491ede1 Improved: Convert indexContentKeywords and forceIndexContentKeywords services from miniland to groovy(OFBIZ-11390)(OFBIZ-11392)
Thanks, Devanshu for report and Sourabh and Aishwary for the patch.
2020-07-18 22:11:32 +05:30
Pawan Verma 22bb77ebc6 Improved: Convert updateCommContentDataResource service from mini-lang to groovy DSL(OFBIZ-11379)
Thanks, Devanshu for the report, Sourabh for the initial patch and Nicolas for the updated patch.
2020-07-18 14:21:33 +05:30
Suraj Khurana ad586a1c14 Improved: Converted deleteContentKeywords service from mini-lang to groovy DSL.
(OFBIZ-11391)
Thanks Devanshu Vyas for reporting and Yogesh Naroliya for the patch.
2020-07-04 15:12:14 +05:30
Suraj Khurana 9223d40204 Improved: Converted createContentFromDataResource service from mini-lang to groovy DSL.
(OFBIZ-11377)
Thanks Devanshu Vyas for reporting and Anushi Gupta for the patch.
2020-07-04 14:53:12 +05:30
Suraj Khurana 84f82a44d1 Improved: Converted getContentAndDataResource service from mini-lang to groovy DSL.
(OFBIZ-11382)
Thanks Devanshu Vyas for reporting and Ravi Lodhi for the patch.
2020-07-04 14:44:29 +05:30
Pawan Verma 9e97730288 Improved: Convert getDataResource service from mini-lang to groovy DSL(OFBIZ-11381)
Thanks: Devanshu for report and Kirti for the patch.
2020-07-01 16:02:33 +05:30
Suraj Khurana 7aa3db4c45 Improved: Converted createDownloadContent,updateDownloadContent services from mini-lang to groovy.
(OFBIZ-11372)(OFBIZ-11373)
Thanks Devanshu Vyas for reporting, Harman Kaur and Rahul for initial patch, Pawan for review.
2020-05-25 13:37:16 +05:30
Mridul Pathak f9a05c8e30 Improved: Convert setContentStatus service from mini-lang to groovy DSL(OFBIZ-11365). Thanks Devanshu Vyas for the contribution. 2020-05-23 18:12:13 +05:30
Jacques Le Roux 11905d82f5 Improved: Convert deactivateAllContentRoles service from mini-lang to groovy DSL
(OFBIZ-11366)

jleroux: I had to slightly rewrite the patch, mostly the Groovy part (see
comment in Jira)

Thanks: Devanshu Vyas for the initial patch
2020-05-18 13:25:35 +02:00
Priya SharmaandPriya Sharma 6495dc7a91 Improved: Convert createArticleContent service from mini-lang to groovy (#140)
Deleted the old mini-lang service file
Updated the service definitions with the new groovy methods
Added the groovy implementation (with minor enhancement)

(OFBIZ-11383)

Co-authored-by: Priya Sharma <priya.sharma@example.com>
2020-05-17 10:54:16 +02:00
Suraj Khurana e3124a6856 Improved: Converted remaining ElectronicText related CRUD services from simple to entity-auto (#120)
(OFBIZ-11664)
2020-05-13 10:46:55 +05:30
Pawan Verma e9664e94c4 Improved: Convert updateEmailContent service from mini-lang to groovy DSL
(OFBIZ-11371)

Thanks: Devanshu Vyas for report and Anushi Gupta for the patch.
2020-05-04 15:45:33 +05:30
Jacques Le Roux 200c0e85fc Implemented: Convert createContentAlternativeUrl service from mini-lang to Groovy
(OFBIZ-11389)

Thanks:  Priya Sharma for patch and  Pawan Verma for review
2020-04-19 09:48:24 +02:00
Nicolas Malin 27aa23833c Improved: Convert createTextAndUploadedContent service from mini-lang to groovy DSL
(OFBIZ-11368)

Thanks to Rohit Hukkeri for providing the patch
2020-03-06 14:58:15 +01:00
Jacques Le Roux a3bcdc4cc3 Improved: Removes getSubContentWithPermCheck and getSubSubContentWithPermCheck
unused services
(OFBIZ-11393)(OFBIZ-11394)

They were introduced by Al Byers in 2007 and, like some other stuff done then
by Al, were never used. We can safely close the 2 related issues as won't do
after removing the 2 services and all the references to them.

Thanks: Priya Sharma
2020-03-04 14:35:18 +01:00
Jacques Le Roux d003807154 Improved: Remove createTopic service (unused)
(OFBIZ-11376)

I could not find any references for this service in the code base, i.e. this
service has not been used anywhere, do we still want to keep it?

Thanks: Devanshu Vyas for report, Priya Sharma for the proposition and the fix
2020-02-26 10:00:33 +01:00
Deepak Dixit 55d6c0011d Improved: Convert updateContent and removeContent service to entity-auto
(OFBIZ-10625)
Thanks Aditya Sharma for reporting the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849025 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 12:29:49 +00:00
Suraj Khurana 2dda661549 Improved: Consistency and Readability improvements for log tag.
(OFBIZ-8929)
Thanks Devanshu Vyas for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845080 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 07:50:40 +00:00
Jacques Le Roux f1676f1aec Improved: Migrate createContent service from Minilang to Entity Auto
(OFBIZ-10401)

Like Suraj did for createRequirement, this uses 
  <override name="statusId" default-value="CTNT_IN_PROGRESS"/>
to replace the only thing specific in the Minilang implementation

Improves 2 related French labels


Thanks: Deepak for discussion and Suraj for initial idea

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831511 13f79535-47bb-0310-9956-ffa450edef68
2018-05-13 10:09:06 +00:00
Michael Brohl b0bb256d60 Improved: Make removeContentAndRelated service fail-save for missing
content and remove related ContentAttributes also.
(OFBIZ-10202)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826677 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 20:03:44 +00:00
Akash Jain f48f17b96b Improved: Remove unused service checkContentAssocIds and its usage, applied patch from jira issue (OFBIZ-9999)
Thanks, Suraj Khurana for reporting the issue and Sonal Patwari for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816266 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 08:21:21 +00:00
Arun Patidar 8a2ec7ddd4 IMPROVED: Replace ContentAssoc related CRUD services with entity-auto. (OFBIZ-9907)
Thanks Mr. Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813623 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:56:17 +00:00
Nicolas Malin deebac1bb1 Fixed: Consistency and Readability improvements for make-value tag (OFBIZ-8986)
Consistency on the attribute order for make-value element as : entity-name, value-field
Thanks to Ankush Upadhyay and Devanshu Vyas for the issue and the corrective patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805956 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 20:44:44 +00:00
Arun Patidar 1623fadf00 Improvements in CommEventContentAssoc entity definition and services. (OFBIZ-8843)
Thanks Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802656 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 05:43:28 +00:00
Nicolas Malin ee758f7546 Fixed: Changed log level always to info in minilang (OFBIZ-6206)
Because the log level always is display as FATAL on log, this raise useless log and generate many noise for production site.
Generally these logs are present for debugging historical reason

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1780691 13f79535-47bb-0310-9956-ffa450edef68
2017-01-28 13:48:22 +00:00
Jacques Le Roux 25e965cb2e Implemented: New implementation of Birt. Easier user possibility of
report creation
(OFBIZ-6919)

This are a non functional changes not yet used OOTB. 
They are only intended to ease the sync between the svn trunk repo and 
the github branch (using a fork)

So still a WIP...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1777586 13f79535-47bb-0310-9956-ffa450edef68
2017-01-06 10:54:20 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Deepak Dixit 5a4b1adabb Reverted: Partially reverted 1768239, and completely reverts 1768257 and 1762999.
(OFBIZ-8722)(OFBIZ-8339)(OFBIZ-8723)

As setting set-if-null to false fix one issue and introduced another one, reverting commit for now will debug it in more detail and will commit proper fix if found.   



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1769057 13f79535-47bb-0310-9956-ffa450edef68
2016-11-10 08:48:55 +00:00
Deepak Dixit 8603d4c4ab Fixed: Fixed typo introduced in r1768219
Thanks Suraj Khurana for reporting the issue. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768662 13f79535-47bb-0310-9956-ffa450edef68
2016-11-08 11:27:13 +00:00
Deepak Dixit 8ffec06b64 Fixed: Update Services that sets non-pk fields to null if not passed, if non-pks not passed than it should remain unupaded.
(OFBIZ-8722)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768239 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 16:28:57 +00:00
Divesh Dutta 1337db5cb2 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8926) (OFBIZ-8927)

Thanks: Ankush Upadhyay for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768235 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 16:11:36 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Divesh Dutta 85ce444748 Improvement: Minilang code readibility and conistency improvements
(OFBIZ-8445) (OFBIZ-8447) (OFBIZ-8448) (OFBIZ-8450) ( OFBIZ-8451) (OFBIZ-8653) (OFBIZ-8740) (OFBIZ-8741) (OFBIZ-8742) (OFBIZ-8743)

Thanks: Devanshu Vyas, Anuj Jain, Sega Patidar, Abhijeet Ashapure for your patches

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768209 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 12:41:35 +00:00
Deepak Dixit 3eca8d6aad Improved: Added generic permission service for following
- facility
- marketting
- return
- entitysync
Also moved  the permission check from implementation level to service defination level

(OFBIZ-8673)(OFBIZ-8673)(OFBIZ-8674)(OFBIZ-8739)(OFBIZ-8823)(OFBIZ-8825)(OFBIZ-8827)(OFBIZ-8850)(OFBIZ-8876)(OFBIZ-8875)(OFBIZ-8824)(OFBIZ-8826)(OFBIZ-8851)

Thanks Nameet Jain for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768188 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:10:57 +00:00
Deepak Dixit 5b853bae42 Improved: Converted some CRUD services from simple to entity-auto.
(OFBIZ-8384)(OFBIZ-8388)(OFBIZ-8295)(OFBIZ-8294)(OFBIZ-8389)(OFBIZ-8390)(OFBIZ-8391)(OFBIZ-8392)(OFBIZ-8393)(OFBIZ-8407)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765500 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 19:33:49 +00:00
Deepak Dixit 510e3b6fdd Improved: Converted some DataResource related CRUD services from simple to entity-auto.
(OFBIZ-8346)(OFBIZ-8347)(OFBIZ-8349)(OFBIZ-8350)(OFBIZ-8351)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765499 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 19:21:09 +00:00
Deepak Dixit 982d1be463 Improved: Convert ElectronicText entity related CRUD services from simple to entity-auto.
(OFBIZ-8371)(OFBIZ-8372)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765319 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:56:27 +00:00
Deepak Dixit 1a201bd974 Improved: Convert DataResourceTypeAttr entity related CRUD services from simple to entity-auto.
(OFBIZ-8352)(OFBIZ-8353)(OFBIZ-8354)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765317 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:41:26 +00:00
Deepak Dixit 983a0efa1d Improved: Convert CharacterSet entity related CRUD services from simple to entity-auto.
(OFBIZ-8355)(OFBIZ-8356)(OFBIZ-8357)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765315 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:35:40 +00:00
Deepak Dixit fcbe0815f2 Improved: Convert FileExtension entity related CRUD services from simple to entity-auto.
(OFBIZ-8359)(OFBIZ-8360)(OFBIZ-8361)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765314 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:31:02 +00:00
Deepak Dixit fcc47f237a Improved: Convert MetaDataPredicate entity related CRUD services from simple to entity-auto.
(OFBIZ-8362)(OFBIZ-8363)(OFBIZ-8364)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765313 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:24:01 +00:00
Deepak Dixit 023e0d77b0 Improved: Convert MimeTypeHtmlTemplate entity related CRUD services from simple to entity-auto.
(OFBIZ-8368)(OFBIZ-8369)(OFBIZ-8370)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765308 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:17:37 +00:00
Deepak Dixit a0db7bb553 Improved: Convert MimeType entity related CRUD services from simple to entity-auto.
(OFBIZ-8365)(OFBIZ-8366)(OFBIZ-8367)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765305 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:10:34 +00:00
Jacques Le Roux 4dde5f83d8 Fixes: Error : Column 'DATA_CATEGORY_ID' cannot accept a NULL value
(OFBIZ-8282)

Steps to regenerate :
1) Login into webtools component.
2) Run "createDataCategory" service without passing any parameter.
3) Following error message occured : (Column 'DATA_CATEGORY_ID' cannot accept 
a NULL value) PFA attached screenshot.

In this patch I have changed service engine to "entity-auto" and removed 
service implementation.

Thanks: Pawan Verma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762996 13f79535-47bb-0310-9956-ffa450edef68
2016-10-01 10:12:55 +00:00