Skip to content

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

Merged
susnux merged 2 commits into
stable28from
backport/46774/stable28
Aug 27, 2024
Merged

[stable28] fix(files): Correctly validate new node name#47035
susnux merged 2 commits into
stable28from
backport/46774/stable28

Conversation

@backportbot

@backportbotbackportbotBot commented Aug 5, 2024

Copy link
Copy Markdown

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
backportbotBot requested review from skjnldsv and susnuxAugust 5, 2024 12:09
@backportbotbackportbotBot added this to the Nextcloud 28.0.9 milestone Aug 5, 2024
@susnuxsusnux changed the title [stable28] [stable29] fix(files): Correctly validate new node name[stable28] fix(files): Correctly validate new node nameAug 5, 2024
@susnux
susnuxforce-pushed the backport/46774/stable28 branch from 7f3b516 to c4ec230CompareAugust 21, 2024 00:08
@susnux
susnux marked this pull request as ready for review August 21, 2024 00:08
@susnux
susnux requested a review from nfebeAugust 21, 2024 00:08
@susnux
susnuxforce-pushed the backport/46774/stable28 branch from c4ec230 to 50a404cCompareAugust 21, 2024 00:13
@skjnldsv

Copy link
Copy Markdown
Member

Restarted cypress, but failure looked suspiciously related

@skjnldsv
skjnldsv enabled auto-merge August 21, 2024 07:58
@skjnldsv

Copy link
Copy Markdown
Member

Failure related

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

Copy link
Copy Markdown
Contributor

@skjnldsv what is the next step here?

@skjnldsv

Copy link
Copy Markdown
Member

@skjnldsv what is the next step here?

Fixing the tests 🤭🤭

@DaphneMuller

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

@DaphneMuller should be in next maintenance releases

@susnux
susnuxforce-pushed the backport/46774/stable28 branch from 50a404c to 27538b5CompareAugust 21, 2024 13:37
@susnux

Copy link
Copy Markdown
Contributor

drone is unrelated

@susnuxsusnux 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
susnuxforce-pushed the backport/46774/stable28 branch from 27538b5 to adbffd6CompareAugust 27, 2024 10:44
@susnux
susnux enabled auto-merge August 27, 2024 10:44
@susnux
susnux merged commit 5ecccb9 into stable28Aug 27, 2024
@susnux
susnux deleted the backport/46774/stable28 branch August 27, 2024 12:32
@blizzzblizzz mentioned this pull request Sep 4, 2024
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@skjnldsv@DaphneMuller@susnux@nfebe@AndyScherzinger