Commit graph

208 commits

Author SHA1 Message Date
tibbi
d2d5f306e2 adding some null checks 2018-01-23 21:16:58 +01:00
tibbi
2606456255 catch and report errors thrown at obtaining phone numbers and emails 2018-01-23 21:15:23 +01:00
tibbi
71d40b0e08 ignore phone number entries without a number 2018-01-23 21:13:12 +01:00
tibbi
83418936f5 fix #4, properly import contacts exported from Thunderbird 2018-01-23 21:04:13 +01:00
tibbi
d59f2277ab allow empty account name at contact fetching 2018-01-23 20:40:02 +01:00
tibbi
a916827b47 show the empty placeholder if search gives no results 2018-01-23 20:38:21 +01:00
tibbi
13f5fbc859 allow sharing multiple handpicked contacts at once 2018-01-15 23:49:03 +01:00
tibbi
dc308a94dc allow sharing a contact via creating a vcf file 2018-01-15 23:42:03 +01:00
tibbi
d17ec1ff4f handle importing contacts via opening vcf file intent 2018-01-15 23:19:16 +01:00
tibbi
eefb6a1dab handle exporting base64 encoded contact images 2018-01-15 22:09:30 +01:00
tibbi
f729b0de6a move the Inserting... toast to ContactActivity 2018-01-15 21:47:21 +01:00
tibbi
bd13b59e36 redraw the contacts list after changing the filters 2018-01-15 20:54:37 +01:00
tibbi
135240564f add thumbnailUri to the contact model 2018-01-15 20:41:04 +01:00
tibbi
052e17bed6 create a vcf file contacts exporter 2018-01-15 18:12:09 +01:00
tibbi
ca463d056b creating the structure of contact exporting 2018-01-15 16:18:19 +01:00
tibbi
04b345e0ac create the Export Contacts dialog 2018-01-15 16:01:24 +01:00
tibbi
0e1009b499 handle contact photo importing 2018-01-15 14:08:52 +01:00
tibbi
69b68de511 properly parse phone numbers at Version 3 vcf files too 2018-01-15 00:06:53 +01:00
tibbi
e0257c742d implement the actual contact importer parser 2018-01-14 23:26:56 +01:00
tibbi
5717dd48ed remove some constants boilerplate by adding a more specific import 2018-01-14 22:54:06 +01:00
tibbi
9950d5d3ce adding the Import Contacts dialog 2018-01-14 20:53:29 +01:00
tibbi
82d10f8b18 add menu items for importing/exporting vcf files 2018-01-14 20:03:13 +01:00
tibbi
68b9c4f5d2 add LeakCanary and storage permission back 2018-01-14 19:58:25 +01:00
tibbi
13b7a1cb61 update commons to 3.7.2 2018-01-14 18:25:23 +01:00
tibbi
90a51a407a ignore empty contact emails 2018-01-14 16:37:02 +01:00
tibbi
fd180fcb53 adding a null check at closing the search 2018-01-08 13:26:07 +01:00
tibbi
e9165ad41d couple Black & White theme improvements 2018-01-07 22:23:48 +01:00
hanjoong.cho
09b41d2422 fix #28, lowering the number of bulk update lists 2018-01-06 08:29:46 +09:00
tibbi
a1a2573047 fix #28, make the contacts beginning with the search string appear first 2018-01-03 12:11:25 +01:00
tibbi
2b636f7240 fix some crashes at inflating some views 2018-01-03 11:44:10 +01:00
tibbi
287fb4959c show an error if trying to save a contact without an account set (last field) 2018-01-02 23:40:15 +01:00
tibbi
22b4dd0a19 do not show filter contact source dialog if theres no available sources 2018-01-02 23:30:29 +01:00
tibbi
98424ebd20 init fragments on resume if needed 2018-01-02 23:27:16 +01:00
tibbi
345ac6d430 properly handle toggling Favorite items 2018-01-02 23:11:22 +01:00
tibbi
8491162c77 properly handle INSERT intent 2018-01-02 20:35:46 +01:00
tibbi
099c2110c0 do not filter out contacts without names 2018-01-02 20:35:37 +01:00
tibbi
e19e367852 show a favorite icon at the Details screen 2018-01-02 19:11:40 +01:00
tibbi
3cd116ada8 reuse the Favorites stored on device, don't create an own list 2018-01-02 18:02:35 +01:00
tibbi
8e3eee5106 allow selecting only 1 contact at the selection activity 2018-01-02 17:35:21 +01:00
tibbi
59837806be handle PICK contact intent 2018-01-02 16:49:03 +01:00
tibbi
b57884ab8e sort contacts only after filtering 2018-01-02 15:42:07 +01:00
tibbi
8410ef57b9 properly handle ACTION_EDIT intent too 2018-01-02 15:01:43 +01:00
tibbi
29c16d543f add some more third party intent handling 2018-01-02 14:57:19 +01:00
tibbi
f2f22a34ff phandle the insert_or_edit intent with phone number parameter 2018-01-02 14:44:55 +01:00
tibbi
2cfcdba0f9 add handling for some third party intents 2018-01-02 14:29:23 +01:00
tibbi
cbf781dfea hide the contacts list when empty to fix the placeholder click listener 2018-01-02 00:03:49 +01:00
tibbi
bcb062c08a fill AddFavorite dialog asynchronously 2017-12-31 12:54:24 +01:00
tibbi
85c303e6dc show a bubble and fastscroller at the Add Favorite dialog 2017-12-31 12:44:38 +01:00
tibbi
00e5fdde5e apply search to emails too 2017-12-31 10:02:35 +01:00
tibbi
ff3f2ea7a3 always fill contact numbers, so they are searchable 2017-12-31 09:51:44 +01:00
tibbi
108e72fd10 apply search to phone numbers too 2017-12-31 09:50:48 +01:00
tibbi
a36f3743b8 implementing the search functionality 2017-12-31 00:05:14 +01:00
tibbi
6d1bf44311 adding a Search actionmenu item 2017-12-30 23:26:51 +01:00
tibbi
49c2cc5a81 move the referesh contacts interface in the proper folder 2017-12-30 21:57:37 +01:00
tibbi
8635777f8f remove the storage permission and LeakCanary while theres no export/import 2017-12-30 21:38:19 +01:00
tibbi
812e7896c5 do not filter out any Favorites when we are showing all contact sources 2017-12-30 21:23:47 +01:00
tibbi
a52dfa4d8e setup tab colors before granting Contacts permission 2017-12-30 21:20:27 +01:00
tibbi
19887fd8c9 refresh Favorites on resume too 2017-12-30 21:17:18 +01:00
tibbi
ad46e83284 remove the favorite item if needed at removing a contact 2017-12-30 21:13:42 +01:00
tibbi
bc0b4a9622 properly show the placeholders if all contacts are removed 2017-12-30 20:05:59 +01:00
tibbi
4184abff80 fix some glitches at managing favorites 2017-12-30 19:42:13 +01:00
tibbi
5efc2fadb6 allow removing favorites by long pressing them + Remove 2017-12-30 19:08:42 +01:00
tibbi
d21b3e7c4d allow adding contacts to favorites by long pressing and Add 2017-12-30 18:55:15 +01:00
tibbi
ab0ea57732 apply the contact source filtering to Add Favorite dialog items too 2017-12-30 17:53:30 +01:00
tibbi
82a0f8accb lets better hide the Select All button at contacts 2017-12-30 17:44:13 +01:00
tibbi
09c528dd92 use different icons for deleting a contact and removing a favorite 2017-12-30 17:43:29 +01:00
tibbi
0b42a283c0 show all contacts by default 2017-12-30 17:36:57 +01:00
tibbi
09b9d954fb show a different placeholder at empty favorites 2017-12-30 17:31:59 +01:00
tibbi
0b360ec934 finish action mode on page change 2017-12-30 17:03:37 +01:00
tibbi
a67cb33cdc do not apply the contact source filtering to Favorites 2017-12-30 16:52:05 +01:00
tibbi
488a5d9025 move the contacts fragment handling in the shared parent fragment 2017-12-30 16:35:47 +01:00
tibbi
0e3f500bb9 store selected favorites 2017-12-30 13:54:46 +01:00
tibbi
d807df4f97 show a list of contacts for managing favorites at FAB press 2017-12-30 13:22:18 +01:00
tibbi
88b624bbc5 do not show contact phone numbers on the main screen by default 2017-12-30 10:52:00 +01:00
tibbi
1771e92f11 remember the last used viewpager page 2017-12-29 23:52:00 +01:00
tibbi
1e0d8f383d rewrite the layout to a viewpager split to contacts and favorites 2017-12-28 23:59:49 +01:00
tibbi
74064e57d5 add a button for removing contact events 2017-12-28 12:49:49 +01:00
tibbi
ff0f78eb09 properly insert/update stored contact events 2017-12-28 11:45:40 +01:00
tibbi
946b90cdda improve event date formatting, handle events without year 2017-12-28 00:03:42 +01:00
tibbi
86be50d6da add some missing licenses 2017-12-27 23:59:55 +01:00
tibbi
4a570eea03 add a datepicker for changing the event date 2017-12-27 22:04:40 +01:00
tibbi
e1205416f0 do not save events with "Unknown" date 2017-12-27 19:40:18 +01:00
tibbi
e497c83182 add some contact fields for Events (birthdays, anniversaries, other) 2017-12-27 19:26:33 +01:00
tibbi
896acbbc0b do not fill out Contact emails at the initial screen, they arent used 2017-12-27 17:00:55 +01:00
tibbi
9f90b35750 add contact Events 2017-12-27 16:57:43 +01:00
tibbi
ca9b1cc6c4 set the most frequent contact source as the default one 2017-12-26 23:49:31 +01:00
tibbi
44bd03b98a store the last used contact source 2017-12-26 23:32:33 +01:00
tibbi
81dfc447dc do not allow changing contact source of existing contacts for now 2017-12-26 23:14:47 +01:00
tibbi
eeb2518547 fill in the proper account name and type at inserting a contact 2017-12-26 23:10:27 +01:00
tibbi
60daf446bb improve the dialog with contact source filtering 2017-12-26 22:03:25 +01:00
tibbi
eee3a19e96 fix contact deleting 2017-12-26 21:53:39 +01:00
tibbi
18bbe6667d use raw contact id everywhere 2017-12-26 21:24:03 +01:00
tibbi
8af8d3b8ee reuse a function for adding fullsize contact photos 2017-12-26 20:12:17 +01:00
tibbi
6ac34aa532 handle photo changing at contact update 2017-12-26 20:04:38 +01:00
tibbi
70b011a697 properly handle photo adding and removing at contact update 2017-12-26 19:51:48 +01:00
tibbi
51312dee1c renaming some variable 2017-12-26 10:06:17 +01:00
Nikola Trubitsyn
9c44837d0c
Use StringBuilder in String.times()
Has better performance than StringBuffer
2017-12-26 01:44:21 +03:00
tibbi
84be33dbbf handle the contact photo at inserting too 2017-12-25 23:06:20 +01:00
tibbi
4da25f25f2 do not filter out not-dirty accounts 2017-12-25 13:36:03 +01:00
tibbi
0d16efeafd focus the new phone number or email fields at adding 2017-12-24 23:19:08 +01:00