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

Calendar: IMPORT or Subscribe to iCal feed into Moodle calendar

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.4
    • 1.9.2, 2.1.8, 2.2, 2.2.5, 2.3.2
    • Calendar
    • Moodle 1.9.2
    • MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-16660-m24
    • Hide

      NOTE TO TESTER: This feature really needs full QA testing, in the absence of detailed QA tests, please do exploitory testing on this feature. Particularly paying attention to editing, updating, deleting. Invalid files etc.

      Import form in calendar view

      The import subscription form should only appear for those users who already have the capability to add calendar events to that course calendar.

      Subscriptions list

      The import calendar form should show you a list of existing subscriptions, if any. This list allows you to

      • Update the poll interval. This can be never, hourly, daily, weekly, monthly, or annually. Choose one from the list and click the Update button for that subscription.
      • Remove the subscription. This will also remove any events added by the subscription from the calendar. Click the Remove button.

      Import Calendar form

      This form will let you add a subscription from a calendar URL, or import events from an uploaded calendar file.

      • Calendar name: this should be mandatory and should not accept blank values.
      • Import from: choose either a URL or a file
      • Calendar URL: a URL to an external ics calendar file
        • this field should be disabled if Import from is set to import from a file
      • Calendar file: lets you choose or upload a calendar file using the standard Moodle file browser
        • this field should be disabled if Import from is set to import from a URL
      • Poll interval. This can be never, hourly, daily, weekly, monthly, or annually.
        • this field has no effect when adding events from a calendar file.
      • Type of event. This allows you to select which calendar the events should be added to - the same as when adding a single event normally.
        • The list should display only those calendars you have permission to add events to - at either a user, group, course or site level.
      • Group: this lets you select which group to add events to.
        • this field should only be visible if you can add events to one or more groups.
        • this field should only show groups that you have permission to add events to.
      • Click Add to import the events from the calendar file, or add the calendar subscription.

      Poll interval

      The cron task should update calendar subscriptions as recorded in the mdl_event_subscriptions table, and as controlled by the poll interval. In the database, pollinterval is stored as a number of seconds, and calculated in cron using the current timestamp and the lastupdated field. In this way, monthly is actually anually divided by 12, rather than a strict calendar month.

      Show
      NOTE TO TESTER: This feature really needs full QA testing, in the absence of detailed QA tests, please do exploitory testing on this feature. Particularly paying attention to editing, updating, deleting. Invalid files etc. Import form in calendar view The import subscription form should only appear for those users who already have the capability to add calendar events to that course calendar. Subscriptions list The import calendar form should show you a list of existing subscriptions, if any. This list allows you to Update the poll interval. This can be never, hourly, daily, weekly, monthly, or annually. Choose one from the list and click the Update button for that subscription. Remove the subscription. This will also remove any events added by the subscription from the calendar. Click the Remove button. Import Calendar form This form will let you add a subscription from a calendar URL, or import events from an uploaded calendar file. Calendar name: this should be mandatory and should not accept blank values. Import from: choose either a URL or a file Calendar URL: a URL to an external ics calendar file this field should be disabled if Import from is set to import from a file Calendar file: lets you choose or upload a calendar file using the standard Moodle file browser this field should be disabled if Import from is set to import from a URL Poll interval. This can be never, hourly, daily, weekly, monthly, or annually. this field has no effect when adding events from a calendar file. Type of event. This allows you to select which calendar the events should be added to - the same as when adding a single event normally. The list should display only those calendars you have permission to add events to - at either a user, group, course or site level. Group: this lets you select which group to add events to. this field should only be visible if you can add events to one or more groups. this field should only show groups that you have permission to add events to. Click Add to import the events from the calendar file, or add the calendar subscription. Poll interval The cron task should update calendar subscriptions as recorded in the mdl_event_subscriptions table, and as controlled by the poll interval. In the database, pollinterval is stored as a number of seconds, and calculated in cron using the current timestamp and the lastupdated field. In this way, monthly is actually anually divided by 12, rather than a strict calendar month.

      Would be great if one could, either at the site, course or user level in the Moodle calendar:

      1) SUBSCRIBE to an external iCal calendar feed (such as to a Google Calendar ical feed) to auto-update the site events INTO MOODLE (not export out of Moodle, which already exists.) This way, if a school has a calendar already published with an ical feed (such as a Google calendar), an admin in Moodle could subscribe to that external ical feed and have all the school's events posted automatically in the Moodle calendar. By the same token, perhaps an instructor could subscribe to an ical feed for his or her course to feed in course level entries, or an individual with ical feeds could subscribe to them to sync them into their Moodle calendar.

      2) IMPORT an iCal calendar flatfile into Moodle's calendar

        1. MDL-16660_proof_of_concept.patch
          7 kB
          Mark Johnson
        2. Ringmer_Community_College_Term_Dates_2010-2011_Calendar.ics
          33 kB
          Frosty
        3. t.ics
          0.6 kB
          Jim Crumley
        4. bennu.tar.gz
          31 kB
          Mark Johnson
        5. screenshot-1.jpg
          186 kB
          Volker Krasemann
        6. calendar_test.patch
          62 kB
          Mark Johnson
        7. calendar_test2.patch
          8 kB
          Mark Johnson
        8. calendar_test3.patch
          23 kB
          Mark Johnson
        9. calendar_test3.patch
          23 kB
          Mark Johnson
        10. calendar_test3_fixed.patch
          23 kB
          Barry Oosthuizen
        11. ical2moodle.bmml
          4 kB
          ra1n
        12. ical2moodle.bmml
          4 kB
          ra1n
        13. ical2moodle.bmml
          4 kB
          ra1n
        14. ical2moodle.bmml
          4 kB
          ra1n
        15. ical2moodle.bmml
          4 kB
          ra1n
        16. ical2moodle.bmml
          5 kB
          ra1n
        17. ical2moodle.bmml
          5 kB
          ra1n
        18. ical2moodle.bmml
          5 kB
          ra1n
        19. ical2moodle.bmml
          5 kB
          ra1n
        20. ical2moodle.bmml
          5 kB
          ra1n
        21. ical2moodle.bmml
          5 kB
          ra1n
        22. ical2moodle.bmml
          5 kB
          ra1n
        23. ical2moodle.bmml
          5 kB
          ra1n
        24. ical2moodle.bmml
          5 kB
          ra1n
        25. ical2moodle.bmml
          5 kB
          ra1n
        26. ical2moodle.bmml
          5 kB
          ra1n
        27. ical2moodle.bmml
          5 kB
          ra1n
        28. ical2moodle.bmml
          5 kB
          ra1n
        29. ical2moodle.png
          68 kB
          ra1n
        30. Missing Repeat Events.jpg
          361 kB
          Michael Hughes

            Created:
            Updated:
            Resolved:

              Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.