Commit Graph
45 Commits
Author SHA1 Message Date
Jacopo Cappellato 311ca7c08c Applied patch from Adrian Crum (OFBIZ-671) to refactor form, menu, tree widget styles management (now mostly all the styles are defined externally using css): this is still a work in progress.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514099 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 08:14:07 +00:00
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 42920eba3f added isPublic to CMS creation; changed isPublic from checkbox to default select so we can actually turn it off once it is enabled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512841 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 16:50:05 +00:00
Andrew Zeneski f213ee258e added meta-data for content "pages" (quick entry, creates sub-content records); added new data types to CMS, Image, Object, Video, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512581 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:52:07 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
Andrew Zeneski 516471ad51 better handling of websites w/ no publish points, better handling of content w/ no data resources
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510737 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:54:55 +00:00
Andrew Zeneski e23f6a6335 added dojo based WebSite CMS admin sreens; very rough pass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510691 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:20:19 +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 5b14607fe6 updated display of content assoc; now shows map key field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508572 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:43:16 +00:00
Alfred Maxwell Byers 3fb9cd0903 A bunch of fixes to get the Content admin to upload and display the images under the "DataResource" tab.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505079 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 23:01:41 +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
David E. Jones 004723c3fb Some cleanups on the DataResource text edit pages, and fixed the Html one to actually populate the ElectronicText.textData instead of always leaving it blank
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487467 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 06:54:27 +00:00
David E. Jones a86f34cf2f Applied improvement patch from Anil/Ashish for WorkEffort* maint screens from Jira #OFBIZ-540; made one small change to this to make the 4 statusId fields on both sides of the WorkEffortGoodStandard entity optional (removed * and set allow-empty=true)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486370 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:23:12 +00:00
David E. Jones 2a824a2694 Applied patch from Anil Patel and Ashish Vijaywargiya with admin screens, service, etc for the WorkEffortReview, WorkEffortContent, and WorkEffortGoodStandard entities; Jira #OFBIZ-540
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486033 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 05:19:30 +00:00
Jacopo Cappellato 669220064e Fixed content permission errors: OFBIZ-526
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484960 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 10:04:29 +00:00
Jacopo Cappellato 90cf9dc17e Converted the lasr JPublish pages... now JPublish is completely gone!
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479154 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 17:52:10 +00:00
Jacopo Cappellato 1aac5b5b1b A bunch of cleanups for the Content component and one more JPublish page converted to screen widget.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479140 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 16:17:54 +00:00
Jacopo Cappellato 2e215bd8df Another JPublish page migrated to the widget: the new screen is not fully working as is now, but probably the same was true for the old one.
If someone with deeper knowledge than me about the content stuff is reading this and wants to help to improve this, that would be great.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479016 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 21:59:51 +00:00
Jacopo Cappellato f60e6486dd One more JPublish page converted to screen widget.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479008 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 21:36:34 +00:00
David E. Jones a0a99db38a Applied patch from Marco Risaliti with another pass at the internationalization of the ProductSearch stuff, and the search by catalog stuff; Jira #OFBIZ-179
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473652 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:25:52 +00:00
Jacopo Cappellato a4b55df77f Removed other unused content's resources.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472496 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 13:55:12 +00:00
Jacopo Cappellato 0b47f77b57 One more content screen converted to widgets.
Now there are just 10 remaining JPublish screens (all in the layout/template menu)... I've tried to work on them but I'm giving up since they seem too broken/incomplete/dirty and I'm too ignorant about them to try to understand how they work from the source code:
maybe someone out there that knows better than me that pages (and their statsus) could help with this, at least with a few suggestions.
It would be really great to finalize this effort because these JPublish pages are the LAST 10 ones that we have in OFBiz.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472420 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:11:41 +00:00
Jacopo Cappellato 0716064369 removed more unused files from the content component.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472295 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:04:27 +00:00
Jacopo Cappellato a657bd1d4a Removed other duplicated stuff... this component is a total mess.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472127 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 14:51:10 +00:00
Jacopo Cappellato 9aac698767 Formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472071 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 11:42:21 +00:00
Jacopo Cappellato 37a16e06c5 Misc menu cleanups
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471389 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 09:59:35 +00:00
Jacopo Cappellato c762436af5 New Files needed by the new screens.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471378 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 08:28:19 +00:00
Jacopo Cappellato 600d2beb34 Two content pages 'converted' from JPublish to widgets.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471376 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 08:25:56 +00:00
Jacopo Cappellato fec41bb216 Misc cleanups for the content component.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471225 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 16:13:43 +00:00
Jacopo Cappellato 9b7499c943 A few screens converted from JPublish to Widget.
However the user interface of the content component is a real mess and the conversion/clanups of the whole component is going to be a big, complex and time consuming task.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471222 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 15:58:29 +00:00
Jacopo Cappellato 9e80b41b29 Removed a bunch of old/unused JPublish artifacts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471197 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:11:07 +00:00
Jacopo Cappellato 614d489f2f Small cleanups: fixed menu item selection, removed unused/duplicated menu definition file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471187 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 13:49:34 +00:00
Jacopo Cappellato cc094a7f80 Small formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471183 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 13:37:14 +00:00
Jacopo Cappellato 041654f40b This content script doesn't seem to be used.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470685 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 06:27:50 +00:00
Jacopo Cappellato 80d7f347c0 Formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466029 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 08:13:05 +00:00
Jacopo Cappellato 13d922e40b Applied patch from Scott Gray to fix npe (OFBIZ-17).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466028 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 08:08:18 +00:00
Jacopo Cappellato 6c6920467f Removed a few empty or unused files and added license header to a few files still without it (found running the aRAT tools from Robert Burrel Donkin).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463895 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 07:28:02 +00:00
Jacopo Cappellato 8c625ef3ff Removed author information from all the files of the content component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454085 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 06:12:42 +00:00
Jacopo Cappellato a9fe8df48e fonts.pdf report converted from JPublish to screen widget.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446821 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 06:26:16 +00:00
Jacques Le Roux 7398662ef9 Attributes/Roles/Features was not shown on the list into Data Resource tab of Content application (https://issues.apache.org/jira/browse/OFBIZ-250)
This patch corrects this problem. Thanks Marco.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446771 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 22:13:07 +00:00
Jacopo Cappellato cb8abf99c6 Applied patch from Marco Risaliti to fix wrong syntax (blogRoles.size instead of blogRoles.size()!)) in bsh script (Apache OFBIZ-231).
Also cleaned up formatting.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442460 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 05:50:13 +00:00
Jacopo Cappellato 89394f4198 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@422873 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 21:13:26 +00:00
Jacopo Cappellato d4d3f3d355 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@422872 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 21:12:16 +00:00
Jacopo Cappellato eafde21fe1 Fixed bug in the EditDataResource form definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421239 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 11:32:13 +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