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

[stable28] fix(files): Correctly validate new node name #47035

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Aug 5, 2024

Backport of #46767

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested review from skjnldsv and susnux August 5, 2024 12:09
@backportbot backportbot bot added this to the Nextcloud 28.0.9 milestone Aug 5, 2024
@susnux susnux changed the title [stable28] [stable29] fix(files): Correctly validate new node name [stable28] fix(files): Correctly validate new node name Aug 5, 2024
@susnux susnux marked this pull request as ready for review August 21, 2024 00:08
@susnux susnux requested a review from Fenn-CS August 21, 2024 00:08
@skjnldsv
Copy link
Member

Restarted cypress, but failure looked suspiciously related

@skjnldsv
Copy link
Member

Failure related

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Aug 21, 2024
@DaphneMuller
Copy link

@skjnldsv what is the next step here?

@skjnldsv
Copy link
Member

@skjnldsv what is the next step here?

Fixing the tests 🤭🤭

@DaphneMuller
Copy link

@skjnldsv sorry I don't fully get what you mean. The reason I ask is because this is for a support ticket that is meeting the SLA soon. Can this please be merged? Or can you give me a date when it can to be merged? Or otherwise tell me a next step concretely (who does what when)

@susnux
Copy link
Contributor

susnux commented Aug 21, 2024

@DaphneMuller should be in next maintenance releases

@susnux
Copy link
Contributor

susnux commented Aug 21, 2024

drone is unrelated

@susnux susnux added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Aug 21, 2024
@susnux susnux disabled auto-merge August 21, 2024 15:15
* Resolves #45409

This includes two fixes:

1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming

2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux enabled auto-merge August 27, 2024 10:44
@susnux susnux merged commit 5ecccb9 into stable28 Aug 27, 2024
47 checks passed
@susnux susnux deleted the backport/46774/stable28 branch August 27, 2024 12:32
@blizzz blizzz mentioned this pull request Sep 4, 2024
1 task
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 bug feature: files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants