<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="2.5" method="upgrade">
	<identifier>com:docman</identifier>
	<name>DOCman</name>
    <author>Joomlatools</author>
    <creationDate>June 2013</creationDate>
    <copyright>Copyright (C) 2011 - 2013 Timble CVBA (http://www.timble.net)</copyright>
    <license>GNU GPLv3 - http://www.gnu.org/licenses/gpl.html</license>
    <authorEmail>support@joomlatools.com</authorEmail>
    <authorUrl>www.joomlatools.com</authorUrl>
	<version>2.0.0RC3</version>
	<description/>
    <!-- Icons by http://filetypeicons.com/ -->

    <scriptfile>install/script.php</scriptfile>

	<install>
		<sql>
			<file driver="mysql" charset="utf8">install/install.sql</file>
		</sql>
	</install>
	<uninstall>
		<sql>
			<file driver="mysql" charset="utf8">install/uninstall.sql</file>
		</sql>
	</uninstall>

    <update>
        <schemas>
            <schemapath type="mysql">updates</schemapath>
        </schemas>
    </update>

	<files folder="site/components/com_docman">
		<filename>aliases.php</filename>
        <filename>dispatcher.php</filename>
		<filename>docman.php</filename>
        <filename>komento_plugin.php</filename>
		<filename>router.php</filename>

		<folder>controllers</folder>
		<folder>forms</folder>
		<folder>language</folder>
		<folder>models</folder>
		<folder>parameters</folder>
		<folder>templates</folder>
		<folder>views</folder>
	</files>

    <media folder="media">
        <folder>com_docman</folder>
    </media>

	<administration>
		<menu>COM_DOCMAN</menu>
		<submenu>
			<menu view="documents" link="option=com_docman&amp;view=documents" img="class:article">COM_DOCMAN_SUBMENU_DOCUMENTS</menu>
			<menu view="files" link="option=com_docman&amp;view=files" img="class:media">COM_DOCMAN_SUBMENU_FILES</menu>
			<menu view="categories" link="option=com_docman&amp;view=categories" img="class:category">COM_DOCMAN_SUBMENU_CATEGORIES</menu>
		</submenu>

		<files folder="administrator/components/com_docman">
			<filename>access.xml</filename>
			<filename>docman.php</filename>
			<filename>dispatcher.php</filename>
			<filename>init.php</filename>
            <filename>version.php</filename>

			<folder>commands</folder>
			<folder>controllers</folder>
			<folder>databases</folder>
			<folder>dependencies</folder>
			<folder>filters</folder>
			<folder>install</folder>
			<folder>language</folder>
			<folder>models</folder>
			<folder>objects</folder>
			<folder>templates</folder>
			<folder>views</folder>
            <folder>updates</folder>
        </files>
	</administration>

    <dependencies>
    	<requisite name="php" minimum="5.2"/>
    	<requisite name="joomla" minimum="2.5"/>
    	<requisite name="EXTman" minimum="1.0.0RC3"/>
    	<requisite name="Files" minimum="1.0.2" packaged="1.0.2"/>

    	<dependency type="component" element="com_files">extensions/com_files</dependency>
    	<dependency type="plugin" element="doclink" folder="editors-xtd">extensions/plg_editorsxtd_doclink</dependency>
    	<dependency type="plugin" element="docman" folder="search">extensions/plg_search_docman</dependency>
    	<dependency type="module" element="mod_docman_documents">extensions/mod_docman_documents</dependency>
    </dependencies>

    <deleted>
        <file>administrator/components/com_docman/databases/behaviors/previewable.php</file>
        <file>administrator/components/com_docman/databases/rows/http.php</file>
        <file>administrator/components/com_docman/models/https.php</file>
        <file>administrator/components/com_docman/templates/helpers/date.php</file>
        <folder>administrator/components/com_docman/templates/helpers/files</folder>
        <file>administrator/components/com_docman/templates/helpers/image.php</file>
        <file>administrator/components/com_docman/templates/helpers/paginator.php</file>
        <file>administrator/components/com_docman/templates/helpers/select.php</file>
        <file>administrator/components/com_docman/text.php</file>
        <folder>administrator/components/com_docman/views/file</folder>
        <folder>administrator/components/com_docman/views/list</folder>
        <file>administrator/components/com_docman/views/documents/json.php</file>
        <file>administrator/components/com_docman/views/files/tmpl/import.php</file>
        <file>administrator/components/com_docman/views/files/tmpl/app/templates_compact.php</file>
        <file>administrator/components/com_docman/views/files/tmpl/app/templates_icons.php</file>
        <file>administrator/components/com_files/config.xml</file>
        <folder>administrator/components/com_files/helpers/phpthumb</folder>
        <folder>administrator/components/com_files/mixins/mimetypes</folder>
        <file>media/com_files/images/glyphicons-halflings.png</file>
        <file>media/com_files/images/grid.png</file>
        <file>media/com_files/images/grid_active.png</file>
        <file>media/com_files/images/list.png</file>
        <file>media/com_files/images/list_active.png</file>
        <file>media/com_docman/bootstrap/less/_files_compact.less</file>
        <file>media/com_docman/bootstrap/less/_plupload.less</file>
        <file>media/com_docman/images/arrow.png</file>
        <folder>media/com_docman/images/icons/32x32</folder>
        <file>media/com_docman/images/icons/executable.png</file>
        <file>media/com_docman/images/icons/text.png</file>
        <file>media/com_docman/js/files.min.js</file>
        <file>media/com_docman/js/jquery-1.7.2.min.js</file>
        <file>media/com_docman/js/less-1.3.0.min.js</file>
        <file>components/com_docman/controllers/category.php</file>
        <file>components/com_docman/controllers/behaviors/previewable.php</file>
        <file>components/com_docman/models/documents.php</file>
        <folder>components/com_docman/views/categories</folder>
        <folder>components/com_docman/views/category</folder>
        <file>components/com_docman/views/document/raw.php</file>
        <file>components/com_docman/views/documents/html.php</file>
        <file>components/com_docman/views/documents/tmpl/default.php</file>
        <file>components/com_docman/views/documents/tmpl/default.xml</file>
        <file>language/en-GB/en-GB.mod_docman_documents.ini</file>
        <file>language/en-GB/en-GB.mod_docman_documents.sys.ini</file>
    </deleted>
</extension>
