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

Automatic cleanup of MoodleNet share progress

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2
    • MoodleNet

      Once the share progress page is implemented (MDL-75502) we will need to perform cleanup of the content. The purpose of the share progress is to notify the user that their draft resource is now available to complete on MoodleNet, or that the share failed so they know to retry. Therefore after the user has seen that a share has either succeeded or failed, we automatically remove the data as it has served its purpose. We do not want to immediately remove data once it is viewed, as they may refresh or click away from the page, so we will flag entries for cleanup, then remove them 24 hours later.

      Requirements

      1. Remove completed progress items 24 hours after they are viewed. Completed items are those in Sent or Failed status. Items viewed that are in progress should not be flagged for cleanup.
      2. We will need to log when the rows were viewed, to know when to delete them (which will likely require a web service to record this for relevant rows).
      3. A scheduled task running at regular intervals (eg hourly) to delete the rows from the database when their 24 hours have elapsed.

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

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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