Skip to content

Autocomplete nextcloud groups #41#800

Closed
myrho wants to merge 6 commits into
nextcloud:masterfrom
myrho:autocomplete-groups
Closed

Autocomplete nextcloud groups #41#800
myrho wants to merge 6 commits into
nextcloud:masterfrom
myrho:autocomplete-groups

Conversation

@myrho

@myrho myrho commented Feb 23, 2018

Copy link
Copy Markdown
Collaborator

Autocomplete nextcloud groups in recipient fields

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good so far!

Please fix the coding style by using spaces instead of tabs and revert the file permission changes, e.g. of

appinfo/app.php 100755 → 100644

Comment thread lib/Service/GroupsIntegration.php Outdated
'value' => $g->getDisplayName(),
'photo' => null,
];
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indentation is off

->getMock();

$this->service = new AutoCompleteService($this->contactsIntegration,
$this->groupsIntegration,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indentation

$john,
];

$groupsResult = [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indentation

Comment thread tests/Service/GroupsIntegrationTest.php Outdated
public function testGetMatchingGroups() {
$term = 'te'; // searching for: John Doe
$searchResult = [
$this->createTestGroup('testgroup', 'first test group'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indentation

->with($term)
->will($this->returnValue($searchResult));

$expected = [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indentation

@myrho myrho force-pushed the autocomplete-groups branch from 8344ad1 to e10a2a9 Compare February 23, 2018 13:38
@myrho

myrho commented Feb 23, 2018

Copy link
Copy Markdown
Collaborator Author

fixed indentation and file permissions via forced push (hope that worked).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants