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

Filters for Config changes report

    XMLWordPrintable

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Behat test provided.

      Testing:

      1. Login using an admin account
      2. From the administration block, search for auth_instructions
      3. Update the auth_instructions field and press Save changes
      4. Navigate to Reports > Config changes
      5. Confirm change from step 3. is reported (existing functionality still works)
      6. In the report Search box enter "setting:auth_instructions" and press Search button
      7. Confirm only changes related to setting updated in step 3. are listed in report
      8. Create a second account (user2) and make them a site admin
      9. Login with user2
      10. Repeat steps 2 - 7 above
      11. In the report Search box enter "user:XXX" (where XXX is the lastname of the user created in step 8) and press Search button
      12. Confirm only changes make by user2 are listed in report
      13. In the report Search box enter part of the text you used in step 3 and press Search button
      14. Confirm there are only two rows listed in report:
        1. One containing your change in step 3 in the New value column
        2. One containing user2's change in step 10 in the Original value column
      15. Calculate a unix timestamp between the time your site was installed and now (use this if required)
      16. In the report Search box enter "datefrom:TIMESTAMP" (where TIMESTAMP is the value from step 15) and press Search button
      17. Confirm only config changes made since that date are listed
      18. In the report Search box enter "dateto:TIMESTAMP" (where TIMESTAMP is the value from step 15) and press Search button
      19. Confirm only config changes made before that date are listed
      Show
      Behat test provided. Testing: Login using an admin account From the administration block, search for auth_instructions Update the auth_instructions field and press Save changes Navigate to Reports > Config changes Confirm change from step 3. is reported (existing functionality still works) In the report Search box enter " setting:auth_instructions " and press Search button Confirm only changes related to setting updated in step 3. are listed in report Create a second account ( user2 ) and make them a site admin Login with user2 Repeat steps 2 - 7 above In the report Search box enter " user:XXX " (where XXX is the lastname of the user created in step 8) and press Search button Confirm only changes make by user2 are listed in report In the report Search box enter part of the text you used in step 3 and press Search button Confirm there are only two rows listed in report: One containing your change in step 3 in the New value column One containing user2 's change in step 10 in the Original value column Calculate a unix timestamp between the time your site was installed and now (use this if required) In the report Search box enter " datefrom:TIMESTAMP " (where TIMESTAMP is the value from step 15) and press Search button Confirm only config changes made since that date are listed In the report Search box enter " dateto:TIMESTAMP " (where TIMESTAMP is the value from step 15) and press Search button Confirm only config changes made before that date are listed
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_37_STABLE
    • Pull Master Branch:

      Description

      The "Config changes" admin report interface does not has filters, making hard to find info, for example specific changes or specific users.

      Possible solution:

      • add some filtering options, such as date, value, and users.

        Attachments

        1. configchanges_currentpatch.png
          121 kB
          Sara Arjona (@sarjona)
        2. configchanges_proposal.png
          107 kB
          Sara Arjona (@sarjona)
        3. MDL-29693.png
          171 kB
          Paul Holden
        4. Screenshot from 2019-09-02 13-22-43.png
          16 kB
          Peter Dias

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 57 minutes
                  1h 57m