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

Implement a basic URL shortener and add short URLs to Assignment SMS notifications

XMLWordPrintable

      Now the routing system is in place, we can look at implementing the ability to generate short URLs (within the main site URL). The first use case for this, is being able to provide shorter URLs on SMS notifications, for example to link to the assignment submission page if it is an assignment due notification.

      URLs should follow the format <wwwroot>/s/XXXX where XXXX is a series of 4 alphanumeric characters. We should store these per-user, as users will have to be authenticated anyway to access many of the links. This will mean multiple users can have the same short URL sent to them, and they will likely point to different URLs.

      Once it's possible to define shorter URLs, we should then add relevant URLs to the end of the Assignment notifications implemented in MDL-83518, where applicable. We will need to ensure that the logic related to URLs from MDL-81469 are applied, so that URLs are included where possible, but omitted where required as per the rules outlined in that technical spike.

            Unassigned Unassigned
            michaelh Michael Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 6 minutes
                1d 4h 6m

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