Commit Graph
23 Commits
Author SHA1 Message Date
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 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
Arun Patidar 98d5d599f9 Fixed typo of entity name and invoke attribute in service defination.(OFBIZ-8834)
Thanks Devanshu for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802883 13f79535-47bb-0310-9956-ffa450edef68
2017-07-25 05:57:23 +00:00
Arun Patidar e8b73fbc18 Improvements in CommEventContentAssoc entity definition and services. (OFBIZ-8843)
Applied improved patch. thanks Devanshu for  your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802772 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 09:24:15 +00:00
Ashish Vijaywargiya 1ce72c550d Improved: OFBIZ-7471: Improve all the service level error messages for missing required field for content component.(OFBIZ-8713)
Thanks Jagpreet and Shikha for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802667 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 09:59:31 +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
Deepak Dixit 333d8e65ce Fixed: Set required parameter as option false at service definition level.
(OFBIZ-8358)
Thanks Avnindra Sharma and Pawan Verma for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768256 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 17:33:42 +00:00
Arun Patidar a41015ae20 Applied patch from jira issue - OFBIZ-8022 - Added CRUD services for CommContentAssocType entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759530 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 01:14:39 +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
Jacques Le Roux dae61fc2e3 Correct the comment, there are no CommunicationEventContent but CommEventContentAssoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896862 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:40:37 +00:00
Jacques Le Roux b502dfcfa4 Typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896859 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:21:32 +00:00
Hans Bakker d531da33b8 this finally solves the email receive problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772837 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 04:15:59 +00:00
Hans Bakker cb0a2fbbee inserted a default view if home is missing, html=safe still blocks incoming email messages, changed to 'any'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772038 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:08:48 +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
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
Jacques Le Roux 836f765212 Content 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@755928 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:20:52 +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
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski f850e8b08c Content Permission & Service Refactoring: A number of big changes to content services including new permission services. This is the first pass with detailed testing on blogs in ecommerce. Tested low level screens as well.
This is the first pass, there are still a number of references to old permission checking, some services need to be refactored, some replaced with better practices. This is a work in progress. 

This first pass includes the removal of special BLOG_ roles and status. Replaced with a generic CONTENT_ and CTNT_. Also adds new ECAs to base createContent service which creates OWNER role as well as associations when passed a contentIdTo or contentIdFrom (and TYPE). This will probably replace the persistContentAndAssoc service which is used in many places. Some have been updated in the revision, others will follow.

Most code which calls the older permission services are found in .java files. Almost all simple methods have been converted to have the permission in the service def and the code removed from the implementation. Java methods still need to be addressed.

The older permission service will output a warning in logs with a stack trace to help track down places where this service is still being called. This is not an error, but may show in logs for the time being.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509321 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:53:06 +00:00
Si Chen 67d87a21e0 Fixing location in removeCommEventContentAssoc service definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507290 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 23:09:59 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 670f44edbf License change from MIT to ASL2.0 for the files of the content component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422868 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 20:59:54 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00