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

Update mobile app connected message so it is not misleading when the user has not used the app for a time

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.10
    • 3.8.1, 3.9.2
    • Other
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE
    • MDL-67841-master
    • Hide
      Prerequisite
      1. Moodle mobile app.
      2. Your Moodle mobile app should be able to connect to your Moodle website. You can either do the following:
        • Ensure that the phone with the mobile app and the web server are on the same network. Or
        • Expose the web server over the internet via ngrok.
      Test
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a new user account in the site, standard authenticated user
      3. Access with that account to the Moodle site
      4. Go to the user "Profile" page and check that:
        • Under the Mobile app section box you see a message: "This site has mobile app access enabled. Download the mobile app"
      5. Now, access to the site using the mobile app with the same user
      6. Go again to the Moodle web site in the browser
      7. Access to the user "Profile" page again and check that:
        • Under the Mobile app section box you see a section called "Last access to site" indicating the last time you accessed to the Moodle site with the app (it should say that it was a few seconds/minutes ago)
      Show
      Prerequisite Moodle mobile app. Your Moodle mobile app should be able to connect to your Moodle website. You can either do the following: Ensure that the phone with the mobile app and the web server are on the same network. Or Expose the web server over the internet via ngrok. Test As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a new user account in the site, standard authenticated user Access with that account to the Moodle site Go to the user "Profile" page and check that: Under the Mobile app section box you see a message: "This site has mobile app access enabled. Download the mobile app" Now, access to the site using the mobile app with the same user Go again to the Moodle web site in the browser Access to the user "Profile" page again and check that: Under the Mobile app section box you see a section called "Last access to site" indicating the last time you accessed to the Moodle site with the app (it should say that it was a few seconds/minutes ago)

    Description

      The "Mobile app connected" in the user profile is displayed forever unless the user Web Service tokens are removed.

      There is a cron task that removes outdated tokens but, it can happen, that you have a valid token for 3 months but you haven't access in 2 months.

      We should change the logic to detect active mobile users or maybe display the last time the user connected with the app

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Dani Palou Dani Palou
              Victor Déniz Falcón Victor Déniz Falcón
              Anna Carissa Sadia Anna Carissa Sadia
              Votes:
              0 Vote for this issue
              Watchers:
              7 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 - 4 hours, 15 minutes
                  4h 15m

                  Clockify

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