nextcloud / apps

🚚 This is an archive. Let us know if you want to take over maintainership of any of these apps
11 stars 29 forks source link

handle escaped @ symbol fixes Apple AddressBook problems #35

Closed MarvAmBass closed 6 years ago

MarvAmBass commented 7 years ago

Hi there,

the Apple AddressBook has troubles to login since NextCloud 12.0.0

fix nextcloud/contacts#233

It's because it escapes the @ symbol with %40.

This will replace a escaped @ symbol %40, but only if there is no other @ Symbol present

skjnldsv commented 7 years ago

Please review or provide another way of doing this! :)

See related issue from nextcloud/contacts#233

skjnldsv commented 6 years ago

@MarvAmBass could you sign your pr please?

MarvAmBass commented 6 years ago

gpg sign?

skjnldsv commented 6 years ago

Nop, commit sign off :)

nickvergessen commented 6 years ago

See https://github.com/nextcloud/server/blob/master/CONTRIBUTING.md#sign-your-work for more information.

You can do this manually for now:

git commit --amend -s
git push --force origin <your branch>
MarvAmBass commented 6 years ago

thanks, didn't know I had to do that.

I will do this within the next 8 hours. (not possible at the moment, unless it's possible via web interface)

MarvAmBass commented 6 years ago

I followed @nickvergessen's hint and hopefully signed it now.

nickvergessen commented 6 years ago

Hmpf, I didn't see that @skjnldsv already had commits in here.

Try:

git checkout master
git pull upstream master
git checkout patch1
git rebase -i upstream/master
git commit --amend -s
git push --force origin patch1
MarvAmBass commented 6 years ago

Hi,

thanks for the detailed instructions. I followed them - hope it worked this time

P.S. it gave me some errors - but I was working on a newly cloned branch since I no longer have the old one.

I think this was the most important error.

$ git rebase -i upstream/master
fatal: Needed a single revision
invalid upstream upstream/master
nickvergessen commented 6 years ago

What does git remote -v tell?

MarvAmBass commented 6 years ago
$ git remote -v
origin  https://www.github.com/MarvAmBass/apps (fetch)
origin  https://www.github.com/MarvAmBass/apps (push)
nickvergessen commented 6 years ago
git remote add upstream https://www.github.com/nextcloud/apps
git checkout master
git fetch upstream
git pull upstream master
git checkout patch1
git rebase -i upstream/master
git commit --amend -s
git push --force origin patch1

PS: if you dont want to continue this journey, it's okay and we can take it over. But if you want to continue to learn this I will happily continue 😉

MarvAmBass commented 6 years ago

thanks, ahh okay now it makes sense to me.

no problem I can continue.

Okay now I did everything and it seems that everything worked without an error.

Thanks for all the patience and help!

skjnldsv commented 6 years ago

@MorrisJobke @nickvergessen We should backport to 12

MorrisJobke commented 6 years ago

@MorrisJobke @nickvergessen We should backport to 12

Could you open the backport request?