Commit graph

1244 commits

Author SHA1 Message Date
tibbi
7b32bd9e10 emptying the old databases onUpgrade functions 2018-11-05 18:37:00 +01:00
tibbi
58e954a3f9 create a Room database for local contacts 2018-11-05 18:25:36 +01:00
tibbi
e39b11209e removing Stetho 2018-11-05 13:51:13 +01:00
tibbi
dd259a0bbe appending .pro to the package name 2018-11-05 12:36:29 +01:00
tibbi
6efaa5a1b4 replace the Purchase Thank You button with Upgrade To Pro 2018-11-05 10:44:24 +01:00
tibbi
80332daa37 removing "Avoid showing Whats New" option 2018-11-05 10:24:11 +01:00
tibbi
7915014955 adding the 2 new toggles in release notes 2018-10-28 12:24:23 +01:00
tibbi
208366b613 fix a glitch with misaligned Company icon if just the job position is filled 2018-10-28 12:00:04 +01:00
tibbi
c4ac5a238b flip company and job position at getting full business contact name 2018-10-28 11:41:19 +01:00
tibbi
09b3f7f2f7 fix #268, use a different image placeholder for business contacts 2018-10-28 11:36:19 +01:00
tibbi
6de4f09319 make an if/else check clearer 2018-10-28 11:23:13 +01:00
tibbi
952cce20c0 renaming getFullName() to getNameToDisplay() 2018-10-28 11:20:56 +01:00
tibbi
457110e869 fix #131, properly sort groups containing UTF characters 2018-10-28 11:07:59 +01:00
tibbi
4f130fe402 fix #269, add placeholders at SelectContact activity 2018-10-27 18:24:16 +02:00
tibbi
f620d87946 create a separate layout for the SelectContact activity 2018-10-27 17:45:23 +02:00
tibbi
ca453ff04d properly compare contacts that have no name or organization, just email 2018-10-27 17:20:35 +02:00
tibbi
b3bd0f182b trim the user email before displaying, just to be sure 2018-10-27 17:12:55 +02:00
tibbi
f6347db55d show contact email as its name, if real name and oganization are empty 2018-10-27 17:12:30 +02:00
tibbi
169b658d41 fix #278, add an option to show only contacts with phone numbers 2018-10-27 15:16:00 +02:00
tibbi
5b16ebdcc2 fix #289, add a toggle for using 24 hours time format 2018-10-27 14:40:56 +02:00
tibbi
507bdf32c2 handle a permissions issue related to setting contact photo 2018-10-27 14:28:33 +02:00
tibbi
50897fe6c9 fix #164, removing some glitches related to picking new contact photos 2018-10-27 13:31:56 +02:00
tibbi
458b735eb5 append "(Telegram)" after its contact source to make it clearer 2018-10-26 16:44:27 +02:00
tibbi
ef3a61714a create some constants for apps with special handling 2018-10-26 13:40:00 +02:00
tibbi
8b919078c8 set dirty to false when inserting a new account 2018-10-26 13:31:21 +02:00
tibbi
307c168eee do not allow creating WhatsApp contacts with this app, it doesnt work that way 2018-10-26 13:26:34 +02:00
tibbi
e5d1043962 removing some magic numbers 2018-10-26 12:29:12 +02:00
tibbi
870c325032 removing some redundant code 2018-10-26 12:11:32 +02:00
tibbi
80b8d5b4d1 updating commons to 5.2.10 2018-10-26 12:01:22 +02:00
tibbi
6f7f59290e simplify the way of getting selected item positions 2018-10-16 12:44:35 +02:00
tibbi
8023bef5f6 set the DIRTY flag to true at creating new contacts 2018-10-15 14:57:38 +02:00
tibbi
073e759cac use the Commons helper function for getting selected item positions 2018-10-15 14:36:09 +02:00
tibbi
bdac3fba05 updating Commons to 5.0.21 with adapter changes 2018-10-15 14:19:32 +02:00
tibbi
98e527eba8 adding dialpad into release notes 2018-09-28 20:19:53 +02:00
tibbi
c17e7ff47e do not allow creating contacts under Signal or Telegram accounts 2018-09-28 14:42:15 +02:00
tibbi
241f57658d make sure the dialpad Call button is properly colored 2018-09-28 12:59:36 +02:00
tibbi
877fe454fa add a Plus sign to 0 at the dialpad 2018-09-28 12:56:00 +02:00
tibbi
27e1366339 adding a helper extension for filtering phone numbers 2018-09-28 12:02:04 +02:00
tibbi
446db13091 allow some other chars except digits at the regex replacing 2018-09-28 11:57:57 +02:00
tibbi
0ebe7bb286 treat long pressing the Zero at dialpad as Plus 2018-09-27 15:18:23 +02:00
tibbi
d024bc7551 add a Call button at the dialpad activity 2018-09-27 15:09:01 +02:00
tibbi
cacbbcedc1 replace the phone icon with a dialpad for getting to the dialpad 2018-09-27 14:49:31 +02:00
tibbi
2f59a84748 avoid some null extras at third party intents 2018-09-27 14:00:55 +02:00
tibbi
26061d8827 change the menu button text at the dialpad 2018-09-27 13:55:00 +02:00
tibbi
02002297c0 fix #250, allow copying phone number to clipboard by long pressing it
Works at the View contact screen only
2018-09-27 12:19:40 +02:00
tibbi
12c5f52092 fix #254, if there is no N and ORG fields at the given contact, only FN, treat it as an organization 2018-09-27 12:16:39 +02:00
tibbi
11349a3112 highlight new phone number at adding it to an existing contact 2018-09-27 10:32:28 +02:00
tibbi
5a9513b75d add haptic feedback to dialpad buttons 2018-09-26 23:45:27 +02:00
tibbi
4b645b70b3 close the contact picker after successfull insert or edit 2018-09-26 23:27:42 +02:00
tibbi
5e5de8b90a fix #166, properly handle intents adding numbers to existing contacts 2018-09-26 23:02:23 +02:00
tibbi
78240eeb2b fill the list of contacts at insert_or_edit 2018-09-26 15:28:47 +02:00
tibbi
a7b79f89ed add a label at the insert_or_edit activity 2018-09-26 14:47:28 +02:00
tibbi
5d8d0dd7b0 implement the "Create new contact" button on the insert_or_Edit screen 2018-09-26 12:13:05 +02:00
tibbi
e429b140e4 update the "Insert Or Edit" activity title 2018-09-26 11:45:25 +02:00
tibbi
eb914ddfdf create a new activity for handling ACTION_INSERT_OR_EDIT intent 2018-09-26 10:11:13 +02:00
tibbi
282594c125 adding a button at the dialpad for creating new contact from number 2018-09-25 23:34:43 +02:00
tibbi
57f2ccf2f9 add a helper function for a more advanced check if a contact contains some numbers 2018-09-25 20:04:42 +02:00
tibbi
04ce30cdbd improve the contact number fetching at the dialpad 2018-09-25 14:42:08 +02:00
tibbi
04a7cfc9a5 try showing the searched phone number under contacts 2018-09-25 14:24:29 +02:00
tibbi
3e8a65bda1 highlight contact number from the search query 2018-09-25 14:17:55 +02:00
tibbi
980368addd hide the Select All and Share menu buttons at dialpad 2018-09-25 14:11:43 +02:00
tibbi
8ae60448f4 finish the action mode at changing the input at dialpad 2018-09-25 14:11:29 +02:00
tibbi
dac59dabcf removing a redundant wrapper of the dialpad 2018-09-25 13:34:31 +02:00
tibbi
284a5fb35f try calling contact directly from the dialpad screen, do not trigger edit/view 2018-09-24 15:17:15 +02:00
tibbi
6718fb9a20 show the filtered contacts on a list above dialpad 2018-09-24 15:12:31 +02:00
tibbi
2aadd93fa6 check contact real phone numbers too, not just the cleared ones 2018-09-24 14:15:08 +02:00
tibbi
2beb5eb3a6 filter contacts based on the dialpad input 2018-09-24 14:13:27 +02:00
tibbi
6159e55183 add a text change listener to the dialpad input value 2018-09-24 12:05:50 +02:00
tibbi
47405d8775 avoid showing the soft keyboard at clicking on the dialpad input 2018-09-23 20:41:04 +02:00
tibbi
eaa17e9038 dispatch fake key events to dialpad input 2018-09-23 20:13:12 +02:00
tibbi
9b86c694ff implement char clearing at the dialpad 2018-09-23 10:58:51 +02:00
tibbi
96c6e8cd5a add a dialpad input for showing dialed chars 2018-09-23 10:23:23 +02:00
tibbi
9ab4f3ea7f adding some dialpad numbers and symbols 2018-09-22 23:35:34 +02:00
tibbi
52a8f6fde4 adding an initial Dialpad activity 2018-09-22 20:52:53 +02:00
tibbi
31fae0b97c adding a main screen button launching the dialer 2018-09-22 20:39:10 +02:00
tibbi
37016b53cb minor code cleanup at importing/exporting 2018-09-09 14:59:26 +02:00
Tibor Kaputa
b90405ceea
Merge pull request #247 from Dirkster99/master
Solution to Issue #146
2018-09-09 14:50:56 +02:00
Dirkster99
6c1b1e2d70 Removed ; and adjsuted to property syntax 2018-09-07 17:49:20 +02:00
Dirkster99
a153427646 Minor change
Adjusted coding style and removed GROUP attribute as per comment from here:
https://github.com/SimpleMobileTools/Simple-Contacts/issues/146

previous post, it should look like CATEGORIES:Testgroup,Testgroup1. Regarding the code, check the spacing, newlines, remove comments.
2018-09-04 17:33:43 +02:00
tibbi
1e0d8e7787 make sure the local DB has IM field created 2018-09-04 17:29:22 +02:00
tibbi
2f0150d89b adding some new functions in the release notes 2018-09-04 17:25:18 +02:00
tibbi
60bcbcb4a6 add IM exporting/importing 2018-09-04 17:07:01 +02:00
tibbi
36fbc9f0c6 handle IMs at locally stored contacts too 2018-09-04 15:58:12 +02:00
tibbi
7eb2184285 handle IM fields at inserting/updating contacts 2018-09-04 15:36:30 +02:00
tibbi
b4d62f64aa search at user IMs too 2018-09-04 15:32:07 +02:00
tibbi
fbd58b4bb9 properly handle IM fields at the edit screen 2018-09-04 15:26:56 +02:00
tibbi
c416a46214 show user IMs when appropriate 2018-09-04 14:47:23 +02:00
tibbi
d0596df5f3 fill clean phone numbers only if we are going to filter duplicates 2018-09-04 10:23:27 +02:00
tibbi
26c4da4f69 remove special chars from phone numbers at creating, not just at sorting 2018-09-04 10:09:59 +02:00
tibbi
461ffdfd0e make sure we show all contacts if duplicate filtering is disabled 2018-09-04 09:38:49 +02:00
tibbi
de387a938d fix #218, improve duplicate contact filtering, show the one with more info 2018-09-03 23:41:16 +02:00
Dirkster99
b3d99e99e0 Adding group import and export capability
https://github.com/SimpleMobileTools/Simple-Contacts/issues/146
2018-09-03 16:32:53 +02:00
tibbi
bf386f557b fix importing fax type phone numbers 2018-09-03 14:06:35 +02:00
tibbi
349f3a1fc3 fix importing contacts with custom field types 2018-09-03 13:24:26 +02:00
tibbi
375cb14e97 properly export custom type values 2018-09-03 12:12:47 +02:00
tibbi
00d5fbc6be fix some crashes related to missing Label fields at upgrading from older versions 2018-09-03 11:44:17 +02:00
tibbi
5bd429709b allow inserting and saving custom labels 2018-09-02 23:27:30 +02:00
tibbi
297b7b3be8 show proper custom address types too 2018-09-02 21:38:10 +02:00
tibbi
a96949ffb5 show custom email labels as appropriate 2018-09-02 21:19:17 +02:00
tibbi
ccd995dc44 display custom phone number type label when appropriate 2018-09-02 21:12:39 +02:00
tibbi
f74cc8cd31 retrieve Custom type labels at phone number, email, address 2018-09-02 12:39:07 +02:00
tibbi
5a0ebde4d3 fix #244, PartialDate months start at 1 2018-09-02 10:48:24 +02:00
tibbi
353462e684 fix #241, make sure we show the call confirmation on number click 2018-09-01 23:44:01 +02:00
tibbi
63d3702af3 removing LeakCanary 2018-09-01 23:34:04 +02:00
tibbi
c0720e3e73 rewriting contact exporting/importing, rely on vcard at parsing 2018-08-23 23:23:45 +02:00
tibbi
389d6e9266 ignore empty contact addresses 2018-08-23 22:27:26 +02:00
tibbi
57263cce15 avoid ActivityNotFoundException at opening the contact editor 2018-08-21 11:12:24 +02:00
tibbi
3b26a1ec92 adding the Nickname field in the release notes 2018-08-13 13:00:46 +02:00
tibbi
441a2ac3b1 handle exporting and importing contact nicknames 2018-08-13 12:26:52 +02:00
tibbi
e0a38be028 fix #195, properly update notes and organization fields 2018-08-12 22:22:34 +02:00
tibbi
1b28f626aa fix nickname adding and editing at contacts 2018-08-12 22:13:28 +02:00
tibbi
0335bdf10d show the contact nickname at the View screen if available 2018-08-12 21:08:09 +02:00
tibbi
87069862f8 add a nickname field to contacts 2018-08-12 20:52:46 +02:00
tibbi
041dc19856 add nickname to the visible fields customizing dialog 2018-08-12 20:27:15 +02:00
tibbi
0bcbf9bb94 fix #132, fix searching with UTF8 chars 2018-08-12 20:18:05 +02:00
tibbi
9ab6f9d7df properly update view visibility after closing search 2018-08-12 19:26:55 +02:00
tibbi
fd775bf050 make string normalizing a string extension 2018-08-12 19:24:30 +02:00
tibbi
6bf77d73bd fix #131, properly sort all UTF8 names 2018-08-11 22:03:26 +02:00
tibbi
32dd6aac80 properly refresh Contacts and Favorites fragments at delete via Search 2018-08-11 21:30:15 +02:00
tibbi
67d0b02280 properly handle importing organizations spanning across multiple lines 2018-08-11 21:16:42 +02:00
tibbi
7acfde6bb0 parse quoted printable properly at importing contacts 2018-08-11 18:42:16 +02:00
tibbi
991e4d1e75 make sure we trim the colon from url at importing contacts 2018-08-11 18:16:40 +02:00
tibbi
197670b486 fix #222, delay checking of the visible menu items a bit 2018-08-11 09:52:13 +02:00
tibbi
4f16dc5c42 make sure the top tab icons are colored properly 2018-08-05 15:39:03 +02:00
tibbi
9158f5226f make sure the Call Confirmation button has a proper color 2018-08-05 15:36:02 +02:00
tibbi
30819f0b5b fixing some crashes 2018-08-05 15:34:32 +02:00
tibbi
56646660c9 updating the way permissions are handled 2018-08-04 23:42:30 +02:00
tibbi
e2807bf85b fixing a constant value 2018-08-04 23:26:47 +02:00
tibbi
930d6cb149 adding some of the new features in Whats New 2018-08-04 23:21:54 +02:00
tibbi
8b29f9c10f allow editing contacts without permissions if our app triggers the editor 2018-08-04 23:16:05 +02:00
tibbi
40777553fe add a placeholder button for requesting permissions for displaying Recent Calls 2018-08-04 23:11:19 +02:00
tibbi
9e4330dfa4 removing some magic numbers 2018-08-04 23:04:40 +02:00
tibbi
acc69d4dcb use helper functions for checking some permissions 2018-08-04 23:03:34 +02:00
tibbi
210aadf2d2 hide Search at the Recents tab 2018-08-04 22:41:53 +02:00
tibbi
82e6738cd7 open the Edit screen at pressing an unknown Recents item 2018-08-04 22:29:45 +02:00
tibbi
57b64e63a1 perform the selected action if a known contact gets clicked at Recents 2018-08-04 22:24:46 +02:00
tibbi
c1e6feb82a determine if a known Contact has been clicked at Recents 2018-08-04 21:44:36 +02:00
tibbi
6044dab0c9 lets just restart the activity at Shown Tabs change to avoid glitches 2018-08-04 21:26:55 +02:00
tibbi
8be0b1ab9a make sure we always return the proper current fragment 2018-08-04 20:55:39 +02:00
tibbi
fadfcb139a trigger activityResume only at live fragments 2018-08-04 20:44:05 +02:00
tibbi
7640d16ef8 add the Recents fragment to the list of all fragments 2018-08-04 20:11:23 +02:00
tibbi
3257dc7c79 adding some performance improvements at initial app loading 2018-08-04 19:42:33 +02:00
tibbi
dc23bac57f show the appropriate bubble text at fastscrolling Recents 2018-08-04 18:27:12 +02:00
tibbi
46580c3620 implement Recent Call removing 2018-08-04 18:24:26 +02:00
tibbi
4743fcd730 implementing a Select All menu button at Recents 2018-08-04 17:43:35 +02:00
tibbi
a192c1b028 ignore the Type field at recent calls 2018-08-04 16:08:27 +02:00
tibbi
74c7acab84 avoid showing the same number Recent Call twice in a row 2018-08-04 16:07:14 +02:00
tibbi
3f0c87572f adjust the Recent Calls items, show phone number only when appropriate 2018-08-04 16:02:17 +02:00
tibbi
2a987a640e tweak the DateTime field at recent calls 2018-08-04 09:50:01 +02:00
tibbi
29c59f498a show phone number and date at Recents too 2018-08-03 23:48:14 +02:00
tibbi
71f3e8cb0c list the last 100 calls at the Recent calls list 2018-08-03 16:36:17 +02:00
tibbi
79e8234d43 adding the function fetching recent calls 2018-08-03 15:59:24 +02:00
tibbi
a83886a5bd creating a Recents tab 2018-08-03 13:52:44 +02:00
tibbi
828c3337cc adding the call confirmation dialog 2018-08-03 11:58:53 +02:00
tibbi
096b3888c2 adding a settings toggle for call confirmation dialog 2018-08-02 23:42:52 +02:00
tibbi
23d6e54718 fix the sorting of organization contacts 2018-08-02 22:02:10 +02:00
tibbi
73ff7f440e recheck visible option items at creating the fragments 2018-08-02 16:39:35 +02:00
tibbi
473dcc946d trim colons at importing company fields 2018-08-02 16:28:08 +02:00
tibbi
7e10bbce6d show company contacts if they have at least company or title filled 2018-08-02 16:17:49 +02:00
tibbi
7b577aa082 do not spend time fetching data for hidden fragments 2018-08-02 15:16:24 +02:00
tibbi
d8a26a87a6 hide the viewpager tabs if only one is visible 2018-08-02 14:38:30 +02:00
tibbi
e1d21a9ed4 alwas recreate the viewpager tabs to avoid glitching 2018-08-02 13:43:59 +02:00
tibbi
399ae4c0b6 show/hide contact tabs as appropriate 2018-08-02 12:05:21 +02:00
tibbi
6f9265a8f4 show all tabs, if the user selects none of them 2018-07-30 21:11:42 +02:00
tibbi
dbf3b09b26 add a settings item for managing visible tabs 2018-07-30 20:58:02 +02:00
tibbi
692f964479 fix #207, avoid trying to delete device contacts without having the permission 2018-07-30 20:24:21 +02:00
tibbi
d79c65b334 update commons to 4.5.12 2018-07-30 19:52:50 +02:00
tibbi
1e38cd8037 catch and show exceptions thrown at saving contacts 2018-07-30 19:13:39 +02:00
tibbi
04df9ef079 ignore NICKNAME tag at importing contacts for now 2018-07-17 20:35:37 +02:00
tibbi
920cb6d882 shorten some contact name comparison code 2018-07-17 00:09:39 +02:00
tibbi
c081fd18bf fix #200, close search at changing tab 2018-07-16 23:48:42 +02:00
tibbi
4083bdcbb1 show a Purchase Simple Thank You button in the settings 2018-07-16 23:08:41 +02:00
tibbi
eb8c667bc2 improve address parsing at importing in some cases 2018-07-16 22:55:47 +02:00
tibbi
19119b51c9 fix some glitches at importing contacts from vcf, if Charset is mentioned 2018-07-16 21:54:07 +02:00
tibbi
6c52480c3a ignore events and addresses at filtering duplicates 2018-07-05 14:43:57 +02:00
tibbi
21551a6050 update commons to 4.3.28 2018-07-04 22:00:38 +02:00
tibbi
867b499eab adding a crashfix at storing contact photo 2018-07-04 21:46:46 +02:00
tibbi
722e66e1dc fix #171, properly parse contact name from vcf if whole name is 1 field 2018-06-19 16:18:45 +02:00
tibbi
b4c4691f1c fix #174, make "Filter out duplicates" a bit more agressive 2018-06-19 16:10:55 +02:00
tibbi
824a8d18f0 fix #182, ignore hidden fields during editing instead of removing them 2018-06-19 15:39:26 +02:00
tibbi
15316f0103 fix #185, prefer the contact Mobile phone number at sending batch SMS 2018-06-19 15:27:43 +02:00
tibbi
170d7438f8 fixing a couple crashes 2018-06-19 14:51:19 +02:00
tibbi
dfb31b40a5 update commons to 4.2.6 2018-06-18 23:30:55 +02:00
tibbi
b49a75b73e remove a redundant variable 2018-05-15 10:34:40 +02:00
tibbi
c8dba03e71 avoid creating Account object with empty name or type 2018-05-13 21:37:43 +02:00
tibbi
477742a549 remove the check for ContentResolver.getSyncAutomatically at getting accounts 2018-05-13 18:23:54 +02:00
tibbi
32a0197f1f change the way accounts are fetched 2018-05-12 08:46:34 +02:00
tibbi
dccba111bd properly handle upgrading from old version to 4.x 2018-05-09 18:44:58 +02:00
tibbi
b89cf120e4 handle fetching contacts from null account_name 2018-05-09 16:21:16 +02:00
tibbi
24d1934320 removing a redundant variable 2018-05-09 15:48:15 +02:00
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
tibbi
1bd9355d92 search at Notes and addresses too 2018-03-04 10:07:02 +01:00
tibbi
9ebb72b1b2 always fetch all contact info to make sure Search works well 2018-03-04 10:06:40 +01:00
tibbi
5f8c13ff9a update commons to 3.14.12 2018-03-04 09:06:38 +01:00
tibbi
3105093272 adding a couple crashfixes 2018-03-03 12:59:16 +01:00
tibbi
9cb647ca12 make sure we have the database created in time at launch 2018-03-02 12:10:06 +01:00
tibbi
fd055152df updating commons and kotlin 2018-03-02 12:09:52 +01:00
tibbi
f37d7a0d10 catch and display exceptions thrown at querying contact sources 2018-03-02 12:08:11 +01:00
tibbi
aef045f160 simplify AddFavoritesDialog confirmation 2018-03-01 16:41:48 +01:00
tibbi
3cddd70a5b update commons to 3.14.1 2018-02-28 22:49:39 +01:00
tibbi
c33906a874 making some views nullable 2018-02-26 17:17:04 +01:00
tibbi
ec0dbd23e1 add Address and Notes in release notes 2018-02-22 21:08:14 +01:00
tibbi
2011464acf add Filter and Sort menu items to the Select contact screen 2018-02-22 20:54:01 +01:00
tibbi
2c31cf5bc9 fix #78, properly return email at Get email intent 2018-02-22 20:33:24 +01:00
tibbi
6cc148b816 make sure shared contacts have all appropriate fields filled 2018-02-22 18:37:15 +01:00
tibbi
aea1ef464f adjust getNotes() so it gets all contact notes if needed 2018-02-22 18:22:53 +01:00
tibbi
eec5e3aa95 fix setting selectionArgs at a specific contact 2018-02-22 18:18:49 +01:00
tibbi
740dfb090e add contact events when adding optional fields is active 2018-02-22 18:06:16 +01:00
tibbi
7f11945af4 make fetching some fields optional, used only at exporting 2018-02-22 16:23:04 +01:00
tibbi
f81700c120 Revert "avoid unnecessarily fetching all contact emails and addresses for the main screen"
This reverts commit 8edab98cb3.
2018-02-22 16:14:33 +01:00
tibbi
2fa449d60e add notes exporting 2018-02-22 16:14:14 +01:00
tibbi
926ba81bcd add importing note from vcf file 2018-02-22 16:04:31 +01:00
tibbi
c2b92f46f6 add Notes field at our local database too 2018-02-22 15:25:36 +01:00
tibbi
85c998b9a8 handle note inserting and updating 2018-02-22 15:14:19 +01:00
tibbi
ac99c14c96 show the contact notes at the View screen 2018-02-22 14:15:39 +01:00
tibbi
8edab98cb3 avoid unnecessarily fetching all contact emails and addresses for the main screen 2018-02-22 14:01:54 +01:00
tibbi
8f743f3397 adding a contact Notes field 2018-02-22 13:57:08 +01:00
tibbi
e7faeffc42 adding addresses field to the locally stored contacts 2018-02-22 10:27:00 +01:00
tibbi
51d2d5d22b handle address field export/importing 2018-02-21 21:21:33 +01:00
tibbi
9edcee7110 handle contact address inserting/updating 2018-02-21 20:57:16 +01:00
tibbi
ad669b0fc6 add address handling at the Edit screen 2018-02-21 20:45:39 +01:00
tibbi
8459160d6e show the contact addresses on the View screen 2018-02-21 20:22:03 +01:00
tibbi
835d7bfde6 flip addresses and events at the Contact model 2018-02-21 19:48:55 +01:00
tibbi
d3498f96cb parse contact addresses 2018-02-21 19:07:10 +01:00
tibbi
ff3b1ab5eb use our custom layout managers 2018-02-21 17:54:23 +01:00
tibbi
08726093ec change isFirstResume only if we have the required permissions 2018-02-21 16:36:00 +01:00
tibbi
42eb8e4609 update commons to 3.12.15 2018-02-21 16:05:23 +01:00
tibbi
74140b1665 adding a null check at handling Edit Photo result 2018-02-21 15:57:45 +01:00
tibbi
bcdd8fe40f check if there is an available app for Crop before launching it 2018-02-21 15:50:56 +01:00
tibbi
8dd3dd08cd add a null check at the contact in ContactActivity 2018-02-21 15:33:35 +01:00
tibbi
8a4c4f9324 add some null checks at the fragments 2018-02-21 15:32:03 +01:00
tibbi
d655aaff13 add the local private database in release notes 2018-02-11 23:49:43 +01:00
tibbi
3af55404a2 properly export local private photos in .vcf files 2018-02-11 23:41:53 +01:00
tibbi
1be6264cf4 increase the resolution of local images for a bit better quality 2018-02-11 23:26:18 +01:00
tibbi
0b9b1b7f1a properly handle displaying local private photos 2018-02-11 23:24:16 +01:00
tibbi
192658c0d3 properly handle exporting/importing local private contacts 2018-02-11 21:55:36 +01:00
tibbi
0651a49cd1 properly handle Favorite toggling of local private contacts 2018-02-11 21:45:25 +01:00
tibbi
21cc46de54 handle deleting local private contacts 2018-02-11 21:17:24 +01:00
tibbi
062ee8a6d4 properly update the View screen if a number/email/event was removed 2018-02-11 21:03:19 +01:00
tibbi
dc43fb93f8 add handling for updating local private contacts 2018-02-11 20:50:08 +01:00
tibbi
097344dd26 properly show private local contact details/edit screen 2018-02-11 20:42:44 +01:00
tibbi
6c39757cec show local contacts in the lists 2018-02-11 20:28:45 +01:00
tibbi
eb4833ff1e start contacts autoincrement id from a million to avoid conflicts 2018-02-11 20:02:46 +01:00
tibbi
2ed8a4e150 create the function for retrieving contacts from the local database 2018-02-11 19:21:23 +01:00
tibbi
6305785aa9 implementing contact inserting 2018-02-11 19:07:14 +01:00
tibbi
a631a53db6 create a table for storing local contacts 2018-02-11 18:38:30 +01:00
tibbi
8e207414ef add a new source for storing contacts locally, without sharing with other apps 2018-02-11 13:10:21 +01:00
tibbi
6400735463 use a human readable default filename at exporting 2018-02-11 12:30:30 +01:00
tibbi
0ca4f418eb adding a missing return statement 2018-02-10 23:52:47 +01:00
tibbi
9cd4288862 handle View intents with the new ViewContactActivity 2018-02-10 23:48:50 +01:00
tibbi
dd6771fd0c move contact init at ViewContactActivity to resume 2018-02-10 23:42:11 +01:00
tibbi
dd678cc7d2 allow adding a contact to Favorites during creating 2018-02-10 23:36:22 +01:00
tibbi
962ff318e6 add a setting for selecting what should happen on contact click 2018-02-10 22:17:38 +01:00
tibbi
b1c8b5a941 remove the "Call contact on click" setting 2018-02-10 21:55:28 +01:00
tibbi
67511c07d0 move some edit and view shared functions into ContactActivity 2018-02-10 21:50:38 +01:00
tibbi
32a9fa6884 create a separate activity for viewing contact details, without editing 2018-02-10 21:19:34 +01:00
tibbi
e1406b231d add some null checks at addFavoritesDialog 2018-02-10 16:51:19 +01:00
tibbi
b8b118c62c catch exceptions thrown at looking up contacts 2018-02-10 16:49:50 +01:00
tibbi
3c834fe521 add null checks at search query change updates 2018-02-10 16:43:47 +01:00
tibbi
b2fe9e6be3 add a toggle for avoiding showing Whats New on startup 2018-02-03 23:53:45 +01:00
tibbi
e66ec05ba6 add the info declaring quoted-printable at exported vcf when necessary 2018-02-03 23:47:45 +01:00
tibbi
6fd7714725 properly encode exported names when appropriate 2018-02-03 23:17:19 +01:00
tibbi
e4718ffa82 properly parse encoded names stretching to multiple lines too 2018-02-02 17:23:41 +01:00
tibbi
d4be18cb81 fix #62, properly handle ansi encoded names 2018-02-02 16:29:14 +01:00
tibbi
b72c6cb787 properly show the public contact source on all visible places 2018-02-02 13:57:24 +01:00
tibbi
996a9ead0a show the modified contact source at the FilterContactSources adapter 2018-02-02 12:30:33 +01:00
tibbi
3bb7860bb7 store the local account name too 2018-02-02 11:53:01 +01:00
tibbi
f0a2f585b8 use a new model ContactSource 2018-02-02 11:30:11 +01:00
tibbi
6f82aadcb9 store the local account type in shared prefs 2018-02-01 23:54:36 +01:00
Tibor Kaputa
2559fdd8c0
Merge pull request #57 from trubitsyn/patch-1
Some code improvements
2018-01-31 21:14:41 +01:00
tibbi
da2219f160 shorten the search close code 2018-01-31 18:18:35 +01:00
tibbi
2c5daff95c add some null checks to filtering contacts adapter entries at search 2018-01-31 18:04:26 +01:00
Nikola Trubitsyn
6db0091d1d Add private modifiers where applicable 2018-01-30 14:17:43 +03:00
Nikola Trubitsyn
526b0eaff5 Add const modifiers in Constants 2018-01-30 14:16:45 +03:00
Nikola Trubitsyn
e57bb9531b Replace deprecated MenuItemCompat.collapseActionView 2018-01-30 14:13:12 +03:00
Nikola Trubitsyn
04823c8fa4 Replace deprecated setOnPageChangeListener 2018-01-30 14:11:51 +03:00
tibbi
7664a09697 allow saving contacts with empty account name 2018-01-29 23:39:41 +01:00
tibbi
db019572a4 rename ContactActivity to EditContactActivity 2018-01-29 19:16:58 +01:00
tibbi
d1152fb657 hide the thumbnail at Favorite selector when appropriate 2018-01-29 19:14:54 +01:00
tibbi
7063b9ffd2 avoid recycling contact images if the activity is destroyed 2018-01-29 18:53:35 +01:00
tibbi
197eb7b60c report all exceptions thrown during exporting contacts 2018-01-29 18:52:05 +01:00
tibbi
8317a267b4 return empty contact source type for empty account names 2018-01-29 18:34:48 +01:00
tibbi
c72a3cd604 make sure the contact list items have proper height even without thumbnail 2018-01-29 17:42:24 +01:00
tibbi
7bf74e9e70 properly refresh contacts when thumbnail visibility changes 2018-01-29 16:44:36 +01:00
Nikola Trubitsyn
978b72af39 Use beVisibleIf on contact_tmb view 2018-01-28 00:25:05 +03:00
Nikola Trubitsyn
0a86ce2856 Add an option to show/hide contact thumbnails 2018-01-27 23:58:49 +03:00
tibbi
79f4b38c8c allow empty accountName at getting a specific contact info too 2018-01-23 21:18:31 +01:00
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
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