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

Update Sabre (and friends) to 4.0 #19325

Merged
merged 6 commits into from
Mar 30, 2020
Merged

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Feb 6, 2020

I'm doing this to to help @skjnldsv. If tests fail I'm out 🙊

@ChristophWurst ChristophWurst added this to the Nextcloud 19 milestone Feb 6, 2020
@ChristophWurst ChristophWurst self-assigned this Feb 6, 2020
@rullzer rullzer force-pushed the dependachristoph/composer/sabre-4.0 branch from d913ef9 to c79b7b5 Compare February 11, 2020 20:35
@ChristophWurst ChristophWurst force-pushed the dependachristoph/composer/sabre-4.0 branch from c79b7b5 to 6896985 Compare March 6, 2020 14:56
@ChristophWurst
Copy link
Member Author

Changelog at https://github.com/sabre-io/dav/releases/tag/4.0.0 does not sound like there are any breaking changes for us.

@ChristophWurst
Copy link
Member Author

Files load but folder icons are missing and permissions are incorrect. A DAV expert needs to look into this

@skjnldsv
Copy link
Member

skjnldsv commented Mar 6, 2020

Files load but folder icons are missing and permissions are incorrect. A DAV expert needs to look into this

Pinging Dr @georgehrke :D

@georgehrke
Copy link
Member

Looking at the Changelog of version 4, this point will probably cause us most work:

Event listeners that in the past listened to beforeMethod or method
no longer get called. They must listen to beforeMethod:* and method:* now.

@georgehrke georgehrke force-pushed the dependachristoph/composer/sabre-4.0 branch 2 times, most recently from 33a16b8 to 747e2be Compare March 9, 2020 15:38
@georgehrke
Copy link
Member

@georgehrke
Copy link
Member

georgehrke commented Mar 9, 2020

As far as i can tell, the beforeMethod thing was pretty much the only change necessary.
Let's wait to see if Litmus is happy and do more in-depth testing.

@ChristophWurst
Copy link
Member Author

We can also check how similar projects did the upgrade :)

@georgehrke
Copy link
Member

We already fixed all the usages of URIUtil::split before: fc369dd :)

@georgehrke georgehrke force-pushed the dependachristoph/composer/sabre-4.0 branch from 747e2be to 5f8c63a Compare March 10, 2020 08:51
@ChristophWurst
Copy link
Member Author

👍 (can't approve my own PR 😀 )

@georgehrke georgehrke force-pushed the dependachristoph/composer/sabre-4.0 branch from 5f8c63a to 9a7d944 Compare March 10, 2020 09:07
@georgehrke
Copy link
Member

please test @icewind1991 @rullzer @juliushaertl

@rullzer rullzer force-pushed the dependachristoph/composer/sabre-4.0 branch from 36f936b to b6f9217 Compare March 23, 2020 20:43
@rullzer
Copy link
Member

rullzer commented Mar 23, 2020

Looks like I don't have permissions to upload files

@rullzer
Copy link
Member

rullzer commented Mar 23, 2020

Looks like I don't have permissions to upload files

Or at least that is what the js thinks ;)

@georgehrke georgehrke force-pushed the dependachristoph/composer/sabre-4.0 branch 2 times, most recently from 36f936b to 0ff1de6 Compare March 24, 2020 09:28
@icewind1991
Copy link
Member

Apps that will require updating their beforeMethod hooks:

  • guests
  • user_saml

@icewind1991
Copy link
Member

Looks like I don't have permissions to upload files

Or at least that is what the js thinks ;)

works for me

@ChristophWurst
Copy link
Member Author

user_saml

That nextcloud/user_saml#407?

ChristophWurst and others added 6 commits March 27, 2020 12:52
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
…number for unit tests

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@rullzer rullzer force-pushed the dependachristoph/composer/sabre-4.0 branch from 0ff1de6 to 55081b7 Compare March 27, 2020 11:53
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the trick for me. Lets do this.

@rullzer rullzer added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 27, 2020
@georgehrke georgehrke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 30, 2020
@rullzer rullzer merged commit 2200cc8 into master Mar 30, 2020
@rullzer rullzer deleted the dependachristoph/composer/sabre-4.0 branch March 30, 2020 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants