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

Enable "Mobile Notifications" when a site is registered

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Requirements for testing:

      • Ngrok

      Testing:

      • Install a new site with this branch
      • Give the site a public internet site address (URL) using Ngrok
      • As admin, access to the site using the public URL
      • Go to Site administration -> Messaging -> Notification settings and check that you see the "Mobile" plugin enabled (checkbox with a tick) just under Notifications plugins
      • Click on the Settings link in the "Mobile" row
      • Go to the bottom of the page and click in the "Request access key" link and confirm that:
        • You see an error "Your site is not yet registered"
      • Now, click on the "Register your site" link just at the right of the error
      • And complete the registration process by accepting the "Privacy notice" and clicking "Register your site" button
      • Once the registration process finishes, go back to the Site administration -> Messaging -> Notification settings > Mobile settings
      • Go to the bottom of the page and confirm that:
        • The "Airnotifier Access key" field is not empty
      • Copy that key somewhere else (in a notepad or somewhere else)
      • In the same page, remove the "Airnotifier Access key" field content and click Save changes
      • Now click in the link "Request access key" and confirm that:
        • You successfully retrieve the access key and it is exactly the same you annotated before
      • Once you have finished testing, you can unregister the testing site via Site administration -> Registration and them clicking "Unregister your site" link at the bottom
      Show
      Requirements for testing: Ngrok Testing: Install a new site with this branch Give the site a public internet site address (URL) using Ngrok As admin, access to the site using the public URL Go to Site administration -> Messaging -> Notification settings and check that you see the "Mobile" plugin enabled (checkbox with a tick) just under Notifications plugins Click on the Settings link in the "Mobile" row Go to the bottom of the page and click in the "Request access key" link and confirm that: You see an error "Your site is not yet registered" Now, click on the "Register your site" link just at the right of the error And complete the registration process by accepting the "Privacy notice" and clicking "Register your site" button Once the registration process finishes, go back to the Site administration -> Messaging -> Notification settings > Mobile settings Go to the bottom of the page and confirm that: The "Airnotifier Access key" field is not empty Copy that key somewhere else (in a notepad or somewhere else) In the same page, remove the "Airnotifier Access key" field content and click Save changes Now click in the link "Request access key" and confirm that: You successfully retrieve the access key and it is exactly the same you annotated before Once you have finished testing, you can unregister the testing site via Site administration -> Registration and them clicking "Unregister your site" link at the bottom
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67753-master

      Description

      Right now, for enabling "Mobile Push Notifications" a site administrator must register first their site and then retrieve an access key via the "Mobile notification" plugins settings.

      As part of the registration process, we should automatically generate an access key for the site once the registration process is completed.

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 20 minutes
                4h 20m