Details

    • Testing Instructions:
      Hide

      Test pre-requisites

      • 1 WebDAV server supporting SSL (HTTPS)
      • 2 WebDAV shares
        • Without authentication
        • With Basic authentication
      • WebDAV repository enabled
      • 4 different WebDAV instances in Moodle:
        • 'WebDAV None' which does not require Auth
        • 'WebDAV None SSL' which does not require authentication but HTTPS
        • 'WebDAV Basic' which requires Basic authentication
        • 'WebDAV Basic SSL' which requires Basic authentication and HTTPS
      • Each share should contain multiple directories, sub directories, and files on every level.
      • Some directories and files must contain non-ascii characters

      Test steps

      1. Go to your private files
      2. Click on add
      3. Navigate to each WebDAV repository
      4. From each of them, make sure:
      • You can navigate in every directory
      • You can download any file
      • Files downloaded are correctly saved (check their content)

      WebDAV Apache configuration file

      This is my configuration for the 2 shares

      /etc/apache2/conf.d/webdav.conf

      Alias /webdav /var/www/webdav
      <Location /webdav>
        Dav On
        AuthType Basic
        AuthName "webdav"
        AuthUserFile /var/www/webdav/passwd.dav
        Require valid-user
       </Location>
       
      Alias /webdav_none /var/www/webdav_none
       <Location /webdav_none>
        Dav On
        Allow from all
        Satisfy any
       </Location>
       
      DavDepthInfinity On

      Show
      Test pre-requisites 1 WebDAV server supporting SSL (HTTPS) 2 WebDAV shares Without authentication With Basic authentication WebDAV repository enabled 4 different WebDAV instances in Moodle: 'WebDAV None' which does not require Auth 'WebDAV None SSL' which does not require authentication but HTTPS 'WebDAV Basic' which requires Basic authentication 'WebDAV Basic SSL' which requires Basic authentication and HTTPS Each share should contain multiple directories, sub directories, and files on every level. Some directories and files must contain non-ascii characters Test steps Go to your private files Click on add Navigate to each WebDAV repository From each of them, make sure : You can navigate in every directory You can download any file Files downloaded are correctly saved (check their content) WebDAV Apache configuration file This is my configuration for the 2 shares /etc/apache2/conf.d/webdav.conf Alias /webdav /var/www/webdav <Location /webdav> Dav On AuthType Basic AuthName "webdav" AuthUserFile /var/www/webdav/passwd.dav Require valid-user </Location>   Alias /webdav_none /var/www/webdav_none <Location /webdav_none> Dav On Allow from all Satisfy any </Location>   DavDepthInfinity On
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-22663-master

      Description

      I've been trying out the various repository plugins and whilst ones such as google docs, flickr seem to work, I can't get the webdav repositories to work.

      I've tried the webdav repository with both my own webdav server and some of the servers listed here but whatever I setup, when trying to access files using the file picker I always get an empty file listing.

      For example, I've accessed http://demo.sabredav.org (id=testuser/passwd=test) from windows explorer and all works fine, but if I setup a repository using those details shown in the screenshot I just get an empty file list when I choose the repository from add files.

        Gliffy Diagrams

        1. patch.txt
          131 kB
          TJ
        2. webdav_ssl_colin.txt
          2 kB
          Colin Campbell
        1. repository_setup.jpg
          30 kB
        2. Selection_002.jpeg
          32 kB
        3. Selection_003.jpeg
          31 kB

          Issue Links

            Activity

            shanmer Simon Hanmer created issue -
            dongsheng Dongsheng Cai made changes -
            Field Original Value New Value
            Attachment Selection_002.jpeg [ 21914 ]
            Attachment Selection_003.jpeg [ 21915 ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 36589 ] MDL Workflow [ 46295 ]
            colin Colin Campbell made changes -
            Attachment webdav_ssl_colin.txt [ 22992 ]
            dongsheng Dongsheng Cai made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 46295 ] MDL Full Workflow [ 74590 ]
            tlogans TJ made changes -
            Attachment patch.txt [ 24147 ]
            tsala Helen Foster made changes -
            Fix Version/s STABLE backlog [ 10463 ]
            Labels partner patch triaged
            Affects Version/s 2.1.1 [ 10750 ]
            dongsheng Dongsheng Cai made changes -
            Parent MDL-29490 [ 47659 ]
            Issue Type Bug [ 1 ] Sub-task [ 5 ]
            phalacee Jason Fowler made changes -
            Assignee Dongsheng Cai [ dongsheng ] Jason Fowler [ phalacee ]
            phalacee Jason Fowler made changes -
            Fix Version/s STABLE Sprint 21 [ 12155 ]
            Fix Version/s STABLE backlog [ 10463 ]
            phalacee Jason Fowler made changes -
            Fix Version/s STABLE Sprint 22 [ 12156 ]
            Fix Version/s STABLE Sprint 21 [ 12155 ]
            cfollin Chris Follin made changes -
            Labels partner patch triaged moodlerooms partner patch triaged
            fred Frédéric Massart made changes -
            Assignee Jason Fowler [ phalacee ] Frédéric Massart [ fred ]
            fred Frédéric Massart made changes -
            Status Open [ 1 ] Development in progress [ 3 ]
            fred Frédéric Massart made changes -
            Status Development in progress [ 3 ] Waiting for peer review [ 10012 ]
            Pull Master Diff URL https://github.com/FMCorz/moodle/compare/MDL-22663-master
            Pull 2.3 Diff URL https://github.com/FMCorz/moodle/compare/moodle:MOODLE_23_STABLE...MDL-22663-23
            Pull Master Branch MDL-22663-master
            Pull from Repository git://github.com/FMCorz/moodle.git
            Pull 2.2 Diff URL https://github.com/FMCorz/moodle/compare/moodle:MOODLE_22_STABLE...MDL-22663-22
            Pull 2.2 Branch MDL-22663-22
            Pull 2.3 Branch MDL-22663-23
            fred Frédéric Massart made changes -
            Testing Instructions *Test pre-requisites*

            - 1 WebDAV server supporting SSL (HTTPS)
            - 3 WebDAV shares
            -- Without authentication
            -- With Basic authentication
            -- With Digest authentication

            - WebDAV repository enabled
            - 6 different WebDAV instances in Moodle:
            -- 'WebDAV None' which does not require Auth
            -- 'WebDAV None SSL' which does not require authentication but HTTPS
            -- 'WebDAV Basic' which requires Basic authentication
            -- 'WebDAV Basic SSL' which requires Basic authentication and HTTPS
            -- 'WebDAV Digest' which requires Digest authentication
            -- 'WebDAV Digest SSL' which requires Digest authentication and HTTPS

            - Each share should contain multiple directories, sub directories, and files on every level.
            - Some directories and files *must* contain non-ascii characters

            *Test steps*

            # Go to your private files
            # Click on add
            # Navigate to each WebDAV repository
            # From each of them, *make sure*:

            - You can navigate in every directory
            - You can download any file
            - Files downloaded are correctly saved (check their content)

            *WebDAV Apache configuration file*

            This is my configuration for the 3 shares

            /etc/apache2/conf.d/webdav.conf

            {noformat}
            Alias /webdav /var/www/webdav
            <Location /webdav>
              Dav On
              AuthType Basic
              AuthName "webdav"
              AuthUserFile /var/www/webdav/passwd.dav
              Require valid-user
             </Location>

            Alias /webdav_digest /var/www/webdav_digest
             <Location /webdav_digest>
              Dav On
              AuthType Digest
              AuthName "webdavrealm"
              AuthUserFile /var/www/webdav_digest/passwd.dav
              Require valid-user
             </Location>

            Alias /webdav_none /var/www/webdav_none
             <Location /webdav_none>
              Dav On
              Allow from all
              Satisfy any
             </Location>

            DavDepthInfinity On
            {noformat}
            phalacee Jason Fowler made changes -
            Original Estimate 0 minutes [ 0 ]
            Remaining Estimate 0 minutes [ 0 ]
            Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
            Peer reviewer phalacee
            fred Frédéric Massart made changes -
            Link This issue blocks MDL-34715 [ MDL-34715 ]
            fred Frédéric Massart made changes -
            Testing Instructions *Test pre-requisites*

            - 1 WebDAV server supporting SSL (HTTPS)
            - 3 WebDAV shares
            -- Without authentication
            -- With Basic authentication
            -- With Digest authentication

            - WebDAV repository enabled
            - 6 different WebDAV instances in Moodle:
            -- 'WebDAV None' which does not require Auth
            -- 'WebDAV None SSL' which does not require authentication but HTTPS
            -- 'WebDAV Basic' which requires Basic authentication
            -- 'WebDAV Basic SSL' which requires Basic authentication and HTTPS
            -- 'WebDAV Digest' which requires Digest authentication
            -- 'WebDAV Digest SSL' which requires Digest authentication and HTTPS

            - Each share should contain multiple directories, sub directories, and files on every level.
            - Some directories and files *must* contain non-ascii characters

            *Test steps*

            # Go to your private files
            # Click on add
            # Navigate to each WebDAV repository
            # From each of them, *make sure*:

            - You can navigate in every directory
            - You can download any file
            - Files downloaded are correctly saved (check their content)

            *WebDAV Apache configuration file*

            This is my configuration for the 3 shares

            /etc/apache2/conf.d/webdav.conf

            {noformat}
            Alias /webdav /var/www/webdav
            <Location /webdav>
              Dav On
              AuthType Basic
              AuthName "webdav"
              AuthUserFile /var/www/webdav/passwd.dav
              Require valid-user
             </Location>

            Alias /webdav_digest /var/www/webdav_digest
             <Location /webdav_digest>
              Dav On
              AuthType Digest
              AuthName "webdavrealm"
              AuthUserFile /var/www/webdav_digest/passwd.dav
              Require valid-user
             </Location>

            Alias /webdav_none /var/www/webdav_none
             <Location /webdav_none>
              Dav On
              Allow from all
              Satisfy any
             </Location>

            DavDepthInfinity On
            {noformat}
            *Test pre-requisites*

            - 1 WebDAV server supporting SSL (HTTPS)
            - 2 WebDAV shares
            -- Without authentication
            -- With Basic authentication

            - WebDAV repository enabled
            - 4 different WebDAV instances in Moodle:
            -- 'WebDAV None' which does not require Auth
            -- 'WebDAV None SSL' which does not require authentication but HTTPS
            -- 'WebDAV Basic' which requires Basic authentication
            -- 'WebDAV Basic SSL' which requires Basic authentication and HTTPS

            - Each share should contain multiple directories, sub directories, and files on every level.
            - Some directories and files *must* contain non-ascii characters

            *Test steps*

            # Go to your private files
            # Click on add
            # Navigate to each WebDAV repository
            # From each of them, *make sure*:

            - You can navigate in every directory
            - You can download any file
            - Files downloaded are correctly saved (check their content)

            *WebDAV Apache configuration file*

            This is my configuration for the 2 shares

            /etc/apache2/conf.d/webdav.conf

            {noformat}
            Alias /webdav /var/www/webdav
            <Location /webdav>
              Dav On
              AuthType Basic
              AuthName "webdav"
              AuthUserFile /var/www/webdav/passwd.dav
              Require valid-user
             </Location>

            Alias /webdav_none /var/www/webdav_none
             <Location /webdav_none>
              Dav On
              Allow from all
              Satisfy any
             </Location>

            DavDepthInfinity On
            {noformat}
            phalacee Jason Fowler made changes -
            Status Peer review in progress [ 10013 ] Development in progress [ 3 ]
            fred Frédéric Massart made changes -
            Status Development in progress [ 3 ] Waiting for integration review [ 10010 ]
            samhemelryk Sam Hemelryk made changes -
            Currently in integration Yes [ 10041 ]
            nebgor Aparup Banerjee made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            Integrator nebgor
            nebgor Aparup Banerjee made changes -
            Link This issue will help resolve MDL-25425 [ MDL-25425 ]
            nebgor Aparup Banerjee made changes -
            Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
            Affects Version/s 2.3.1 [ 12253 ]
            Affects Version/s 2.2.4 [ 12162 ]
            Affects Version/s 2.4 [ 12255 ]
            Affects Version/s 2.1.1 [ 10750 ]
            Fix Version/s 2.2.5 [ 12352 ]
            Fix Version/s 2.3.2 [ 12353 ]
            timb Tim Barker made changes -
            Tester salvetore
            salvetore Michael de Raadt made changes -
            Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
            salvetore Michael de Raadt 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 09/Aug/12
            mina Nicolas Martignoni made changes -
            Link This issue has been marked as being related by MDL-34945 [ MDL-34945 ]
            fred Frédéric Massart made changes -
            Link This issue is duplicated by MDL-33672 [ MDL-33672 ]
            stronk7 Eloy Lafuente (stronk7) made changes -
            Fix Version/s STABLE Sprint 22 [ 12156 ]

              People

              • Votes:
                33 Vote for this issue
                Watchers:
                33 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/12