Commit Graph

80 Commits

Author SHA1 Message Date
John Molakvoæ (skjnldsv) 1a41481649
Only select nearest contact if not in the list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-11-21 16:00:06 +01:00
John Molakvoæ (skjnldsv) d76ab802dd
Do not select nearest contact on enable and fetch contacts if ab is not synced
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-11-21 15:55:06 +01:00
John Molakvoæ 9574097117
Enabling function
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2017-11-21 15:55:06 +01:00
John Molakvoæ 162f4a9984
Update and delete function addition
Cleanup old unproper function

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-11-21 15:55:05 +01:00
Alexander Weidinger 2987b07a1b Select first contact after import if available. 2017-09-30 19:41:31 +02:00
Alexander Weidinger 201199e20e Add getFullContacts and update to ObserverCallback. 2017-09-30 11:16:55 +02:00
Alexander Weidinger 48f4215d23 Leave callback handler without action for unknown events. 2017-09-22 17:27:55 +02:00
Alexander Weidinger 5f9a465eb8 Always refresh contactList. 2017-09-21 15:34:34 +02:00
John Molakvoæ (skjnldsv) 06afa87550
Fix angular ngrepeat error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-15 17:01:29 +02:00
John Molakvoæ (skjnldsv) 24eb555926
Initial fix and understandable var names
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-15 16:58:21 +02:00
John Molakvoæ (skjnldsv) 5c343999e4
Fix contact list and contact iteration function
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-13 22:39:54 +02:00
John Molakvoæ (skjnldsv) 4e0acaa0a6
Round higher
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-25 04:58:07 +02:00
John Molakvoæ (skjnldsv) 3ea9002268
Get corrects contacts on scroll
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-25 04:49:42 +02:00
John Molakvoæ (skjnldsv) 3ead292583
Fix lazy loading Addressbooks data retrieval
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-24 20:43:57 +02:00
John Molakvoæ (skjnldsv) 5c8fef6b94
Rename getFirstContact to selectNearestContact for better readability
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-21 16:00:24 +02:00
John Molakvoæ (skjnldsv) d9626f819e
Timeout syntax fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-21 15:58:21 +02:00
John Molakvoæ (skjnldsv) 59ef2d619c
Update contacts list after deletion and switch to nearest contact
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-20 17:47:08 +02:00
John Molakvoæ (skjnldsv) d94ba8c7c0
Syntax fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-20 17:16:39 +02:00
John Molakvoæ (skjnldsv) 91356a9708
Addressbook deletion callback notify
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-20 17:16:39 +02:00
John Molakvoæ (skjnldsv) 1374491541
Fix digest loop if no contacts in list before import
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-15 08:56:31 +02:00
John Molakvoæ (skjnldsv) 6a50ae4486
Import service, screen and design
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-13 19:51:30 +02:00
John Molakvoæ (skjnldsv) 5aed74a5c8
Do not switch contact until import is over
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-08-09 15:15:09 +02:00
Jan-Christoph Borchardt 482d57ab9a Merge pull request #173 from nextcloud/contactsmenu-integration
Add contacts menu integration
2017-04-26 01:31:53 +02:00
Alexander Weidinger 013423e271 Fix contacts always showing first contact. 2017-04-24 22:27:08 +02:00
Daniel Landau e628a7362c Do load the first contact on desktop
Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:53:44 +02:00
Daniel Landau 203994b140 Defend against missing contacts
Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:53:44 +02:00
Daniel Landau 953a3dcb7c Update comment
Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:53:44 +02:00
Daniel Landau 028df62242 Get images as needed for visible rows
Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:53:44 +02:00
Daniel Landau b01ee95aae Limit the amount of contacts that are rendered at once
If we render the whole thing at once, the browser hangs. This way we can
render the beginning of the list and the user can start to either scroll
or search for better results.

Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:52:14 +02:00
Daniel Landau 5c5f3e8930 Never automatically load first contact
It's a really heavy operation that hangs the browser

Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:49:28 +02:00
Daniel Landau 7643e81856 Show contact count in left sidebar (fixes #17)
Signed-off-by: Daniel Landau <daniel@landau.fi>
2017-03-16 21:49:28 +02:00
Jury Verrigni 6529a8e9d4 Added sort functionality (visible in settings, bottom left) (#569)
* Added sort functionality (visible in settings, bottom left)

* Fallback to fullName if the sort criteria is not set within the contact; displayName is now the default sort criteria

* Changing display name based on sort order; sorting takes both first and second name in consideration
2017-02-07 00:25:11 +01:00
skjnldsv 8d05ceb9c9 Bigger add symbol and button translation fix 2016-09-03 16:30:24 +02:00
Thomas Müller 4bd9608d8e Move button to the side bar - fixes #483 (#493) 2016-08-22 22:09:24 +02:00
Julius Haertl 35160f520f
Add number of displayed contacts to the bottom of the contact list 2016-07-25 21:14:02 +02:00
Thomas Müller 246dc972c4
In case there is not fullName we use the company name - fixes #335 2016-04-15 11:50:52 +02:00
skjnldsv 8ae33decfe Improved code 2016-04-10 21:20:22 +02:00
skjnldsv 6498f49ab9 Hide the Add Contact button if we've got an invalid contact 2016-04-10 21:20:22 +02:00
John Molakvoæ f4602b37c1 Fix error loading page when no contacts 2016-04-08 10:08:55 +02:00
John Molakvoæ 74ff3b5339 First contact load fix, group load and order (fix #312)
Fixed direct link to contact and invalid contact access in group (fix #318)
Fixed page loading with invalid group
Fix mobile merge and group contact load issue
2016-04-05 16:25:16 +02:00
Jan-Christoph Borchardt 4d85245bd4 Add mobile style from Mail app, ref #36
- Maximise the field width and align delete icons
- Added back button
- Don't load first contact when mobile layout
- Hide the contact list when showing contact details
2016-04-03 12:32:21 +02:00
Hendrik Leppelsack 54a368a172 Merge pull request #232 from owncloud/fix-not-grouped
Fix 'Not grouped' as default group when selected 'Not grouped'.
2016-03-20 16:34:11 +01:00
Hendrik Leppelsack dd9fb19fc8 Merge pull request #236 from owncloud/remove-globals
Remove globals and warn for unused variables
2016-03-20 16:33:53 +01:00
Alexander Weidinger 5fd1026ab5 Update uid if no contact in group. 2016-03-19 17:35:53 +01:00
irgendwie 411155bc54 Load first contact on initial load. 2016-03-19 17:35:47 +01:00
Hendrik Leppelsack 65e2348b14 remove globals and warn for unused variables 2016-03-19 12:05:38 +01:00
Alexander Weidinger 5b116bba2f Fix 'Not grouped' as default group when selected 'Not grouped'. 2016-03-18 16:02:24 +01:00
Hendrik Leppelsack 29ca857710 fix active contact 2016-03-17 18:07:39 +01:00
Tom Needham 2669b4470c Show loading spinners whilst retriving data 2016-03-17 16:49:27 +01:00
Alexander Weidinger aa94057e33 Fix localization. 2016-03-17 15:03:52 +01:00