Commit Graph
32 Commits
Author SHA1 Message Date
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +00:00
Andrew Zeneski 4a54cf0b76 now upload services returns the decided mimeTypeId so it is properly reflected on the content record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513020 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:45:39 +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 6ee64698ff implemented new data resource types for AUDIO/VIDEO content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512471 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:53:42 +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 97b6cb74f2 fixed path alias to reference content directly, instead of having to go through a path format
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510683 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:08:44 +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 002f9982a9 implemented entities for website -> content publish (and HTML meta data) assoc; WebSite path aliases; CRUD services and seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509860 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 01:31:50 +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
Andrew Zeneski be6ca84098 updated content permission services; add more documentation; fixed variables so they do not conflict
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507591 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:58:17 +00:00
Andrew Zeneski 86ac867c55 first pass of RSS feeds for blogs (see ecommerce)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507365 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:55:48 +00:00
Andrew Zeneski 4bc18c2753 added ownerContentId to missing definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507300 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 23:24:15 +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
Alfred Maxwell Byers 410d28c3d5 Changes to ContentManagementServices.persistContentAndAssoc to comply with change of subcontent "direction".
Some changes to that service def. Since there were service defs in there for BlogServices.java/xml, those were included too.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499256 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 04:49:50 +00:00
Andrew Zeneski d86b12f055 added create/update electronic text service calls to the create/updateTextContent group(s)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493925 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:18:16 +00:00
Andrew Zeneski c79c834f84 fixed route services (for update) and createTextContent; implemented both party and workeffort services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493129 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:38:23 +00:00
Andrew Zeneski 7e4d377fe8 final refactor of content upload services; now the upload (save file) service is broken down so it can be reused to upload any content and attach to an existing dataresource. The dataresource shell should be created before calling the upload service
A new createContentFromUploadedFile (group) service will do the following:
1) create data resource
2) accept uploaded stream, update datasource and save the local file
3) create content record associated with data resource



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493122 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:30:26 +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 b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00
Hans Bakker a1f0531718 output the communicationevent status to be able to run a eca on the value and extended the description
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477596 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 09:50:35 +00:00
Si Chen 26e526efab Changed storeEmailAsCommunication.communicationEventId back to optional field so sending emails to contact lists would not break
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463007 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 22:22:14 +00:00
Hans Bakker b283ece51b Some more fixes to the incomig email services
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451194 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 09:26:50 +00:00
Jacques Le Roux 89cb90e3b9 Corrects CreateCharacterSet service path (from org/ofbiz/content/content/ContentServices.xml to the real location org/ofbiz/content/data/DataServices.xml).
This close https://issues.apache.org/jira/browse/OFBIZ-146. Thanks to Marco Risaliti.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449261 13f79535-47bb-0310-9956-ffa450edef68
2006-09-23 15:26:31 +00:00
Si Chen 924332987e When store email as communication, set datetimeStarted and datetimeEnded as the current timestamp
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@447949 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 20:23:25 +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
Si Chen 6d70af3282 sendMailInterface's subject parameter is a required IN parameter but optional OUT parameter
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421687 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 19:00:57 +00:00
Si Chen ce12a343d6 Added contentType to sendMailInterface as an OUT parameter to prevent sendOrderDeliveryScheduleNotification from crashing, following pattern from earlier of fixing other email notification related bugs
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421023 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 23:18:05 +00:00
David E. Jones 96d6832b95 Moved content.subscription stuff to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; note that also resolved the issue with the old updateSubscription service name, which is not very descriptive: changed to updateContentSubscription so that the updateSubscription name can be used where it should be: for the Subscription entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418893 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 01:32:06 +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