Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37562

Api for updating calendar subscriptions

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. run phpunit --verbose calendar/tests/calendarical_tests.php and make sure it passes
      2. A Regression testing with calendar subscriptions is required i.e (add, edit, update, delete etc)
        Test
      3. Goto site>calendar>manage subscription
      4. Add an ical subscription using url
        code}
        https://www.google.com/calendar/ical/en.australian%23holiday%40group.v.calendar.google.com/public/basic.ics

         

      5. Not the details in database (event_subscription).
      6. Goto the same page again and from the top list of subscription, update the time interval for the one that you just added
      7. Check in database pollinterval is updated accordingly
      Show
      run phpunit --verbose calendar/tests/calendarical_tests.php and make sure it passes A Regression testing with calendar subscriptions is required i.e (add, edit, update, delete etc) Test Goto site>calendar>manage subscription Add an ical subscription using url code} https://www.google.com/calendar/ical/en.australian%23holiday%40group.v.calendar.google.com/public/basic.ics   Not the details in database (event_subscription). Goto the same page again and from the top list of subscription, update the time interval for the one that you just added Check in database pollinterval is updated accordingly
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-37562-master

      Description

      while working on MDL-36621, I noticed we need an api to update ical subscriptions instead of doing update_record all over the place. Also would be easier to invalidate cache with an api.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Damyon Wiese
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13