Commit graph

827 commits

Author SHA1 Message Date
Daniel Gultsch 5be64de7be catch conversations.im invite urls directly in fragment 2018-09-18 17:15:52 +02:00
Daniel Gultsch 6ede6c7f85 behave nicely (no foreground service by default) if app is built with targetSdk <26 2018-09-18 11:33:18 +02:00
Daniel Gultsch bd128335d3 do not show media overview in contact/conference details when missing storage permission 2018-09-17 21:24:25 +02:00
Daniel Gultsch 09eca8478e use javax api instead of BC for file decryption 2018-09-17 17:47:51 +02:00
Daniel Gultsch 3624d11824 create notification channel for export service 2018-09-16 14:40:28 +02:00
Daniel Gultsch febd9cc3e0 fixed regression that would not dismiss video encoding notification 2018-09-16 10:07:33 +02:00
Daniel Gultsch 7a0c53aa71 introduce media browser activity 2018-09-15 21:10:17 +02:00
Daniel Gultsch 06972ec95c show conversation media in contact/conference details 2018-09-15 19:38:45 +02:00
Daniel Gultsch 724f86f054 made foreground service logging more meaninful 2018-09-13 18:47:57 +02:00
Daniel Gultsch 943f11e1f6 share with uses new preview mechanism 2018-09-12 17:21:32 +02:00
Daniel Gultsch 7bde04877a avoid duplicate notifcation sounds 2018-09-09 21:34:41 +02:00
Daniel Gultsch be4c6bc2ca speed up DNS
run queries in parallel
decrease timeout
do not fall back to google
2018-09-08 11:30:20 +02:00
Daniel Gultsch accc378c4b hasInternetConnection() will always return true if type=ethernet 2018-09-06 23:18:06 +02:00
Daniel Gultsch eadd0c5f7a listen for Android 6 DND events 2018-09-06 23:17:37 +02:00
Daniel Gultsch ac7f0032af properly clear file adding notification if forground service channel is disabled 2018-09-06 22:05:15 +02:00
Daniel Gultsch 39b86de698 removed global notifications switch 2018-09-06 16:56:31 +02:00
Daniel Gultsch d86f4ce3a6 load contacts and start observer after giving permissions 2018-09-06 15:55:54 +02:00
Daniel Gultsch 816f5b6d22 make channel for video compression 2018-09-06 15:37:31 +02:00
Daniel Gultsch 5675f65d6d use adaptive launcher icon :-/ 2018-09-05 22:24:58 +02:00
Daniel Gultsch 676d31f606 initial work toward api 26+
* introduce notification channels
* always use foreground service on 26+
2018-09-05 21:37:12 +02:00
Daniel Gultsch 06f37b0d2b AudioPlayer: disable screen and switch to earpiece when holding phone to ear
Based of initial worked by @harshitbansal05
2018-09-01 18:23:07 +02:00
Daniel Gultsch cbea85c4dd special treatment for presence errors known to be mucs 2018-08-28 15:04:55 +02:00
Daniel Gultsch dc5e7e5d95 store bookmarks in pep if conversion xep is running 2018-08-18 16:27:50 +02:00
Daniel Gultsch fd28b32d56 call onMessageFound outside sync block 2018-07-22 22:42:32 +02:00
Daniel Gultsch 1764656ff9 call switchTo(Fore|Back)ground() outside synchronized block 2018-07-16 21:35:52 +02:00
Daniel Gultsch 93836d94ee null pointer check in notification service 2018-07-16 20:49:30 +02:00
Daniel Gultsch 2cc601ee36 do not call listeners while being synchronized on stanza queue 2018-07-16 20:42:17 +02:00
Daniel Gultsch 9bdebb81ba handle non participating mucs a bit better 2018-07-09 11:35:30 +02:00
Daniel Gultsch 3014b7f857 change listener lock strategie 2018-07-08 20:01:39 +02:00
Daniel Gultsch 48e366e410 support mam:1 2018-07-07 11:20:39 +02:00
Daniel Gultsch a23d9929f1 use sets instead of list for listeners 2018-07-06 20:15:45 +02:00
Daniel Gultsch dfb95f0a84 persist muc avatar and show in bookmarks 2018-06-30 13:35:17 +02:00
Daniel Gultsch ad5c9f85c3 clean up imports 2018-06-25 09:46:52 +02:00
Daniel Gultsch 0fffc7a1ac restart file observer when permisson are granted 2018-06-24 20:54:01 +02:00
Daniel Gultsch e8a1f069c2 reset subject and name on empty 2018-06-24 16:33:15 +02:00
Daniel Gultsch 4c9e331e01 save name instead of subject in bookmark 2018-06-24 16:17:20 +02:00
Daniel Gultsch b0e1b5b02d refined create conference dialog 2018-06-24 11:23:10 +02:00
Daniel Gultsch 64aa238d57 make safe button work 2018-06-23 00:58:20 +02:00
Daniel Gultsch e6532e739a do not include white listed domains in room list. fixes #3082 2018-06-22 20:25:50 +02:00
Daniel Gultsch 4b3de32a4e linkify subject + open xmpp directly w/o going through start conv activity 2018-06-20 15:12:02 +02:00
Daniel Gultsch 159fedb358 use room name (if available and != localpart) as group name 2018-06-18 22:17:10 +02:00
Daniel Gultsch d7ebd7d453 WIP: set room avatar and slight redesign of group details 2018-06-18 14:15:19 +02:00
Daniel Gultsch f434925753 do not include read only chats in contact chooser. fixes #3077 2018-06-16 19:00:23 +02:00
Daniel Gultsch 13f1a23889 introduced config setting to hide error notification 2018-06-14 15:01:25 +02:00
ChaosKid42 bc50239c2a improve active_since implementation (XEP-0319: Last User Interaction in Presence) (#3045)
* set contact to inactive if it becomes offline

* send idle also in case app started in background
2018-05-26 15:57:33 +02:00
Daniel Gultsch 70d95c7903 upload files using p1s3 - sending part 2018-05-25 12:24:23 +02:00
Holger Weiß e948d12085 Make nickname matching case-sensitive (#3035)
Perform case-sensitive matching for highlighting the own nickname in MUC
messages and while checking whether to notify.
2018-05-20 15:54:34 +02:00
Daniel Gultsch 39e4b26ff0 prefetch omemo device lists only if muc has omemo enabled 2018-05-20 12:10:07 +02:00
Daniel Gultsch 383b32c80d make fcm receiver ignore messages when all accounts are disabled 2018-05-20 12:01:07 +02:00
Daniel Gultsch ec54a483f8 migrate to fcm library 2018-05-19 20:05:45 +02:00
Daniel Gultsch 9ef2d32a3e changed jid of push server 2018-05-12 17:23:37 +02:00
Daniel Gultsch 543d1f689b do not use end in catchup mam queries 2018-05-11 11:16:29 +02:00
Daniel Gultsch 678fcf8b31 removed dead code + null check 2018-05-10 18:59:17 +02:00
Daniel Gultsch 5b41906328 do not include body in simple status updates to not trigger fts update 2018-05-10 10:47:28 +02:00
Daniel Gultsch 78b56bb904 don’t scall images to a 0 width or height 2018-05-07 11:13:46 +02:00
Daniel Gultsch 7ca719b8be apply styling helper to conversation overview 2018-05-06 11:22:20 +02:00
Daniel Gultsch 7b3d871f28 improved logging for node configuration change 2018-05-03 22:44:28 +02:00
Daniel Gultsch 157d644750 organize listeners in lists 2018-05-03 14:54:22 +02:00
Daniel Gultsch 9625f191c3 hide treatAsDownloadable in search results 2018-05-02 12:14:24 +02:00
Daniel Gultsch d3b20544c9 do not invoke onPushFailed() on timeout 2018-05-01 17:35:29 +02:00
Daniel Gultsch 949b77c353 make show location depend on plugin setting 2018-05-01 12:55:11 +02:00
Daniel Gultsch 2505ac8b77 only search text messages 2018-05-01 09:58:43 +02:00
Daniel Gultsch 27f31446c0 search term parsing + highlighting 2018-04-30 17:09:55 +02:00
Daniel Gultsch 287c416dac hard code ogg + audio/ mime type to oga 2018-04-29 15:19:13 +02:00
Daniel Gultsch 59b5dece96 theming: switched to material green. changed accent color 2018-04-27 14:50:27 +02:00
Daniel Gultsch e6feb91390 properly cancel pending searchs and scroll to bottom after refresh 2018-04-26 17:02:31 +02:00
Daniel Gultsch 35020702fb very much unoptimized search functionality 2018-04-26 13:22:31 +02:00
Daniel Gultsch bf95ef66eb null check when cleaning avatars for muc 2018-04-25 14:41:33 +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 2a9413e64d fixed caps hash generation for empty form values 2018-04-22 11:07:00 +02:00
Daniel Gultsch 9a36627e67 catch run time exception when starting service from event receiver 2018-04-20 10:51:00 +02:00
Daniel Gultsch 406a5a10f9 removed 'received' prefix from description 2018-04-16 09:55:16 +02:00
Daniel Gultsch 4a706aad03 catch dead object exceptions when acquiring wake locks 2018-04-15 18:31:58 +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 fa13d2336e include node when requesting disco features 2018-04-14 18:43:11 +02:00
Daniel Gultsch afb7c0592b display avatar in groups 2018-04-14 17:54:04 +02:00
Daniel Gultsch 32a105fa1c fixed condition to accept lmc if user reference exists 2018-04-14 14:55:51 +02:00
Daniel Gultsch aff2b33e27 load currently open conversation faster 2018-04-11 18:07:40 +02:00
Daniel Gultsch c86bc08c23 change icon size 2018-04-04 09:33:31 +02:00
Ye feng 044ea5c5a9 support contact shortcuts (#2918)
* support contact shortcuts

* make ShortcutActivity extends AbstractSearchableListItemActivity

* Draw the app icon in the corner of the icon and modify the name of the widget

* updated label and icon size
2018-04-04 09:33:07 +02:00
Daniel Gultsch f4b26f0bf9 code cleanup 2018-03-31 11:08:04 +02:00
Daniel Gultsch 93ceb9db78 fixed read event when using fab scroll down 2018-03-31 10:57:59 +02:00
Daniel Gultsch aeaa58071c only mark visible messages as read 2018-03-30 21:14:06 +02:00
Daniel Gultsch d5c4a987a1 persist some muc configurations 2018-03-30 08:47:37 +02:00
Daniel Gultsch f2b0a10c22 end view if conversation was archived 2018-03-29 15:08:43 +02:00
Daniel Gultsch a6539be52b introduced tri state omemo setting (off by default, on by default, always) 2018-03-27 15:35:53 +02:00
Daniel Gultsch fe8f0bd7f0 make receipt handling work with out of order receipts 2018-03-25 17:22:39 +02:00
Daniel Gultsch 255dd9674e fixed cache key generation for messages w/o full jid 2018-03-22 15:10:29 +01:00
Daniel Gultsch bd3799fe02 messages coming from known muc server are treated as muc when creating conversation 2018-03-22 12:43:08 +01:00
Daniel Gultsch ad768d1938 improved logging while deleting old cache files 2018-03-20 09:04:04 +01:00
Daniel Gultsch b682aeb252 use utf-8 in barcodes 2018-03-19 21:05:20 +01:00
Daniel Gultsch 6779bf2a29 write roster only for active accounts 2018-03-18 23:19:23 +01:00
Daniel Gultsch ba91fe2698 run roster sync in replacing task manager 2018-03-18 16:46:50 +01:00
Daniel Gultsch 9908af6286 sync roster to disk after roster push 2018-03-18 12:24:28 +01:00
Daniel Gultsch 7e6109a072 removed unecessary logging 2018-03-18 10:32:01 +01:00
Daniel Gultsch 5514958e93 presist http upload availibility 2018-03-18 10:30:15 +01:00
Daniel Gultsch ca625f1e8e fix register account checkbox glitch 2018-03-13 11:54:34 +01:00
Daniel Gultsch 22d98bd162 do not highlight users when not participating. fixes #2865 2018-03-12 16:00:02 +01: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 de2f5e7a83 reorder and scroll down after resending a message 2018-03-07 22:30:36 +01:00
Daniel Gultsch 194b8d419b fix change password activity for magic created accounts 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 78fd19195d finished 'Set Status Message' dialog 2018-03-07 22:30:36 +01:00
Daniel Gultsch c1c314f47a delegate mime type from intent 2018-03-07 22:30:36 +01:00
Daniel Gultsch ac22007e28 removed 'preemptive grant' setting 2018-03-07 22:30:35 +01:00
Daniel Gultsch b393f54a03 get rid of customizable resources 2018-03-07 22:30:35 +01:00
Daniel Gultsch e3ca4ca485 made conference invite work again 2018-03-07 22:30:35 +01:00
Daniel Gultsch 6b55f05e27 don't send messages in callback 2018-03-07 22:30:35 +01:00
Daniel Gultsch e93b06f45c redirect on empty conversation list 2018-03-07 22:30:34 +01:00
Daniel Gultsch 6b689edb52 move new activity back to original name 2018-03-07 22:30:34 +01:00
Daniel Gultsch bf6b54a7aa get rid of OTR 2018-03-07 22:30:34 +01:00
daivat15 54dadfd7cd AppCompat Migration contribution 2018-03-07 22:30:33 +01:00
Daniel Gultsch de0272fd1a integrate trust manager into conversations 2018-03-07 22:30:33 +01:00
Daniel Gultsch 0deffef8da fixed concurrent modification when killing mam queries 2018-03-01 08:27:30 +01:00
Daniel Gultsch 4013123279 MAM: rework hasMessagesLeft to account for prosody’s missing count 2018-02-24 10:57:11 +01:00
Daniel Gultsch a09d63d9a4 only explicitly request device list for users not in roster 2018-02-24 09:47:07 +01:00
Daniel Gultsch 03fa58634b kill mam query when archiving conversation 2018-02-24 09:39:17 +01:00
Daniel Gultsch 7725cb8311 MAM: look at total count for completness. parse fin correctly 2018-02-23 23:11:54 +01:00
Daniel Gultsch e7094af9d5 warn when attempting to write stanza to an unbound stream 2018-02-20 17:03:44 +01:00
Daniel Gultsch 72cf702e75 mark error notifications as sensitve and local only. fixes #2795 2018-02-20 08:22:08 +01:00
Marc Schink 17c6d8827c Make use of Namespace.DATA constant 2018-02-16 16:12:53 +01:00
Daniel Gultsch 6650c0bd57 always copy firefoxe’s shared files 2018-02-12 12:31:59 +01:00
Daniel Gultsch e2ac1db225 do not cross reference bookmarks and conversations 2018-02-10 19:06:31 +01:00
Daniel Gultsch 2eb2513615 always persist current nick (in bookmark and database) 2018-02-10 16:24:55 +01:00
Daniel Gultsch facc56bc7b return to welcome activity after deleting last account 2018-02-10 10:45:33 +01:00
Christian Schneppe 40878350c7
fixed crash on receiving files 2018-02-01 19:47:51 +01:00
Daniel Gultsch 2f1f9f2c2c do not explicitly request MAM archive for blocked contacts 2018-01-29 01:39:46 +01:00
Daniel Gultsch 3e9224bde9 add snooze button to notification 2018-01-28 13:14:30 +01:00
Daniel Gultsch 676ac32a97 delegate uri permission to service when processing files 2018-01-23 22:02:28 +01:00
Daniel Gultsch eee5d885ba make chat markers opportunistic in private mucs 2018-01-22 23:21:24 +01:00
Daniel Gultsch 1e0f288e6a avoid some unnecessary notification updates 2018-01-22 12:24:10 +01:00
Daniel Gultsch 2b39acf352 postpone notification actions (mark as read, reply) until after messages are loaded 2018-01-20 20:05:39 +01:00
Daniel Gultsch 3ff37511d4 sent message receipts after mam catchup 2018-01-20 08:54:44 +01:00
Daniel Gultsch 6009b8ebf0 disable offline messages. postpone prekey handling until after mam catchup 2018-01-19 18:17:13 +01:00
Daniel Gultsch 5d11fe7dc6 added a few todos to source code 2018-01-15 11:13:35 +01:00
Christoph Scholz d6bbcbd866 setting room subject also sets room name 2018-01-13 21:02:06 +01:00
Daniel Gultsch 7ab8ed625d fix wrong avatar shown when true jid doesn't match in muc 2018-01-09 10:13:34 +01:00
Daniel Gultsch 1753dcac76 save muc subject to disk and use crypto targets for offline name generation 2017-12-17 16:23:19 +01:00
Daniel Gultsch c58fcb1dc6 create avatar in background thread 2017-12-16 14:22:57 +01:00
Daniel Gultsch 782b8fb744 fixup for pep omemo notification dedup 2017-12-13 20:28:30 +01:00
Daniel Gultsch a973833a4f support error messages in quick edit dialog 2017-12-09 18:46:21 +01:00
Daniel Gultsch b5fe8789e9 Refined avatar generation a bit 2017-12-05 14:15:10 +01:00
Daniel Gultsch fc8a5641db MAM: assume true counterpart is safe to extract when using mam:2 2017-12-02 18:11:03 +01:00
Daniel Gultsch 900ad2f7ef ConversationsAdapter: Use EmojiWrapper instead of EmojiTextView 2017-11-23 09:36:51 +01:00
Daniel Gultsch 381fe82b01 save full jid when sending in muc. check chat markers against 'sender' 2017-11-21 15:42:46 +01:00
Daniel Gultsch 28e005f926 send and show read markers in private, non-anonymous groups 2017-11-20 11:26:20 +01:00
Daniel Gultsch 013822fe82 excute db read and writes on different threads 2017-11-16 15:53:03 +01:00
Daniel Gultsch 49365511e4 trying to catch various dead system exception when scheduling new alarms and such 2017-11-12 19:22:07 +01:00