Commit graph

504 commits

Author SHA1 Message Date
tibbi
81e584a42b do not filter out Phone Storage by default 2018-05-09 15:46:01 +02:00
tibbi
e39044087b adding colored launcher icons 2018-05-09 15:35:16 +02:00
tibbi
ba76c18bbe add an activity check at SelectContacts adapter 2018-05-09 15:08:07 +02:00
tibbi
2a6af180eb update commons to 3.21.2 2018-05-01 15:16:58 +02:00
tibbi
f9e3854099 do not store the visible contact sources, store the ignored ones instead 2018-05-01 10:39:35 +02:00
tibbi
22a4cca1fe add a helper function for getting contact sources synchronously 2018-04-30 23:41:46 +02:00
tibbi
24248699bc update commons to 3.20.9 2018-04-30 23:23:25 +02:00
tibbi
3fb66174f1 allow changing the contact source at the edit screen 2018-04-30 22:42:47 +02:00
tibbi
98ea4ac020 measure side fastscroller if items change 2018-04-30 20:21:06 +02:00
tibbi
28dd320b9e adding a toggle for optional duplicate contact filtering, enabled by default 2018-04-30 20:13:22 +02:00
tibbi
23aa17df6f make duplicate contact filtering more agressive by ignoring some fields 2018-04-30 16:07:45 +02:00
tibbi
c707ffceec do not use the raw_contact_id at fetching group members 2018-04-30 15:09:06 +02:00
tibbi
fbc1fd6034 use batching at contact deleting 2018-04-30 14:58:18 +02:00
tibbi
4ccf328037 fetch only those contacts that will be shown, not filtered out 2018-04-30 14:43:46 +02:00
tibbi
cd4fceba1b use batching at contact deleting 2018-04-30 11:57:10 +02:00
tibbi
09298c9dde fix #135, delete carddav contacts from RawContacts table 2018-04-30 10:22:48 +02:00
tibbi
d2ce5f2772 do not add even an empty contact organization, if none was set 2018-04-29 22:52:43 +02:00
tibbi
763b04faa3 try being smarter at showing distinct contacts, dont check just contact id 2018-04-29 22:07:41 +02:00
tibbi
e7ee92b8c7 use a shorter version of Contacts authority constant 2018-04-29 19:39:32 +02:00
tibbi
5cb9f886b6 fix #112, change the way device accounts are fetched 2018-04-29 19:22:39 +02:00
tibbi
ae9edf819e fix #155, add an Open With button at the Edit screen too 2018-04-29 10:44:14 +02:00
tibbi
8cc0cb4a58 add an Open With menu button to contacts 2018-04-29 10:32:18 +02:00
tibbi
6d7e28a3b6 update commons to 3.20.5 with some new icons 2018-04-29 09:59:00 +02:00
tibbi
0031be51fb show a toast if the user tries toggling Favorite at the View screen 2018-04-27 09:46:54 +02:00
tibbi
a3f3cc5fbe create a copy of contact items at updating them 2018-04-26 21:32:16 +02:00
tibbi
cf7bc3b13c update primary color at Search selection if it changes 2018-04-18 20:23:28 +02:00
tibbi
d9133ca5b6 highlight the searched string at contacts 2018-04-18 20:05:18 +02:00
tibbi
a035b21c01 fix #137, allow sending SMS and emails to whole groups 2018-04-18 15:50:37 +02:00
tibbi
387030e50e show the batch sending icons at the Group screen too 2018-04-18 15:34:16 +02:00
tibbi
a095dc1983 allow sending batch SMS or emails 2018-04-18 15:21:21 +02:00
tibbi
e572ecb678 fix #142, make address field multiline 2018-04-18 11:04:34 +02:00
tibbi
9649afac98 sort groups on the groups picker alphabetically 2018-04-14 19:14:04 +02:00
tibbi
25d48ba08c parse a couple additional fields from WhatsApp Add Contact intent 2018-04-13 20:13:04 +02:00
tibbi
401f0aed6e fix #125, parse a couple more contact details from WhatsApp intent 2018-04-13 19:14:47 +02:00
tibbi
1cb0d1b1bd making phone key nullable at Edit screen 2018-04-13 15:25:59 +02:00
tibbi
de864f362c fix exporting contacts on sd cards 2018-04-13 15:01:29 +02:00
tibbi
b7d7eb5e8a handle contact website import/export 2018-04-13 14:53:19 +02:00
tibbi
cf15832dce add Website handling to the local database 2018-04-13 14:38:52 +02:00
tibbi
4962a955e5 handle website at contact update/insert 2018-04-13 14:23:35 +02:00
tibbi
97bd5dacef add websites to the Edit screen too 2018-04-13 13:46:31 +02:00
tibbi
2fca861fc6 add websites to the list of available fields 2018-04-13 12:27:52 +02:00
tibbi
8aadcb04c1 small code cleanup at the ViewContactActivity 2018-04-13 12:19:02 +02:00
tibbi
54df14442d add website to the View screen 2018-04-13 12:14:26 +02:00
tibbi
5b55467691 fetch contact websites 2018-04-13 11:51:58 +02:00
tibbi
3b7b74b074 fix some null pointer crashes 2018-04-13 11:07:23 +02:00
tibbi
4f97fce695 fix #123, show the business as contact name if only that is filled 2018-04-10 22:55:13 +02:00
tibbi
8c0ca77ed2 fix #124, properly use "Start name with surname" 2018-04-10 22:11:00 +02:00
tibbi
e999c3a275 try parsing contact name from Insert intent, related to #125 2018-04-10 22:07:41 +02:00
tibbi
82ca892e25 catch exceptions thrown at getting default thumbnail size 2018-04-10 21:24:50 +02:00
tibbi
049c3a5361 updating release notes 2018-04-08 18:37:58 +02:00
tibbi
c03c7fff39 do not refetch contacts before sharing 2018-04-08 18:23:36 +02:00
tibbi
510da6b140 make sure only the proper fields are shown at Edit Contact screen 2018-04-08 17:44:23 +02:00
tibbi
d94dbde48e make sure View Contact Details shows only the proper fields 2018-04-08 16:07:46 +02:00
tibbi
acd3f9f9d9 creating the dialog for managing visible contact fields 2018-04-08 15:06:21 +02:00
tibbi
c86bdd379f add some initial things related to filtering what fields should be visible 2018-04-08 14:23:57 +02:00
tibbi
2c7f651191 fix sorting in case of same first name 2018-04-08 13:59:19 +02:00
tibbi
4fde91ae47 limit batch group at adding/removing contacts from groups 2018-04-08 13:03:56 +02:00
tibbi
37bfe59226 reuse the same gson instance in whole DBHelper 2018-04-08 12:53:43 +02:00
tibbi
2d2a42d9bc avoid creating gson tokens at every local contact 2018-04-08 12:30:27 +02:00
tibbi
f25e953cd4 avoid fetching contacts multiple times at once 2018-04-08 12:24:06 +02:00
tibbi
9089edf04c avoid seeing duplicate import dialog at third party file opening 2018-04-08 12:12:30 +02:00
tibbi
d6f8bd43bf handle prefix/suffix/organization exporting/importing 2018-04-08 12:05:34 +02:00
tibbi
fea917e41c add prefix/suffix/organization to contacts stored locally 2018-04-08 11:38:15 +02:00
tibbi
bde0ad34ea make sure Search checks contact organization too 2018-04-08 11:36:51 +02:00
tibbi
d5c9d32f86 handle null address 2018-04-08 10:51:58 +02:00
tibbi
3cfbe5f776 allow modifying contact prefix and suffix 2018-04-07 17:45:38 +02:00
tibbi
4ec6142547 display contact prefix and suffix 2018-04-07 17:07:22 +02:00
tibbi
30a3249159 setup organization data at Edit 2018-04-07 16:17:25 +02:00
tibbi
cb2e491f65 split organizations into company and job title 2018-04-07 16:04:06 +02:00
tibbi
4b6a27db06 add some strings related to managing visible fields 2018-04-06 23:51:59 +02:00
tibbi
f3e86cf582 display contact organization on the View Details screen 2018-04-06 23:20:14 +02:00
tibbi
dbd3bec690 fetch the user Organization field 2018-04-06 23:10:20 +02:00
tibbi
25c9abb92d adding a couple checks of contacts permissions 2018-04-06 22:32:58 +02:00
tibbi
d3c87e241c fix #111, just dial the phone number if Phone permission is not granted 2018-04-06 21:33:28 +02:00
tibbi
6695bf4f77 require Contacts permission at third party intents 2018-04-06 21:28:09 +02:00
tibbi
bd83bd5643 more improvements related to using the app without the Contacts permission 2018-04-06 20:58:22 +02:00
tibbi
e05f48b425 fix #110, allow launching the app without granting Contacts permission 2018-04-06 18:51:21 +02:00
tibbi
764de9c858 make sure we handle phone number at some intents properly on older devices too 2018-04-06 18:29:48 +02:00
tibbi
4cbe122672 delete contacts on a background thread 2018-04-06 18:18:27 +02:00
tibbi
9527def540 update commons to 3.18.9 2018-04-06 17:54:43 +02:00
tibbi
de5b0f6825 hide Search, Sort and Filter menu buttons on Groups tab 2018-03-21 22:44:45 +01:00
tibbi
00eef4cce4 avoid pressing Plus at the group contacts to fix some glitches 2018-03-21 22:01:20 +01:00
tibbi
418e9de54f fix #91, properly handle third party intent with Phone mimetype 2018-03-21 21:23:12 +01:00
tibbi
615b70be71 show an error if Sharing fails 2018-03-21 20:53:38 +01:00
tibbi
0b432224c1 show Phone Storage if nothing else shows up, should fix #80 2018-03-21 20:42:01 +01:00
tibbi
abbeb218b8 handle adding and removing secret contacts to/from groups 2018-03-21 19:51:06 +01:00
tibbi
6eade329d6 add helper functions to handle contact adding and removing from groups 2018-03-21 19:20:55 +01:00
tibbi
cf4b7ca9c5 allow storing groups at contacts stored in a local database 2018-03-21 18:49:28 +01:00
tibbi
1797f17f31 minor cleanup to remove unnecessary indentation 2018-03-21 18:27:25 +01:00
tibbi
f9fb62366b properly refresh View Contact screen on resume 2018-03-21 18:21:16 +01:00
tibbi
bd8dffb549 allow renaming local private groups 2018-03-21 18:07:05 +01:00
tibbi
30a7c1770d handle showing and deleting local private groups 2018-03-21 17:51:13 +01:00
tibbi
b28e85727d fix local database group inserting 2018-03-21 17:40:51 +01:00
tibbi
30d21625bf create some db helper functions with working with groups 2018-03-21 17:27:40 +01:00
tibbi
86802dbbac add a Groups table to the local database 2018-03-21 17:05:14 +01:00
tibbi
5076c11a21 add secret phone storage account at group destination too 2018-03-21 14:14:14 +01:00
tibbi
79d9e2045b automatically choose the first group account, if only one is available 2018-03-21 12:34:36 +01:00
tibbi
ac058c4e7b allow selecting under which account should the contact group be created 2018-03-21 10:41:09 +01:00
tibbi
7edb2de918 make sure newly created groups are visible in other apps too 2018-03-20 23:34:48 +01:00
tibbi
39921fc66d accept groups with null system_id in some cases 2018-03-20 23:28:00 +01:00
tibbi
f1b59aee27 do not apply the Contact Sources filter on GroupsFragment 2018-03-20 23:27:24 +01:00
tibbi
d583a457ff allow creating a brand new group at selecting target group 2018-03-20 21:30:31 +01:00
tibbi
5ee383af74 allow batch adding contacts to groups 2018-03-20 21:27:23 +01:00
tibbi
cd1a493ea8 add a new menu item for adding selected contacts to a group 2018-03-20 20:13:51 +01:00
tibbi
c93cc3bd85 allow renaming groups after long pressing them 2018-03-20 20:05:48 +01:00
tibbi
244955e333 properly update Groups tab whenever necessary 2018-03-20 19:10:03 +01:00
tibbi
d2daf6efdb make GroupsFragment inherit from MyViewPagerFragment too 2018-03-20 17:30:13 +01:00
tibbi
1e49b8e019 add a placeholder at GroupContacts activity too 2018-03-20 16:46:39 +01:00
tibbi
0b3acdf518 show groups placeholder at Groups tab, if necessary 2018-03-20 16:28:20 +01:00
tibbi
c572a83bb1 refresh GroupContactsActivity on resume 2018-03-20 15:34:36 +01:00
tibbi
6d4f9912fd allow removing contacts from groups by long pressing them and selecting Remove 2018-03-20 15:13:49 +01:00
tibbi
40f1fc82dd use contact_id instead of raw_contact_id at contact deleting too 2018-03-20 14:55:33 +01:00
tibbi
aed1147e9f use contact_id instead of raw_contact_id at deleting contacts from groups 2018-03-20 14:50:52 +01:00
tibbi
67cf029e91 tweak deleting contacts from groups a bit 2018-03-20 14:24:14 +01:00
tibbi
4fca6ce711 handle batch removing contacts from groups 2018-03-20 12:22:40 +01:00
tibbi
911cd99703 handle batch adding contacts to a group 2018-03-20 11:16:48 +01:00
tibbi
5e585eec71 provide contacts to show at SelectContactsDialog explicitly 2018-03-20 10:54:35 +01:00
tibbi
ce917560da clean up SelectContactsDialog 2018-03-20 10:34:46 +01:00
tibbi
e60fa65eef handle Favorite items modification in FavoritesFragment itself 2018-03-20 10:02:07 +01:00
tibbi
3c413347d6 make ContactsAdapter more dynamic, use it at Group Contacts 2018-03-19 23:40:33 +01:00
tibbi
f4767421a8 list proper contacts at the GroupContacts activity 2018-03-19 22:22:23 +01:00
tibbi
2ce2b38ee1 lets create a new activity for displaying group contacts 2018-03-19 22:06:48 +01:00
tibbi
45c0edc177 get a list of contacts belonging to the clicked group 2018-03-19 21:39:10 +01:00
tibbi
20f9e7ea4d implement contact group deleting 2018-03-19 20:42:11 +01:00
tibbi
39810e46dc avoid removing contacts from Favorites at modifying groups 2018-03-19 20:34:41 +01:00
tibbi
e33fe588c2 add a couple more functions in FragmentInterface 2018-03-19 19:22:59 +01:00
tibbi
6e77d3cd51 allow creating new contact groups by pressing the FAB 2018-03-19 17:18:38 +01:00
tibbi
25b8babc17 sort groups by title alphabetically 2018-03-19 17:18:17 +01:00
tibbi
796cb13c9c populate Groups tab with the contact groups 2018-03-19 16:44:03 +01:00
tibbi
707f3ee4a0 handle counting group members 2018-03-19 15:30:57 +01:00
tibbi
6abbd15328 move refreshContacts a bit up 2018-03-19 11:54:47 +01:00
tibbi
53b0632edd fetch contacts at app startup only once 2018-03-19 11:53:20 +01:00
tibbi
f74376e8ac create an interface for all fragments 2018-03-19 10:11:58 +01:00
tibbi
4294228bfd add a helper function for deleting a contact group 2018-03-18 20:40:55 +01:00
tibbi
c3a148282f implement new group creation 2018-03-18 19:33:54 +01:00
tibbi
6750512f11 properly handle contact groups at editing, or inserting a new one 2018-03-18 17:57:43 +01:00
tibbi
9d9495ea80 properly update contact groups after modifying them 2018-03-18 17:33:43 +01:00
tibbi
b31e7b0086 implement a Group picker dialog 2018-03-18 16:57:50 +01:00
tibbi
27855ca574 show only contact groups where System_ID is null 2018-03-18 11:52:14 +01:00
tibbi
8ad98e7c12 adding a Groups field at Edit Contact Activity 2018-03-18 11:08:01 +01:00
tibbi
dbad01e1fc ignore the default and Favorites group 2018-03-16 23:47:57 +01:00
tibbi
0b2f6e8f04 list contact groups at the View screen 2018-03-16 23:24:52 +01:00
tibbi
20a333071e add a Groups field to contacts 2018-03-16 22:56:13 +01:00
tibbi
32e7eadbb3 add some helper functions for querying device and contact groups 2018-03-16 20:40:57 +01:00
tibbi
93edf90d51 adding a tab for Groups 2018-03-16 20:23:15 +01:00
tibbi
4bd4513ad9 fix #82, allow pressing phone number, email, address on the View screen 2018-03-16 13:33:03 +01:00
tibbi
1165550ef4 fix #81, improve contact handling by lookup key 2018-03-16 13:11:47 +01:00
tibbi
54396d4bd3 update commons to 3.16.10 2018-03-16 10:05:17 +01:00
tibbi
e2d555e300 make the fragments nullable in main activity 2018-03-16 10:03:12 +01:00
tibbi
1dd37336f7 add an extra check to avoid saving null contact 2018-03-16 09:58:53 +01:00