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
Skip external mounts with disabled previews #190
Conversation
Please note that the CI fails because it's using an old PHP version: |
Additionally, the 7.2 test fails because of a PHPUnit error:
|
There we go :) All fixed. |
@rullzer Anything you want me to adjust here? |
Great, also updating the tests PHP versions is what I just thought as well 😉. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rebase on master?
220821a
to
61a6a6c
Compare
Codecov Report
@@ Coverage Diff @@
## master #190 +/- ##
========================================
Coverage ? 4.62%
Complexity ? 166
========================================
Files ? 16
Lines ? 541
Branches ? 0
========================================
Hits ? 25
Misses ? 516
Partials ? 0
Continue to review full report at Codecov.
|
Rebase done. |
Please someone merge this 🙏 |
@hashworks it seem that a rebase is still required. @rullzer is there any change to have this merged ? |
Base branch is correct, only conflicts need to be resolved. |
61a6a6c
to
0defdbb
Compare
Rebase done. |
Merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break if files_external
is disabled. Please make the GlobalStoragesService
parameter of the constructor optional and implement checks when using it later.
@hashworks I can take over if you are lacking the time/interest. I really think it is a great addition to the app. |
I'll fix this on the weekend. |
0defdbb
to
943c190
Compare
Rebased and |
Signed-off-by: hashworks <mail@hashworks.net>
Signed-off-by: hashworks <mail@hashworks.net>
GlobalStoragesService is only available when the "External storage support" app is enabled. Signed-off-by: hashworks <mail@hashworks.net>
943c190
to
8a357be
Compare
For external storage mounts one can disable previews:
This change respects this setting and skips folders with disabled previews:
Resolves #151.