Issue Details (XML | Word | Printable)

Key: MDL-16596
Type: Sub-task Sub-task
Status: Reopened Reopened
Priority: Major Major
Assignee: Dongsheng Cai
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14589

Formslib element: filemanager (non-JS)

Created: 21/Sep/08 04:23 AM   Updated: 04/Aug/09 01:46 PM
Component/s: Files API, Forms Library
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File File manager interface (root).bmml (3 kB)

Image Attachments:

1. File manager interface (root).png
(45 kB)
Issue Links:
Relates
 

Participants: Dongsheng Cai, Martin Dougiamas and Petr Skoda
Security Level: None
Resolved date: 21/Sep/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
new forms element primarily used for managing of multiple file attachments

1/ first version that do not needs javascript - plain old upload form and embedded file manager
2/ ajax version

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 21/Sep/08 04:56 AM
basic version in cvs, going to file new issue for 2/

Petr Skoda added a comment - 21/Sep/08 06:31 PM - edited
reopening - found a better way - yay!
going to move the area files to draft area also when editing existing content - benefits:
  • less code
  • more secure
  • we can also cancel all file operations on form
  • upload limits and other server side validation will be much easier
  • it will be easier to understand too

testing patch - going to commit it today


Martin Dougiamas added a comment - 24/Sep/08 02:15 PM
Move or copy?

If you are moving the files while editing, won't that break the content for others while it is being edited?


Petr Skoda added a comment - 24/Sep/08 02:28 PM
sure, only copying

Martin Dougiamas added a comment - 26/Sep/08 11:36 AM
Can I suggest renaming this "filemanager" or "filepickermulti" to make it more consistent for new developers approaching the API from the outside.

Martin Dougiamas added a comment - 20/Nov/08 10:35 AM
Renamed from "areafiles"

Martin Dougiamas added a comment - 20/Nov/08 10:43 AM
Currently there is no support in draftfiles.php (which provides the content for filemanager) for the file picker - this needs to be changed.

Dongsheng Cai added a comment - 04/Aug/09 01:46 PM
Added UI Mockup: <File manager interface (root)>