Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] New field "last usage" #4173

Closed
7 tasks done
jesmrec opened this issue Oct 2, 2023 · 0 comments · Fixed by #4187
Closed
7 tasks done

[FEATURE REQUEST] New field "last usage" #4173

jesmrec opened this issue Oct 2, 2023 · 0 comments · Fixed by #4187

Comments

@jesmrec
Copy link
Collaborator

jesmrec commented Oct 2, 2023

Context: #4002 (comment)

Adding and maintaining a new field in DB to control the last access' date. So, we can know how long was a file not used.

  • For every single file, folders not needed
  • Updated when
    • File is opened/downloaded/previewed
    • File is renamed/moved
    • Cleaned up when local copy is removed (set lastUsage to null)
  • Migration: empty for non-downloaded, current date for downloaded

It will be used for automatic removal.

TASKS

  • Research (if needed)
  • Create branch feature/new_field_last_usage
  • Development tasks
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/new_field_last_usage into master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants