Commit graph

1244 commits

Author SHA1 Message Date
tibbi
8707684013 use layout animations only if they arent disabled by the system 2021-11-17 09:54:44 +01:00
Agnieszka C
17c928129e Simplified code 2021-10-24 17:51:23 +02:00
Agnieszka C
bbadfa1f2e Prevented adding empty contact (#728) 2021-10-24 12:32:23 +02:00
Agnieszka C
4a02c4e47e Fixed group count while changing name (#589) 2021-10-14 18:56:03 +02:00
Andrii Chubko
21028250a5 Export partial dates to vCard 3.0 with year 1900
At the same time, adjust import to be both 3.0 and 4.0 compatible.
2021-08-29 16:07:42 +03:00
tibbi
ba8b9c143f adding 2 more crashfixes 2021-08-27 19:40:42 +02:00
tibbi
251df880ff handle exceptions thrown at using social media action buttons 2021-08-27 19:36:04 +02:00
tibbi
16b81e6254 updating commons and gradle 2021-08-27 19:35:42 +02:00
Andrii Chubko
89ee77575c Fix contacts not refreshing when search bar is open
Before, if you opened search bar and went on to add a contact, the new contact wasn't shown.

With this change, contacts will be refreshed and previous search query will be reapplied.
2021-08-17 16:57:43 +03:00
Tibor Kaputa
76c6871ca8
Merge pull request #705 from qwertyfinger/qwertyfinger/fix/remove-accent-letters-from-scrollbar
Don't show letters with diacritics in the scrollbar
2021-08-17 15:18:21 +02:00
Andrii Chubko
c45ccd09b0 Don't show letters with diacritics in the scrollbar 2021-08-17 16:14:09 +03:00
Tibor Kaputa
2805a6aa1b
Merge pull request #704 from qwertyfinger/qwertyfinger/feature/view-full-contact-image
Add back ability to view full contact picture
2021-08-17 15:04:40 +02:00
Tibor Kaputa
31b3e49031
compacting Contacts model comparing a bit 2021-08-17 14:57:09 +02:00
Andrii Chubko
638f9d61f7 Add back ability to view full contact picture
Revert "hiding the fake top big image"
This reverts commit a996a40f
2021-08-17 13:52:26 +01:00
Andrii Chubko
2bafac3ca9 Allow sorting contacts by date created 2021-08-17 13:10:51 +01:00
Tibor Kaputa
b07edf7d2c
Merge pull request #689 from may-kumar/master
Add option to set ringtone for Groups
2021-08-16 12:07:53 +02:00
tibbi
23b5a1d0eb moving call confirmation fully to Commons 2021-07-25 17:30:42 +02:00
tibbi
4300eceb94 moving the Call Confirmation dialog into Commons 2021-07-25 17:00:26 +02:00
Mayank Kumar
0ecdaebb0d
Remove unnecessary comments 2021-06-18 18:48:19 +05:30
Mayank Kumar
3b0390d21e
Remove unrequired comments 2021-06-18 17:27:20 +05:30
Mayank Kumar
c8db298cd0 Add ringtone selector for group 2021-06-18 04:16:29 +05:30
tibbi
6c4398ce03 moving some strings into Commons 2021-05-23 14:55:30 +02:00
tibbi
0be6e3b77a fix #667, show the age after birthdays and years at anniversaries too 2021-05-18 16:13:15 +02:00
tibbi
188014ceb8 adding a crashfix at viewing contact details 2021-05-18 15:45:04 +02:00
tibbi
8970b1f746 removing location_dialpad, it isnt available anymore 2021-05-18 11:27:16 +02:00
tibbi
f359e41ed3 allow creating contact shortcuts 2021-05-18 11:25:58 +02:00
tibbi
c459cda972 improving some intent handling for Android 11+ 2021-04-04 09:15:50 +02:00
tibbi
b5ed7944f0 properly handle launching the dialpad intent on Android 11 2021-04-03 23:05:36 +02:00
tibbi
7220062283 catch and show exceptions thrown at changing contact photo 2021-04-03 22:49:47 +02:00
tibbi
52f7846867 allow selecting phoneNumberless private contacts too 2021-04-03 22:14:36 +02:00
tibbi
64c67c16ca set target SDK to 30, updating kotlin, commons, gradle 2021-04-03 21:47:27 +02:00
tibbi
8511cfd25a use the contacts name at sharing, if we share only one 2021-03-04 23:17:25 +01:00
tibbi
68082ab9ed properly handle fetching the current ringtone uri 2021-03-04 21:02:03 +01:00
tibbi
49ec8965af use the new ringtone picker from the Edit screen too 2021-03-04 19:35:53 +01:00
tibbi
6de5aaeb94 rely on the system ringtone picker, just fall back to ours 2021-03-04 19:18:45 +01:00
tibbi
b38e00c5b8 avoid unnecessary contact screen redrawing 2021-03-04 19:15:45 +01:00
tibbi
1b871331a2 adding animations to recyclerviews 2021-03-02 19:52:56 +01:00
tibbi
53c08d31f9 properly handle the letter fastscroller on smaller devices 2021-02-15 12:53:43 +01:00
tibbi
73962e0957 highlight the currently selected letter at letter fastscrollers 2021-02-14 23:10:38 +01:00
tibbi
31f0f0aa53 speed up duplicate contact fetching by ignoring some fields 2021-02-14 21:01:23 +01:00
tibbi
ab94133860 lets actually not show the ringtone on View screen if it is the default 2021-02-14 20:24:08 +01:00
tibbi
230b438134 fix selecting custom files as ringtones 2021-02-14 20:05:21 +01:00
tibbi
763dfe3757 allow customizing the ringtone of locally stored contacts too 2021-02-14 19:31:23 +01:00
tibbi
af7b46f1b7 allow changing contact ringtones from the View screen too 2021-02-14 19:18:49 +01:00
tibbi
43e8dd3303 show "No sound" at silent ringtones 2021-02-14 17:58:30 +01:00
tibbi
c6a2f2c14b allow setting custom ringtone per contact 2021-02-14 17:52:43 +01:00
tibbi
8c488ba5ca show the contacts ringtone at the View screen 2021-02-14 16:03:54 +01:00
tibbi
8f050c48ee adding some preparation for setting custom contact ringtones 2021-02-14 10:15:56 +01:00
tibbi
b1f2316792 fix #656, prepend website with https if needed 2021-02-14 10:04:03 +01:00
tibbi
49241363a1 updating the way view colors are set 2021-02-13 23:54:13 +01:00
tibbi
9ba1cadae1 lets combine the contact name to 1 line at the View Details screen 2021-01-10 16:33:55 +01:00
tibbi
8249f3bca7 adding some Threema related preparation for #624, needs more work 2021-01-10 16:18:08 +01:00
tibbi
78aa887a9f avoid saving contacts to threema 2021-01-10 13:36:38 +01:00
tibbi
21ed55cc47 fix #647, always fetch contacts the same way, no matter the sorting 2021-01-10 12:37:48 +01:00
tibbi
f1aa4e96d7 do not update contact organization, if there is none 2021-01-10 12:11:35 +01:00
tibbi
8449b00b7d fix #644, fixing a glitch at saving contact without first name 2021-01-10 10:30:33 +01:00
tibbi
26341c1442 fix #636, ensure there is no stroke around contact placeholder letters 2021-01-02 12:41:02 +01:00
tibbi
416054b792 move the SMS sending activity extension to Commons 2020-12-31 15:24:56 +01:00
tibbi
4d1c8c6f53 remove the lines used for settings background colors at fullscreen activities 2020-11-01 19:24:30 +01:00
tibbi
f7bf678588 use the new way of using transparent top screens 2020-11-01 19:20:05 +01:00
tibbi
60d4a75170 fixing a glitch at sending batch SMS messages 2020-10-27 23:02:57 +01:00
tibbi
c893b1d9e8 do not refresh contacts on Resume if search is open 2020-10-27 22:07:23 +01:00
tibbi
76ac4b58fb export private contact birthdays and anniversaries, for the calendar 2020-10-27 19:54:10 +01:00
tibbi
00d5ee999b adding one more Viber related call action 2020-10-27 17:59:45 +01:00
tibbi
ab44c35fac removing some social action fetching related code duplication 2020-10-27 17:53:59 +01:00
tibbi
4995308818 show Telegram actions 2020-10-27 17:33:38 +01:00
tibbi
b28571db15 simplifying Telegram contact source public name 2020-10-27 17:04:33 +01:00
tibbi
457a66c4f2 adding Viber handling 2020-10-27 16:59:25 +01:00
tibbi
e0b13c648a adding some light theme related fixes 2020-10-27 16:01:59 +01:00
tibbi
f537b78aa2 show Signal actions too 2020-10-27 15:53:54 +01:00
tibbi
75a4714c3d use proper app icons at handling WhatsApp actions 2020-10-27 14:16:33 +01:00
tibbi
df65b3d057 add some WhatsApp actions on clicking at contacts WhatsApp 2020-10-27 11:24:09 +01:00
tibbi
7fe3a96f6a show a WhatsApp logo at WhatsApp sources 2020-10-26 22:45:48 +01:00
tibbi
0ddfbeb38b lets actually remove the Call/Send action buttons from the Edit screen 2020-10-26 20:46:40 +01:00
tibbi
fd52ddfedc adding a Change Photo button at the edit screen 2020-10-26 20:41:58 +01:00
tibbi
4dab8d0740 correcting the Edit screens top action button positions 2020-10-26 16:26:43 +01:00
tibbi
d7f4dcd656 set up the new Menu at Edit screen 2020-10-26 16:13:23 +01:00
tibbi
61f17de7f4 start rewriting the Edit screen too 2020-10-26 16:07:10 +01:00
tibbi
9ad96061a9 allow toggling contact Favorite state from the View screen too 2020-10-26 15:52:46 +01:00
tibbi
75b54e1d18 show a nicer placeholder for contacts without image 2020-10-26 14:25:18 +01:00
tibbi
0efae2f760 adding a divider under the contacts photo 2020-10-26 12:53:04 +01:00
tibbi
516d847037 reworking the View contact UI a bit 2020-10-26 11:53:17 +01:00
tibbi
a996a40f82 hiding the fake top big image 2020-10-26 11:12:52 +01:00
tibbi
d1ebf226cd start rewriting the View Contact screen with a bigger top image 2020-10-26 11:08:24 +01:00
tibbi
846fdc7500 updating commons to 5.31.8 2020-10-25 23:24:41 +01:00
tibbi
54dafaecd2 fix #539, show the proper public name of private contact source at groups 2020-09-19 11:16:19 +02:00
tibbi
bb496bbdfb fix #593, remove the Dialer Moved dialog 2020-09-19 11:05:00 +02:00
tibbi
749bbe55a6 fix #604, show the phone number type at the number picker 2020-09-19 10:58:33 +02:00
tibbi
7b9d42b36a fix Search, properly handle non UTF characters 2020-09-19 10:31:42 +02:00
tibbi
3d12a8da46 URI encode phone number before sending SMS to it 2020-08-08 17:53:10 +02:00
tibbi
8d49c6face properly sort groups by title 2020-07-18 20:18:54 +02:00
tibbi
133d0a4a98 fix #264, allow inserting contact events without a year 2020-07-18 17:04:21 +02:00
tibbi
484d9c5abd fix #580, always show middle name after first name 2020-07-16 21:46:13 +02:00
tibbi
c05f5fccac adding a null check 2020-07-12 22:03:07 +02:00
tibbi
842908a21e add some support for SimpleContact contains multiple phone numbers 2020-07-12 16:01:10 +02:00
tibbi
272ba65337 fix #525, avoid importing empty emails 2020-07-08 11:02:14 +02:00
tibbi
94e9ecd4c6 catch an exception at getting the export destination file 2020-07-07 14:57:46 +02:00
tibbi
3abc0a8e66 fetch only favorited private contacts when requested so 2020-06-19 10:34:41 +02:00
tibbi
4e3194aac8 updating commons and gradle 2020-06-19 09:58:16 +02:00
tibbi
6cb07342f8 removing the new check at fetching contacts, better show more contacts 2020-06-17 09:39:30 +02:00
tibbi
67a91aa62e avoid overwriting contacts at fetching 2020-06-16 22:55:27 +02:00
tibbi
409add1e79 fix #573, apply Search at phone numbers too 2020-06-13 09:49:43 +02:00
tibbi
0ec3b1a752 updating commons ot 5.29.7 2020-06-13 09:00:46 +02:00
tibbi
10ddac1914 fix #570, allow sorting by full name 2020-06-03 11:18:47 +02:00
tibbi
1a478dcfee fix #483, adding some search improvements, do not reset it that often 2020-06-03 11:03:34 +02:00
tibbi
65610e6fd4 moving the start_name_with_surname config into commons 2020-05-31 10:31:29 +02:00
tibbi
dab3c58cf6 handle CALL_PHONE permission at initiating a call 2020-05-26 11:20:57 +02:00
tibbi
e903a6f16e catching an exceptions thrown if no app can handle Dialpad 2020-05-25 12:12:45 +02:00
tibbi
3e5bbd69c8 replace Dial intent with Call 2020-05-24 23:35:28 +02:00
tibbi
47bf6addf1 squeeze the tab index checker 2020-05-23 22:25:41 +02:00
tibbi
df649f5bdd removing a few more calling related redundant things 2020-05-23 22:12:59 +02:00
tibbi
2967621c3e fetch the proper default tab, if some tabs arent shown 2020-05-23 21:33:34 +02:00
tibbi
9b9d0231a5 allow customizing the default tab to open at app start 2020-05-23 21:27:50 +02:00
tibbi
a5e6d23d5f removing a few more unused files 2020-05-23 20:48:54 +02:00
tibbi
6d05ee636a removing some more calling related files 2020-05-23 20:42:38 +02:00
tibbi
d91e930eb6 removing the DialPad activity, launch DIAL intent on click 2020-05-23 20:33:12 +02:00
tibbi
dda49b2967 removing the Show Dialpad Letters settings item 2020-05-23 20:28:11 +02:00
tibbi
27920116ce removing the Manage Blocked Numbers screen 2020-05-23 20:21:47 +02:00
tibbi
a38e5ac68b removing Speed Dial related things 2020-05-23 20:19:47 +02:00
tibbi
4ae0cb3ba5 show a dialog warning about calling functionality moved into Simple Dialer 2020-05-23 20:14:06 +02:00
tibbi
c0bfe21032 updating commons, reuse TAB constants from there 2020-05-23 20:00:02 +02:00
tibbi
697726b7e1 use same id at local contacts as raw and contact id 2020-05-20 15:06:12 +02:00
tibbi
e8b83801f4 allow sharing private contacts with Simple Dialer and SMS Messenger 2020-05-18 20:19:57 +02:00
tibbi
c23800f28b make sure the Call and SMS buttons are shown when necessary 2020-05-15 12:08:52 +02:00
tibbi
cfebcfee5e moving a constant into Commons 2020-05-13 23:16:05 +02:00
tibbi
2c4b1fc4e4 moving some things in Commons 2020-05-12 12:07:09 +02:00
tibbi
d82d9805be moving some helper functions into Commons 2020-05-09 23:05:06 +02:00
tibbi
cd8d73b8e4 moving the Launch ACTION_CALL intent handling in Commons 2020-05-08 22:34:42 +02:00
tibbi
3bebf4445e moving some View Contact intent related things in Commons 2020-05-08 22:04:25 +02:00
tibbi
080401bc37 moving some shared layout files into Commons 2020-05-08 10:23:29 +02:00
tibbi
96ce1eabcd handle the SIM picking before calling only if this is the default dialer app 2020-05-04 16:45:18 +02:00
tibbi
5ab75aed4b change the default contact placeholder letter from S to A 2020-05-04 16:36:24 +02:00
tibbi
bf1db86b4f setup the call notification on the main thread 2020-05-03 20:27:56 +02:00
tibbi
419431247b properly handle updating letter fastscroller related colors 2020-05-03 20:09:22 +02:00
tibbi
e8c9958306 show contacts name at the Call Screen, even if stored at the private space 2020-05-03 18:51:55 +02:00
tibbi
3a62e38ef5 use proper icon colors at the calling screen 2020-05-03 18:07:31 +02:00
tibbi
91bf451794 set MODE_IN_CALL audio mode right at launching the call screen 2020-05-03 09:38:44 +02:00
tibbi
1e979e2b6e add handling for dialpad presses during calls 2020-05-02 23:04:08 +02:00
tibbi
f5d8822bef moving dialpad character inserting into extensions 2020-05-02 22:58:32 +02:00
tibbi
c80192e1b0 removing the beeping when the call notification appears 2020-05-02 21:40:15 +02:00
tibbi
3b0ca0ccf0 require the PERMISSION_READ_PHONE_STATE before getting the SIM card to use 2020-05-02 21:07:55 +02:00
tibbi
ce281797b4 ask for a SIM card to be used earlier, not at Dialer activity 2020-05-02 20:58:39 +02:00
tibbi
56e8e4744e adding a checkbox for remembering SIM at specific numbers 2020-05-02 20:48:00 +02:00
tibbi
1ddbe9a06c prefer the third party intents SIM over the default one 2020-05-02 20:23:09 +02:00
tibbi
91c33b5030 properly recognize SIM card to use from third party intents 2020-05-02 20:07:14 +02:00
tibbi
964486fedc improve the handling of SIM picker at call start 2020-05-02 20:01:22 +02:00
tibbi
b8c8837aaa show Outgoing call UI at DIALING state too 2020-05-02 18:38:26 +02:00
tibbi
d740d7f2ea renaming the Handle variable used at starting calls 2020-05-02 13:37:10 +02:00
tibbi
c8443f7187 implement the first version of SIM picker 2020-05-02 09:35:54 +02:00
tibbi
f177cbd011 adding an initial implementation of the PhoneAccount picker 2020-05-01 23:50:22 +02:00
tibbi
8b79b57fcc updating min SDK version to 23, Marshmallow Android 6 2020-05-01 22:44:18 +02:00
tibbi
78e87e2df5 make sure the proper layouts are shown at incoming/outgoing calls 2020-05-01 22:32:47 +02:00
tibbi
1792c2daa0 add a Dialpad Close button at the ongoing calls dialpad 2020-05-01 21:54:09 +02:00
tibbi
85123eba20 show a dialpad at the call screen on button press 2020-05-01 21:04:47 +02:00
tibbi
33b5f6e1a3 end the call if the user closes the call screen while dialing 2020-05-01 21:01:53 +02:00
tibbi
f3f62ff074 moving the dialpad in an own layout file 2020-05-01 20:46:06 +02:00
tibbi
0aea7f5ad1 init the proximity sensor immediately, not just as the call starts 2020-05-01 19:02:44 +02:00
tibbi
4058fc3a4e show the Acccept Call notification button only at incoming ringing status 2020-05-01 19:00:39 +02:00
tibbi
d64546e059 show the proper call buttons at outgoing calls 2020-05-01 18:56:30 +02:00
tibbi
b4d2bdf38d show the call duration at the notification, while active 2020-05-01 18:50:28 +02:00
tibbi
70466bd1a1 show correct status at the call notification too 2020-05-01 18:48:03 +02:00
tibbi
7f1c2471d0 use only default priority for the app call notification 2020-05-01 18:36:56 +02:00
tibbi
a9fff376ea close the call instantly if it ended and the user presses the red button 2020-05-01 18:33:50 +02:00
tibbi
ae42a735e7 show the call screen for a moment after the call ends, with visible duration 2020-05-01 18:18:29 +02:00
tibbi
1c45efd986 update the call timer during an active call 2020-05-01 17:14:58 +02:00
tibbi
b02468e5db show the call status below the other sides name 2020-05-01 17:01:27 +02:00
tibbi
6be6b546f5 lets actually remove the callers number if we know his name 2020-05-01 16:42:10 +02:00
tibbi
2a0cbe9b4f implement microphone and speaker toggling via the audiomanager 2020-05-01 16:21:04 +02:00
tibbi
390c4f8b54 unregister the calls callback after the call 2020-05-01 13:44:28 +02:00
tibbi
cca5de0bef implementing a proximity sensor, turn the screen off when something is close 2020-05-01 13:24:36 +02:00
tibbi
570f55eeb8 show the incoming call screen if the screen is turned off too 2020-05-01 12:48:10 +02:00
tibbi
659b2abb4c do not autocancel the incoming call notification 2020-05-01 12:18:39 +02:00
tibbi
2504de4239 show the contacts avatar at the notification too 2020-05-01 12:12:01 +02:00
tibbi
56a6f3b98f show the incoming callers name at the notification too 2020-05-01 11:23:46 +02:00
tibbi
0b82f4aded show the caller as Unknown caller in case we know nothing about him 2020-05-01 11:14:15 +02:00
tibbi
e5f3da5434 show the callers name, number and photo, if available 2020-05-01 11:10:38 +02:00
tibbi
824a385b11 handle accepting call 2020-05-01 10:22:51 +02:00
tibbi
0ac58a0a57 adding some handling to rejecting calls 2020-05-01 10:10:28 +02:00
tibbi
c3d8292961 adding an End Call button at the call screen 2020-04-30 23:38:07 +02:00
tibbi
7d2fa2743f toggle the microphone on icon click 2020-04-30 23:25:34 +02:00
tibbi
11e243f170 toggle Speaker icon at the Call screen on click 2020-04-30 21:58:09 +02:00
tibbi
b3aa539f52 use Call category for the call notification 2020-04-30 21:53:54 +02:00
tibbi
c7f5f454ef adding an initial implementation of the incoming call notification 2020-04-30 21:48:03 +02:00
tibbi
d835c5d80b adding buttons, microphone and keyboard buttons 2020-04-30 15:18:09 +02:00
tibbi
2bacde210c adding the initial incoming call screen buttons 2020-04-30 11:57:33 +02:00
tibbi
6f921ad673 adding an initial Call activity 2020-04-30 10:36:37 +02:00
tibbi
76a1d2c3d6 convert contact photo from uri to bytearray directly, without creating a bitmap 2020-04-29 21:27:47 +02:00
tibbi
9860b8118c do not try inserting the contact thumbnail, it will be generated 2020-04-29 20:27:04 +02:00
tibbi
fa05c304e9 allow closing View screen quicker with double back button 2020-04-29 18:31:19 +02:00
tibbi
b8e633aea8 change the required contact photo resolution from 720 to 512 2020-04-29 18:07:15 +02:00
tibbi
58924763a0 hide big contact photo on pressing Back, if it is open 2020-04-29 13:01:00 +02:00
tibbi
96ec75e545 minor style update 2020-04-28 23:52:21 +02:00
tibbi
b0c5624e0e add rounded corners at the big photo at View Details screen 2020-04-28 11:29:20 +02:00
tibbi
3ec5ae7a07 adding a PhotoUri field at LocalContact too 2020-04-28 11:14:19 +02:00
tibbi
e35d07d8c6 do not rely on email at letter fastscroller too early 2020-04-28 10:19:38 +02:00
tibbi
9df550a8aa fix #537, properly handle non UTF characters at letters scrollbar 2020-04-28 09:55:49 +02:00
tibbi
bee5d768b9 use the colored letter icon at View and Edit screens too 2020-04-28 09:32:49 +02:00
tibbi
8f8b5800b8 fix #534, show all contacts at the Dialpad screen by default 2020-04-27 23:29:17 +02:00
tibbi
8a41f3022f fix #535, hide the dialpad button while search is open 2020-04-27 23:24:59 +02:00
tibbi
6b55adefbd updating some code style and shortening it, no real change 2020-04-27 23:09:44 +02:00