Commit graph

208 commits

Author SHA1 Message Date
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
tibbi
b9af8116bc implement phone number and email updating at existing contacts 2017-12-24 23:15:11 +01:00
tibbi
d8f9fa2a5f implement inserting new contact, without photo 2017-12-24 21:06:22 +01:00
tibbi
d3cd4de97c remove a redundant variable 2017-12-22 15:28:08 +01:00
tibbi
7afa3c14ec add cropping to the selected contact photo 2017-12-22 13:20:59 +01:00
tibbi
0e918349d5 implement contact Choose Photo function 2017-12-22 00:11:36 +01:00
tibbi
d7ac1c8d72 implement the Take Photo intent 2017-12-21 17:48:00 +01:00
tibbi
24185fe8a1 show an actions dialog at pressing the contact photo 2017-12-21 15:57:02 +01:00
tibbi
544121fb45 allow changing contact source 2017-12-21 14:22:14 +01:00
tibbi
d1402218e2 allow changing phone number and email types 2017-12-20 23:57:46 +01:00
tibbi
b333d5b07a fill in the contact emails and phone numbers 2017-12-20 23:05:04 +01:00
tibbi
75411c43d4 update commons to 3.3.12 2017-12-20 21:30:56 +01:00
tibbi
cac0cc4d37 show a toast message when trying to call someone without phone number 2017-12-18 21:46:44 +01:00
tibbi
2ffcc10c19 handle call/sms/email actions if a contact has multiple emails/numbers 2017-12-18 21:42:43 +01:00
tibbi
6b201213a4 add a new email/number field at pressing Plus 2017-12-18 21:23:47 +01:00
tibbi
523bba4726 display all contact emails and phone numbers at the details activity 2017-12-18 17:11:52 +01:00
tibbi
21a85dfa53 add holders for multiple phone numbers and emails 2017-12-18 16:57:24 +01:00
tibbi
77f1c2f2fa fill in the first email and phone number of the contact 2017-12-18 15:16:58 +01:00
tibbi
bb18218c0a adding Leak Canary 2017-12-18 12:21:41 +01:00
tibbi
1599334ee0 add Plus buttons for adding new numbers and emails 2017-12-18 12:08:50 +01:00
tibbi
f043e40dd3 remove the redundant Emails and PhoneNumbers models 2017-12-18 11:25:06 +01:00
tibbi
b40be40bb4 allow storing multiple phone numbers per contact 2017-12-17 23:48:49 +01:00
tibbi
592d4edc76 remove sorting contacts by phone number 2017-12-17 23:35:12 +01:00
tibbi
449e487667 add a type at the email field 2017-12-17 23:19:15 +01:00
tibbi
4e77674377 allow storing multiple emails of same type per contact 2017-12-17 23:10:47 +01:00
tibbi
0a90594d32 limit the size of contact action buttons 2017-12-17 22:58:11 +01:00
tibbi
86b952ad82 properly fill all contact emails at the details activity 2017-12-17 22:30:06 +01:00
tibbi
210ec1328d prepare for storing multiple emails per contact 2017-12-14 00:15:24 +01:00
tibbi
a04724a2da implement contact name updating 2017-12-13 20:52:05 +01:00
tibbi
31d5461986 implement contact deletion 2017-12-13 19:09:54 +01:00
tibbi
42cc8aaa2f add a toggle for starting names with surname 2017-12-13 17:35:03 +01:00
tibbi
74c5b19025 allow sorting contacts by every name separately 2017-12-13 17:16:16 +01:00
tibbi
d290645d5d show the account source at the details view 2017-12-13 13:59:54 +01:00
tibbi
51030dbff1 split the name at the Contact activity layout too 2017-12-13 13:39:22 +01:00
tibbi
791dbb2960 split the name between first/middle/sur name 2017-12-13 13:24:14 +01:00
tibbi
04caff2d90 adding some placeholder text when no contacts are found 2017-12-13 11:01:45 +01:00
tibbi
92fc1bee02 implement the Filter functionality 2017-12-12 22:37:56 +01:00
tibbi
7b849cb090 handle both write and read contact permissions 2017-12-12 20:19:15 +01:00
tibbi
5ef100ce1d list only those contact sources that contain some contacts 2017-12-12 19:24:42 +01:00
tibbi
d22e27ae40 add a dialog for filtering contacts by source 2017-12-12 18:39:14 +01:00
tibbi
7373cad71c show an Edit actionmenu item if "Call on click" is enabled 2017-12-11 22:35:52 +01:00
tibbi
209953c878 add an option for calling contact on click 2017-12-11 21:49:42 +01:00
tibbi
db2ee05b5c hide SMS and Call actions when no number is available 2017-12-11 21:15:40 +01:00
tibbi
5b514d5b92 create a new Contact at pressing FAB 2017-12-11 21:05:46 +01:00
tibbi
2f815dfe38 add handling for StartCall intent 2017-12-11 21:00:32 +01:00
tibbi
20bd9cf01c handle send SMS intent 2017-12-11 20:39:28 +01:00
tibbi
829897b5e1 show the user photo at Details, if available 2017-12-11 20:29:25 +01:00
tibbi
ebb11be2c3 launch email intent on pressing the icon 2017-12-11 19:24:15 +01:00
tibbi
a9d54f165e fill the email to all contacts 2017-12-11 18:58:14 +01:00
tibbi
80d46d75fe fetch proper email at showing user details 2017-12-11 18:47:08 +01:00
tibbi
6c4673e371 presort contacts already at fetching 2017-12-11 18:21:58 +01:00
tibbi
5ffe57251a differentiate between creating a new contact and editing one 2017-12-11 00:07:33 +01:00
tibbi
aeaf2bdf99 adding ContactActivity 2017-12-10 21:39:02 +01:00
tibbi
9a376df115 move names not starting with a letter at the bottom 2017-12-10 19:33:26 +01:00
tibbi
771ecd5ec4 properly update colors when they change 2017-12-10 19:24:01 +01:00
tibbi
f6de835584 show a contact thumbnail whenever available 2017-12-10 16:35:56 +01:00
tibbi
cb6c3fedec add a sorting dialog 2017-12-10 16:19:50 +01:00
tibbi
8678a7d109 adding a ContactsAdapter 2017-12-10 15:53:03 +01:00
tibbi
0b7e652052 move all files in src/main/kotlin from src/main/java 2017-12-10 13:30:25 +01:00