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

            drex Mark Drechsler created issue -
            skodak Petr Skoda made changes -
            Field Original Value New Value
            Assignee Petr Skoda (skodak) [ skodak ] Dongsheng Cai [ dongsheng ]
            dougiamas Martin Dougiamas made changes -
            Parent MDL-23306 [ 37544 ]
            Issue Type Improvement [ 4 ] Sub-task [ 5 ]
            dougiamas Martin Dougiamas made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 37544 ] MDL Workflow [ 46467 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 46467 ] MDL Full Workflow [ 74740 ]
            drex Mark Drechsler made changes -
            Labels netspot
            mblake Michael Blake made changes -
            Labels netspot netspot partner
            dongsheng Dongsheng Cai made changes -
            Link This issue will help resolve MDL-27338 [ MDL-27338 ]
            dongsheng Dongsheng Cai made changes -
            Assignee Dongsheng Cai [ dongsheng ]
            salvetore Michael de Raadt made changes -
            Fix Version/s BACKEND [ 12582 ]
            Labels netspot partner netspot partner triaged
            Component/s Filepicker [ 12030 ]
            Component/s Repositories [ 10306 ]
            gharbor Grant Harbor made changes -
            Link This issue has a clone MDL-40383 [ MDL-40383 ]
            danmarsden Dan Marsden made changes -
            Labels netspot partner triaged CatalystIT netspot partner triaged
            marina Marina Glancy made changes -
            Affects Version/s 2.7 [ 12850 ]
            Affects Version/s 2.6.3 [ 13052 ]
            marina Marina Glancy made changes -
            Parent MDL-23306 [ 37544 ]
            Rank (Obsolete) 590000000
            Issue Type Sub-task [ 5 ] Improvement [ 4 ]
            marina Marina Glancy made changes -
            Status Open [ 1 ] Open [ 1 ]
            Affects Version/s 2.8.1 [ 14350 ]
            Sprint candidate Soon [ 10241 ]
            damyon Damyon Wiese made changes -
            Sprint Team B Sprint 1 [ 39 ]
            damyon Damyon Wiese made changes -
            Sprint Team B Sprint 1 [ 39 ] Team A Sprint 1 [ 38 ]
            damyon Damyon Wiese made changes -
            Rank Ranked lower
            moodle.com moodle.com made changes -
            Link This issue will be (partly) resolved by MDL-48908 [ MDL-48908 ]
            damyon Damyon Wiese made changes -
            Rank Ranked higher
            damyon Damyon Wiese made changes -
            Sprint Team A Sprint 1 [ 38 ] Team Beards Sprint 4 [ 44 ]
            damyon Damyon Wiese made changes -
            Issue size Medium [ 10341 ]
            markn Mark Nelson made changes -
            Assignee Mark Nelson [ markn ]
            markn Mark Nelson made changes -
            Status Open [ 1 ] Development in progress [ 3 ]
            markn Mark Nelson made changes -
            markn 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 ]
            markn Mark Nelson made changes -
            Assignee Mark Nelson [ markn ] Frédéric Massart [ fred ]
            markn Mark Nelson made changes -
            Sprint Team Beards Sprint 4 [ 44 ]
            fred Frédéric Massart made changes -
            Sprint Team ';drop tables Sprint 4 [ 45 ]
            fred 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
            fred 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
            fred Frédéric Massart made changes -
            Status Development in progress [ 3 ] Waiting for peer review [ 10012 ]
            cibot CiBoT made changes -
            Labels CatalystIT netspot partner triaged CatalystIT ci netspot partner triaged
            damyon Damyon Wiese made changes -
            Rank Ranked higher
            damyon Damyon Wiese made changes -
            Sprint Team ';drop tables Sprint 4 [ 45 ] Team ';drop tables Sprint 4, Team '; drop tables Sprint 5 [ 45, 47 ]
            davecooper Dave Cooper made changes -
            Remaining Estimate 0 minutes [ 0 ]
            Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
            davecooper Dave Cooper made changes -
            Peer reviewer Dave Cooper [ davecooper ]
            davecooper Dave Cooper made changes -
            Status Peer review in progress [ 10013 ] Waiting for integration review [ 10010 ]
            cibot CiBoT made changes -
            Status Waiting for integration review [ 10010 ] Waiting for integration review [ 10010 ]
            Original Estimate 0 minutes [ 0 ]
            Currently in integration Yes [ 10041 ]
            cibot CiBoT made changes -
            Labels CatalystIT ci netspot partner triaged CatalystIT netspot partner triaged
            cibot CiBoT made changes -
            Labels CatalystIT netspot partner triaged CatalystIT ci netspot partner triaged
            dmonllao David Monllaó made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            Integrator David Monllaó [ davmon ]
            marina Marina Glancy made changes -
            Labels CatalystIT ci netspot partner triaged CatalystIT ci netspot partner triaged ui_change
            marina Marina Glancy made changes -
            Labels CatalystIT ci netspot partner triaged ui_change CatalystIT ci docs_required netspot partner triaged ui_change
            cibot CiBoT made changes -
            Status Integration review in progress [ 10004 ] Integration review in progress [ 10004 ]
            Integration priority 0
            dmonllao David Monllaó made changes -
            Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
            Fix Version/s 2.9 [ 14251 ]
            Fix Version/s BACKEND [ 12582 ]
            rajeshtaneja Rajesh Taneja made changes -
            Tester Simey Lameze [ lameze ]
            lameze Simey Lameze made changes -
            Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
            lameze Simey Lameze made changes -
            Status Testing in progress [ 10011 ] Tested [ 10006 ]
            stronk7 Eloy Lafuente (stronk7) made changes -
            Status Tested [ 10006 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            Currently in integration Yes [ 10041 ]
            Integration date 02/Apr/15
            marycooch Mary Cooch made changes -
            Link This issue required writing of QA test MDLQA-7639 [ MDLQA-7639 ]
            marycooch Mary Cooch made changes -
            Labels CatalystIT ci docs_required netspot partner triaged ui_change CatalystIT ci netspot partner triaged ui_change

              People

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

                Dates

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

                  Agile