<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Wiki formatting</title>
    <%= stylesheet_link_tag 'wiki_syntax.css' %>
    <%= stylesheet_link_tag 'dmsf_help.css', plugin: :redmine_dmsf %>
</head>
<body>

<h1>DMSF User's guide</h1>

<h2>CONTENTS</h2>
<div id="contents">
    <a href="#chapter1">1 Introduction</a><br>
    <a href="#chapter2">2 Features</a><br>
    <a href="#chapter3">3 My Account</a><br>
    <a href="#chapter4">4 Project settings</a><br>
    <a href="#chapter41">4.1 Modules</a><br>
    <a href="#chapter42">4.2 DMS</a><br>
    <a href="#chapter43">4.3 Approval workflows</a><br>
    <a href="#chapter8">5 DMS module</a><br>
    <a href="#chapter51">5.1 Documents management</a><br>
    <a href="#chapter52">5.2 New folder</a><br>
    <a href="#chapter53">5.3 Folder permissions</a><br>
    <a href="#chapter54">5.4 List of folders</a><br>
    <a href="#chapter55">5.5 Filtering</a><br>
    <a href="#chapter56">5.6 Options</a><br>
    <a href="#chapter57">5.7 Custom queries</a><br>
    <a href="#chapter58">5.8 Download</a><br>
    <a href="#chapter59">5.9 Email</a><br>
    <a href="#chapter510">5.10 Delete</a><br>
    <a href="#chapter511">5.11 Add documents</a><br>
    <a href="#chapter512">5.12 Update documents</a><br>
    <a href="#chapter513">5.13 Documents links</a><br>
    <a href="#chapter514">5.14 List of documents</a><br>
    <a href="#chapter515">5.15 Document's details</a><br>
    <a href="#chapter516">5.16 Notifications</a><br>
    <a href="#chapter517">8.17 Approval workflow</a><br>
    <a href="#chapter518">5.18 Trash bin</a><br>
    <a href="#chapter6">6 Activity module</a><br>
    <a href="#chapter7">7 WebDAV</a><br>
    <a href="#chapter8">8 REST API</a><br>
    <a href="#chapter9">9 Wiki macros</a><br>
</div>

<div id="chapter1">
    <h2>1   Introduction</h2>
    <p>
        Document Management System “Features” - DMSF is a plugin for Redmine issue tracking system. It is aimed to
        replace current Redmine's Documents module.
    </p>
    <p>
        Redmine DMSF now comes bundled with WebDAV functionality: if switched on within plugin settings this will be
        accessible from /dmsf/webdav.
    </p>
    <p>
        Initial development was for Kontron AG R&D department and it is released as open source thanks to their
        generosity.
    </p>
    <p>
        Redmine Document Management System "Features" plugin is distributed under GNU General Public License v2 (GPL).
    </p>
    <p>
        Redmine is a flexible project management web application, released under the terms of the GNU General Public
        License v2 (GPL) at <a href="http://www.redmine.org">http://www.redmine.org</a>
    </p>
    <p>
        Further information about the GPL license can be found at
        <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html#SEC1">
            http://www.gnu.org/licenses/old-licenses/gpl-2.0.html#SEC1</a>
    </p>
    <div>
        <b><i>Syntax</i></b>
        <p>In this document the following syntax is used:</p>
        <i>Italics</i> – name of a company or product<br>
        <b><i>Bold italics</i></b> – links, click-able items<br>
        <b>Bold</b> – names of tabs, or fields you can fill in<br>
        <code>Courier</code> – commands
    </div>
</div>

<div id="chapter2">
    <h2>2   Features</h2>
    <ul>
        <li>Directory structure</li>
        <li>Document versioning / revision history</li>
        <li>Email notifications for directories and/or documents</li>
        <li>Document locking</li>
        <li>Multi (drag/drop depending on browser) upload/download</li>
        <li>Multi download via zip</li>
        <li>Direct document or document link sending via email</li>
        <li>Configurable document approval workflow</li>
        <li>Document access auditing</li>
        <li>Integration with Redmine's activity feed</li>
        <li>Wiki macros for quick content linking</li>
        <li>Full read/write WebDAV functionality</li>
        <li>Fulltext search</li>
        <li>Documents and files symbolic links</li>
        <li>Custom fields</li>
        <li>Trash bin</li>
        <li>Documents preview</li>
    </ul>
</div>

<div id="chapter3">
    <h2>3   My Account</h2>
    <p>
        The following options related to DMS are available in <b>My account</b>:
    </p>
    <ul class="no-bullets">
        <li><b>Default DMS query</b> - The default query which will be default in the DMS view</li>
        <li><b>Receive download notifications</b> - You will receive download notifications for watched documents</li>
    </ul>
</div>

<div id="chapter4">
    <h2>4 Project settings</h2>
</div>

<div id="chapter41">
    <h3>4.1 Modules</h3>
    <p>
        In order to be DMS available, it is necessary to have checked the <b>DMS</b> module on the <b>Modules</b> tab.
    </p>
</div>

<div id="chapter42">
    <h3>4.2 DMS</h3>
    <p>
        Every project member is allowed to customize the DMS module behavior as follows:
    </p>
    <img src="data:image/png;base64,[encoded data, 130432 characters]"
    alt="DMS settings">
    <p>
        <b>Your DMS project's preferences</b>
    </p>
    <p>
        <b>Notifications</b> – Activated(default), Deactivated – If deactivated, you won't receive any email
        notifications related to documents and vice versa.
    </p>
    <p>
        <b>Title format</b> – File names of downloaded documents can be formated using following tags:
    </p>
    <ul class="no-bullets">
	    <li><i>%t</i> – document title</li>
	    <li><i>%d</i> – the date when the document was uploaded</li>
	    <li><i>%v</i> – version of the documentation</li>
	    <li><i>%i</i> – ID number of the document</li>
	    <li><i>%r</i> – revision number of the document</li>
	</ul>
	<p>
        <b>Fast links</b> – If selected, you are expected to enter a document’s ID instead of selecting the document
        from a pick list when creating a document link.
    </p>
    <div>
        <b>Act as attachable</b>
        <ul class="no-bullets">
	        <li><i>Files & Documents</i> – You can attach Files and Document to issues.</li>
	        <li><i>Files</i> – You can attach Files only to issues.</li>
	    </ul>
	    <p>
            This feature provides a possibility to attach documents to issues. The new/edit issue form contains a
            Drag&Drop area for uploading documents. It’s also possible to link existing documents using the button Link
            from. Attached documents are stored in system folders visible from the user interface depending on
            permissions.
         </p>
    </div>
    <img src="data:image/png;base64,[encoded data, 77372 characters]"
    alt="DMS attachments">
    <p>
        <b>Default query</b> - You can select an existing query which will be default in DMS view.
    </p>
</div>

<div id="chapter43">
    <h3>4.3 Approval workflows</h3>
    <p>
        Definition of approval workflows of the project.
    </p>
    <img src="data:image/png;base64,[encoded data, 72512 characters]"
         alt="Approval workflows">
    <div>
        <p>
            This tab allows project managers to define approval workflows.
        </p>
        <ul>
            <li>
                The approval workflow feature as a part of Document Management System allowing users to create an
                approval chain for document approving
            </li>
            <li>
                An approval workflow is defined by a logical name and by assigned users – approvers in a particular
                order with a given dependency
            </li>
            <li>Each approval workflow consists of one or more approval steps</li>
            <li>
                Each approval step includes one or more approver and their dependency. It means that we can assign
                a new user with a dependency AND or OR. So to proceed to a next approval step it is required an approval
                by one or all approvers. Consequently we are able to define serial or parallel workflow this way
            </li>
        </ul>
    </div>
    <p>
        To create a new approval workflow click on the icon <b>New approval workflow</b>in the top left corner.
        Then you are expected to enter a name of the new approval  wokflow:
    </p>
    <img src="data:image/png;base64,[encoded data, 42468 characters]"
         alt="New aproval workflows">
    <p>Now fill in a new workflow name and click on <b><i>Create button</i></b>.</p>
    <p>Optionally you can select an existing approval workflow to be copied.</p>
    <p>
        Just created workflow appears on the workflow list. In order to change the workflow name or to define workflow
        steps click on the workflow name. In our case on the text Basic.
    </p>
    <img src="data:image/png;base64,[encoded data, 39648 characters]"
         alt="Basic">
    <p>
        Then workflow update form appears. In the top of the form you can update the workflow name. Edit the name there
        and click on Save button.
    </p>
    <p>
        Using the <b><i>New</i></b> step button you can choose one or more approvals and by clicking on <b><i>AND</i>
        </b> or <b><i>OR</i></b> button you will add a new approval step to the end or by choosing an existing step from
        the list to an existing step.
    </p>
    <p>
        Later on exiting approval steps can be removed, reordered or edited by clicking on corresponding icon next to
        the step approvals.
    </p>
</div>

<div id="chapter5">
    <h2>5 DMS module</h2>
    <p>
        The <b>DMS</b> module allows you to store all documentation relevant to a project at one place, sorted
        into folders. You can switch on the Documents module by going to the project Settings → Modules tab. Check the check box in front of the DMS item, which is the Document Management System Feature.
    </p>
</div>

<div id="chapter51">
    <h4>5.1 Documents management</h4>
    <p>
        The documents are stored in folders, which should have such a structure that provides an easy orientation within the topic.
    </p>
    <img src="data:image/png;base64,[encoded data, 175912 characters]"
         alt="DMS Main">
</div>

<div id="chapter52">
    <h4>5.2 New folder</h4>
    <p>
        You can create a new folder by clicking the green plus sign <b>Create folder</b> in the right upper corner. This
        takes you to the following screen:
    </p>
    <img src="data:image/png;base64,[encoded data, 91788 characters]"
         alt="New folder">
    <p>
        Type the new folder <b>Title</b> and click the <b><i>Create</i></b> button. You can add a description of the
        folder. You can use various types of text formatting, such as headings, lists, links to web pages, documents
        etc. If you need help with the text formatting, click the <b><i>Help</i></b>b> tool button and you are provided
        with a list of commands, including examples. Moreover, you can set folder's custom fields if any. Access to the
        folder can be driven by selecting certain roles or particular users in <b>Allow access only to</b> section.
    </p>
    <img src="data:image/png;base64,[encoded data, 159236 characters]"
         alt="Wiki help">
    <p>
        A new folder can be also created by <b>copying</b> an existing folder. Go to the folder you wish to create a
        copy of, and click the <b>Edit</b> icon:
    </p>
    <img src="data:image/png;base64,[encoded data, 110652 characters]"
         alt="Edit folder">
    <p>
        Or click on <b>Edit</b> item in the context menu next to the folder in the main view:
    </p>
    <img src="data:image/png;base64,[encoded data, 260912 characters]"
         alt="Edit folder 2">
    <p>
        On the folder edit page choose <b>Copy/Move</b> from the context menu:
    </p>
    <img src="data:image/png;base64,[encoded data, 126328 characters]"
         alt="Folder Copy/Move">
    <p>
        Select the <b>Target project</b> and <b>Target folder</b>. Click the <b><i>Copy</i></b> button.
    </p>
</div>

<div id="chapter53">
    <h4>5.3 Folder permissions</h4>
    <p>
        In the new folder form or later in the edit form you can specify an extra folder permissions. By selecting roles
        and members you can control access to the folder.
    </p>
    <img src="data:image/png;base64,[encoded data, 96040 characters]"
         alt="Folder's permissions">
    <p>
        Only the selected roles or users will have access to the folder.
    </p>
</div>

<div id="chapter54">
    <h4>5.4 List of folders</h4>
    Each line of the folder list contains:
    <ul>
        <li>folder's name</li>
        <li>folder's date of creation and author</li>
        <li>folder's context menu</li>
    </ul>
    <p>
    The editing tool uses the same form as is used for creating a new folder. You can change the folder's title,
        description and permissions.
    </p>
    <p>
    The list of folders can by ordered by any column. Just click on the column title and the list will be reordered by
        the column's values. If you click the same title again the order will be reversed.
    </p>
    <img src="data:image/png;base64,[encoded data, 52028 characters]"
         alt="Ordering folders">
</div>

<div id="chapter55">
    <h4>5.5 Filtering</h4>
    <p>
        You can limit the view to certain folders and documents by defining filter rules. An empty filter for the title
        is displayed by default. Additionally, you can add more filters using the pick list on the right side. In case
        of a list of values you can combine multiple values.
    </p>
    <img src="data:image/png;base64,[encoded data, 50680 characters]"
         alt="Filtering">
</div>

<div id="chapter56">
    <h4>5.6 Options</h4>
    <p>
        There in <b>Options</b> you can specify visible columns.
    </p>
    <img src="data:image/png;base64,[encoded data, 53740 characters]"
         alt="Options">
</div>

<div id="chapter57">
    <h4>5.7 Custom queries</h4>
    <p>
        Defined filters and options can be saved as custom queries for later usage.
    </p>
    <p>
        Firstly, define filters and options. Then, save them as a custom query using the link <b>Save custom query</b>.
    </p>
    <p>
        Defined custom queries can be then edited, cleared or deleted using corresponding commands:
        <b>Edit custom query</b>, <b>Clear</b> and <b>Delete custom query</b>.
    </p>
    <p>
        In <b>My account</b> you can select <b>Default DMS query</b> for your account.
    </p>
    <img src="data:image/png;base64,[encoded data, 159464 characters]"
         alt="Custom queries">
</div>

<div id="chapter58">
    <h4>5.8 Download</h4>
    <p>
        To download or see a document just click its title.
    </p>
    <p>
        Documents of display-able types such as PDF, PNG, JPG, ODT,... are displayed inline. If you want to download
        them use the right mouse button's context menu of your browser and click on <b>Save link as</b>.
    </p>
    <p>
        Multiple documents and folders can be downloaded at once. Select multiple items using check boxes on the left
        side or using your mouse and &lt;Shift&gt; button. The open the conext menu using your mouse and click on
        <b>Download</b>. Selected items will be zipped and offered for downloading.
    </p>
    <img src="data:image/png;base64,[encoded data, 169756 characters]"
         alt="Download">
</div>

<div id="chapter59">
    <h4>5.9 Email</h4>
    <p>
        Single or multiple documents can be sent by email. Select one or multiple document and choose <b>Email</b>
        from the context menu.
    </p>
    <p>
        In the email form fill in email recipients and optionally a body text and click <b>Send</b>.
    </p>
    <p>
        By default, selected documents are zipped and attached to the email. If you select <b>links only</b>, the
        documents won't be directly attached but linked into the email's body instead. If you use
        <b>Public URLs</b> check box, the documents' links will be made public and will be valid for the specified
        period of time.
    </p>
    <img src="data:image/png;base64,[encoded data, 126140 characters]"
         alt="Email">
</div>

<div id="chapter510">
    <h4>5.10 Delete</h4>
    <p>
        Select single or multiple items and from the context menu choose <b>Delete</b>.
    </p>
</div>

<div id="chapter511">
    <h4>5.11 Add documents</h4>
    <p>
        Click on the green plus icon <b>New document</b> in the top right of the main view. Then you can use the
        <b>Browse</b> button or simple drag and drop files into the drop-able area. Multiple files (max 10)  can be selected.
    </p>
    <p>
        Recently uploaded files ar listed on the screen. You can delete them, if they were
        selected by mistake using the trash bin icon. When done, click the <b>Uplad</b> button.
    </p>
    <p>
        If you use <b>[+]</b> icon, you can specify document's details and then you can directly use <b>Upload and commit</b> button.
        In that case the following commit screeen will be skipped and uploaded documents will be directly stored.
    </p>
    <img src="data:image/bmp;base64,[encoded data, 27040 characters]"
         alt="Upload">
    <p>
        Once the new files are uploaded, corresponding documents are created. Here you can specify additional attributes
        of the new documents. E.g. version and custom fields if any. When done, click again on <b>Upload</b> button.
        Then the new documents are committed and your are redirected to the parent folder with the new documents.
    </p>
    <img src="data:image/png;base64,[encoded data, 244244 characters]"
         alt="Commit">
</div>

<div id="chapter512">
    <h4>5.12 Update documents</h4>
    <p>
        Attributes or content of any document can be altered in the <b>Edit</b> from. Use the context menu and click
        <b>Edit</b>. Each change means a new revision. Click on the plus button <b><i>New Revision</i></b>. Then you can
        update any of the document's attribute and you can also upoad a new content using <b>New content</b> field.
    </p>
    <b>Version</b>
    <p>
        The version of the document is automatically increased starting from <i>0.1</i>. Major, minor and patch versions are
        available. the rabge of each version varies from <i>0</i> to <i>999</i> and from <i>A</i> to <i>Z</i>.
    </p>
    <p>
        When all required attributes are set, click <b><i>Create</i></b> button.
    </p>
    <div class="box">
        <b>Note:</b>
        <p>
            The same effect you can achieve by uploading an updated document to its original location. A new
            revision of the same document is created automatically after uploading.
        </p>
    </div>
    <img src="data:image/png;base64,[encoded data, 156032 characters]"
         alt="New revision">
</div>

<div id="chapter513">
    <h4>5.13 Documents links</h4>
    <p>
        There is possible to create a link to another document or folder from the same or another folder of the same or
        another project. Links behave as if operating directly on the target document or folder. It means for example
        that if you download or email a link, the referenced file is sent to the user.
    </p>
    <p>
        If the target document is going to be removed or moved the user will be warn about existing links and these
        links will be automatically removed.
    </p>
    <b>Create a link of the current document or folder to another folder</b>
    <p>
        There is a command <b>Link to</b> in the context menu of a document or folder. After a click on that item a new
        form <b>New document link</b> appears. The user is expected to choose a target project and folder as the
        destination of the link just being created.
    </p>
    <img src="data:image/png;base64,[encoded data, 39580 characters]"
         alt="Link to"><br>
    <b>Create a link to a document or folder in the current folder</b>
    <p>
        There is a command <b>Link to</b> in the context menu in the top right corner of the main view. After a click on
        that item a new form <b>New document link</b> appears. The user is expected to choose a sorce project and folder
        and optionaly document as the target of the link just being created.
    </p>
    <img src="data:image/png;base64,[encoded data, 53296 characters]"
         alt="Link from"><br>
    <b>Internal</b>
    <p>
        Allow to create links to DMS objects.
    </p>
    <b>External</b>
    <p>
        Allow to create links to external objects using their URL.
    </p>
    <img src="data:image/png;base64,[encoded data, 45416 characters]"
         alt="External link">
</div>

<div id="chapter514">
    <h4>5.14 List of documents</h4>
    Each line of the document list contains:
    <ul>
        <li>document's name</li>
        <li>document's file</li>
        <li>documnt's size, date of creation, version and author</li>
        <li>document's context menu</li>
    </ul>
    <img src="data:image/png;base64,[encoded data, 175912 characters]"
         alt="DMS Main">
    <p>
        Using the context menu you can trigger the following commands:
    </p>
    <ul>
        <li>Edit</li>
        <li>Copy/Move</li>
        <li>Lock/Unlock</li>
        <li>Assignment/Start/Approval</li>
        <li>Download</li>
        <li>Email</li>
        <li>Edit content</li>
        <li>Watch/Unwatch</li>
        <li>Delete</li>
    </ul>
    <div class="box">
        <b>Note:</b>
        <p>
            List of available commands might vary according to the document's state and user's parmissions.
        </p>
</div>
</div>

<div id="chapter515">
    <h4>5.15 Document's details</h4>
    <p>
        Document's details are avaiable when you click on the <b>Edit</b> item in the context menu. A new form appears
        then with a list of existing document's revisions. Each revision is represented by a box containg all attributes
        related to the revision.
    </p>
    <p>
        Except visible attributes, there is also a context menu in the top right corner of each revision's box containg
        a command for displaying dowloading history - <b>Download entries</b>, downloading the particular revision -
        <b>Download</b> and deleting the revision <b>Delete</b>. The <b>Delete</b> command is only available, if it is
        not the last revision.
    </p>
    <img src="data:image/png;base64,[encoded data, 231092 characters]"
    alt="Document's details">
</div>

<div id="chapter516">
    <h4>5.16 Notifications</h4>
    <p>
        Each project with active DMS module, each folder or document ca be set as "watched". <b>Watch</b>/<b>Unwatch</b>
        command is available from context menus. Watched items are marked with a yellow star.
    </p>
    <p>
        You will reveive email notifications when watched items are updated, deleted or downloaded. The notifications
        about downloads must be explicitely switched on in your user's profile.
    <p>
    <p>
        If a project or folder is marked as watched, notifications are sent for all folders and documents under the
        given project or folder.
    </p>
</div>

<div id="chapter517">
    <h4>5.17 Approval workflow</h4>
    <p>
        Thanks to approval workflows we can applied an approval process on each document. Approval workflows can be
        defined in the project's settings or in the administration.
    </p>
    <p>
        The approval workflow state is indicated by workflow status in the <b>Workflow</b> column. The initial state is
        empty. If you move your mouse cursor over the status text and the approval workflow hasn't been finished yet,
        you will see a list of users who are expected to do an approval. If the workflow is in the stat of <b>
        Waiting for an approval</b> and the approval steps have assigned names, you will see the name of the current
        approval step.
    </p>
    <img src="data:image/png;base64,[encoded data, 141676 characters]"
    alt="Approval workflow">
    <p>
        You can check your open approval workflows on <b>My Page</b> Using the context menu you can approve documents
        directly from there. If the command is missing, it means that you are not expected to do an approval in the
        current approval step.
    </p>
    <img src="data:image/png;base64,[encoded data, 48488 characters]"
    alt="My Page">
    <br>
    <b>Approval workflow process</b>
    <p>
        The process itself is clearly described on the diagram below.
    </p>
    <img src="data:image/png;base64,[encoded data, 167432 characters]"
    alt="Approval workflow's process">
    <p>
        And now step by step:
    <p>
    <ol>
        <li>
            <p>
                Assign an existing approval workflow to the selected document by clicking on <b>Assignment</b>. Then a
                workflow assignment form appears:
            </p>
            <img src="data:image/png;base64,[encoded data, 26940 characters]"
            alt="Assignment">
            <p>
            All project's and global approval workflows are selectable. To manage approval workflows, see
            <a href="#chapter73">Approval Workflow</a> of Project settings. Select a workflow and click on Submit button.
            The selected workflow is assigned to the document.
            </p>
        </li>
        <li>
            In the next step the assigned workflow must be started by on <b>Start</b>.
        </li>
        <li>
            <p>
                When the workflow is started, all approvers in particular steps are expected to do an approval. The
                document is locked to prevent all changes.
            </p>
            <p>
                If you are one of the approvers of the current approval step, you can do an approval by clicking on
                <b>Approval</b>. Then the approval form appears:
            <p>
            <img src="data:image/png;base64,[encoded data, 42996 characters]"
            alt="Approval">
            <p>
                You have three options here, either approve, reject or delegate the current approval step. In case of
                 rejection or delegation you are obliged to comment it in the text field <i>Your note...</i>. Only
                 members of the project are offered for delegation. Your decision will be confirmed by clicking the
                 <b><i>Submit</i></b> button.
            </p>
        </li>
        <li>
            If you has just approved the document and you are the last person of the approval chain, the document is
            approved as a consequence of your approval. The status is changed to <i>Approved</i>.
        </li>
        <li>
             If you has just rejected the document, the approval chain is finished immediately and the document is in
             the state of <i>Rejected</i>.
        </li>
        <li>
            If you approve it and you are not the last approver or you delegate your approval to someone else, the
            workflow approval continues.
        </li>
    </ol>
    <p>
        Approved an rejected documents remain locked depending on the plugin’s settings.
    </p>
    <b>Log</b>
    <p>
        All workflow approvals are stored and are available in the log window. You can open the window by clicking the
         workflow status text:
    </p>
    <img src="data:image/png;base64,[encoded data, 74860 characters]"
    alt="Log">
    <p>
        <b>Email notifications</b>
    </p>
    <p>
        Email notifications are sent according to the table as follows:
    </p>
    <table>
        <tbody>
            <tr>
                <th>Event</th>
                <th>Receiver</th>
            </tr>
            <tr>
                <td class="table-nowrap-column">The approval workflow is started</td>
                <td>All approvers of the first step</td>
            </tr>
            <tr>
                <td class="table-nowrap-column">An approval workflow step is finished</td>
                <td>All approvers of the next step and workflow owner</td>
            </tr>
            <tr>
                <td class="table-nowrap-column">The document has been approved</td>
                <td>All members of the project</td>
            </tr>
            <tr>
                <td class="table-nowrap-column">The document has been rejected</td>
                <td>All participants of the workflow and the workflow owner</td>
            </tr>
            <tr>
                <td class="table-nowrap-column">An approval step has been delegated</td>
                <td>The delegate</td>
            </tr>
            <tr>
                <td class="table-nowrap-column">Due date has been reached</td>
                <td>All approvers in the given step who haven't approved yet. These notifications are resent every working
                    day.</td>
            </tr>
        </tbody>
    </table>
    <p>
        <b>Retrieving/Reassigning of an approval workflow</b>
    </p>
    <p>
        In case of a wrong approval workflow assigning or a need to restart the workflow, just add a new empty revision
        from the document details. Then you can assign a new approval workflow to the document. The approval workflow is
        always related to the last document revision.
    </p>
</div>

<div id="chapter518">
    <h4>5.18 Trash bin</h4>
    <p>
        If documents or folders are deleted by a user, they are moved into the Trash bin only in fact and can be
        restored again or definitively removed from the Trash bin.
    </p>
    <p>
        The <b>Trash bin</b> is available from the main context menu.
    </p>
    <p>
        The user interface of the trash bin is very similar to the documents view except available command. Only
        commands for restoring and deleting are available.
    </p>
    <div class=box>
        <b>Note:</b>
        <p>
            Once a document or folder is deleted from the trash bin, there is no way back!
        </p>
    </div>
    <p>
        If you use <b>Restore</b>, the selected items are restored to their original position in DMS.
    </p>
</div>

<div id="chapter6">
    <h2>6 Activity module</h2>
    <p>
        All changes related to a file revision and all downloads are recorded as activities. You can list any of them on
        <b>Activity</b> tab.
    </p>
    <img src="data:image/png;base64,[encoded data, 150876 characters]"
    alt="Activity">
</div>

<div id="chapter7">
    <h2>7 WebDAV</h2>
    <p>
        The document module of the project can be mounted as a web folder. In a mounted folder is available a complete
        document and folder structure. When a user does an operation such as download/upload a document or
        creating a new folder it is automatically recorded in DMS and it has the same effect as the operation would be
        done in the web interface of DMS.
    </p>
    <p>
        A URL to mount has the following format:
    </p>
    <p>
        <b>https://<i>[your domain]</i>/dmsf/webdav/<i>[project identifier]</i></b>
    </p>
    <img src="data:image/png;base64,[encoded data, 101436 characters]"
    alt="WebDAV">
    <div class="box">
        <b>Note:</b>
        <p>
            You can mount mount all available documents using the following URL:
        </p>
        https://<i>[your domain]</i>/dmsf/webdav
    </div>
    <h3>Authentication</h3>
    <h4>Basic</h4>
    <p>
        If you switch the authentication method to <i>Basic</i> in the plugin's settings, users are authenticated by their login and password that are sent from a client to the server as a text. From that reason it is not considered as secure.
    </p>
    <h4>Digest</h4>
    <p>
        It's the default authentication method. Users are authenticated using a digest that is auto-generated after a successful login to Redmine or they can reset it in their user's profile (My account). To log in from a client, they again use their login and password. Login is case-sensitive.
    </p>
</div>

<div id="chapter8">
    <h2>8 REST API</h2>
    <p>
        DMS exposes some of its data through a REST API. This API provides access and basic CRUD operations (create,
        update, delete) for documents and folders. The API supports both XML and JSON formats.
    </p>
    <p>
        Detailed description can be found <a href="https://github.com/picman/redmine_dmsf/wiki/REST-API">here</a>
        togeather with a <a href="https://raw.githubusercontent.com/picman/redmine_dmsf/master/extra/api/api_client.sh">
        sample shell scrit</a>.
    </p>
</div>

<div id="chapter9">
    <h2>9 Wiki macros</h2>
    <p>
        You can use DMS macros to link DMS documents and folders in Wiki formatted text. The wiki toolbar is extended
        with a DMS button. The popup menu contains all available macros togeather with their description under the
        <b>Help</b> command.
    </p>
    <img src="data:image/png;base64,[encoded data, 94536 characters]"
    alt="Macros">
</div>

</body>
</html>
