Commit Graph
18 Commits
Author SHA1 Message Date
Jacques Le Roux fa3335b551 SHORT_TEXT was not working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780138 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 23:21:20 +00:00
Andrew Zeneski 9fc7f85487 moved eca to call storeEmailAsCommunication to the party component where the service actually resides
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772971 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 13:20:12 +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
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 aba4c121bb updated CMS to do simple (single) content purpose and updates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530530 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:54:45 +00:00
Andrew Zeneski c1fb8aced7 updated content permissions to use the purpose associated with the content; not sure why we expected this to be passed in... changed the name of the XML file containing operation data; added default purpose for CMS entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530518 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:00:44 +00:00
Andrew Zeneski 4994f49696 fixed updating data resource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516234 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 00:02:59 +00:00
David E. Jones 86a15f278a Changed runAsUser to run-as-user for the updated attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514603 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 08:42:44 +00:00
Andrew Zeneski 686eecca87 now have update uploaded content working; updates all necessary entities; added a few text based ecas for text content; handles many different text based data resource types now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512510 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:06:26 +00:00
Andrew Zeneski 672bcb2eb8 added results-to-context for the new text route
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512458 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:32:40 +00:00
Andrew Zeneski 05fa91599e more content refactoring; refactored upload content service; now supports other data resource types; now also can determine which type to use based on mimeType (if none is specified); moved some service defs around, this is a work in progress. Moved data resource services from contentservices.xml to dataservices.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512356 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:35:04 +00:00
Andrew Zeneski a8e837c981 fixed bugs/problems with internal services; missing map-name, added eca to ensure party role, fixed updat/createTextContent services to auto-update association as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510337 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:19:36 +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
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
Andrew Zeneski 15e9ec90c2 moved upload content code to the content component (from party); made more generic and added speedy services for creating uploaded content; also added service for text content (not yet tested)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492850 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 02:18:29 +00:00
Si Chen b387b8c711 a couple of email to contact list improvements: skip the storeEmailAsCommunication service if there is a communicationEventId w/ a SECA condition, and avoid storing of email when the contact list is a NEWSLETTER
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492782 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 22:31:51 +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