Jacopo Cappellato
a7c598bd9b
Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
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
1219c15c53
this was something I was playing with, but decided against; however it slipped in my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513986 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:04:25 +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
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
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
57343b66ff
fixed isPublic field (had wrong name)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513018 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:37:15 +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
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
0d7ea8cee7
added sub-content rendering so CMS can render HTML meta-tags
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512592 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:38:41 +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
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
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
Jacopo Cappellato
d521f0c604
Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
Andrew Zeneski
01b7fa81b8
got rid of request-direct returns, not needed and cause problems with large amounts of data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510756 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 01:46:18 +00:00
Andrew Zeneski
088c04d42e
now setting the dataResourceName (as we should)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510741 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 01:03: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
0d0718164e
some basic CMS events; will render full page content; updated worker methods to call into screen widget to decorate when using a proper template
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510684 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:10:55 +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
Si Chen
3a58ef6b74
Patch from Stefan Huehner to avoid a null result. OFBIZ-730
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510172 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 19:49:56 +00:00
Andrew Zeneski
47052c89fa
added placeholder for content rendering; added code which does path aliasing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509878 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 03:36:55 +00:00
Andrew Zeneski
eb9ec0b30c
added new services_website.xml to component file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509872 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 03:05:21 +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
c60516cd4f
just a few minor formatting adjustments for readability
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508990 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:46:03 +00:00
Andrew Zeneski
a0f74817a1
updated permission services; added DataResource permissions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508967 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:03:36 +00:00
Jacques Le Roux
5c40f8a5dd
Some ASL2 headers cleanup (1 found by chance, and 2 others after with same characteristics : ie copyright 2001-...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508913 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 16:18:59 +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
Andrew Zeneski
8d1bd247f9
major revision of content permission services
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508571 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:42:33 +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
Si Chen
5aad4fbc30
Followup to OFBIZ-704 (Add CommunicationEvent.fromString, toString, ccString, headerString)
...
- Adding CommunicationEvent.bccString field and logic to populate it from email headers in storeIncomingEmail service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507650 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 18:29:06 +00:00
Andrew Zeneski
f1b92906ac
implemeted createContent, updateContent (updated) deleteContent CRUD services in simple method format; will be replacing the java methods soon
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507619 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 16:52:49 +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
Si Chen
233feab178
OFBIZ-704: Add CommunicationEvent.fromString, toString, ccString, headerString
...
Adding these four fields and logic to populate them from email headers in storeIncomingEmail service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506544 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 17:33:09 +00:00
Andrew Zeneski
3183f98dcf
implemented VIEW permission; added logic to support calling specialized methods alone as services (calls main permission checking now as well)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506212 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 01:41:50 +00:00
Andrew Zeneski
e0f33e2fdb
implemented first pass of content permission services; this is for OFBIZ-611; these services have not yet been tested, now ready for community review
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506196 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 00:49:25 +00:00
Jacopo Cappellato
e951cd2a9b
Applied patch from Adrian Crum that I forgot to commit as part of OFBIZ-666.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506081 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 18:01:01 +00:00
Jacopo Cappellato
ca160784dc
Applied patch from Chris Howe to replace all relative path form resource names with their component:// equivalent when an HtmlFormWrapper object is created.
...
OFBIZ-711
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505886 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 11:08:33 +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
a8d958052f
The application part from a Shi Yusen's patch "zh properties in progress" ( https://issues.apache.org/jira/browse/OFBIZ-617 ).
...
I will create a new patch attached to Jira issue OFBIZ-617 for framework part. A commiter with enough rights will just have to commit it (patch reviewed and OK)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502130 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 05:54:40 +00:00
Jacopo Cappellato
5afe2158e5
Fixed bad formatting: tabs to 4-spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501715 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 03:47:19 +00:00
Jacopo Cappellato
45faf77676
Fixed bad formatting (mostly tabs in place of 4-spaces).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501711 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 03:41:37 +00:00