Uh oh!
There was an error while loading. Please reload this page.
sharedWithDisplayName & sharedWithAvatar - #5280
Conversation
mention-bot
commented
Jun 7, 2017
@daita, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rullzer, @blizzz and @schiessle to be potential reviewers. |
ArtificialOwl
commented
Jun 7, 2017
This PR fix nextcloud/circles#78 and allow Circles to display its own avatar |
LukasReschke
left a comment
There was a problem hiding this comment.
Can I haz some unit tests on the new functions in Share.php? 😇
| * Set the display name of the receiver of this share. | ||
| * | ||
| * @param string $displayName | ||
| * @return \OCP\Share\IShare The modified object |
There was a problem hiding this comment.
I don't think we want to backport this 🙈
There was a problem hiding this comment.
Why is wrong on having this on 12.0.1 ?
There was a problem hiding this comment.
We only backport serious bug fixes usually 😄
ArtificialOwl
commented
Jul 6, 2017
you know have few tests @LukasReschke |
| public function setSharedWithAvatar($src); | ||
| /** | ||
| * Get the display name of the receiver of this share. |
MorrisJobke
commented
Dec 8, 2017
@daita Should we try to get this in 13 or is 14 fine? |
ArtificialOwl
commented
Dec 8, 2017
14 is fine |
a5568fe to
a5b1357CompareMorrisJobke
commented
Mar 7, 2018
Rebased on current master, squashed some commits and updated the |
MorrisJobke
commented
Mar 7, 2018
cc @nextcloud/sharing |
schiessle
commented
Mar 28, 2018
I just tried it... but no avatars. Maybe something got lost during the rebase? |
MorrisJobke
commented
Apr 3, 2018
@daita Also there is another merge conflict :( |
MorrisJobke
commented
Apr 3, 2018
a5b1357 to
836ac8eCompareCodecov Report
@@ Coverage Diff @@## master #5280 +/- ##
============================================
+ Coverage 51.69% 51.71% +0.02% - Complexity 25744 25751 +7
============================================
Files 1643 1643 Lines 96506 96536 +30 Branches 1393 1396 +3 ============================================
+ Hits 49888 49928 +40 + Misses 46618 46608 -10
|
danxuliu
commented
Apr 17, 2018
I have rebased again and fixed the conflict; now the display name provided by the circle share is used and, if none is given, then the old code to extract it from
I have fixed that too; avatars were not shown in the list due to ed4b445, as since that commit Note, however, that the default avatar is still shown in the share dialog; showing the circle avatar there would require adding it in the Circles app and then using it from the dialog. |
danxuliu
commented
Apr 17, 2018
Oops, tests are failing :-) I will fix them. |
Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
836ac8e to
4f5814cComparedanxuliu
commented
May 20, 2018
I forgot to push... 🤦 Anyway, I made a good use of my slip by adding more unit tests ;-) I have also rebased the commits onto current master. This pull request should be ready for review again! |

Add displayName and Avatatar to IShare.