Skip to content

Conversation

byt3sage
Copy link

Summary

  • This PR aims to resolve the issue with the encoding of the instance name when shown in the OAuth settings in Nextcloud admin.
  • This is my first PR for Nextcloud (and hopefully the first of many) so I'm keen for any feedback if this approach doesn't follow what it should.
  • I've removed instance name from the translate function. My reasoning for this is the instance name will already be in the users own language and this avoids the issue of the translate function escaping special characters.

TODO

  • Remove instance name binding from the translate function and use string interpolation instead.
  • Update translation files to ensure the string prior to the instance name is still translated.

Screenshots

Before
image

After
image

Checklist

…decoding

Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
@kesselb
Copy link
Collaborator

kesselb commented Dec 12, 2024

Thanks for your pull request 👍

Please revert the changes to the language files. The files are synced automatically from Transifex. It's enough to change the source.

@byt3sage
Copy link
Author

@kesselb Ah that makes sense! I've reverted these back now.

byt3sage and others added 23 commits December 13, 2024 09:14
…yt3sage/server into bug/oauth-instance-name-decoding-39956
…yt3sage/server into bug/oauth-instance-name-decoding-39956

Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…yt3sage/server into bug/oauth-instance-name-decoding-39956
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <github@belakkaf.net>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…ric one

Let the controller access the HintException and show the error to the user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
This fixes a regression that bad password returned 403 instead of 400
 because of previous changes.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
skjnldsv and others added 14 commits December 13, 2024 09:19
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…lete requests

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…lumns

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…oned queries

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…yt3sage/server into bug/oauth-instance-name-decoding-39956
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@kesselb
Copy link
Collaborator

kesselb commented Dec 27, 2024

cc @julien-nc

@kesselb
Copy link
Collaborator

kesselb commented Dec 27, 2024

Hi @byt3sage

Thank you, it appears that the last rebase went wrong. Could you please retry?

@susnux susnux added this to the Nextcloud 32 milestone Mar 2, 2025
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Instance name not decoded in the "OAuth 2.0-Clients" config menu