Commit graph

4074 commits

Author SHA1 Message Date
Daniel Gultsch e0266d0efb fix media preview in tablet mode 2018-09-13 18:48:21 +02:00
Daniel Gultsch 724f86f054 made foreground service logging more meaninful 2018-09-13 18:47:57 +02:00
Daniel Gultsch 63f374c90f pulled translations from transifex 2018-09-12 23:04:36 +02:00
Daniel Gultsch c795cdb722 add icon for unknown file while keeping 'file' icon for documents 2018-09-12 22:56:40 +02:00
Daniel Gultsch b15777bd3a make media previews survive rotations 2018-09-12 22:20:19 +02:00
Daniel Gultsch fbc1d242ca allow sharing and attaching of multiple files
fixes #3132
2018-09-12 18:43:17 +02:00
Daniel Gultsch d7cdec002c add more thumbnail icons for various file types 2018-09-12 18:10:37 +02:00
Daniel Gultsch 943f11e1f6 share with uses new preview mechanism 2018-09-12 17:21:32 +02:00
Daniel Gultsch 00c062a0c8 fixed media preview for file types other than images 2018-09-12 14:37:41 +02:00
Daniel Gultsch 3608b0eb44 WIP: preview media before sending them
Note that this commit breaks a few things in that non video/image do not work and sharing media isn’t currently using the new mechanism either
2018-09-11 09:56:32 +02:00
Daniel Gultsch 7bde04877a avoid duplicate notifcation sounds 2018-09-09 21:34:41 +02:00
Daniel Gultsch db6b9ab12b pulled translations from transifex 2018-09-08 12:50:11 +02:00
Daniel Gultsch 2d5bd539db sync roster after setting pgp id. fixes #2991 2018-09-08 12:46:15 +02:00
Daniel Gultsch 511335179f do not parse caps and pgp keys from muc presences 2018-09-08 12:45:05 +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 14e0df2caf provide intent filter to launch settings from notification groups controls 2018-09-06 15:37:15 +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 d5b50d1076 fixed user hint in magic create mode 2018-09-05 20:16:45 +02:00
Daniel Gultsch 11f67ac1ae fixed own avatar not being square in message view 2018-09-05 18:02:44 +02:00
Daniel Gultsch 516b6dcc1f code cleanup for group chat user context menu 2018-09-02 20:54:50 +02:00
Daniel Gultsch ffc5d47091 Merge branch 'start_convervsations_by_long_press' of https://github.com/ChaosKid42/Conversations into ChaosKid42-start_convervsations_by_long_press 2018-09-02 15:02:03 +02:00
Christoph Scholz 3ecb7136c1 start new conversations by long press on avatar 2018-09-01 21:05:31 +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 f533e526fb catch illegalargument exception when discovering extension from url 2018-09-01 16:56:20 +02:00
Daniel Gultsch 6d6bbc0a5d removed synchronized in favor of another interrupted check in startXmpp() 2018-09-01 10:07:40 +02:00
Daniel Gultsch c05acccf17 catch illegal state not illegal argument on popBackStack() 2018-09-01 10:07:04 +02:00
Daniel Gultsch 201d8ab398 do not show 'delete contact' for phone contacts. do not treat as stranger 2018-08-31 11:04:45 +02:00
Daniel Gultsch b565c20d91 make recording activity not crash if microphone was in use. fixes #3160 2018-08-31 11:04:18 +02:00
Daniel Gultsch 2febbe1b8d show jids from address book in Start Conversation screen if only one account is used 2018-08-30 18:45:22 +02:00
Daniel Gultsch af724a6697 make port field disabled if hostname is empty 2018-08-29 09:33:02 +02:00
Daniel Gultsch 658caec342 use volatile for thread object in xmppconnection 2018-08-28 17:51:18 +02:00
Daniel Gultsch c4ca381c7f remove dividers from settings 2018-08-28 17:50:36 +02:00
Daniel Gultsch cbea85c4dd special treatment for presence errors known to be mucs 2018-08-28 15:04:55 +02:00
Daniel Gultsch 186f30fc5c pulled translations from transifex 2018-08-28 15:04:16 +02:00
Daniel Gultsch 268fcd3838 disabled by default variant of XEP-0392 2018-08-19 22:33:20 +02:00
Daniel Gultsch 9f191f64da do not display 'user left' toast in members only groups. fixes #3144 2018-08-19 22:13:13 +02:00
Aditya Borikar 52c625bc01 Attempt at disbling grace period in response to issue #3114 (#3116) 2018-08-18 18:24:54 +02:00
linkmauve 49349d898b add id="current" on every published PEP item (#3133)
This makes sure even misconfigured PEP nodes still get only one item, as
defined in XEP-0060 §12.20.
2018-08-18 18:24:29 +02:00
Daniel Gultsch 02b7b0b4a6 do grace period calculation only on positive periods 2018-08-18 18:20:58 +02:00
Daniel Gultsch 8f057a0c95 try to catch out of memory exception 2018-08-18 18:13:51 +02:00
Daniel Gultsch 25aa6bed1e upgrade babbler version 2018-08-18 18:13:18 +02:00
Daniel Gultsch dc5e7e5d95 store bookmarks in pep if conversion xep is running 2018-08-18 16:27:50 +02:00
Daniel Gultsch 46574d6e11 version bump to 2.2.8 + changelog 2018-07-23 20:43:42 +02:00
Daniel Gultsch f93cb8ede1 Revert "Patterns: attempt at fixing complex xmpp URIs (typically xmpp:#mychan%irc.server@xmpp.server.tld?join) (#3115)"
This reverts commit a4004904fe.
2018-07-22 22:42:35 +02:00
Daniel Gultsch fd28b32d56 call onMessageFound outside sync block 2018-07-22 22:42:32 +02:00
Daniel Gultsch 53a9930837 show toast if no address book app is installed 2018-07-22 22:42:05 +02:00
Daniel Gultsch 1764656ff9 call switchTo(Fore|Back)ground() outside synchronized block 2018-07-16 21:35:52 +02:00
Romain DEP a4004904fe Patterns: attempt at fixing complex xmpp URIs (typically xmpp:#mychan%irc.server@xmpp.server.tld?join) (#3115) 2018-07-16 20:50:23 +02:00
Daniel Gultsch 2fc4ca719d pulled translations from transifex 2018-07-16 20:49:43 +02:00
Daniel Gultsch 93836d94ee null pointer check in notification service 2018-07-16 20:49:30 +02:00
Daniel Gultsch ae35593f65 catch all exceptions when checking file size 2018-07-16 20:42:40 +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 07c096204a pulled translations from transifex 2018-07-11 21:48:39 +02:00
Daniel Gultsch 4871263d9c display propper toast after room has been destroyed 2018-07-11 21:33:27 +02:00
Daniel Gultsch f9c5cdee6e fall back to random subject langugae in case there is no english one 2018-07-11 13:20:06 +02:00
Daniel Gultsch 9bdebb81ba handle non participating mucs a bit better 2018-07-09 11:35:30 +02:00
Daniel Gultsch 728c86222d do not add in_roster flag when restoring from disk 2018-07-09 11:06:23 +02:00
Daniel Gultsch 7b64a031cd store own affiliation and role to disk 2018-07-08 20:52:55 +02:00
Daniel Gultsch 3014b7f857 change listener lock strategie 2018-07-08 20:01:39 +02:00
Daniel Gultsch 0f233022a6 standards. right? 2018-07-07 11:29:50 +02:00
Daniel Gultsch 48e366e410 support mam:1 2018-07-07 11:20:39 +02:00
Daniel Gultsch 0fa97bdc11 show snackbar for resource constraint in mucs 2018-07-07 10:28:31 +02:00
Daniel Gultsch a1f933924c open trust key screen when download is in progress 2018-07-07 08:53:11 +02:00
Daniel Gultsch 59697eb092 fixed npe in paste as quote 2018-07-06 20:16:15 +02:00
Daniel Gultsch 1cc3f5bed7 make xmppuri deal with null input 2018-07-06 20:16:04 +02:00
Daniel Gultsch a23d9929f1 use sets instead of list for listeners 2018-07-06 20:15:45 +02:00
Daniel Gultsch 3782a6fac6 EmojiService: use replaceAll=false on android 8 2018-07-05 13:22:32 +02:00
Daniel Gultsch 49d5c1eb52 only look at inner 70% to calculate overlay 2018-07-01 12:06:09 +02:00
Daniel Gultsch c07a019433 pulled translations from transifex 2018-07-01 11:46:31 +02:00
Daniel Gultsch 55fcda3cee use dark play/gif button as overlay when image is mostly light 2018-06-30 17:52:34 +02:00
Daniel Gultsch 8d4821c79c pulled translations from transifex 2018-06-30 13:36:29 +02:00
Daniel Gultsch dfb95f0a84 persist muc avatar and show in bookmarks 2018-06-30 13:35:17 +02:00
Daniel Gultsch 9408dd597a try to fix race condition with empty trust ui 2018-06-30 13:35:05 +02:00
Daniel Gultsch 3218ca3fe3 shorten read markers to 'everyone has read up to this point' when > 4 user 2018-06-30 12:14:42 +02:00
Daniel Gultsch 559852002e offer paste as quote for html clips 2018-06-30 11:08:20 +02:00
Daniel Gultsch 9ef7570d48 use EmojiWrapperEditText for most relevant text inputs 2018-06-29 13:40:55 +02:00
Daniel Gultsch af420c84a0 automatically start download if file size is known 2018-06-28 17:44:00 +02:00
Daniel Gultsch ee3438b03a use + as build metadata delimiter 2018-06-28 08:49:48 +02:00
Daniel Gultsch db03470eb4 fixed MucOptions.getName() 2018-06-27 17:17:44 +02:00
Daniel Gultsch d6a40a839a click on item selection 2018-06-27 17:17:31 +02:00
Daniel Gultsch 464c79ac9e pulled translations from transifex 2018-06-25 20:11:38 +02:00
Daniel Gultsch 3bd25a95b4 use black nav bar 2018-06-25 20:04:44 +02:00
Daniel Gultsch 23af9183ba dismiss snackbar when executing pending action 2018-06-25 20:04:30 +02:00
Daniel Gultsch 76fba4c697 fixed 9-patch generation 2018-06-25 19:41:15 +02:00
Wiktor 5345befd9b Set navigation bar color to dark on dark theme (#3091)
* Allow overriding ConversationsTheme.Dark

This change splits the dark theme style into two styles - base that
stays the same in all configurations and Dark - the original - that can
be overridden in specific configurations to add version specific styles.

* Set navigation bar color to dark on dark theme

Use secondary background color as navigation bar color when using dark
theme. This avoids mismatched white colors on certain system themes.
2018-06-25 19:40:37 +02:00
Daniel Gultsch 9a4109eaa1 catch rare state loss exception when hitting home button to pop back stack 2018-06-25 10:31:22 +02:00
Daniel Gultsch ad5c9f85c3 clean up imports 2018-06-25 09:46:52 +02:00
Daniel Gultsch 6c0b977a0e use emoji transform for toolbar and muc name 2018-06-25 09:25:55 +02:00
Daniel Gultsch fd3b54aaff pulled translations from transifex 2018-06-24 20:54:10 +02:00
Daniel Gultsch 0fffc7a1ac restart file observer when permisson are granted 2018-06-24 20:54:01 +02:00
Daniel Gultsch 9d69b38147 fix regression with background color in conv overview 2018-06-24 18:57:06 +02:00
Daniel Gultsch 27a1bdb4b9 use tertiary background color for landscape conversation overview 2018-06-24 16:59:27 +02:00
Daniel Gultsch e8a1f069c2 reset subject and name on empty 2018-06-24 16:33:15 +02:00