Skip to content

Fixed #1893 - #1985

Merged
georgehrke merged 2 commits into
nextcloud:masterfrom
der-daniel:fix-issue-1893_calendar-cannot-be-shared-to-group-with-special-chars
Feb 21, 2020
Merged

Fixed #1893#1985
georgehrke merged 2 commits into
nextcloud:masterfrom
der-daniel:fix-issue-1893_calendar-cannot-be-shared-to-group-with-special-chars

Conversation

@der-daniel

@der-daniel der-daniel commented Feb 11, 2020

Copy link
Copy Markdown
Member

Description

The URI to the DAV resource has not been url-decoded.

Fixes #1893

@der-daniel

Copy link
Copy Markdown
Member Author

I tried to get this sign off thing into my last commit and force pushed it.

Is there another way of doing this? AFAIK I can only edit mt commit message by force pushing it once it is in the remote origin.

@SuperSandro2000

Copy link
Copy Markdown

You did the correct thing but the mail is not matching according to DCO. Take a look here https://github.com/nextcloud/calendar/pull/1985/checks?check_run_id=438913803 .

To get there click on the checks tab at the top, expand DCO and click on the entry.
Would wish that the "Details" links would go there.

Signed-off-by: Daniel Hitzel <der-daniel@outlook.com>
@der-daniel

Copy link
Copy Markdown
Member Author

Fixed it. This sign off was new to me. 👍

@georgehrke

Copy link
Copy Markdown
Member

I'm sorry, but this is not a real fix from my pov, rather a hot fix.

The problem is that the contents of <d:path> inside the principal-property-search is wrongly encoded. Just open the developer console and inspect the network request when searching for users / groups.

@georgehrke georgehrke closed this Feb 16, 2020
@georgehrke

Copy link
Copy Markdown
Member

Reopening as of nextcloud/server#17610 (comment)

@georgehrke georgehrke reopened this Feb 20, 2020
@georgehrke

Copy link
Copy Markdown
Member

B6F7E732-DD50-45C0-AC1F-1B90C227C8D1

This breaks not showing groups already shared with.

@georgehrke

Copy link
Copy Markdown
Member

If you change line 150 to the following, it works as expected:

				if (hiddenPrincipals.includes(decodeURI(result.principalScheme))) {

@georgehrke georgehrke added the 2. developing Work in progress label Feb 20, 2020
@georgehrke georgehrke added this to the 2.0.2 milestone Feb 20, 2020
@georgehrke

Copy link
Copy Markdown
Member

@der-daniel Are you gonna fix line 150 or should I? :)

See: #1985 (comment)
Signed-off-by: Daniel Hitzel <der-daniel@outlook.com>
@der-daniel

Copy link
Copy Markdown
Member Author

Just pushed it. Thanks for this finding!

@georgehrke georgehrke added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 21, 2020

@georgehrke georgehrke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you very much, it works as expected now 👍

@georgehrke
georgehrke merged commit ab79424 into nextcloud:master Feb 21, 2020
@georgehrke

Copy link
Copy Markdown
Member

My current plan is to have Calendar 2.0.2 by the end of next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sharing a calendar with groups doesn't get saved (v2.0.1)

3 participants