Moodle

Develop "local" plugin to browse local files via File API

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Functional and Technoical Specification can be find here:
http://docs.moodle.org/en/Development:Local_Repository_Plugin

Issue Links

Activity

Hide
Dongsheng Cai added a comment -

Sorry, wrong click

Show
Dongsheng Cai added a comment - Sorry, wrong click
Hide
Martin Dougiamas added a comment -

Still needs:

  • searching
  • some other file areas
  • browsing by icon doesn't work
  • selected files (eg images) seem to be empty in the new copy
Show
Martin Dougiamas added a comment - Still needs:
  • searching
  • some other file areas
  • browsing by icon doesn't work
  • selected files (eg images) seem to be empty in the new copy
Hide
Jerome Mouneyrac added a comment -

Failed Tests:
1. Select image option into tiny MCE => the file doesn't appear in tiny MCE
2. Attach a file into a forum post => the post is saved but when you check the file is empty

Show
Jerome Mouneyrac added a comment - Failed Tests: 1. Select image option into tiny MCE => the file doesn't appear in tiny MCE 2. Attach a file into a forum post => the post is saved but when you check the file is empty
Hide
Jerome Mouneyrac added a comment -

Ok I fixed the bugs (it was the same problem in fact)

Show
Jerome Mouneyrac added a comment - Ok I fixed the bugs (it was the same problem in fact)
Hide
Jerome Mouneyrac added a comment -

Folder are now only displayed if they contain a file.
Common code with the remote plugin has been moved into the repository library (as the function return specific value for the file picker it was best to put that in the rep lib).

Show
Jerome Mouneyrac added a comment - Folder are now only displayed if they contain a file. Common code with the remote plugin has been moved into the repository library (as the function return specific value for the file picker it was best to put that in the rep lib).
Hide
Dongsheng Cai added a comment -

rewrite local plugin

Show
Dongsheng Cai added a comment - rewrite local plugin
Hide
Jerome Mouneyrac added a comment -

dongsheng can you have a look at the mnet plugin too, cause when I create it, I used big part of the local code, in order to browse and display the folders. In fact the mnet plugin work the same as the local plugin except for the connection.

Show
Jerome Mouneyrac added a comment - dongsheng can you have a look at the mnet plugin too, cause when I create it, I used big part of the local code, in order to browse and display the folders. In fact the mnet plugin work the same as the local plugin except for the connection.
Hide
David Mudrak added a comment -

I am experiencing a bug in local files plugin. The file structure displayed via icons view differ from the one displayed as tree (list).
Reproduce:
=========
1. get into the local repo browser
2. click at "View as list"
3. unfold "Miscellaneous" - you should see the list of courses from the category
4. click at "View as icons"
5. click at "Miscellaneous" icon

Expected:
========
icons representing the courses should appear

Happened:
========
I seem to be inside "Front page folder", not in the category one

Show
David Mudrak added a comment - I am experiencing a bug in local files plugin. The file structure displayed via icons view differ from the one displayed as tree (list). Reproduce: ========= 1. get into the local repo browser 2. click at "View as list" 3. unfold "Miscellaneous" - you should see the list of courses from the category 4. click at "View as icons" 5. click at "Miscellaneous" icon Expected: ======== icons representing the courses should appear Happened: ======== I seem to be inside "Front page folder", not in the category one
Hide
Dongsheng Cai added a comment -

Hi, David, I tried reproduce this bug on two moodle intallations, but cannot reproduce it.
Did you try the other catgories? do they have the same problem?

Show
Dongsheng Cai added a comment - Hi, David, I tried reproduce this bug on two moodle intallations, but cannot reproduce it. Did you try the other catgories? do they have the same problem?
Hide
Dongsheng Cai added a comment -

David, I confirmed this bug today, working on a fix

Show
Dongsheng Cai added a comment - David, I confirmed this bug today, working on a fix
Hide
Dongsheng Cai added a comment -

feel free to reopen it if you find a bug

Show
Dongsheng Cai added a comment - feel free to reopen it if you find a bug

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: