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

Display a message to upgrade client if minimumSupportedDesktopVersion is thrown #6273

Closed
solracsf opened this issue Dec 9, 2023 · 1 comment · Fixed by nextcloud/server#43281 or #6405
Assignees
Labels
enhancement enhancement of a already implemented feature/code 🍀 2024-Spring

Comments

@solracsf
Copy link
Member

solracsf commented Dec 9, 2023

How to use GitHub

  • Please use the 👍 reaction to show that you want to have the same feature implemented.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature description

When minimumSupportedDesktopVersion is set, it simply throws a 403 for unsupported clients.
Instead, a clear message should be displayed on the client stating that

This version of client is unsupported by the server. Minimum supported version is "{minimumSupportedDesktopVersion}". Please, upgrade your client.

or similar. This is much more user friendly than a simple 403 Forbidden.

https://github.com/nextcloud/server/blob/9964bcbfd576e3c0627f9c6bc662b3168d12a80b/config/config.sample.php#L1991-L2004

https://github.com/nextcloud/server/blob/9964bcbfd576e3c0627f9c6bc662b3168d12a80b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php#L56-L75

@solracsf solracsf added the enhancement enhancement of a already implemented feature/code label Dec 9, 2023
@camilasan camilasan self-assigned this Dec 11, 2023
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 📄 To do (max 2 entries / member) to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 📄 To do (max 2 entries / member) to 🏗️ In progress in 🤖 🍏 Clients team Jan 17, 2024
camilasan added a commit to nextcloud/server that referenced this issue Feb 2, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
camilasan added a commit to nextcloud/server that referenced this issue Feb 2, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
@camilasan
Copy link
Member

Desktop client PR: #6405
Server PR: nextcloud/server#43281

camilasan added a commit to nextcloud/server that referenced this issue Feb 6, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 🤖 🍏 Clients team Feb 7, 2024
camilasan added a commit to nextcloud/server that referenced this issue Feb 8, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
camilasan added a commit to nextcloud/server that referenced this issue Feb 8, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
camilasan added a commit to nextcloud/server that referenced this issue Feb 22, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
susnux pushed a commit to nextcloud/server that referenced this issue Sep 6, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
susnux pushed a commit to nextcloud/server that referenced this issue Sep 6, 2024
The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
See #nextcloud/desktop/issues/6273

Signed-off-by: Camila <[email protected]>
susnux pushed a commit to nextcloud/server that referenced this issue Sep 6, 2024
* The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
  See #nextcloud/desktop/issues/6273
* Update BlockLegacyClientPluginTest to reflect the new 403 error message.

Signed-off-by: Camila Ayres <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement of a already implemented feature/code 🍀 2024-Spring
Projects
Archived in project
3 participants