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

Only autorename uploads on paste #4539

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

PVince81
Copy link
Member

@PVince81 PVince81 commented Nov 5, 2020

There was a mix up of handlers that made all uploads be automatically
renamed.

This properly rewires the handlers to only autorename whenever the event
was a paste.

Tested

  • drag and drop: no rename
  • upload button: no rename
  • paste: autorename!

There was a mix up of handlers that made all uploads be automatically
renamed.

This properly rewires the handlers to only autorename whenever the event
was a paste.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 added this to the 💚 Next Major (21) milestone Nov 5, 2020
@PVince81 PVince81 self-assigned this Nov 5, 2020
Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

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

Tested and works 👍

@PVince81 PVince81 merged commit a740b4e into master Nov 6, 2020
@PVince81 PVince81 deleted the bugfix/noid/preview-rename-only-on-paste branch November 6, 2020 09:04
@nickvergessen nickvergessen mentioned this pull request Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants