Conversation
|
@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PVince81, @tomneedham and @blizzz to be potential reviewers. |
|
Also it seems the autocomplete for e-mail addresses is broken. So I disabled it for now. @nickvergessen we can't just search by e-mail on the sharee api right? |
I don't think so, because the "email address style" is actually a remote share, right? cc @schiessle |
|
@MorrisJobke it just sends the link from the link share field.
we can make it do so. As far as I can see it just looks into the contacts app for remote users atm. |
|
@nickvergessen yeah it looks trough all the contacts for e-mail completion it seems. Would be nice if we could add that. I guess we could abuse the SHARE_TYPE_EMAIL for that. Bjorn might also use that in his share by email PR. But searching there is the same I'd say. |
92788cc to
5ce02d1
Compare
Yeah! Thanks a lot @rullzer :) |
core/js/shareitemmodel.js
Outdated
| dataType: 'json' | ||
| }). fail(function(xhr) { | ||
| // FIXME: a model should not show dialogs | ||
| OC.dialogs.alert(t('core', result.data.message), t('core', 'Warning')); |
There was a problem hiding this comment.
Where is the result coming from?
core/js/shareitemmodel.js
Outdated
| } | ||
| ); | ||
| dataType: 'json' | ||
| }). fail(function(xhr) { |
There was a problem hiding this comment.
Maybe the xhr should be named result? 😉
5ce02d1 to
578ac48
Compare
Current coverage is 57.78% (diff: 0.00%)@@ master #1801 diff @@
==========================================
Files 1076 1076
Lines 61306 61854 +548
Methods 6871 7020 +149
Messages 0 0
Branches 0 0
==========================================
+ Hits 35264 35742 +478
- Misses 26042 26112 +70
Partials 0 0
|
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
578ac48 to
b7046d3
Compare
|
Ok lets close this in favor of #1916 |
Fixes #1277
Currently we use the mailer as is. Which is not really testable. But I want a working version in sooner rather than later.
CC: @MorrisJobke @nickvergessen @LukasReschke @icewind1991