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
    • Rank:
      19069

      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.

      1. patch.txt
        131 kB
        T. Jackson
      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

          Simon Hanmer created issue -
          Dongsheng Cai made changes -
          Field Original Value New Value
          Attachment Selection_002.jpeg [ 21914 ]
          Attachment Selection_003.jpeg [ 21915 ]
          Martin Dougiamas made changes -
          Workflow jira [ 36589 ] MDL Workflow [ 46295 ]
          Colin Campbell made changes -
          Attachment webdav_ssl_colin.txt [ 22992 ]
          Dongsheng Cai made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Martin Dougiamas made changes -
          Workflow MDL Workflow [ 46295 ] MDL Full Workflow [ 74590 ]
          T. Jackson made changes -
          Attachment patch.txt [ 24147 ]
          Helen Foster made changes -
          Fix Version/s STABLE backlog [ 10463 ]
          Labels partner patch triaged
          Affects Version/s 2.1.1 [ 10750 ]
          Dongsheng Cai made changes -
          Parent MDL-29490 [ 47659 ]
          Issue Type Bug [ 1 ] Sub-task [ 5 ]
          Jason Fowler made changes -
          Assignee Dongsheng Cai [ dongsheng ] Jason Fowler [ phalacee ]
          Jason Fowler made changes -
          Fix Version/s STABLE Sprint 21 [ 12155 ]
          Fix Version/s STABLE backlog [ 10463 ]
          Jason Fowler made changes -
          Fix Version/s STABLE Sprint 22 [ 12156 ]
          Fix Version/s STABLE Sprint 21 [ 12155 ]
          Chris Follin made changes -
          Labels partner patch triaged moodlerooms partner patch triaged
          Frédéric Massart made changes -
          Assignee Jason Fowler [ phalacee ] Frédéric Massart [ fred ]
          Frédéric Massart made changes -
          Status Open [ 1 ] Development in progress [ 3 ]
          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
          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}
          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
          Frédéric Massart made changes -
          Link This issue blocks MDL-34715 [ MDL-34715 ]
          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}
          Jason Fowler made changes -
          Status Peer review in progress [ 10013 ] Development in progress [ 3 ]
          Frédéric Massart made changes -
          Status Development in progress [ 3 ] Waiting for integration review [ 10010 ]
          Sam Hemelryk made changes -
          Currently in integration Yes [ 10041 ]
          Aparup Banerjee made changes -
          Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
          Integrator nebgor
          Aparup Banerjee made changes -
          Link This issue will help resolve MDL-25425 [ MDL-25425 ]
          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 ]
          Tim Barker made changes -
          Tester salvetore
          Michael de Raadt made changes -
          Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
          Michael de Raadt made changes -
          Status Testing in progress [ 10011 ] Tested [ 10006 ]
          Eloy Lafuente (stronk7) made changes -
          Status Tested [ 10006 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Currently in integration Yes [ 10041 ]
          Integration date 09/Aug/12
          Nicolas Martignoni made changes -
          Link This issue has been marked as being related by MDL-34945 [ MDL-34945 ]
          Frédéric Massart made changes -
          Link This issue is duplicated by MDL-33672 [ MDL-33672 ]
          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: