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

Airnotifier notification name shouldn't be removed when encryption is enabled

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78263-401
    • MDL-78263-402
    • MDL-78263-master
    • Hide
      1. Ensure that your site is available globally (e.g. use ngrok)
      2. Navigate to Site administration -> Messaging -> Mobile
      3. Put the Airnotifier access key from the restricted comment bellow in place
      4. Ensure that the setting `message_airnotifier | encryptnotifications` is on
      5. Ensure that the setting `message_airnotifier | encryptprocessing` is set to Do not send notifications at all
      6. Login to the site on the app using a student account
      7. Open the user preferences via the avatar (top right)
      8. Choose the Notifications option
      9. Ensure that the "Mobile" checkbox is ticked
      10. Ensure you have enabled to receive "Badge recipient notifications"
      11. Put the app in the background but keep it open
      12. As admin, go to the Site again
      13. Enable badges and course badges in advanced features
      14. Create a site level badge, award this badge to the student account that is logged in the app
      15. Confirm that:
        • You receive a Push notification that you has earned a badge
        • Clicking the notification opens a page in the app that will display the badge information
      Show
      Ensure that your site is available globally (e.g. use ngrok) Navigate to Site administration -> Messaging -> Mobile Put the Airnotifier access key from the restricted comment bellow in place Ensure that the setting `message_airnotifier | encryptnotifications` is on Ensure that the setting `message_airnotifier | encryptprocessing` is set to Do not send notifications at all Login to the site on the app using a student account Open the user preferences via the avatar (top right) Choose the Notifications option Ensure that the "Mobile" checkbox is ticked Ensure you have enabled to receive "Badge recipient notifications" Put the app in the background but keep it open As admin, go to the Site again Enable badges and course badges in advanced features Create a site level badge, award this badge to the student account that is logged in the app Confirm that: You receive a Push notification that you has earned a badge Clicking the notification opens a page in the app that will display the badge information

    Description

      When encryption is enabled, the notification name is removed. This name is used by the app to determine the type of notification (for example in this code), so this is causing some problems in the app.

      As far as I know this name is the "name" of the event, e.g. attempt_overdue or courserequested, so it shouldn't contain personal data. IMO it shouldn't be removed.

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              dpalou Dani Palou
              Rodrigo Mady Rodrigo Mady
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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