Commit Graph
20 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 e49e617b88 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513056 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 23:21:39 +00:00
Andrew Zeneski a3679fa92f added additional mime types for audio/video
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513008 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:17:51 +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 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 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 db731e09ec added new content security data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507981 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 16:15:21 +00:00
Jacques Le Roux 2fb06cde7c Last remaining files with old ASL2 header. I believe there are now not anymore files.
So I will close the related Jira issue (https://issues.apache.org/jira/browse/OFBIZ-637)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499939 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 20:01:05 +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 9b0a33c64d This is all the front-end code and data required to implement the blog example in ecommerce.
It also relies on two service files committed earlier - BlogServices.java/xml

Not much attention has been paid to style or layout. We will count on the folks at HotWax Media to add their secret sauce.

The two areas on which the most attention were:

1. Getting the permission scheme to work correctly.
2. Getting the complex content rendering to work. It uses the widget screens as templates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499264 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 05:17:03 +00:00
Andrew Zeneski b2e794ee60 updated some file type data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492844 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 01:52:51 +00:00
Jacopo Cappellato 3327395eef Cleaned up two of the Content's seed data.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479138 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 16:00:35 +00:00
Hans Bakker de57becc71 added a new mime type
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474694 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 08:29:16 +00:00
Jacques Le Roux 1bb832ce55 Si pointed out that there was a seed data problems with the DemoCategoriesI18nData.xml
I moved 
  applications/product/data/DemoCategoriesI18nData.xml 
to
  applications/ecommerce/data/DemoProductCategoriesI18nData.xml 
and it's ok now.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453883 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:54:13 +00:00
Jacques Le Roux dd9127f417 Closes I18n of categories
Thanks to Si and Marco for their tests and help.
In this last version I have added the breadcrumbs and a demo file.
I have also commented some stuff in CategoryContentWrapper
For more informations see  https://issues.apache.org/jira/browse/OFBIZ-75

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449957 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 09:13:32 +00:00
Hans Bakker 90cadf7981 move all parties/userLogins not required for production from seed to demo data. Only party/Userlogin 'admin' as usable loginId left
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442409 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:40:22 +00:00
Jacopo Cappellato f686cbba98 License change from MIT to ASL2.0 for misc files of applications components.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423896 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 11:25:08 +00:00
Jacopo Cappellato 817d7ab110 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@422863 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 20:53:02 +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