Cleanup button to remove "List of invalid files"
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Nextcloud offers the security function to list faulty or missing files in the WebGUI.
Suggestion: A cleanup button to directly delete unnecessary files. Files with a different hash value should be excluded from this.
GUI
Administrator > Settings > Overview >
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation ↗. (List of invalid files… / Rescan…)
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- INVALID_HASH
- core/Application.php < should not be affected
- EXTRA_FILE
- 3rdparty/brick/math/psalm-baseline.xml < should not be affected
Describe alternatives you've considered
console compatible output.
Example:
- EXTRA_FILE
rm 3rdparty/brick/math/psalm-baseline.xml
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the Administrator > Settings > Overview integrity-check page and its “List of invalid files…” output first. Define how a cleanup action should distinguish removable EXTRA_FILE entries from INVALID_HASH files, and how the console-compatible output should work. Done means the requested cleanup behavior is specified for both the WebGUI and console use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100