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

Safe default behaviour when no users are specified on trashbin:cleanup #10041

Merged
merged 3 commits into from
Jun 29, 2018

Commits on Jun 28, 2018

  1. Default behaviour when no users are specified on trashbin:cleanup

    * Add option --all-users to explicitly clean all trashbins
    * Reject no users on commandline and no --all-users
    * Warn when --all-users and userids are specified
    
    Signed-off-by: Liam Dennehy <[email protected]>
    liamdennehy committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    6bc3d37 View commit details
    Browse the repository at this point in the history
  2. trashbin:cleanup exceptions for invalid options

    * throw on no parameters provided
    * throw on --all-users and userid provided
    
    Signed-off-by: Liam Dennehy <[email protected]>
    liamdennehy committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    68e41a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2018

  1. Fix and extend tests

    Signed-off-by: Roeland Jago Douma <[email protected]>
    rullzer committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    68f403c View commit details
    Browse the repository at this point in the history