Issue Details (XML | Word | Printable)

Key: MDL-16597
Type: Sub-task Sub-task
Status: Reopened Reopened
Priority: Minor Minor
Assignee: Dongsheng Cai
Reporter: Petr Skoda
Votes: 0
Watchers: 3
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 (JS)

Created: 21/Sep/08 04:59 AM   Updated: 18/May/09 07:40 PM
Component/s: AJAX, Files API, Forms Library
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File MDL-16597.2.patch (12 kB)
2. Text File MDL-16597.patch (10 kB)

Issue Links:
Relates
 

Participants: Dongsheng Cai, Martin Dougiamas, Matt Gibson and Petr Skoda
Security Level: None
Resolved date: 05/May/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
current areafiles is suitable works without any JS,
it needs to be a bit prettier and should use ajax & new file picker

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 20/Nov/08 10:36 AM
renamed to filemanager

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 - 01/Dec/08 11:58 AM
A patch to use filepicker in filemanger.
Petr, I have a problem concerning itemid:
when i edit a forum item, I got a item by $draftitemid = $this->getValue(); and this value changed everytime when I refresh the editing page, so after I moved a file from repository (repository::move_to_filepool), the file will disappear after refreshing, is there any incorrect parameters in move_to_filepool?

Dongsheng Cai added a comment - 01/Dec/08 01:17 PM
Patch upload plugin to pass itemid.

Dongsheng Cai added a comment - 02/Dec/08 04:13 PM
committed code, please review

Martin Dougiamas added a comment - 13/Jan/09 03:31 PM
Looking good! (just needs some tiny css tweaking which I'll do)

Martin Dougiamas added a comment - 13/Jan/09 03:38 PM
ALso needs some XHTML strictizing.

Dongsheng Cai added a comment - 10/Mar/09 04:31 PM
Fixed CSS issues.

Dongsheng Cai added a comment - 05/May/09 09:54 AM
filemanager worked now, please reopen it if found any problems, Thanks

Matt Gibson added a comment - 18/May/09 06:31 PM
Just had a fiddle about with this and was surprised to find it wasn't present on the 'add resource' form. I uploaded a few files on the non-js version there, but found that when I made a forum and went to add files there, the js version popped up, but with none of the files I'd just added anywhere to be found. I'm not sure if they're there, but I missed them somehow, but this is currently very confusing.


Matt Gibson added a comment - 18/May/09 07:40 PM
Ah, I see. They'll be there when the resource module is converted.