Commit Graph

603 Commits

Author SHA1 Message Date
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
fricyo 1dcfaa05e9
Update Translation 2018-03-21 16:23:35 +08: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 7a914181de change the icon of "Add to group" 2018-03-20 21:17:37 +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
Kompiuterių meistras +37060040020 d7d0e19e6c
Lithuanian strings.xml
Lithuanian translation
2018-03-19 16:09:43 +02:00
solokot 1437ea536c
Update strings.xml 2018-03-19 15:11:17 +03:00
solokot 63e2913ec9
Update strings.xml 2018-03-19 15:10:39 +03: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 fe6a98815c Merge branch 'master' of github.com:SimpleMobileTools/Simple-Contacts 2018-03-18 16:58:40 +01:00
tibbi b31e7b0086 implement a Group picker dialog 2018-03-18 16:57:50 +01:00
fricyo 7e38050342
Update Translation 2018-03-18 22:29:46 +08: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 50904b2dff adding Group icons 2018-03-16 15:21:22 +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 aa8186af56 properly closing a string tag 2018-03-08 12:52:13 +01:00
fricyo 148541775d
Creat Chinese(TW) Translation 2018-03-08 16:12:11 +08:00
Sérgio Marques fbbee420cd
Update strings.xml 2018-03-04 22:40:26 +00:00
tibbi 6802faaa40 update version to 3.3.3 2018-03-04 10:07:49 +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 ad3e72ecac update version to 3.3.2 2018-03-04 09:08:46 +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 38a8df9dc3 update version to 3.3.1 2018-03-02 12:13:14 +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 88bcaf8c0c update version to 3.3.0 2018-02-22 21:09:06 +01:00
tibbi ec0dbd23e1 add Address and Notes in release notes 2018-02-22 21:08:14 +01:00
tibbi 3d7f14039b update commons to 3.12.20 2018-02-22 21:06:00 +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 5a0095c22a update commons to 3.12.16 2018-02-21 18:46:42 +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 23867b60e8 update version to 3.2.0 2018-02-11 23:49:51 +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 89431dde94 update version to 3.1.4 2018-02-03 23:56:08 +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
tibbi 93e7d73d91 update commons to 3.9.9 2018-02-01 21:25:28 +01: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 70691c56c7 update version to 3.1.3 2018-01-30 00:03:46 +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
tibbi fac521babd update commons to 3.9.4 2018-01-29 16:30:51 +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