Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1606

Create a shared files area in the app and store shared files in it

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      In browser or Android:

      1. Check that clicking the user area in side menu does nothing.

      In iOS:

      Testing share

      1. Share a file with the app with no sites stored. Check that an error is shown.
      2. Add 1 site and share the file again. Check that a success message is shown.
      3. Add another site and share the file again. Check that a screen to choose site is shown.
      4. Choose the new site and check that a success message is shown and you go back to where you were.
      5. Now share the file again and choose a site that already has the file stored. Check that a modal is shown asking you if you want to replace or rename the file. Check that both options work as expected.

      Testing manage

      1. Login into a site that has shared files and click the user area in the side menu. Check that you go to a view with the shared files.
      2. Check that you can rename a file to use a new name (not repeated). Check that, if you try to use a repeated name, an error is shown.
      3. Check that you can delete shared files.
      4. With the manage files view open, share a new file with the current site. Check that the list is refreshed.
      Show
      In browser or Android: Check that clicking the user area in side menu does nothing. In iOS: Testing share Share a file with the app with no sites stored. Check that an error is shown. Add 1 site and share the file again. Check that a success message is shown. Add another site and share the file again. Check that a screen to choose site is shown. Choose the new site and check that a success message is shown and you go back to where you were. Now share the file again and choose a site that already has the file stored. Check that a modal is shown asking you if you want to replace or rename the file. Check that both options work as expected. Testing manage Login into a site that has shared files and click the user area in the side menu. Check that you go to a view with the shared files. Check that you can rename a file to use a new name (not repeated). Check that, if you try to use a repeated name, an error is shown. Check that you can delete shared files. With the manage files view open, share a new file with the current site. Check that the list is refreshed.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE

      Description

      To allow attachments in assignment submission and other places, we should now store the files shared with the app in a "draft" area or something like that.

      In this issue we should store the shared files in a permanent folder inside the app (maybe we can leave them in the default folder) and allow the user to manage them (see which files he has shared and be able to delete them).

      We need to decide where to place the option to manage these files.

      Please notice that upload in My Files will stop working once this is done, it will be fixed in a latter issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                27/Jul/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days, 1 hour, 30 minutes
                  3d 1h 30m
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified