Skip to content

[stable8.1] Add option to disable autocomplete in share dialog - #18353

Merged
MorrisJobke merged 1 commit into
stable8.1from
backport-block-autocomplete
Aug 19, 2015
Merged

MorrisJobke merged 1 commit into
stable8.1from
backport-block-autocomplete

Conversation

@MorrisJobke

Copy link
Copy Markdown
Contributor

The master version of this was closed, because the sharing dialog is reworked and should use the OCS API in the future. As this is too much stuff to backport, I ported the previous implementation of this to stable8.1.

@karlitschek Please approve this.

How to test

  • add user "test" with displayname "foo"
  • disable the setting in the sharing settings on the admin page
  • go to the sharing dialog
  • try to share something to "tes" -> nothing shown
  • try to share something to "test" -> "foo" shown
  • try to share something to "tesT" -> "foo" shown
  • try to share something to "fo" -> nothing shown
  • try to share something to "food" -> nothing shown
  • try to share something to "foo" -> "foo" shown
  • try to share something to "Foo" -> "foo" shown

@Xenopathic Can you have a look at the wording of the Web UI config setting?

@nickvergessen @PVince81 @felixboehm Please have a look and review

cc @cdamken It was your request

Comment thread core/ajax/share.php

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.

app could be files_sharing? This is also where the OCS endpoint is going to live

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.

I think the reason it was "core" is because this setting would not only affect file sharing but also calendar, contact sharing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just used the same config option like all other sharing related options. Otherwise I need to write a lot more code to save this setting.

@karlitschek

Copy link
Copy Markdown
Contributor

makes sense as a backport/stable solution 👍

@ghost

ghost commented Aug 17, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

@nickvergessen @PVince81 Please review this

@PVince81

Copy link
Copy Markdown
Contributor

👍 works

MorrisJobke added a commit that referenced this pull request Aug 19, 2015
[stable8.1] Add option to disable autocomplete in share dialog
@MorrisJobke
MorrisJobke merged commit 174c4e3 into stable8.1 Aug 19, 2015
@MorrisJobke
MorrisJobke deleted the backport-block-autocomplete branch August 19, 2015 14:16
@MorrisJobke

Copy link
Copy Markdown
Contributor Author

cc @foobarable

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

@cmonteroluque @nickvergessen Because #18236 was delayed to 9.0 we need to port this to master (8.2), right?

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Updated link, because it was the wrong paste

@nickvergessen

Copy link
Copy Markdown
Contributor

That is what #18352 took care of

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

That is what #18352 took care of

Yes, but it is not used in the share drop down in 8.2

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Yes, but it is not used in the share drop down in 8.2

I just checked and it works in master. I just thought that the new code isn't used yet. Nevermind. It works. Thanks :)

@nickvergessen

Copy link
Copy Markdown
Contributor

Well the PR added it to both, first commit was only your commit, second commit was "respect it in the OCS call"

@ghost

ghost commented Sep 24, 2015

Copy link
Copy Markdown

thanks @MorrisJobke

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants