Commit Graph

122 Commits

Author SHA1 Message Date
Daniel Gultsch
949b77c353 make show location depend on plugin setting 2018-05-01 12:55:11 +02:00
Daniel Gultsch
59b5dece96 theming: switched to material green. changed accent color 2018-04-27 14:50:27 +02:00
Daniel Gultsch
35020702fb very much unoptimized search functionality 2018-04-26 13:22:31 +02:00
Daniel Gultsch
bb37401028 do not match mentions on word boundries but only when preceeded by white space 2018-04-24 12:31:37 +02:00
Daniel Gultsch
406a5a10f9 removed 'received' prefix from description 2018-04-16 09:55:16 +02:00
Daniel Gultsch
ffc35f5bc5 wrap all calls to notification manager in exception handler to catch dead object exception 2018-04-15 17:47:51 +02:00
Daniel Gultsch
4bb45996c5 return contact and account.getServer() as String 2018-03-11 12:13:56 +01:00
Daniel Gultsch
94bb7c423c added splash screen 2018-03-07 22:30:36 +01:00
Daniel Gultsch
1accf9d961 migrate to xmpp-addr 2018-03-07 22:30:36 +01:00
Daniel Gultsch
a4f4c80743 fixed 'mark read' icon on android ~4 devices 2018-03-07 22:30:36 +01:00
Daniel Gultsch
6b689edb52 move new activity back to original name 2018-03-07 22:30:34 +01:00
Daniel Gultsch
72cf702e75 mark error notifications as sensitve and local only. fixes #2795 2018-02-20 08:22:08 +01:00
Christian Schneppe
40878350c7
fixed crash on receiving files 2018-02-01 19:47:51 +01:00
Daniel Gultsch
3e9224bde9 add snooze button to notification 2018-01-28 13:14:30 +01:00
Daniel Gultsch
1e0f288e6a avoid some unnecessary notification updates 2018-01-22 12:24:10 +01:00
Daniel Gultsch
5d11fe7dc6 added a few todos to source code 2018-01-15 11:13:35 +01:00
Daniel Gultsch
900ad2f7ef ConversationsAdapter: Use EmojiWrapper instead of EmojiTextView 2017-11-23 09:36:51 +01:00
Daniel Gultsch
676f181cad lower priority for error notification 2017-11-08 20:33:05 +01:00
Daniel Gultsch
aa10b9ff05 code refactoring to provide shorter account enabled check 2017-11-06 13:57:25 +01:00
Daniel Gultsch
0603378c75 show permanent notification while transcoding video 2017-09-18 17:56:25 +02:00
Daniel Gultsch
63817ecda1 removed unused 'disable foreground' button 2017-09-11 09:27:39 +02:00
Dan Pasanen
bbce690d4f NotificationService: add button to mark conversation as read 2017-08-30 11:15:03 -05:00
Daniel Gultsch
85b502cff9 use proper defaults for notification. fix sound playing twice on Android 8 2017-08-22 12:19:18 +02:00
Daniel Gultsch
c3cbb21133 cache some information generated from body like isEmojiOnly, fileParams and isGeoUri 2017-08-03 13:24:41 +02:00
Daniel Gultsch
2b9cdde558 refactored retrieval of default preferences 2017-07-01 13:41:24 +02:00
Daniel Gultsch
311c99bb6d put settings defaults into resource file 2017-06-30 21:22:35 +02:00
Ferdinand Pöll
f8e031ac86 Added preference to control Heads-up Notifications (turned off by default) 2017-06-24 15:38:16 +02:00
Daniel Gultsch
7cd4ed78b2 synchronize on dedicated lock for catchup instead of account 2017-05-19 13:30:57 +02:00
Daniel Gultsch
2f577097d1 work around for brokens ROMs that expose file uris as notification sound 2017-05-13 08:10:47 +02:00
Daniel Gultsch
404cf808b0 set catchup flag on mam only when doing that 2017-05-04 22:11:46 +02:00
Daniel Gultsch
84baa3ae68 avoid race conditions when downloading files or decrypting pgp messages and waiting for sm catchup 2017-04-30 16:19:39 +02:00
Daniel Gultsch
15e5ccd1f4 avoid race condition that lead to double notification sound 2017-04-30 13:59:45 +02:00
Johannes Morgenroth
adff2baa4a Add messages to Notification for Android Auto on Android M and older
In the previous implementation for Android Auto, messages are only added
on Android N and above. In order to support older Android versions, the
messages need to be added always.
2017-04-29 19:25:57 +02:00
Daniel Gultsch
9f5a089d5c reworked unique id generation for notification intents 2017-04-21 15:13:08 +02:00
Daniel Gultsch
c33f4b704c Merge branch 'android-auto-support' of https://github.com/morgenroth/Conversations into morgenroth-android-auto-support 2017-04-20 13:03:18 +02:00
Johannes Morgenroth
a4454bcff2 Add reply button in wear design
The existing reply button for Android wear has been re-used from the action
bar. Instead of a 'send' icon, a 'reply' icon better matches the intended
action. Moreover, action icons for Android wear are solid white instead of
half transparent.
2017-04-17 12:19:14 +02:00
Johannes Morgenroth
403eff3d19 Add Android Auto support to notifications
This patch adds required additions in order to show notifications
in Android Auto. Messages are read aloud and voice reply is
offered. The functionaliy has been tested with the Android Auto
standalone app as well as with the DHU simulator as describes
here:

https://developer.android.com/training/auto/testing/index.html
2017-04-14 13:32:01 +02:00
Daniel Gultsch
4fd11a4c2b show first instead of last message in notification preview 2017-04-12 20:54:32 +02:00
cijo-saju
3467a67e75 Removed unused imports from entire project. 2017-04-12 20:24:36 +05:30
Daniel Gultsch
99565a6876 treat URL as file if URL is in oob or contains key 2017-04-05 22:35:42 +02:00
Haresh Khanna
c7912ed7ef Changes the deprecated getColor() method 2017-03-29 22:05:35 +05:30
Daniel Gultsch
00e8ba00c4 count messages in backlog to not renotify on prior notifications 2017-03-23 15:34:52 +01:00
Daniel Gultsch
8502d519c1 changed string from unread conversation to messages in notification 2017-03-07 18:12:33 +01:00
Daniel Gultsch
5b17734287 Merge branch 'dev' of https://github.com/badarsh2/Conversations into badarsh2-dev 2017-03-07 17:21:14 +01:00
B Adarsh
87f0c4a646 Modifies notification for MUC conversations
Minor fixes

Replaces html.fromHTML with SpannableString
2017-03-07 16:10:45 +05:30
Daniel Gultsch
7306e0286f do not notify for messages from strangers by default 2017-03-07 10:50:46 +01:00
Daniel Gultsch
f414998307 use default priority notifications. disables heads up notifications 2017-03-04 21:19:55 +01:00
Daniel Gultsch
23a91e5019 use priority low when creating notification without sound/vibration.
should prevent notifcations showing up in ambient display
2017-02-28 15:32:57 +01:00
Daniel Gultsch
8e0e81a603 bump notification priority to high as per android design guidelines 2017-02-24 19:59:13 +01:00
Daniel Gultsch
4f0e1b71c0 explicitly turn off vibration when disabled. fixes #1255 2017-02-16 13:31:26 +01:00