Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
= Issues = == First Release == 1. Include ''flags'' in the first release? == Design Issues == 1. Files attached attached to tasks or task notes? 1. How to handle ''file category'' for files attached to task/task notes? 1. Is the ''is attached to something'' flag in the metadata required in the database of should be be derived? 1. Will ''paging'' be required when selecting: 1. Selecting folders 1. Selecting baskets 1. Selecting items from baskets 1. How should file versioning and file locking work? == Items to Prototype == 1. Selecting folders 1. Selecting baskets 1. Selecting items from baskets |
|
Line 19: | Line 43: |
Line 28: | Line 53: |
Line 34: | Line 60: |
Line 48: | Line 75: |
Line 68: | Line 96: |
= Uploading Files and Attaching Them to Objects = |
= Uploading Files and Attaching to Objects = |
Line 76: | Line 105: |
Line 88: | Line 118: |
Line 97: | Line 128: |
Line 105: | Line 137: |
Line 124: | Line 157: |
V2 File Handling
2013.08.31 ah & jk
Issues
First Release
Include flags in the first release?
Design Issues
- Files attached attached to tasks or task notes?
How to handle file category for files attached to task/task notes?
Is the is attached to something flag in the metadata required in the database of should be be derived?
Will paging be required when selecting:
- Selecting folders
- Selecting baskets
- Selecting items from baskets
- How should file versioning and file locking work?
Items to Prototype
- Selecting folders
- Selecting baskets
- Selecting items from baskets
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 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)