Index: openacs-4/packages/acs-content-repository/acs-content-repository.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/acs-content-repository.info,v
diff -u -r1.66 -r1.67
--- openacs-4/packages/acs-content-repository/acs-content-repository.info 15 Dec 2006 00:01:08 -0000 1.66
+++ openacs-4/packages/acs-content-repository/acs-content-repository.info 29 Mar 2007 07:51:09 -0000 1.67
@@ -6,21 +6,20 @@
Content Repository Services
t
t
-
-
+
+
OpenACS
The canonical repository for OpenACS content.
- 2006-11-19
- 3
+ 2007-03-29
OpenACS
- Provides the API for creating and managing user generated content including
- full support for versioning, rendering content to the filesystem, folders and composite content items, and
- other CMS backing functionality. Utilized by Bug Tracker, File Storage, and other packages.
+ Provides the API for creating and managing user generated content including
+ full support for versioning, rendering content to the filesystem, folders and composite content items, and
+ other CMS backing functionality. Utilized by Bug Tracker, File Storage, and other packages.
- GPL
+ GPL
3
-
+
Index: openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql 15 Dec 2006 12:36:38 -0000 1.6
+++ openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql 29 Mar 2007 07:51:09 -0000 1.7
@@ -175,6 +175,8 @@
insert into cr_mime_types (label,mime_type,file_extension) values ('Image - Progressive JPEG','image/pjpeg', 'pjpeg');
insert into cr_mime_types (label,mime_type,file_extension) values ('SPPS data file','application/x-spss-savefile', 'sav');
insert into cr_mime_types (label,mime_type,file_extension) values ('SPPS data file','application/x-spss-outputfile', 'spo');
+insert into cr_mime_types (label,mime_type,file_extension) values ('Video MP4', 'video/mp4', 'mp4');
+insert into cr_mime_types (label,mime_type,file_extension) values ('XPInstall', 'application/x-xpinstall', 'xpi');
-- Open Documents MIME types
insert into cr_mime_types (mime_type, file_extension, label) values ('application/vnd.oasis.opendocument.text', 'odt', 'OpenDocument Text');
@@ -463,6 +465,8 @@
insert into cr_extension_mime_type_map (extension, mime_type) values ('stw', 'application/vnd.sun.xml.writer.template');
insert into cr_extension_mime_type_map (extension, mime_type) values ('sav', 'application/x-spss-savefile');
insert into cr_extension_mime_type_map (extension, mime_type) values ('spo', 'application/x-spss-outputfile');
+insert into cr_extension_mime_type_map (extension, mime_type) values ('mp4', 'video/mp4');
+insert into cr_extension_mime_type_map (extension, mime_type) values ('xpi', 'application/x-xpinstall');
-- Open Documents MIME types
insert into cr_extension_mime_type_map (mime_type, extension) values ('application/vnd.oasis.opendocument.text', 'odt');
Index: openacs-4/packages/acs-content-repository/sql/common/upgrade/upgrade-5.3.0b1-5.3.0b2.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/common/upgrade/upgrade-5.3.0b1-5.3.0b2.sql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/acs-content-repository/sql/common/upgrade/upgrade-5.3.0b1-5.3.0b2.sql 29 Mar 2007 07:51:09 -0000 1.1
@@ -0,0 +1,19 @@
+-- Add a few common mime types
+insert into cr_mime_types (label,mime_type,file_extension) values ('XPInstall', 'application/x-xpinstall', 'xpi');
+insert into cr_mime_types (label,mime_type,file_extension) values ('Video MP4', 'video/mp4', 'mp4');
+
+insert into cr_mime_types (label,mime_type,file_extension)
+select 'Video MP4', 'video/mp4', 'mp4' from dual
+where not exists (select 1 from cr_mime_types where mime_type = 'video/mp4');
+
+insert into cr_extension_mime_type_map (extension, mime_type)
+select 'mp4', 'video/mp4' from dual
+where not exists (select 1 from cr_extension_mime_type_map where mime_type = 'video/mp4');
+
+insert into cr_mime_types (label,mime_type,file_extension)
+select 'XPInstall', 'application/x-xpinstall', 'xpi' from dual
+where not exists (select 1 from cr_mime_types where mime_type = 'application/x-xpinstall');
+
+insert into cr_extension_mime_type_map (extension, mime_type)
+select 'xpi', 'application/x-xpinstall' from dual
+where not exists (select 1 from cr_extension_mime_type_map where mime_type = 'application/x-xpinstall');
\ No newline at end of file