Skip to content

enh(files): Allow to copy files into same directory - #42889

Merged
skjnldsv merged 4 commits into
masterfrom
fix/copy-in-same-dir
Jan 20, 2024
Merged

enh(files): Allow to copy files into same directory#42889
skjnldsv merged 4 commits into
masterfrom
fix/copy-in-same-dir

Conversation

@susnux

@susnuxsusnux commented Jan 17, 2024

Copy link
Copy Markdown
Contributor

Summary

Bring back copy to current directory behavior which will clone the file and add a "copy" suffix on the file name.

Checklist

@susnux
susnuxforce-pushed the fix/copy-in-same-dir branch 3 times, most recently from 2034ea9 to d5427fcCompareJanuary 18, 2024 01:53
@susnux
susnux marked this pull request as ready for review January 18, 2024 11:25
Comment threadapps/files/src/actions/moveOrCopyAction.ts Outdated
Comment threadapps/files/src/actions/moveOrCopyAction.ts Outdated
Comment threadapps/files/src/actions/moveOrCopyAction.ts Outdated
@skjnldsvskjnldsv added the 3. to review Waiting for reviews label Jan 18, 2024
@susnux
susnuxforce-pushed the fix/copy-in-same-dir branch from d5427fc to 6a0d4d6CompareJanuary 18, 2024 17:27
@susnuxsusnux added this to the Nextcloud 29 milestone Jan 18, 2024
Comment threadapps/files/src/utils/fileUtils.ts

@emoral435emoral435 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs the file part and it LGTM!!

@susnux
susnuxforce-pushed the fix/copy-in-same-dir branch 2 times, most recently from ed6589c to 8d835e1CompareJanuary 19, 2024 19:26
@susnux

Copy link
Copy Markdown
ContributorAuthor

@emoral435 can you check again if that still happens for you?

@susnux
susnux requested a review from emoral435January 19, 2024 19:26

@emoral435emoral435 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked, and it works perfectly for me now :) sorry for being nitpicky!

@emoral435

Copy link
Copy Markdown
Contributor

@skjnldsv before we merge this in, it still says that you have requested changes. I'm 99% sure your fine with this, but just to make sure, all the changes now are fine by you, correct? :)

@skjnldsvskjnldsv removed the 3. to review Waiting for reviews label Jan 20, 2024
@skjnldsvskjnldsv added the 4. to release Ready to be released and/or waiting for tests to finish label Jan 20, 2024
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…py-move-action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux enabled auto-merge January 20, 2024 14:42
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the fix/copy-in-same-dir branch from 8d835e1 to 81925a7CompareJanuary 20, 2024 14:45
@skjnldsv

Copy link
Copy Markdown
Member

/backport eaad30cb29c0cca289fdd to stable28

@skjnldsv
skjnldsv disabled auto-merge January 20, 2024 15:04
@skjnldsv
skjnldsv merged commit 87ae14e into masterJan 20, 2024
@skjnldsv
skjnldsv deleted the fix/copy-in-same-dir branch January 20, 2024 15:05
@blizzzblizzz mentioned this pull request Mar 5, 2024
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: filesregression

Projects

None yet

4 participants

@susnux@emoral435@skjnldsv@artonge