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
    • Pull from Repository:
    • Pull Master Branch:
      MDL-23296-master
    • 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

            Mark Drechsler created issue -
            Petr Skoda made changes -
            Field Original Value New Value
            Assignee Petr Skoda (skodak) [ skodak ] Dongsheng Cai [ dongsheng ]
            Martin Dougiamas made changes -
            Parent MDL-23306 [ 37544 ]
            Issue Type Improvement [ 4 ] Sub-task [ 5 ]
            Martin Dougiamas made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            Martin Dougiamas made changes -
            Workflow jira [ 37544 ] MDL Workflow [ 46467 ]
            Martin Dougiamas made changes -
            Workflow MDL Workflow [ 46467 ] MDL Full Workflow [ 74740 ]
            Mark Drechsler made changes -
            Labels netspot
            Michael Blake made changes -
            Labels netspot netspot partner
            Dongsheng Cai made changes -
            Link This issue will help resolve MDL-27338 [ MDL-27338 ]
            Dongsheng Cai made changes -
            Assignee Dongsheng Cai [ dongsheng ]
            Michael de Raadt made changes -
            Fix Version/s BACKEND [ 12582 ]
            Labels netspot partner netspot partner triaged
            Component/s Filepicker [ 12030 ]
            Component/s Repositories [ 10306 ]
            Grant Harbor made changes -
            Link This issue has a clone MDL-40383 [ MDL-40383 ]
            Dan Marsden made changes -
            Labels netspot partner triaged CatalystIT netspot partner triaged
            Marina Glancy made changes -
            Affects Version/s 2.7 [ 12850 ]
            Affects Version/s 2.6.3 [ 13052 ]
            Marina Glancy made changes -
            Parent MDL-23306 [ 37544 ]
            Rank (Obsolete) 590000000
            Issue Type Sub-task [ 5 ] Improvement [ 4 ]
            Marina Glancy made changes -
            Status Open [ 1 ] Open [ 1 ]
            Affects Version/s 2.8.1 [ 14350 ]
            Sprint candidate Soon [ 10241 ]
            Damyon Wiese made changes -
            Sprint Team B Sprint 1 [ 39 ]
            Damyon Wiese made changes -
            Sprint Team B Sprint 1 [ 39 ] Team A Sprint 1 [ 38 ]
            Damyon Wiese made changes -
            Rank Ranked lower
            moodle.com made changes -
            Link This issue will be (partly) resolved by MDL-48908 [ MDL-48908 ]
            Damyon Wiese made changes -
            Rank Ranked higher
            Damyon Wiese made changes -
            Sprint Team A Sprint 1 [ 38 ] Team Beards Sprint 4 [ 44 ]
            Damyon Wiese made changes -
            Issue size Medium [ 10341 ]
            Mark Nelson made changes -
            Assignee Mark Nelson [ markn ]
            Mark Nelson made changes -
            Status Open [ 1 ] Development in progress [ 3 ]
            Mark Nelson made changes -
            Mark Nelson made changes -
            Comment [ FYI my change before I change the diff on this issue - https://github.com/markn86/moodle/compare/master...MDL-23296_master ]
            Mark Nelson made changes -
            Assignee Mark Nelson [ markn ] Frédéric Massart [ fred ]
            Mark Nelson made changes -
            Sprint Team Beards Sprint 4 [ 44 ]
            Frédéric Massart made changes -
            Sprint Team ';drop tables Sprint 4 [ 45 ]
            Frédéric Massart made changes -
            Testing Instructions # 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
            #- ... you cannot find files that you're not supposed to (belonging to another course for instance)
            # Try to find weak spots in the code
            Frédéric Massart made changes -
            Testing Instructions # 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
            #- ... you cannot find files that you're not supposed to (belonging to another course for instance)
            # Try to find weak spots in the code
            # 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
            Frédéric Massart made changes -
            Status Development in progress [ 3 ] Waiting for peer review [ 10012 ]
            CiBoT made changes -
            Labels CatalystIT netspot partner triaged CatalystIT ci netspot partner triaged
            Damyon Wiese made changes -
            Rank Ranked higher
            Damyon Wiese made changes -
            Sprint Team ';drop tables Sprint 4 [ 45 ] Team ';drop tables Sprint 4, Team '; drop tables Sprint 5 [ 45, 47 ]
            Dave Cooper made changes -
            Remaining Estimate 0 minutes [ 0 ]
            Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
            Dave Cooper made changes -
            Peer reviewer Dave Cooper [ davecooper ]
            Dave Cooper made changes -
            Status Peer review in progress [ 10013 ] Waiting for integration review [ 10010 ]

              People

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

                Dates

                • Created:
                  Updated:

                  Agile