Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
= Introduction = |
|
Line 14: | Line 12: |
1. A file can only be attached to one object. | 1. A file can only be attached to one object |
Line 43: | Line 41: |
1. File format (required? set automatically. ''.doc'', ''.dwg'', .etc) | |
Line 45: | Line 44: |
1. File type (optional. publish, source, mark-up, etc.) | 1. File type (optional. ''publish, source, mark-up'', etc.) |
V2 File Handling
2013.08.31 ah & jk
Introduction
- A file can only be attached to one object
- The first release will allow files to be attached to the following objects:
- Revisions
- Task notes (or directly to tasks?)
- It is possible to search for and generate lists of files
- By default only non-attached files are displayed
Access and Upload Permissions
- When a file is not attached to an object:
- The file must be assigned to a folder
- Folder determines who can view the file's metadata and download the file
- When a file is attached to an object:
- Access to the file is controlled by the folder associated with the object
- Anyone with write permission on a folder can upload files
File Metadata
File metadata is stored in the File Assets table
- The File Assets table contains:
- Metadata associated with each file
- Links to the actual files stored in the file system
Metadata Fields
- Filename (required. set automatically, can be overridden)
- Date uploaded (required, set automatically. can be overridden)
- Who uploaded (required. set automatically. can be overridden)
- Description (optional)
File format (required? set automatically. .doc, .dwg, .etc)
- File category (optional? working file, revision file)
- What is the meaning for task note attachments?
File type (optional. publish, source, mark-up, etc.)
- Folder (required when the file is not attached to an object, otherwise ignored)
Flag is attached to something (required)
- Set automatically
Basic Transaction
- List files, including specifying search/sort criterion:
- Search/sort by metadata fields
- Folder
- Filename
- Date
- Who uploaded
- Description (optional)
- By default display only non-attached files
- But also able to include attached files (and exclude non-attached files)
- Add files in the resulting list into to a basket
- Select files and add to a (new) basket
- Search/sort by metadata fields
- File detail screen showing the file's metadata and a download link
- Edit file details, including the file name
- Download a file
- Delete uploaded files
- Re-upload files
Uploading Files and Attaching Them to Objects
From a revision detail screen or comment note screen, press the Add File button:
- A new screen, or part of a screen, appears with the following choices:
- Upload a file
- Add the file from a basket
- Select a files which is not attached to anything
Select a flagged file (include in first release?)
Uploading Files
- A form appears
- The user enters the metadata
- The user selects a file to upload
The users presses Go and the file is uploaded (displaying a progress bar)
- When the upload is complete:
- The file and metadata is automatically saved
- If the upload was performed in the context of an object, the file is attached to it
- There is no confirmation required
Selecting File From a Basket
- Select a basket (paging required?)
- The basket's content is displayed (paging required?)
- Select a file from the basket
- Enter the metadata
- Press 'Go'
- The metadata is saved and the file is attached to the object
Selecting a non-Attached File
- Select a Folder
- The non-attached files in the folder are displayed (paging required?)
- Select a file from the folder
- Review file's metadata, and possible change it
- Press 'Go'
- The metadata is saved and the file is attached to the object
Selecting a Flagged File
- The list of flagged files is displayed (paging required?)
- Select a file from the list
- Review file's metadata, and possible change it
- Press 'Go'
- The metadata is saved and the file is attached to the object
Editing File Metadata
- It is possible to edit a file's metadata
File Versioning
- If a file is deleted, it is retained in the system
- Files which have been transmitted are locked (what does this mean)
- When files that are re-uploaded, the previous file is retained in the system
Future Releases
- Upload a ZIP file
- The ZIP file is unpacked
- Each individual file is saved separately
- The metadata for the files is only entered once and is the same for each file (except for the file name)