Hans Bakker
bdc28662df
moved the help template to the content component, in the themes directory it was loading much too early
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803427 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 09:58:29 +00:00
Jacopo Cappellato
f3b5e63912
Added ability to define 'alternate content' for different party roles, in a similar way that alternate contents can be defined for different locales.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801691 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 16:08:03 +00:00
Jacopo Cappellato
d8111d034c
Fixed wrong path to image file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801587 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 10:00:51 +00:00
Hans Bakker
8250784c2e
add htm extension
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789548 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:56:10 +00:00
Jacopo Cappellato
c4429c15dc
Misc minor cleanups (removed timestamp fields, removed duplicated records, etc...) to demo data for content templates.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782974 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 12:21:15 +00:00
Andrew Zeneski
fc3af3037a
added application/pkcs7-signature mime type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774175 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 02:57:46 +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
Jacques Le Roux
a5042291f7
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Hans Bakker
6561ffd66c
added vcf mimetype and sorted text mimetypes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755094 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 02:42:35 +00:00
David E. Jones
d74c5b12eb
Fixed a few remaining references to applications/ecommerce, changed to use component://
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754574 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 01:23:04 +00:00
David E. Jones
a375d56a0e
Fixed data loading dependency issues
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745995 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 21:10:11 +00:00
Hans Bakker
564527ce31
add a content navigation tree, demo data and including a DOS tree conversion program to be able to mimic an office file server
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:04:48 +00:00
Bruno Busco
32e70a513b
Added seed data to have a WebSite entity for every webapp.
...
The new WebSite entity sets a relation to a VisualThemeSet so that when selecting a VisualTheme, only applicable VisualThemes are available in the VisualTheme Lookup screen.
More work is needed (i.e. move the OrderEntry WebSite from demo to seed) but I need to be sure this is a good direction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:42:49 +00:00
Jacopo Cappellato
98e71f1922
Misc cleanups for data files:
...
1) added {SHA} prefix to all hashed passwords
2) moved "admin" user to demo data; the only user maintained with seed data is now the "system" user
3) removed password for the "system" user; now there are no passwords in seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:40:55 +00:00
Jacques Le Roux
cd57cd9c4a
OFBIZ_SITE_PUB_PT was useless (was just hiding an error message in log but no real good effect on OFBiz site bottom button)
...
Removed at Hans's demand
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737432 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 20:31:26 +00:00
Jacques Le Roux
f7d175cdad
ContentType "OFBIZ_SITE_PUB_PT" was missing, now the OFBiz site is accessible from OFBiz :o)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737366 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 14:34:35 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Hans Bakker
fa458c9691
blog demo data moved from ecommerce to content, more likely the home of blog, this in preparation of having blog maintenance screens in content to
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734298 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 01:57:06 +00:00
Hans Bakker
7bf9be7e88
create a blogdata seed file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734041 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 05:46:50 +00:00
Ashish Vijaywargiya
701843b588
I think we should put something else in "Menu Container"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684780 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 15:31:34 +00:00
David E. Jones
9d17aab36e
Some description cleanups and organization for content type data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684699 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 10:26:32 +00:00
Jacopo Cappellato
bdbb1fbce3
Moved seed data of the Content component in order to improve readability; no functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684492 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 12:37:39 +00:00
Adrian Crum
8a60600899
Some minor UI cleanups/fixups in Content Manager Forum screens.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681432 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 18:32:33 +00:00
David E. Jones
7a7b2672d7
Small cleanups in seed data done while reviewing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639540 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 04:30:58 +00:00
Andrew Zeneski
3d3f317a66
added mime type data for mp4
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634783 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 19:18:34 +00:00
Scott Gray
f9a2c9d5e8
Removed invalid field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607356 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 23:14:23 +00:00
Andrew Zeneski
1cfe2b4dad
Added new placeholder content types for BLOG and FAQ
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596441 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:45:16 +00:00
Andrew Zeneski
76441736c3
added new content purpose type: PROJECT_INFO
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590556 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:46:48 +00:00
Andrew Zeneski
a81553f655
implemented feature to allow setting default values for survey questions; response can be generated by setting v
...
alues (via a map) in the wrapper before rendering
implemented GEO and ENUMERATION types for Survey Questions; now ANY Geo Group or Enumeration Type can be listed
as survey option lists
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582539 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 22:25:35 +00:00
David E. Jones
68b5e5988c
Added a couple of new types, no code/template to use them yet, but there as a placeholder
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578685 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 07:34:16 +00:00
Alfred Maxwell Byers
3c191bdfde
I felt that there was a need to show that a content was "available" instead of in progress, draft, etc.
...
If a content gets published, then deactivated, but is available for republishing - that is the scenario i had in mind.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577933 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:32:49 +00:00
Hans Bakker
54100211c1
added opendoc spreadsheet mimetype
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560861 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 05:01:31 +00:00
Hans Bakker
5619d95432
added gzip mimetype
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560843 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 02:23:39 +00:00
Adrian Crum
9684b69ee5
Moved blog and order component demo data out of the securityext component - OFBIZ-813.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557077 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 22:27:04 +00:00
Alfred Maxwell Byers
23f6953bfd
Some content mods done in the course of trying to get forums to work in ecommerce.
...
Added two services.
createArticleContent is meant to be a more general version of postBlogEntry.
getSubContentWithPermCheck adds a content permission check inside the loop - returning only records
that have the right permission.
Modified CmsEvents.cms to return "success" instead of null.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544732 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 05:30:17 +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
Hans Bakker
7e57a368b3
added mimetype text/x-diff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530219 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 01:31:24 +00:00
Andrew Zeneski
4b43086ab5
updated a CMS content to include decorator content;
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516548 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:52:51 +00:00
Andrew Zeneski
7d671c5ded
added default page - website content assoc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516522 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:43:18 +00:00
Andrew Zeneski
ec4bd6601b
added menu container content type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516520 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:40:18 +00:00
Andrew Zeneski
d8516e39b1
added quick way to create publish points for websites
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516320 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:42:36 +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
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