Skip to content

Bugfix/allow manual rename files with spaces#4454

Merged
allexzander merged 1 commit into
masterfrom
bugfix/allow-manual-rename-files-with-spaces
May 16, 2022
Merged

Bugfix/allow manual rename files with spaces#4454
allexzander merged 1 commit into
masterfrom
bugfix/allow-manual-rename-files-with-spaces

Conversation

@allexzander

@allexzander allexzander commented Apr 22, 2022

Copy link
Copy Markdown
Contributor

What's changed:

  • Do not remove leading and trailing spaces automatically
  • Allow manual renaming via dialog
  • Allow accepting leading and trailing spaces in files when uploading them for the first time
  • As a consequence - now, files and folders with leading/trailing spaces are correctly downloaded (this was broken when automatic renaming was introduced)

@allexzander allexzander force-pushed the bugfix/allow-manual-rename-files-with-spaces branch 6 times, most recently from 9eeac44 to 5141769 Compare May 4, 2022 08:06
@allexzander allexzander marked this pull request as ready for review May 4, 2022 08:11

@claucambra claucambra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Tested and works great!

Comment thread src/libsync/discovery.cpp Outdated
Comment thread src/libsync/syncengine.cpp Outdated
Comment thread src/libsync/discovery.cpp Outdated
Comment thread src/libsync/discovery.cpp Outdated
Comment thread test/testlocaldiscovery.cpp Outdated
Comment thread test/testlocaldiscovery.cpp Outdated
Comment thread test/testsyncvirtualfiles.cpp Outdated
Comment thread test/testsyncvirtualfiles.cpp Outdated
@allexzander

Copy link
Copy Markdown
Contributor Author

/backport to stable-3.5

@allexzander

Copy link
Copy Markdown
Contributor Author

@mgallien Have I answered your questions?

…ng invalid file name via the InvalidFileName dialog.

Signed-off-by: alex-z <blackslayer4@gmail.com>
@allexzander allexzander force-pushed the bugfix/allow-manual-rename-files-with-spaces branch from 139a3c2 to 53654b2 Compare May 16, 2022 15:07
@allexzander allexzander merged commit fc8bfdc into master May 16, 2022
@allexzander allexzander deleted the bugfix/allow-manual-rename-files-with-spaces branch May 16, 2022 15:08
@allexzander

Copy link
Copy Markdown
Contributor Author

/backport to stable-3.5

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mgallien mgallien added this to the 3.6.0 milestone May 16, 2022
@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: Nextcloud-PR-4454-53654b2a505ac2b6b56eac83b0a4696125f1c30e-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants