Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23296

Provide search function for Server Files area in File Picker

    Details

    • Testing Instructions:
      Hide
      1. Upload many many files (thousands) in different courses, modules, blog posts, everywhere...
        • Different in names, and content
      2. Prepare a few user account which have different set of permissions, meaning that they can only access some of the files
      3. As each user, login and navigate to a course
      4. Find your way to an editor in the course and browse the "Server files" repository
      5. Use the search and make sure...
        • ... you can find all the files you have access to (except your private files)
        • ... more results are loaded automatically as you scroll
        • ... search results appear rather quickly, i.e. they don't crash the server
        • ... search query is case insensitive
        • ... you cannot find files that you're not supposed to (belonging to another course for instance)
      6. Try to find weak spots in the code
      Show
      Upload many many files (thousands) in different courses, modules, blog posts, everywhere... Different in names, and content Prepare a few user account which have different set of permissions, meaning that they can only access some of the files As each user, login and navigate to a course Find your way to an editor in the course and browse the "Server files" repository Use the search and make sure ... ... you can find all the files you have access to (except your private files) ... more results are loaded automatically as you scroll ... search results appear rather quickly, i.e. they don't crash the server ... search query is case insensitive ... you cannot find files that you're not supposed to (belonging to another course for instance) Try to find weak spots in the code
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-23296-master
    • Sprint:
      Team ';drop tables Sprint 4, Team '; drop tables Sprint 5
    • Sprint:
      Team ';drop tables Sprint 4, Team '; drop tables Sprint 5
    • Issue size:
      Medium

      Description

      At the moment, the only way to re-use a file which I've used in another course (assuming I'm using Server Files and not an external repository) is to browse through Category>Course>Section>Activity/Resource>Files and hope I can remember where I put it. If its something recent AND i was the one who added it then it should be in my recent files, but if not then its unweildy to find a file from another course which I'd like to use.

      One way to get around this would be to have a search facility in the File Picker which would let me search any files to which I have access.

      And yes, I know Moodle isn't a file repository

        Gliffy Diagrams

          Issue Links

            Activity

              People

              • Votes:
                60 Vote for this issue
                Watchers:
                45 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15

                  Agile