-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Do not load calendar/addressbook plugins if not needed #9268
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
Conversation
|
@MorrisJobke It should be as far as i can tell. |
|
I will check when testing this pr. |
|
Yes it should |
MorrisJobke
left a comment
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.
Tested, works and code makes sense 👍
|
CI fails :/ |
Codecov Report
@@ Coverage Diff @@
## master #9268 +/- ##
=============================================
- Coverage 51.68% 29.11% -22.58%
- Complexity 25691 25707 +16
=============================================
Files 1634 1569 -65
Lines 95914 88082 -7832
Branches 1384 0 -1384
=============================================
- Hits 49571 25642 -23929
- Misses 46343 62440 +16097
|
|
CI failure is due to a timeout :) |
|
One more review please :) |
|
Conflicts fixed and rebased. |
|
@georgehrke @blizzz @nickvergessen @ChristophWurst @skjnldsv Reviews would be nice :) |
blizzz
left a comment
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.
the repair step might lose valid shares when
- Nextcloud is in maintenance mode
- AND external user backends are used
since apps are not loaded in this context.
|
@blizzz I can drop the repair job... but then we might have invalid shares.... |
Or add a switch that prevents running in maintenance mode. |
|
@blizzz now they are only run if you run the expensive repair steps in case you run into it. All our other repair steps are executed in maintenance mode so then it indeed would do 💥 in certain situations |
Then it is better run as a seperate occ command, bound to apps, as i am afraid it would do more harm than good. |
|
Nah during upgrade. Now it is. occ maintenance:repair - - expensive |
Fixes #6711 Based on owncloud/core@f0fb21c Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
…ied to be valid owncloud/core@d3fb8fc Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
…ollection as well owncloud/core@9f2e643 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
owncloud/core@edacf22 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
@blizzz ok one more time ;) |
|
looks good now, apart from tests |
People that have issues can run it manually Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| use OC\Template\JSCombiner; | ||
| use OC\Template\SCSSCacher; | ||
| use OCA\DAV\Connector\Sabre\Principal; | ||
| use OCA\DAV\Repair\RemoveInvalidShares; |
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.

Fixes #6711
Based on owncloud/core@f0fb21c
Signed-off-by: Roeland Jago Douma roeland@famdouma.nl