Commit graph

448 commits

Author SHA1 Message Date
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
en2sv
92700e6382
Update Swedish translation 2018-02-17 20:28:06 +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
02850c99b6 remove the Contact details string 2018-02-10 20:28:04 +01:00
tibbi
0421228841 adding a new string for contact details 2018-02-10 17:23:02 +01:00
tibbi
b1d4f2241b reduce side padding at setting items 2018-02-10 17:07:41 +01:00
tibbi
7d2c4e18a3 increase the font size at contact lists 2018-02-10 17:04:10 +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
Primokorn
ae58b7282d
Create FR strings.xml 2018-02-05 09:27:33 +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
Tibor Kaputa
563c6c100b
Merge pull request #59 from trubitsyn/patch-2
Set unique applicationIdSuffix in debug builds
2018-02-02 16:53:10 +01:00
Tibor Kaputa
48851566a5
Merge pull request #66 from trubitsyn/patch-1
Update strings.xml
2018-02-02 16:30:32 +01:00
tibbi
d4be18cb81 fix #62, properly handle ansi encoded names 2018-02-02 16:29:14 +01:00
Nikola Trubitsyn
4a78ccedf2
Update strings.xml 2018-02-02 17:43:12 +03:00
Phoenix1747
6ec8355ac6
Update strings.xml 2018-02-02 14:52:33 +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
029db0d853 add a new string for private phone contacts 2018-02-02 11:44:38 +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
Nikola Trubitsyn
6c33c069ac Set unique applicationIdSuffix in debug builds 2018-02-02 00:41:23 +03:00
solokot
5021c92a5c
Update strings.xml 2018-02-01 20:18:19 +03:00
Phoenix1747
93dcca0f96
Update strings.xml 2018-02-01 14:13:24 +01:00
tibbi
0077d04906 add a new string for storing contacts locally in the phone 2018-02-01 11:59:32 +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
Phoenix1747
42a5f4d103
Update DE 2018-01-30 08:38:54 +01:00
tibbi
7664a09697 allow saving contacts with empty account name 2018-01-29 23:39:41 +01:00
Nikola Trubitsyn
e5565583c1
Update strings.xml 2018-01-29 22:17:37 +03:00
tibbi
63e49032cc add some new strings related to contact clicking 2018-01-29 20:06:46 +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
Phoenix1747
ce46912f9d
Update strings.xml 2018-01-29 08:34:11 +01:00
Nikola Trubitsyn
6d7eed64dc Fix broken "show_contact_avatars" ru string resource 2018-01-28 15:16:20 +03:00
Tibor Kaputa
571364c89f
Merge branch 'master' into feature-48 2018-01-28 09:03:38 +01:00
solokot
fc479170a9
Update strings.xml 2018-01-28 10:23:55 +03:00
Nikola Trubitsyn
978b72af39 Use beVisibleIf on contact_tmb view 2018-01-28 00:25:05 +03:00
Nikola Trubitsyn
3f83b80a98 Use "thumbnails" instead of "avatars" in strings 2018-01-28 00:23:05 +03:00
Nikola Trubitsyn
0a86ce2856 Add an option to show/hide contact thumbnails 2018-01-27 23:58:49 +03:00
tibbi
4ffcfcd2f4 add some strings related to toggling contact avatars 2018-01-27 20:26:15 +01: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
Nikola Trubitsyn
a0d4819543
Update strings.xml 2018-01-21 04:12:06 +03:00
en2sv
228b7729d3
Add Swedish translation 2018-01-20 20:30:46 +01:00
Phoenix1747
8ef613bf51
typo 2018-01-17 14:36:51 +01:00
Phoenix1747
7eab978a4e
Update strings.xml 2018-01-17 14:32:45 +01:00
tibbi
46f55eff14 update commons to 3.7.7 2018-01-16 23:32:38 +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
bulbarsaur
c6515bb40f Update Korean translation 2018-01-15 12:40:40 +09: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
Phoenix1747
628acd9585
Update strings.xml 2018-01-14 19:41:56 +01:00
tibbi
01edcf2a51 adding some export/import related strings 2018-01-14 18:37:11 +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