Daniel Gultsch
4557a3fc4f
make sure account is connected before attempting to download p1s3
2018-05-27 20:39:12 +02:00
Christian Schneppe
be3955ba8f
add missing else to show the availability of httpupload correctly ( #3048 )
2018-05-27 10:49:26 +02:00
Daniel Gultsch
1854e37e7a
reintroduce support for old http upload
2018-05-26 21:43:50 +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
fd7a5c605a
Do not use TLS_FALLBACK_SCSV
...
closes #2937
Thanks to @tmolitor-stud-tu for explaining the situation in
https://github.com/guardianproject/NetCipher/pull/74
2018-05-26 10:22:44 +02:00
Daniel Gultsch
1510958278
do not show file id in check size button
2018-05-26 10:17:38 +02:00
Daniel Gultsch
2d118b5a21
show S3 file transfer in server info if http upload is n/a
2018-05-26 10:17:24 +02:00
Daniel Gultsch
ea5cdec186
handle p1s3 urls in http downloader
2018-05-25 15:37:14 +02:00
Daniel Gultsch
4626bdf8d8
show p1s3 attchments with download button
2018-05-25 13:18:25 +02:00
Daniel Gultsch
70d95c7903
upload files using p1s3 - sending part
2018-05-25 12:24:23 +02:00
Daniel Gultsch
94484ce392
disable analytics
...
https://firebase.google.com/support/guides/disable-analytics
2018-05-20 18:02:11 +02:00
Daniel Gultsch
a149f0db27
set pragme secure delete properly
2018-05-20 18:01:47 +02:00
Alexander
df64d965a0
explicitly set secure_delete pragma for SQLite database ( #3039 )
...
Conversations stores sensitive data, such as SQLiteAxolotlStore tables, in its database.
secure_delete=ON is the default for newer Android devices:
https://android-review.googlesource.com/c/platform/external/sqlite/+/209123
However, older devices had it disabled by default, so any database created than has this setting disabled and it will not be updated automatically.
Also, the default might be changed in the future (for example, to "FAST", added in 2017), so it is safer to set it explicitly.
2018-05-20 16:50:27 +02:00
Daniel Gultsch
219ca9f72b
put address of app server in resource file
2018-05-20 16:43:10 +02:00
Daniel Gultsch
3be3bfb492
make file observer listen for moves
2018-05-20 16:19:23 +02:00
Alexander
9bff9900d1
move enabling of foreign key support to onConfigure ( #3038 )
...
This way we avoid repeating the code. Unlike getWritableDatabase, onConfigure is intended to be overridden.
In fact, onConfigure documentation specifically says: "Called when the database connection is being configured, to enable features such as write-ahead logging or *foreign key support*."
2018-05-20 15:54:56 +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
2230d5a42c
do not save draft if message is completly empty and fixed appending shared text
2018-05-19 14:30:42 +02:00
Daniel Gultsch
be579332be
do not use trigger but delete message index entries manually
2018-05-17 20:17:00 +02:00
Daniel Gultsch
9b43f37758
pulled translations from transifex
2018-05-16 15:10:50 +02:00
Wiktor
0bb600f0b3
Extend QR scanner to support VCard with IMPP field ( #3027 )
...
Currently QR scanner supports only URIs. VCard specification allows
embedding instant messaging protocols in the `IMPP` field [0].
This change will extract the first XMPP URI from `IMPP` field if a VCard
has been scanned and process it just like if the XMPP URI was scanned
directly. In case the contact is not already present in the roster this
will pop up "Add contact" window.
Example VCard with this URI:
BEGIN:VCARD
FN:Test Contact
EMAIL:test@example.com
IMPP:xmpp:test@example.com
END:VCARD
[0]: https://tools.ietf.org/html/rfc6350#section-6.4.3
2018-05-16 15:08:38 +02:00
Daniel Gultsch
5ef7c29264
changed command paramater for new push server
2018-05-16 11:29:06 +02:00
Daniel Gultsch
9ef2d32a3e
changed jid of push server
2018-05-12 17:23:37 +02:00
Daniel Gultsch
d5a187bafb
use Tor to download map tiles if configured to do so
2018-05-11 12:42:39 +02:00
Daniel Gultsch
eb1251b389
pulled translations from transifex
2018-05-11 12:00:43 +02:00
Daniel Gultsch
543d1f689b
do not use end in catchup mam queries
2018-05-11 11:16:29 +02:00
Daniel Gultsch
170fbf0de3
switch to aac with slightly heigher sample and bit rate. fixes #3021
2018-05-11 10:08:45 +02:00
klonfish
41760b40ef
Improved URL matching
...
URLs with trailing special chars (e.g. slash, minus, ...) should now be
matched correctly, even when followed by a non-url char
2018-05-10 20:55:05 +02:00
Daniel Gultsch
678fcf8b31
removed dead code + null check
2018-05-10 18:59:17 +02:00
Daniel Gultsch
b0db88c405
add primary key to fts table
2018-05-10 11:28:09 +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
e84a65bc86
do not load conversations with null jid
2018-05-09 11:09:01 +02:00
Daniel Gultsch
18a8a6e5ac
make session completion work with untrusted devices as well
2018-05-09 09:24:31 +02:00
Daniel Gultsch
ffe610f961
max out emoji enlargment at 42 emojis
2018-05-09 09:07:26 +02:00
Daniel Gultsch
13d6885883
split heighlights by special characters. fixes #3007
2018-05-07 11:14:33 +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
ChaosKid42
1fcd69ce40
ban can be disabled in Config.java ( #3016 )
2018-05-05 19:40:43 +02:00
Daniel Gultsch
8cd222b046
XmppUri code cleanup
2018-05-04 22:07:00 +02:00
Daniel Gultsch
f9e26d7887
pulled translations from transifex
2018-05-04 12:21:14 +02:00
Daniel Gultsch
77fc8d2d9e
encode and decode % and # in invite links
2018-05-04 12:18:31 +02:00
Daniel Gultsch
9b73029267
copy jabber id and web url via context menu
2018-05-04 11:39:03 +02:00
Daniel Gultsch
96224c0fc6
filter sequences of more than 3 ltr-rtl
2018-05-04 10:11:24 +02:00
Daniel Gultsch
7b3d871f28
improved logging for node configuration change
2018-05-03 22:44:28 +02:00
Daniel Gultsch
2b492a1fba
remove " from fts queries
2018-05-03 19:09:19 +02:00
Daniel Gultsch
89f8b87582
fixed regression of not highlighting current conversation in overview. fixes #3001
2018-05-03 18:30:44 +02:00
Daniel Gultsch
756c1a1004
hide record audio feature if mircophone is not available
2018-05-03 17:01:16 +02:00
Daniel Gultsch
b5423b39a0
added null check to Jid.of in edit account
2018-05-03 15:59:14 +02:00
Daniel Gultsch
6fe5c5e770
handle invalid image bounds
2018-05-03 15:38:48 +02:00
Daniel Gultsch
157d644750
organize listeners in lists
2018-05-03 14:54:22 +02:00
Daniel Gultsch
5e1cbf8514
only highlight alphanumeric chars
2018-05-03 13:57:13 +02:00
Daniel Gultsch
9625f191c3
hide treatAsDownloadable in search results
2018-05-02 12:14:24 +02:00
Daniel Gultsch
90135131c0
fixed omemo by default setting for users on same domain. fixes #3006
2018-05-01 23:18:05 +02:00
Daniel Gultsch
d3b20544c9
do not invoke onPushFailed() on timeout
2018-05-01 17:35:29 +02:00
Daniel Gultsch
8d5a7c79da
fixed crash with samsung recorder
2018-05-01 15:16:10 +02:00
Daniel Gultsch
d8439c72fd
fixed display in internal map
2018-05-01 14:32:55 +02:00
Daniel Gultsch
ee2c118c21
pulled translations from transifex
2018-05-01 12:56:42 +02:00
Daniel Gultsch
949b77c353
make show location depend on plugin setting
2018-05-01 12:55:11 +02:00
Daniel Gultsch
8e17fa285d
allow use of share location plugin with setting
2018-05-01 12:03:35 +02:00
Daniel Gultsch
35e6547db4
show keyboard only on fresh activity
2018-05-01 10:47:43 +02:00
Daniel Gultsch
303cc89b61
persist search across device rotations
2018-05-01 10:33:21 +02:00
Daniel Gultsch
2505ac8b77
only search text messages
2018-05-01 09:58:43 +02:00
Daniel Gultsch
438ae34988
fixed search term parser for empty terms
2018-04-30 17:37:39 +02:00
Daniel Gultsch
27f31446c0
search term parsing + highlighting
2018-04-30 17:09:55 +02:00
Daniel Gultsch
542a06f08a
creat fts table
2018-04-30 16:06:27 +02:00
Daniel Gultsch
b5c60ee779
changed accent color back to blue
2018-04-30 15:17:21 +02:00
Daniel Gultsch
2390839c21
get video dimensions from bitmap instead of meta data
2018-04-30 09:22:59 +02:00
Daniel Gultsch
287c416dac
hard code ogg + audio/ mime type to oga
2018-04-29 15:19:13 +02:00
Daniel Gultsch
5c4aacd39e
added 'view conversation' to context menu
2018-04-29 14:07:58 +02:00
Daniel Gultsch
43b455974b
changed color of online send button
2018-04-29 09:49:45 +02:00
Daniel Gultsch
d0c88e6293
check if jid was valid before parsing muc status or event msgs
2018-04-29 09:33:20 +02:00
Daniel Gultsch
3011f875eb
highlight search term in search results
2018-04-28 23:50:35 +02:00
Daniel Gultsch
effeb7b585
convert empty resources in messages to bare jid
2018-04-28 21:30:30 +02:00
Daniel Gultsch
04f34fb968
Merge branch '2.1.x'
2018-04-28 16:58:27 +02:00
Daniel Gultsch
9963616270
do not crash when inner message contains invalid jid
2018-04-28 16:56:32 +02:00
Daniel Gultsch
6dbaece149
Merge tag '2.1.3'
2018-04-28 16:33:32 +02:00
Daniel Gultsch
6712a2d91f
added search result context menu + date separators
2018-04-28 16:32:23 +02:00
Daniel Gultsch
322463bab7
return InvalidJid object instead of null if Jid can not be parsed
2018-04-28 16:26:40 +02:00
Daniel Gultsch
59b5dece96
theming: switched to material green. changed accent color
2018-04-27 14:50:27 +02:00
Daniel Gultsch
2177e575bc
use styled colors for online/offline text
2018-04-26 21:50:24 +02:00
Daniel Gultsch
9b2093eba5
dynamically reference app name in version string
2018-04-26 21:21:17 +02:00
Daniel Gultsch
120f7453e5
use GIF to describe gifs instead of image
2018-04-26 21:21:00 +02:00
Daniel Gultsch
3d243866a4
click on avatars in message search opens contact details
2018-04-26 18:53:09 +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
4bbbf86f76
add more styling to search activity
2018-04-26 10:40:29 +02:00
Daniel Gultsch
4c60aae11b
mock (non functional) search activity
2018-04-25 20:25:28 +02:00
Daniel Gultsch
e2ff51db08
add debug output to how many messages were deleted
2018-04-25 19:32:43 +02:00
Daniel Gultsch
bf95ef66eb
null check when cleaning avatars for muc
2018-04-25 14:41:33 +02:00
Daniel Gultsch
09276eb396
properly catch and ignore IllegalStateException instead of using commitAllowStateLoss
2018-04-25 14:41:02 +02:00
Daniel Gultsch
2d7e5a12aa
increased swipe escape velocity by 10x
2018-04-25 12:56:48 +02:00
Daniel Gultsch
8baef866ce
pulled translations from transifex
2018-04-25 12:20:00 +02:00
Daniel Gultsch
a11c678770
fine tuned style of toolbar search view
2018-04-24 16:45:37 +02:00
Daniel Gultsch
d79f5030be
added scrollbars to conversation overview
2018-04-24 14:50:26 +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
de0de48448
allow to delete voice recordings
2018-04-23 20:27:54 +02:00
Daniel Gultsch
d844ce4ffb
migrate recording activity to view binder
2018-04-23 12:07:19 +02:00
Daniel Gultsch
2f974c3eb2
integrate voice recorder
2018-04-22 20:31:37 +02:00
Daniel Gultsch
cfaebbdbd1
scroll to bottom even if last visible item is heigher than view
2018-04-22 16:01:18 +02:00
Daniel Gultsch
2a9413e64d
fixed caps hash generation for empty form values
2018-04-22 11:07:00 +02:00
Daniel Gultsch
956f7c6812
use styled borderless button
2018-04-21 22:17:47 +02:00
Daniel Gultsch
1118c4450b
fix text size in snackbars
2018-04-21 20:38:14 +02:00
Daniel Gultsch
12127a0b6e
do not use omemo by default for own server
2018-04-21 19:52:37 +02:00
Daniel Gultsch
fc62cbbc52
fixed updating of server message id after dedup
2018-04-21 19:35:25 +02:00
Daniel Gultsch
2992ba647d
always scale to dip
2018-04-21 18:55:16 +02:00
Daniel Gultsch
4599e477b4
fixups for Share location merger
...
* use data binder
* introduced styled button
* fixed snackbar showing above button bar
2018-04-21 18:25:46 +02:00
Daniel Gultsch
ee855ab560
Merge branch 'mapping' of https://github.com/SamWhited/Conversations into SamWhited-mapping
2018-04-21 16:57:53 +02:00
Daniel Gultsch
b501f4cf72
search for muc pms when fetching last mam reference
2018-04-21 16:57:29 +02:00
Daniel Gultsch
5e1bbea5f0
never use isStranger logic in conversation with self
2018-04-20 17:54:30 +02:00
Daniel Gultsch
7368df94f7
provide access to show qr code from context menu in start conversation activity
2018-04-20 17:12:47 +02:00
Daniel Gultsch
1615aeff87
fixed npe when OS invokes StartConversationsActivity with null action
2018-04-20 11:32:50 +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
7f7b7fca0b
pulled translations from transifex
2018-04-20 09:57:02 +02:00
Sam Whited
60f2ce3a74
Use correct theme in mapping activity
2018-04-18 10:58:34 -05:00
Sam Whited
a7b6d1f1d8
Use native snackbar on map view
2018-04-18 10:46:56 -05:00
Daniel Gultsch
5272421678
create avatar path before saving avatar
2018-04-18 12:41:16 +02:00
Daniel Gultsch
5170e526c8
fixed npe when conversation in multi mode had jid w/o local part
2018-04-18 10:24:57 +02:00
Daniel Gultsch
71461543a3
pulled translations from transifex
2018-04-18 10:24:10 +02:00
Sam Whited
b21d948ecb
Merge Open Street Map plugin
2018-04-16 17:39:43 -05:00
Daniel Gultsch
406a5a10f9
removed 'received' prefix from description
2018-04-16 09:55:16 +02:00
Daniel Gultsch
9f34e53b98
replace use file as is blacklist with general don't use app data rule
2018-04-16 09:25:41 +02:00
Daniel Gultsch
08235bffbc
pulled translations from transifex
2018-04-15 18:53:27 +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
064e5a4f0d
make text clickable in openkeychain missing message
2018-04-15 17:30:28 +02:00
Daniel Gultsch
be5e39a440
get real file name for files shared from Conversations
2018-04-15 17:10:50 +02:00
Daniel Gultsch
93f405d9a1
add fdroid fennec to use file as is blacklist
2018-04-15 15:05:04 +02:00
Daniel Gultsch
91a061f480
always include omemo fallback message
2018-04-14 21:31:30 +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
c61be89262
keep track of user object in messages
2018-04-12 09:50:33 +02:00
Daniel Gultsch
7fd25abea2
code cleanup in AxolotlService.fetchDeviceIds()
2018-04-12 08:55:50 +02:00
Daniel Gultsch
aff2b33e27
load currently open conversation faster
2018-04-11 18:07:40 +02:00
Daniel Gultsch
322667275c
all contacts in roster are 'trusted'
2018-04-11 10:07:11 +02:00
Daniel Gultsch
84c5a1b0ae
fixed up button refresh in start conversation activity
2018-04-11 09:27:16 +02:00
Daniel Gultsch
edfe4a0ccd
fixed mixing symbols and letters in unicode detector on pre N
2018-04-11 09:26:56 +02:00
Daniel Gultsch
14f9a51b8b
change opacity on emoji only messages
2018-04-11 09:04:16 +02:00
Daniel Gultsch
58a5e67d43
fixed redownload
2018-04-11 08:33:24 +02:00
Harshit Bansal
a3e26b95f0
solve fab shadow bug on pre api 19 devices ( #2924 )
2018-04-10 16:40:15 +02:00
Daniel Gultsch
f2389b5404
fixed exception handler
2018-04-07 09:40:09 +02:00
Daniel Gultsch
1f5ab19e50
pulled translations from transifex
2018-04-07 09:03:18 +02:00
Licaon_Kter
28ff08809e
Remove leftover strings from legacy ( #2948 )
2018-04-07 09:01:49 +02:00
esu23
a8dcf3ce0a
EnhancedListView deleted from resources ( #2944 )
...
Since RecyclerView it's used now
2018-04-07 09:01:10 +02:00
Christoph Scholz
816b5bae58
no WelcomeActivity if MAGIC_CREATE_DOMAIN is unset
2018-04-06 16:01:42 +02:00
Ye feng
f3913ed364
migrate the RecyclerView
2018-04-06 13:49:57 +02:00
Daniel Gultsch
ceac602185
fixed some dark theme issues in message view. fixes #2939
2018-04-05 07:40:54 +02:00
Daniel Gultsch
41972e94eb
synchronize around getting last visibile uuid
2018-04-04 20:07:08 +02:00
Daniel Gultsch
4f2c3df329
get escaped localpart as username. should fixed sasl
2018-04-04 20:06:49 +02:00
Daniel Gultsch
bda95bc571
make error message for 'not encrypted for this device'
2018-04-04 18:21:22 +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
85caaf084b
create dedicated exception for not encrypted for this device
2018-04-04 09:11:53 +02:00
Daniel Gultsch
c59ee9e137
provide up navigation in start conversation activity
2018-04-03 17:53:08 +02:00
esu23
cc54f02ab3
Fixed small typos ( #2933 )
...
* Fixed typo when removing OTR
There are two encrypt methods avaliable now
* Deleting a repeated resource
2018-04-02 16:49:00 +02:00
Daniel Gultsch
a4dc7eb3ee
use font size in action view
2018-04-02 09:51:45 +02:00
af8a524db1
e6d7e5f27f
UriHandlerActivity: Always check for XMPP URI validity ( #2926 )
...
Also check for XMPP URI validity if there are no configured accounts
and the WelcomeActivity is active.
2018-04-02 08:40:27 +02:00
Daniel Gultsch
8b70d945cc
made font size selectable
2018-04-01 21:37:21 +02:00
Daniel Gultsch
1500299607
in case fragment starts after activity is bound to service; fetch conversation from uuid
2018-04-01 19:14:53 +02:00
Daniel Gultsch
962ecbedfa
made checkboxes and radiobuttons stylable
2018-04-01 09:18:12 +02:00
Daniel Gultsch
f0cfbb4681
fixed muc detection for rare cases where muc is hosted on primary domain
2018-03-31 22:01:17 +02:00
Daniel Gultsch
c0d977e97d
fixed read event when status messages are displayed
2018-03-31 22:00:46 +02:00
Daniel Gultsch
2e934f1517
made all text styleable
2018-03-31 12:16:56 +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
e1a6ceb49b
fixed regression in StartConversationActivity that ignored welcome jid
2018-03-30 15:57:44 +02:00
Daniel Gultsch
2442dabb2a
null check for conversation
2018-03-30 12:26:10 +02:00
Daniel Gultsch
d27d9d9366
show scroll down button instantly when scrolling up
2018-03-30 10:58:07 +02:00
Daniel Gultsch
419e7f5ea6
introduced sroll to bottom button. based on #2777 by @harshitbansal05
2018-03-30 10:35:52 +02:00
Daniel Gultsch
d5c4a987a1
persist some muc configurations
2018-03-30 08:47:37 +02:00
Daniel Gultsch
3dc749b22b
remove duplicate call to onConversationArchived()
2018-03-29 16:23:36 +02:00
Daniel Gultsch
f2b0a10c22
end view if conversation was archived
2018-03-29 15:08:43 +02:00
Daniel Gultsch
a1b3e2d57c
hide disable encryption button when omemo is in always mode
2018-03-29 14:26:04 +02:00
Daniel Gultsch
9646783d48
fixed regression of 'add contact' not working. fixes #2916
2018-03-29 13:40:52 +02:00
Daniel Gultsch
5a6527bf4c
pulled translations from transifex
2018-03-29 12:02:04 +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
06f8d8c5d6
add ruleset to disable omemo-by-default for certain providers
2018-03-26 13:29:01 +02:00
ChaosKid42
536149723e
getNextEncryption does not honor ENCYPTION_MASK ( #2899 )
2018-03-26 12:44:21 +02:00
Daniel Gultsch
1749009d10
put toolbar elevation in dimen file
2018-03-26 10:12:36 +02:00
Daniel Gultsch
786d9895c8
fixed popup menu in dark theme
2018-03-26 05:43:22 +02:00
Daniel Gultsch
a32d0c5d20
process receipts only on mam catchup
2018-03-26 05:43:01 +02:00
Daniel Gultsch
ecedda8613
reformat
2018-03-25 18:49:49 +02:00
Daniel Gultsch
fe8f0bd7f0
make receipt handling work with out of order receipts
2018-03-25 17:22:39 +02:00
Daniel Gultsch
2e8cc12ada
do not allow user to quote file
2018-03-24 12:06:06 +01:00
Daniel Gultsch
acdf822415
code cleanup in Contact class
2018-03-23 16:59:42 +01:00
Daniel Gultsch
ce00767777
ignore bookmark name of 'None'
2018-03-23 16:52:05 +01:00
Daniel Gultsch
e8bec4fe40
pulled translations from transifex
2018-03-23 11:39:46 +01:00
Daniel Gultsch
c41f574b1f
in lack of confirm source dialog in account details only trust scanned uris
2018-03-23 11:39:36 +01:00
Daniel Gultsch
ce867758d5
call to update ui after fingerprint verification
2018-03-23 11:28:00 +01:00
Daniel Gultsch
255dd9674e
fixed cache key generation for messages w/o full jid
2018-03-22 15:10:29 +01:00
Daniel Gultsch
dccd3f1c8e
figure out fallbacks with omemo source id
2018-03-22 13:26:35 +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
47fba24296
pulled translations from transifex
2018-03-20 13:00:33 +01:00
Daniel Gultsch
3c61af88a1
StartConversationActivity: persist search across rotation
2018-03-20 12:52:23 +01:00
Daniel Gultsch
6d3be890b7
Merge branch 'qr_scan_fix' of https://github.com/klonfish/Conversations into klonfish-qr_scan_fix
2018-03-20 09:04:17 +01:00
Daniel Gultsch
ad768d1938
improved logging while deleting old cache files
2018-03-20 09:04:04 +01:00
klonfish
b249c1f36f
Improved QR code recognition when screen and camera orientation don't match
2018-03-19 21:43:42 +01:00
Daniel Gultsch
2d59a99833
pulled translations from transifex
2018-03-19 21:06:39 +01:00
Daniel Gultsch
b682aeb252
use utf-8 in barcodes
2018-03-19 21:05:20 +01:00
Daniel Gultsch
0f97b44e9f
increased LruCache for unicode script detection
2018-03-19 13:32:32 +01:00
Daniel Gultsch
11136f939e
commit allowing state loss
2018-03-19 12:29:21 +01:00
Daniel Gultsch
5363470bcf
fix getNextEncryption
2018-03-19 10:08:36 +01:00
Daniel Gultsch
442c284c8e
prevent double tapping on overflow menu
2018-03-19 09:43:33 +01:00
Daniel Gultsch
6779bf2a29
write roster only for active accounts
2018-03-18 23:19:23 +01:00
Daniel Gultsch
59386e50ac
added prosodys enable archive to default room config
2018-03-18 19:41:27 +01:00
Daniel Gultsch
cdbab64b03
fixed redownload of deleted http upload messages
2018-03-18 17:34:35 +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
f2ea609b51
code cleanup
2018-03-18 09:47:52 +01:00
Daniel Gultsch
82ba4ce4fc
fixed some regressions introduced in toolbar migration
2018-03-18 09:31:37 +01:00
Harshit Bansal
f2885575ba
replace deprecated action bar with toolbar ( #2872 )
...
* replace deprecated action bar with toolbar
* add toolbar support in each activity
* remove redundant themes made earlier
* add configure action bar method in xmpp activity
* remove android namespace from actionmodeoverlay
* solve bug of scrolling toolbar
2018-03-18 09:30:22 +01:00
Daniel Gultsch
83a4cb8a11
setReplaceAll=false on emojiCompat for android o
2018-03-17 21:43:18 +01:00
Daniel Gultsch
11dfd87672
show message draft in conversation overview
2018-03-17 19:18:22 +01:00
Daniel Gultsch
9765f26de0
fixed device rotation in settings activity
2018-03-16 12:58:43 +01:00
Daniel Gultsch
182b4c08b5
fixed crash in MessageAdapter caused by empty xmpp: uri
2018-03-16 12:29:11 +01:00
Daniel Gultsch
d17a8cdcb9
pulled translations from transifex
2018-03-16 09:46:01 +01:00
Daniel Gultsch
dbdbe1b312
pulled translations from transifex
2018-03-15 13:44:51 +01:00
Daniel Gultsch
64f040b631
offer a more convienient way to disable omemo from trust keys dialog
2018-03-15 13:37:08 +01:00
Daniel Gultsch
1bfc0b8da6
trim to original resource if server added something
2018-03-15 08:53:19 +01:00
Daniel Gultsch
fe90e70bb1
remove trailing ) in urls
2018-03-14 21:59:18 +01:00
Daniel Gultsch
3c932e9fa6
fixed pm to vistors
2018-03-14 17:31:33 +01:00
Daniel Gultsch
c2db940594
do not show snackbar for archived conversations. fixes glitch when leaving muc
2018-03-14 13:05:50 +01:00
Daniel Gultsch
03e88500b9
fixed rotation in choose contact activity
2018-03-14 11:03:08 +01:00
Daniel Gultsch
acf0b995ab
dynamically get known hosts in dialog
2018-03-14 10:07:52 +01:00
iamharsshit
2af12afb64
add data binding and check in back stack for dialogs
2018-03-14 13:07:04 +05:30
iamharsshit
b33725b435
place enter jid dialog in dialog fragment
2018-03-14 13:07:04 +05:30
iamharsshit
b48e37f72f
replace group dialogs by dialog fragment
2018-03-14 13:07:04 +05:30
Daniel Gultsch
45701448b8
made typing notifications default on new installs
2018-03-14 08:23:46 +01:00
Daniel Gultsch
d4a05b8ef3
Merge branch 'master' of github.com:siacs/Conversations
2018-03-14 08:22:18 +01:00
Daniel Gultsch
7d1bd65a3b
make camera feature optional
2018-03-14 08:21:49 +01:00
Sam Whited
4232e5b35d
Classify in the "social" app category
2018-03-13 22:05:11 -05:00
Daniel Gultsch
9a7f3ec742
create interface for onBackendConnected
2018-03-13 22:44:08 +01:00
Daniel Gultsch
f21fda1421
scanned results are always a trusted source
2018-03-13 16:55:25 +01:00
Daniel Gultsch
0c58e7cc30
migrated conference details to binding
2018-03-13 12:26:26 +01:00
Daniel Gultsch
25a49a28ce
disable caches in HttpUrlConnections
2018-03-13 11:59:32 +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
8dc17a96ba
fixed rare crash on jolla devices
2018-03-12 15:59:35 +01:00
Daniel Gultsch
6f5e368899
pulled translations from transifex
2018-03-11 18:42:13 +01:00
Daniel Gultsch
72388e37f5
fixed some issues with jid escaping
2018-03-11 18:32:16 +01:00
Daniel Gultsch
b2a9c63568
hide keyboard when stopping ConversationFragment
2018-03-11 18:14:26 +01:00
Daniel Gultsch
c1135ad592
use escaped form of jid where approriate
2018-03-11 14:14:56 +01:00
Daniel Gultsch
4bb45996c5
return contact and account.getServer() as String
2018-03-11 12:13:56 +01:00
Daniel Gultsch
dbcc54799d
cache bookmark jid in bookmark
2018-03-11 12:06:07 +01:00
Daniel Gultsch
fe338a540a
make unicode detector work on labels
2018-03-09 21:39:10 +01:00
Daniel Gultsch
e2e5c04ef7
detect irregular unicode in domain part
2018-03-08 22:02:19 +01:00
Daniel Gultsch
7ae3bdd3c6
use scripts instead of blocks on Android >= N
2018-03-08 20:45:30 +01:00
Daniel Gultsch
216cf1805f
stop scrolling in tablet view after switching conversations
2018-03-08 17:01:45 +01:00
Daniel Gultsch
4227c63e5d
decrease delay when scrolling to position
2018-03-08 16:37:45 +01:00
Daniel Gultsch
5e32b4ab17
fix playstore flavor
2018-03-08 16:27:33 +01:00
Daniel Gultsch
e89378ceae
hide register account checkbox in magic mode
2018-03-08 15:18:44 +01:00
Daniel Gultsch
a2028b203f
pulled translations from transifex
2018-03-08 14:08:37 +01:00
Daniel Gultsch
6944c12186
display irregular unicode code points
2018-03-08 14:02:48 +01:00
Daniel Gultsch
52135625d8
do not enable encryption for bug reports
2018-03-07 22:30:36 +01:00
Daniel Gultsch
94bb7c423c
added splash screen
2018-03-07 22:30:36 +01:00
Daniel Gultsch
28467c4775
don’t show 'change status' icon during setup
2018-03-07 22:30:36 +01:00
Daniel Gultsch
7e963820a5
made qr code scanner work in choose contact
2018-03-07 22:30:36 +01:00
iamharsshit
69374f3e5f
remove deprecated method
2018-03-07 22:30:36 +01:00
Daniel Gultsch
1efaecf745
use fab in choose contact activity. scan qr not yet working
2018-03-07 22:30:36 +01:00
Daniel Gultsch
ed0ba89551
make omemo default
2018-03-07 22:30:36 +01:00
Daniel Gultsch
13a4a78025
removed unused otr fingerprint methods
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
0add9a0ea2
audio player now requests permission when hitting play
2018-03-07 22:30:36 +01:00
Daniel Gultsch
b5e1bbbdc1
request storage permission when opening message
2018-03-07 22:30:36 +01:00
Daniel Gultsch
6aee638432
refactor disable notifications dialog to make use of timeframeutils
2018-03-07 22:30:36 +01:00
Daniel Gultsch
89992f541c
calculate automatic timeout labels dynamically
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
3bff110587
use translated version of subject if available
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
1ae6042ca8
show password field only on non-logged in or 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
76732af63d
add missing permission result handling in StartConversationActivity
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
2f71c0cb79
wip: new status message dialog
2018-03-07 22:30:36 +01:00
Daniel Gultsch
57bcf824e9
finished app compat themeing
2018-03-07 22:30:36 +01:00
Daniel Gultsch
e5704f4cbd
change last text styles over
2018-03-07 22:30:35 +01:00
Daniel Gultsch
51fcb7de31
scroll in post
2018-03-07 22:30:35 +01:00
Daniel Gultsch
97f728351b
fixed highlighted caption style
2018-03-07 22:30:35 +01:00
Daniel Gultsch
157ca65b0a
use text styles in more places
2018-03-07 22:30:35 +01:00
Daniel Gultsch
a283d00013
request camera permissions when attaching taking picture or recording video
2018-03-07 22:30:35 +01:00
Daniel Gultsch
363c39a873
fixed take photo for activties that do not get destroyed
2018-03-07 22:30:35 +01:00
Daniel Gultsch
71beb92dd3
migrated some views over to app compat text styles
2018-03-07 22:30:35 +01:00
Daniel Gultsch
562622393e
fixed paddings in omemo key cards
2018-03-07 22:30:35 +01:00
Daniel Gultsch
3130d40262
changed some of the jid entering dialogs to textinputlayout
2018-03-07 22:30:35 +01:00
Daniel Gultsch
9d15d3b408
introduced expert setting to not scroll down after sending a message
2018-03-07 22:30:35 +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
5ed94d5ab0
made publish pgp work from conversation view
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
521a711fbc
use cards views in about and publish avatar activity
2018-03-07 22:30:35 +01:00
Daniel Gultsch
12031515d1
bring scan button to StartConversationActivity
2018-03-07 22:30:35 +01:00
Daniel Gultsch
3bd42230f2
do not redirect to StarConversationActivity when scanning invalid jid
2018-03-07 22:30:35 +01:00
Daniel Gultsch
13322a568a
jump to first unread message if was scrolled to bottom earlier
2018-03-07 22:30:35 +01:00
Daniel Gultsch
acc47fbeda
add scan action to contact details
2018-03-07 22:30:35 +01:00
Daniel Gultsch
89bfae14b1
fixe scan in OmemoActivities
2018-03-07 22:30:35 +01:00
Daniel Gultsch
9a76aff8f9
skip background connect when changing theme
2018-03-07 22:30:35 +01:00
Daniel Gultsch
fe8e131e3a
simplified reInit logic
2018-03-07 22:30:35 +01:00
Daniel Gultsch
bd2417e792
fixed openDialogs call when poping back stack
2018-03-07 22:30:35 +01:00
Daniel Gultsch
74336fa165
always scroll if viewing intent
2018-03-07 22:30:35 +01:00
Daniel Gultsch
dfb4e4eb46
integrate qr code scanner. temporarily break omemo activity scan
2018-03-07 22:30:35 +01:00
Daniel Gultsch
6652135746
updated manage account activity to new colors
2018-03-07 22:30:35 +01:00
Daniel Gultsch
ae2536adff
made a few callbacks save to activity being detached
2018-03-07 22:30:35 +01:00
Daniel Gultsch
1236c6a139
save scroll state across rotations
2018-03-07 22:30:35 +01:00
Daniel Gultsch
21c9ffd8b2
skip refresh if binding is missing
2018-03-07 22:30:35 +01:00
Daniel Gultsch
8aba540717
fixed take photo + do not reint twice
2018-03-07 22:30:35 +01:00
Daniel Gultsch
5f502e908e
replace camera action bar icon with scan qr button
2018-03-07 22:30:35 +01:00
Daniel Gultsch
108edbe314
show warning dialogs
2018-03-07 22:30:35 +01:00
Daniel Gultsch
743543ad90
fix permission handling
2018-03-07 22:30:35 +01:00
Daniel Gultsch
b5fa9b77c9
skip unnecessary loading of conversation overview fragment
2018-03-07 22:30:35 +01:00
Daniel Gultsch
759498ac3a
fixed showing QR code on long press
2018-03-07 22:30:35 +01:00
Daniel Gultsch
e11fafcf52
don't show qr scan in conversation view
2018-03-07 22:30:35 +01:00
Daniel Gultsch
3b75161113
fixed onActivityResult handling for pgp
2018-03-07 22:30:34 +01:00
Daniel Gultsch
b0bec2c390
added dedicated scan button
2018-03-07 22:30:34 +01:00
Daniel Gultsch
e0317cfa14
made download button in message adapter work
2018-03-07 22:30:34 +01:00
Daniel Gultsch
e93b06f45c
redirect on empty conversation list
2018-03-07 22:30:34 +01:00
Daniel Gultsch
7bc7853d1a
register open conversation with notification service
2018-03-07 22:30:34 +01:00
Daniel Gultsch
e68fe13a22
process intents
2018-03-07 22:30:34 +01:00
Daniel Gultsch
4c8cbfe966
make archive menu item work
2018-03-07 22:30:34 +01:00
Daniel Gultsch
5e28a8f8d5
make read markers work
2018-03-07 22:30:34 +01:00
Daniel Gultsch
46feb7bf42
handle view conversation action when ConversationFragment is already open
2018-03-07 22:30:34 +01:00
Daniel Gultsch
6cfc6af886
change font size in conversation overview
2018-03-07 22:30:34 +01:00
Daniel Gultsch
cd75e55e3f
handle view intent
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
02c78bb1fb
made refresh work
2018-03-07 22:30:34 +01:00
Daniel Gultsch
354b182968
made swipe and select work
2018-03-07 22:30:34 +01:00
Daniel Gultsch
6bd0abcd8e
fragment voodoo
2018-03-07 22:30:34 +01:00
Daniel Gultsch
dd21f5d072
wip
2018-03-07 22:30:34 +01:00
Daniel Gultsch
e9e616ebc7
switch conversations fragment to data binder
2018-03-07 22:30:34 +01:00
Daniel Gultsch
5e7d1f7bcc
stop settings from crashing when building with different package id
2018-03-07 22:30:34 +01:00
Daniel Gultsch
8d9d96d4e1
vastly untested refactor. pushing for backup purposes
2018-03-07 22:30:34 +01:00
Daniel Gultsch
c17f902be2
refactoring. move functionality from activity to fragment
2018-03-07 22:30:34 +01:00
Daniel Gultsch
d55a3842d3
more otr cleanup
2018-03-07 22:30:34 +01:00
SoyaLeaf
c7fd54a17e
Moved the error message to TextInputLayout in the ChangePasswordActivity
2018-03-07 22:30:34 +01:00
Daniel Gultsch
235275ba91
more cleanup
2018-03-07 22:30:34 +01:00
Daniel Gultsch
bf6b54a7aa
get rid of OTR
2018-03-07 22:30:34 +01:00
Daniel Gultsch
fc5a2922e9
use data binder for list item adapater
2018-03-07 22:30:34 +01:00
Daniel Gultsch
595757fe00
use data binder for inflating muc items
2018-03-07 22:30:34 +01:00
Daniel Gultsch
fb383c7881
use async avatar loader in conference details
2018-03-07 22:30:34 +01:00
Daniel Gultsch
c0b95a9d1c
add fab to start conversations activity
2018-03-07 22:30:33 +01:00
Daniel Gultsch
2df1aaaed2
use data binder for contact key item
2018-03-07 22:30:33 +01:00
Daniel Gultsch
1b8a437b1e
create dedicated button to enable undecided accounts
2018-03-07 22:30:33 +01:00
Daniel Gultsch
b9f6b792a9
fixed paddings
2018-03-07 22:30:33 +01:00
Daniel Gultsch
0262975635
started to change text style to app compat
2018-03-07 22:30:33 +01:00
Daniel Gultsch
5ebcb1ae71
ported presence activity to cardview
2018-03-07 22:30:33 +01:00
Daniel Gultsch
d0e58330e9
switch account activity to card view. started using data binder
2018-03-07 22:30:33 +01:00
Daniel Gultsch
1c441a57e8
only show one error at once
2018-03-07 22:30:33 +01:00
SoyaLeaf
f334349cd6
Moved the error message to TextInputLayout
2018-03-07 22:30:33 +01:00
Daniel Gultsch
22a722c06d
change image button background
2018-03-07 22:30:33 +01:00
Daniel Gultsch
30776a86c4
change key activities to cards
2018-03-07 22:30:33 +01:00
Daniel Gultsch
58ec5ced8a
use data binder for contact details activity
2018-03-07 22:30:33 +01:00
Daniel Gultsch
eb25643d94
migrate to CardView in contact and muc details
2018-03-07 22:30:33 +01:00
SoyaLeaf
63fb5d98cc
Change ShowHidePasswordEditText to TextInputEditText.
...
change the input fields in the AccountActivity to use the TextInputLayout.
Rollback format and change toggle tint
2018-03-07 22:30:33 +01:00
Daniel Gultsch
63c4fe6f02
do not use pop up menus for encryption and attachment selection
2018-03-07 22:30:33 +01:00
Daniel Gultsch
6f5076e8c4
fixed crash when selecting participants
2018-03-07 22:30:33 +01:00
Daniel Gultsch
df82e7689d
removed unused resources
2018-03-07 22:30:33 +01:00
Daniel Gultsch
1307cfe728
switch to switchcompat
2018-03-07 22:30:33 +01:00
daivat15
54dadfd7cd
AppCompat Migration contribution
2018-03-07 22:30:33 +01:00
Daniel Gultsch
5775223653
fixed code comment
2018-03-07 22:30:33 +01:00
Daniel Gultsch
a25c5ed401
rewrite how preference screens are invokved
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
bd90f2140d
fixed search in abstractsearchablelistitem
2018-03-07 22:30:33 +01:00
Daniel Gultsch
bf85d30421
fixed hint color for edit message
2018-03-07 22:30:33 +01:00
Daniel Gultsch
f81fbb36f1
migrated alert dialogs to app compat
2018-03-07 22:30:33 +01:00
Daniel Gultsch
9d25ecc21b
remove pre api 21 theme
2018-03-07 22:30:33 +01:00
Daniel Gultsch
d49fb5873e
switch about activity to appcompat
2018-03-07 22:30:33 +01:00
Daniel Gultsch
fe4ebb6244
reference support actionbar in all activities
2018-03-07 22:30:33 +01:00
Daniel Gultsch
6e89427d5e
started work on migrating to appcompat
2018-03-07 22:30:33 +01:00
Daniel Gultsch
454f68799e
pulled translations from transifex
2018-03-07 12:35:28 +01:00
Daniel Gultsch
0deffef8da
fixed concurrent modification when killing mam queries
2018-03-01 08:27:30 +01:00
Daniel Gultsch
7557de5479
use java 8 in push management service
2018-02-25 14:39:55 +01:00
Daniel Gultsch
d4ac8b3122
fixed push registration
2018-02-25 14:31:31 +01:00
Daniel Gultsch
7e09fac1da
do not merge bug reports
2018-02-25 14:28:14 +01:00
Daniel Gultsch
47dfe3c2e2
pulled translations from transifex
2018-02-25 14:22:34 +01:00
Daniel Gultsch
63cd8e5981
added config param to use a random resource at every bind
2018-02-24 20:47:02 +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
90ace36b18
only explicitly request device list for users not in roster fixups
2018-02-24 10:03:22 +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
1a1d5c2a3e
Merge branch 'master' of github.com:siacs/Conversations
2018-02-23 23:12:13 +01:00
Daniel Gultsch
7725cb8311
MAM: look at total count for completness. parse fin correctly
2018-02-23 23:11:54 +01:00
Marc Schink
8713fc8a06
Use 'Jabber' instead of 'XMPP' in the welcome message
2018-02-22 22:04:03 +01:00
Daniel Gultsch
f81e5e471e
request disco items before disco#info on first connect
...
should make initial connect faster because code is not waiting for omemo code to run
2018-02-20 17:36:07 +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
Daniel Gultsch
c35ac11a42
check if axolotl service is initialized before displaying keys
2018-02-19 17:26:38 +01:00
Daniel Gultsch
742727504f
fixed handling of self address messages w/o remoteMsgId
2018-02-19 15:52:33 +01:00
Daniel Gultsch
014cf66c87
do not allow insecure bind
2018-02-18 21:54:03 +01:00
Marc Schink
17c6d8827c
Make use of Namespace.DATA constant
2018-02-16 16:12:53 +01:00
Marc Schink
9af7b7ae1e
Namespace: Add constant for 'jabber ❌ data'
2018-02-16 16:12:53 +01:00
Daniel Gultsch
a3f3cfa0bb
only allow a number of white listed headers according to http upload v0.5
2018-02-16 11:14:16 +01:00
Marc Schink
3fa205d463
Don't add account if user cancels. Fixes #2797
2018-02-15 14:40:21 +01:00
Marc Schink
3b7d9b39f7
Pass invite XMPP URI along instead of JID
2018-02-14 17:03:43 +01:00
Marc Schink
c7d2b65982
XmppUri: Add toString() method
2018-02-14 17:03:43 +01:00
Daniel Gultsch
d3e755ceb1
null check on invite object
2018-02-13 15:20:30 +01:00
Christoph Scholz
9360f5c960
allow roster action with name
2018-02-12 20:00:42 +01:00
Daniel Gultsch
6650c0bd57
always copy firefoxe’s shared files
2018-02-12 12:31:59 +01:00
Daniel Gultsch
eed2d93145
integrate intent integrator to finish activity when needed
2018-02-12 11:22:51 +01:00
Daniel Gultsch
64928d0ff1
http upload: do not crash on invalid slot responses
2018-02-11 17:54: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
64c956904d
don't cancel animation when switching accounts w/o init
2018-02-10 13:32:37 +01:00
Daniel Gultsch
b3561e80f2
pulled translations from transifex
2018-02-10 12:21:36 +01:00
Daniel Gultsch
0e8e8be82c
Merge pull request #2780 from linkmauve/patch-1
...
Fix the French translation for the add_back string
2018-02-10 12:19:18 +01:00
Daniel Gultsch
f828b89cbd
skip empty srv records
2018-02-10 12:16:18 +01:00
Daniel Gultsch
facc56bc7b
return to welcome activity after deleting last account
2018-02-10 10:45:33 +01:00
Daniel Gultsch
97406ecf51
skip animations for startup activities
2018-02-09 22:19:13 +01:00
Daniel Gultsch
d33fca09cf
add null checks to huawei settings code
2018-02-09 22:11:11 +01:00
Daniel Gultsch
5335cda50c
do not put setup activites on stack twice
2018-02-09 20:09:58 +01:00
linkmauve
4e373d82dc
Fix the French translation for the add_back string
...
It was translated to something like “add again”, which doesn’t carry the same meaning and can be confusing for users.
It would be useful to also check how it has been translated in other languages, and add a source comment for future translators.
2018-02-05 19:30:32 +01:00
Daniel Gultsch
012653f7ed
SM saftey checks
2018-02-02 16:52:40 +01:00
Christian Schneppe
40878350c7
fixed crash on receiving files
2018-02-01 19:47:51 +01:00
Daniel Gultsch
bcd00bb517
discover file extension in original filename from pgp
2018-01-29 01:40:02 +01:00
Daniel Gultsch
2f1f9f2c2c
do not explicitly request MAM archive for blocked contacts
2018-01-29 01:39:46 +01:00
Daniel Gultsch
e48788e821
support new http upload namespace
2018-01-28 14:17:42 +01:00
Daniel Gultsch
4541ac8b7b
direct link from settings to huaweis protected apps
2018-01-28 13:31:12 +01:00
Daniel Gultsch
3e9224bde9
add snooze button to notification
2018-01-28 13:14:30 +01:00
Daniel Gultsch
c7bdc343ec
show account details when clicking avatar picture in self chat
2018-01-27 21:34:32 +01:00
Daniel Gultsch
8f9640a9e1
just switch to conversations & do not creat when 'creating' self contact
2018-01-27 21:04:42 +01:00
Daniel Gultsch
a33984acc5
encrypt muc PM only to actual recipient
2018-01-27 20:55:43 +01:00
Daniel Gultsch
be70eb5650
improvements for self messages
...
* fix omemo in group chats w/o participants
* don't create two axolotl messages when messaging self
* fix read marker for self messages
2018-01-27 10:45:05 +01:00
Daniel Gultsch
3e111e7f58
allow axolotl header to be empty in empty mucs
2018-01-27 09:15:47 +01:00
Daniel Gultsch
a5256c3e83
show self messages from other devices as received
2018-01-27 09:15:02 +01:00
Daniel Gultsch
1217faec60
pulled translations from transifex
2018-01-25 12:48:54 +01:00
Daniel Gultsch
294e19d962
fixed sharing multiple images
2018-01-25 12:48:04 +01:00
Daniel Gultsch
676ac32a97
delegate uri permission to service when processing files
2018-01-23 22:02:28 +01:00
Daniel Gultsch
0dbad2eea5
updated year in copyright info
2018-01-23 22:01:56 +01:00
Daniel Gultsch
44ce90ccf2
respond to message receipts request when processing carbon copy
2018-01-23 22:00:33 +01:00
Daniel Gultsch
eee5d885ba
make chat markers opportunistic in private mucs
2018-01-22 23:21:24 +01:00
Daniel Gultsch
e62b0ca320
fix NPE when writing Resolver.Result to disk
2018-01-22 23:20:58 +01:00
Daniel Gultsch
74048593ff
pulled translations from transifex
2018-01-22 21:09:33 +01:00
Daniel Gultsch
1e0f288e6a
avoid some unnecessary notification updates
2018-01-22 12:24:10 +01:00
Daniel Gultsch
78c5c508b3
permanently cache last resolver result
2018-01-21 20:41:30 +01:00
Daniel Gultsch
3c4ba7e0ce
keep screen on during audio playback. fixes #2733
2018-01-21 16:04:31 +01:00
Daniel Gultsch
f2bbb6087c
remove wakelocks in XmlReader
2018-01-21 12:30:31 +01:00
Daniel Gultsch
42c807ead8
Merge branch 'soft-keyboard-bug' of https://github.com/harshitbansal05/Conversations into harshitbansal05-soft-keyboard-bug
2018-01-21 12:26:57 +01:00
Daniel Gultsch
6458351f6c
use countdownlatch to check if TagWriter has finished
2018-01-20 23:13:36 +01:00
Daniel Gultsch
3a8855a672
fixed interupt handling
2018-01-20 21:57:09 +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
iamharsshit
a3bb7c346b
add soft keyboard next button functionality
2018-01-20 22:43:11 +05:30
Daniel Gultsch
4600b3982e
treat key transport messages differently to not open empty conversations
2018-01-20 09:36:37 +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
036dd82698
properly handle key transport messages. use prekeyparsing only when that attribute is set
2018-01-18 20:58:55 +01:00
Daniel Gultsch
6663eb0a12
show warning toast if PM is disabled in MUC
2018-01-18 17:35:42 +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
daivat15
de23b37ee2
Gradle Update to 3.0.1 with aapt
...
Gradle Update to 3.0.1 with aapt
Gradle Update to 3.0.1 with aapt fix try
2018-01-11 18:30:09 +05:30
Daniel Gultsch
8b10f96272
disable copy in password field
2018-01-10 16:57:54 +01:00
Daniel Gultsch
d68a610ac6
change edit button in quick edit dialog to accept
2018-01-09 10:30:32 +01:00
Daniel Gultsch
965c8cbbd5
pulled translations from transifex
2018-01-09 10:14:00 +01:00
Daniel Gultsch
55016f10e6
fix color of show password button
2018-01-09 10:13:53 +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
4d7d7623a0
pulled translations from transifex
2018-01-01 12:02:15 +01:00
Daniel Gultsch
2c2e77a168
ShareWithActivity: refactor for java 8
2018-01-01 11:56:31 +01:00
Daniel Gultsch
97bc93aeb0
do not use theme in uri activity
2017-12-19 12:50:19 +01:00
Daniel Gultsch
b5828127ee
pulled translations from transifex
2017-12-18 13:48:30 +01:00
Daniel Gultsch
127557df56
show pep as available if omemo_all_access has been installed on server
2017-12-18 13:47:53 +01:00
Daniel Gultsch
c5ee541906
clear muc avatar after going online
2017-12-18 13:19:11 +01:00
Daniel Gultsch
e0ec6ad8b6
fixed omemo device list not getting annouced on empty list
2017-12-18 13:18:58 +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
2b0551a522
store new intent in welcome account activity
2017-12-16 21:05:56 +01:00
Daniel Gultsch
0cc6ff05f8
pulled translations from transifex
2017-12-16 20:45:26 +01:00
Daniel Gultsch
21615477ed
transport invitee from welcome activity to start conversations activity
2017-12-16 20:38:14 +01:00
Daniel Gultsch
c58fcb1dc6
create avatar in background thread
2017-12-16 14:22:57 +01:00
Daniel Gultsch
9b95f1102c
PublishProfilePictureActivity: refresh on status change
2017-12-16 11:00:49 +01:00
Daniel Gultsch
ccf75ef45a
removed 'contact-only' hint from publish avtar screen
2017-12-15 21:47:16 +01:00
Daniel Gultsch
bb6d5463fe
use JPEG as file format for avatar and compress to <9400 chars
2017-12-15 20:49:48 +01:00
Daniel Gultsch
0be41e0aab
refactor StartConversationsActivity
2017-12-15 19:13:58 +01:00
Daniel Gultsch
cc6a001ac2
remove NFC handling + let edit account handle own jids
2017-12-15 18:25:21 +01:00
Daniel Gultsch
6a9abd0e49
Merge pull request #2720 from af8a524db1/uri_message
...
Handle 'message action' XMPP URIs
2017-12-15 16:17:05 +01:00
Daniel Gultsch
cdd6bdab98
increased max lines to 8
2017-12-15 16:14:41 +01:00
Daniel Gultsch
8d339b6521
remove NFC + light refactoring of XmppActivity
2017-12-15 16:14:04 +01:00
Daniel Gultsch
df37e34e02
use show password widget in Change Password Activity
2017-12-15 12:31:31 +01:00
Daniel Gultsch
a817a96c58
pulled translations from transifex
2017-12-15 12:01:45 +01:00
Daniel Gultsch
a0c8e6170b
limit height of input field to 6 lines
2017-12-15 02:54:03 +01:00
Daniel Gultsch
4d4586eaea
Conference Details: hide settings in offline mucs
2017-12-15 02:53:52 +01:00
Daniel Gultsch
60ae269870
removed password repeat field in favor of show password field
2017-12-15 02:51:54 +01:00
Daniel Gultsch
38797177c7
ChatMarkers: parse own account from true counterpart
2017-12-14 19:34:35 +01:00
Daniel Gultsch
a6864878ba
pulled translations from transifex
2017-12-14 12:25:27 +01:00
Daniel Gultsch
120ddcf8c9
fixed treatAsDownload() for empty messages
2017-12-14 12:25:21 +01:00
Marc Schink
7dc68522a2
Handle NFC action in UriHandlerActivity
2017-12-13 21:20:30 +01:00
Marc Schink
d5f8a4dacb
StartConversationActivity: Scan QR codes via UriHandlerActivity
2017-12-13 21:20:30 +01:00
Marc Schink
75e16d0f54
UriHandlerActivity: Handle 'message action' XMPP URI
2017-12-13 21:20:30 +01:00
Marc Schink
0fac4be94d
XmppUri: Parse 'message action' query
2017-12-13 21:16:31 +01:00
Daniel Gultsch
782b8fb744
fixup for pep omemo notification dedup
2017-12-13 20:28:30 +01:00
Marc Schink
edf3c41e58
Add ShareViaAccountActivity
2017-12-12 17:15:16 +01:00
Marc Schink
a7927d181b
AccountAdapter: Allow hiding of state button
2017-12-12 17:15:13 +01:00
Marc Schink
b8b7cc2635
Implement simple URI handler activity
2017-12-12 14:05:14 +01:00
Daniel Gultsch
9a796df2a3
add getAccountJids to DatabaseBackend
2017-12-11 15:56:15 +01:00
Daniel Gultsch
37bd26c75f
save changed server id in replaced messages
2017-12-11 15:55:55 +01:00
Daniel Gultsch
946d97074f
try to detect invalid nick (w/ emoji) in MUCs
2017-12-11 15:55:10 +01:00
Daniel Gultsch
43242a293e
pulled translations from transifex
2017-12-09 19:00:09 +01:00
Daniel Gultsch
a973833a4f
support error messages in quick edit dialog
2017-12-09 18:46:21 +01:00
Daniel Gultsch
d349f634d0
ignore data uri after aesgcm uri
2017-12-09 14:45:54 +01:00
Daniel Gultsch
efd8876001
pulled translations from transifex
2017-12-09 10:43:31 +01:00
Daniel Gultsch
9bdaeb340b
fix format string
2017-12-09 10:42:24 +01:00
Daniel Gultsch
665c5da8ae
fix xmpp uri regression
2017-12-08 18:44:08 +01:00
Daniel Gultsch
172d249369
initialize emoji helper in StartConversationActivity
2017-12-08 18:43:58 +01:00
Daniel Gultsch
cdee6523e4
fix XmppUri for empty uris
2017-12-08 14:24:26 +01:00
Daniel Gultsch
1b0cd77c57
XmppConnection: refactor registration code. 'Open Website' on PAYMENT_REQUIRED failure
2017-12-08 14:23:38 +01:00
Georg Lukas
d96180f0ee
XEP-0393: fix off-by-one error in block detector ('`ii
`ii')
2017-12-07 14:48:41 +01:00
Daniel Gultsch
328c6dea0f
fixed workaround that allowed us to expire devices
2017-12-07 14:47:21 +01:00
Daniel Gultsch
a4b44ee730
Styler: do not style across multiple messages
2017-12-06 16:58:08 +01:00
Daniel Gultsch
c489b6a8eb
put device id into setting for doze
2017-12-06 16:57:43 +01:00
Daniel Gultsch
97821f0633
possible fix for retry loop on pgp key annoucement
2017-12-05 19:16:53 +01:00
Daniel Gultsch
0e6d3db926
Do not show xmpp uris as links that have invalid jids
2017-12-05 19:02:23 +01:00
Daniel Gultsch
5885bc7f25
show warning when opening invalid jid
2017-12-05 17:29:05 +01:00
Daniel Gultsch
b5fe8789e9
Refined avatar generation a bit
2017-12-05 14:15:10 +01:00
Daniel Gultsch
614372dcbb
ConversationsAdapter: Do not show image preview. Show pictogram instead
2017-12-05 14:14:52 +01:00
Daniel Gultsch
9869310699
avoid some false positive quotes
2017-12-04 16:50:15 +01:00
Daniel Gultsch
95553750a3
Conference Options: fix context menus for people not in roster
2017-12-03 18:09:14 +01:00
Daniel Gultsch
4b5db2fb45
read marker from mam. only trust true counterpart when mam:2 is being used
2017-12-02 22:13:59 +01:00
Daniel Gultsch
ffb3eeb913
MAM: update previously sent messages with server msg id during mam query
2017-12-02 20:52:30 +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
61f3539839
MAM: do not use private messages when finding last id in muc
2017-12-02 17:48:54 +01:00
Daniel Gultsch
97df4a682b
MessageParser: ignore groupchat messages retrieved from user archive
2017-12-02 17:48:26 +01:00
Daniel Gultsch
6449881961
pulled translations from transifex
2017-12-01 23:16:37 +01:00
Daniel Gultsch
75b4926025
fixed publish-options migration
2017-12-01 18:54:39 +01:00
Daniel Gultsch
23e9c73c94
attempt to enable MAM(ejabberd) on muc configuration
2017-12-01 17:36:50 +01:00
Daniel Gultsch
b158e9fd42
do not return muc whispers as last markable message
2017-11-30 17:26:50 +01:00
Daniel Gultsch
86f09dd9b9
PresenceParser: work around for ejabberd not including status code 110 in shut down presence
2017-11-30 13:21:03 +01:00
Daniel Gultsch
21480c9b98
pulled translations from transifex
2017-11-28 11:15:11 +01:00
Daniel Gultsch
64dd622d32
make 'markable' attribute persistent
2017-11-25 20:55:43 +01:00
Daniel Gultsch
7f4f30c849
ListItemAdapter: use ViewHolder
2017-11-23 23:26:19 +01:00
Daniel Gultsch
d95ff134d9
pulled translations from transifex
2017-11-23 21:00:49 +01:00
Daniel Gultsch
9381c1d3e2
fixed content description for previous ViewHolder refactor
2017-11-23 20:32:51 +01:00
Daniel Gultsch
333e7a6510
deduplicate read markers if one with real jid is found
2017-11-23 18:19:05 +01:00
Daniel Gultsch
513427c8a8
MAM: start muc catchup with last sent message if serverId is available
2017-11-23 18:18:30 +01:00
Daniel Gultsch
7d04e6331a
ConversationAdapter: use view holder
2017-11-23 09:59:49 +01:00
Daniel Gultsch
900ad2f7ef
ConversationsAdapter: Use EmojiWrapper instead of EmojiTextView
2017-11-23 09:36:51 +01:00
Daniel Gultsch
d7c5937c20
process emoji charsequence instead of using EmojiTextView
2017-11-22 21:17:38 +01:00
Daniel Gultsch
03c34649b4
shorten >4 names to a, b, c +n more
2017-11-22 17:57:28 +01:00
Daniel Gultsch
8696cf2235
PgpService: feed result intent back into decryption
2017-11-22 13:36:10 +01:00
Daniel Gultsch
4596cad3cb
MessageParser: don't refresh view after parsing chat state when combined with message
2017-11-21 16:17:27 +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
79ea0713bb
MessageAdapter: code reformat
2017-11-21 13:26:45 +01:00
Daniel Gultsch
702d6cf2a5
MessageParser: dismiss notification when receiving read marker from another client
2017-11-21 13:26:23 +01:00
Daniel Gultsch
05b6fdb9f1
use empty wake lock tag
2017-11-21 13:25:18 +01:00
Daniel Gultsch
52e09d17e8
MessageAdapter: do not apply empty size spans
2017-11-21 12:41:05 +01:00
Daniel Gultsch
9548a4f6af
ConversationAdapter: do not show file icon when file has been deleted
2017-11-21 12:40:42 +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
1c65a17ff1
pulled translations from transifex
2017-11-20 11:16:34 +01:00
Daniel Gultsch
1780a4257f
ConversationsAdapter: code cleanup
2017-11-20 11:12:11 +01:00
Daniel Gultsch
47adc9cdcf
pulled translations from transifex
2017-11-18 11:26:22 +01:00
Daniel Gultsch
e452d5d46d
stop scrolling before changing conversations. fixes #2700
2017-11-17 21:00:01 +01:00
Daniel Gultsch
5e15c48206
refactore phone helper to ignore security exception
2017-11-17 10:28:51 +01:00
licaon-kter
1cc8a446f0
Fix typo
2017-11-16 17:02:14 +02:00
Daniel Gultsch
013822fe82
excute db read and writes on different threads
2017-11-16 15:53:03 +01:00
Daniel Gultsch
3dbe5db44b
Rename 'conference' to 'group chat'
2017-11-16 13:30:27 +01:00
Daniel Gultsch
2d42646893
JingleConnection: fixed rare npe when canceling jingle
2017-11-16 12:49:15 +01:00
Daniel Gultsch
c52492ada0
apperently some servers will ommit the from even for stanzas not going to them
2017-11-16 12:48:26 +01:00
Daniel Gultsch
75a485cbc1
catch all sorts of date parsing errors
2017-11-16 12:47:49 +01:00
Daniel Gultsch
8e4440a49a
fixed ImStyleParser to not style '**test**'
2017-11-14 17:57:22 +01:00
Daniel Gultsch
3efa1c46ab
remove numeric hint from captcha
2017-11-14 09:14:03 +01:00
Daniel Gultsch
fced4a454e
ConversationsAdapter: Do not show attachment icon + text if attachment is audio or location
2017-11-13 18:37:12 +01:00
Daniel Gultsch
8e4df80619
Merge branch 'patch-1' of https://github.com/Kandr0s/Conversations into Kandr0s-patch-1
2017-11-13 14:51:56 +01:00
Daniel Gultsch
3faf951f47
disable swipe to left to dismiss conversation
2017-11-13 14:51:45 +01:00
Kandr0s
308f451959
Show Drawable if Location/File/Voice
2017-11-13 13:39:06 +01:00
Daniel Gultsch
7c55d78b0a
set attach icons in dark theme to 70% alpha
2017-11-12 19:23:33 +01:00
Daniel Gultsch
bc9da1fbf4
remove prosody push from blacklist
2017-11-12 19:22:39 +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
Daniel Gultsch
7e93f4519a
catch all RuntimeExceptions when using MetadataRetriever
2017-11-12 19:20:35 +01:00
Daniel Gultsch
a6d1559755
styler: ignore closing keyword when preceded by whitespace
2017-11-10 20:19:22 +01:00
Daniel Gultsch
513795fdf8
use view context instead activity to show toast in ConversationFragment
2017-11-10 20:18:47 +01:00
Daniel Gultsch
d6eb08e0ed
catch rare exception when transforming download uri to real path
2017-11-10 20:18:09 +01:00
Daniel Gultsch
f4638d7eec
catch some more exception when retrieving media runtime
2017-11-10 20:17:42 +01:00
Daniel Gultsch
949d3280d3
open links in new tabs
2017-11-09 20:49:44 +01:00
Daniel Gultsch
a5c33abe88
MessageAdapter: code cleanup
2017-11-09 20:23:31 +01:00
Daniel Gultsch
459cf09f06
FileProvider: attempt to work with sd cards
2017-11-08 20:34:08 +01:00
Daniel Gultsch
0e12b2d19a
AndroidManifest: revert ManageAccount activity to single task
2017-11-08 20:33:48 +01:00
Daniel Gultsch
676f181cad
lower priority for error notification
2017-11-08 20:33:05 +01:00
Daniel Gultsch
e393de6832
disable auto fill on edit message box
2017-11-08 13:25:38 +01:00
Daniel Gultsch
de46192a8d
pulled translations from transifex
2017-11-08 13:25:13 +01:00
Daniel Gultsch
e9587f73ce
styling: introduce support for code blocks
2017-11-07 23:28:14 +01:00
Daniel Gultsch
2e3b5de6b6
do not quote quotes
2017-11-07 22:22:28 +01:00
Daniel Gultsch
e5210bbaa0
brought back 'copy to clipboard' and 'quote' context menu options
2017-11-07 15:58:27 +01:00
Daniel Gultsch
49b4153fb5
make keyword styling work in quotes
2017-11-07 13:23:49 +01:00
Daniel Gultsch
22c37bd430
changed text styling to keep the keyword
2017-11-06 23:44:00 +01:00
Daniel Gultsch
a2b940832e
pulled translations from transifex
2017-11-06 20:17:37 +01:00
Daniel Gultsch
af3c9be700
fix take photo with pending keys
2017-11-06 17:27:48 +01:00
Daniel Gultsch
894ffc6488
ExceptionHelper: code clean up
2017-11-06 14:20:58 +01:00
Daniel Gultsch
aa10b9ff05
code refactoring to provide shorter account enabled check
2017-11-06 13:57:25 +01:00
Daniel Gultsch
fd7ee7c025
AndroidManifest use singleTop instead of singleTask to start new task when sharing
2017-11-06 12:18:24 +01:00
Daniel Gultsch
ebd3330037
changed preview alpha to 0.6f
2017-11-06 12:17:43 +01:00
Daniel Gultsch
4d896cc3ab
initialize emoji compat in share activity
2017-11-06 12:16:55 +01:00
Daniel Gultsch
c262cd5d6e
support for basic IM styling
2017-11-05 21:34:40 +01:00
Daniel Gultsch
7984100e54
delete unneeded class
2017-11-05 16:32:57 +01:00
Daniel Gultsch
435d1ef5bd
SASL: don't prefer PLAIN auth over DIGEST-MD5 for nimbuzz.com
2017-11-05 16:21:59 +01:00
Daniel Gultsch
8f0cd86090
Resync has_enabled_account setting after delete and on start
2017-10-28 17:49:51 +02:00
Daniel Gultsch
3205d763cf
MessageAdapter: Display emojis slightly larger in text
2017-10-28 13:15:31 +02:00
Daniel Gultsch
aeec76d68b
Resolver: active network gets high priority
2017-10-28 13:12:11 +02:00
Daniel Gultsch
4d0986ee91
Resolver: Only prefer VPN connections when network is active
2017-10-27 21:57:31 +02:00
Daniel Gultsch
962add97f9
XmppConnection: throw bind failure when server tries to reassign domain
2017-10-27 18:26:06 +02:00
Daniel Gultsch
82e5a28f49
Sharing: request permission
2017-10-27 17:25:01 +02:00
Daniel Gultsch
08aad7d0aa
black list certain local parts and show domain instead
2017-10-27 15:46:12 +02:00
Daniel Gultsch
3c2aa8a4d2
Config.java: removed dead code
2017-10-27 15:30:08 +02:00
Daniel Gultsch
6f802b88d2
XmppConnection: do not count stanzas before smacks session has started
2017-10-27 11:35:55 +02:00
Daniel Gultsch
dc5d504edd
MessageAdapter: round file sizes
2017-10-27 11:35:19 +02:00
Daniel Gultsch
ad6f6183b8
video processing: pick smaller file after transcoding. do not transcode very small files
2017-10-27 11:34:53 +02:00
Daniel Gultsch
396ad3361f
Jingle: create output stream on demand
2017-10-26 18:42:10 +02:00
Daniel Gultsch
73db0bd19f
MessageAdapter: Do not display muc whispers as emoji only
2017-10-26 18:41:40 +02:00
Daniel Gultsch
6bc32d7e57
pulled translations from transifex
2017-10-23 21:14:23 +02:00
Daniel Gultsch
ac50b367b7
don't share video twice after transcoding exception. fixes #2652
2017-10-14 02:38:05 +02:00
Daniel Gultsch
48baf56622
save message drafts across restarts. fixes #2642
2017-10-01 22:52:21 +02:00
Daniel Gultsch
50d436fd81
EventReceiver: use setting to store enabled accounts
2017-10-01 18:44:28 +02:00
Daniel Gultsch
a288ad8d6b
Merge branch 'master' of github.com:siacs/Conversations
2017-10-01 10:42:24 +02:00
Daniel Gultsch
874c1f4c74
MessageAdapter: trim but don't replace all whitespaces before displaying emoji message
2017-10-01 10:42:01 +02:00
Daniel Gultsch
a16aca03f8
Merge pull request #2643 from devurandom/patch-1
...
Fix typo in error_no_keys_to_trust_server_error
2017-09-30 20:03:39 +02:00
Daniel Gultsch
6713431986
Emoticons: support subdivision-flags
2017-09-30 18:58:35 +02:00
Daniel Gultsch
39a54838fa
Emoticons: detect keycaps
2017-09-30 17:38:48 +02:00
Dennis Schridde
87b1cc6b38
Fix typo in error_no_keys_to_trust_server_error
...
Contact should be genitive (contact's), not plural (contacts)
2017-09-30 16:30:12 +02:00
Daniel Gultsch
bbfabaf930
FileBackend: close cursor after retrieving file size
2017-09-30 15:50:01 +02:00
Daniel Gultsch
014052b991
added a few codepoints with emoji variants
2017-09-30 01:18:08 +02:00
Daniel Gultsch
f53e44a291
refactor emoji detector and fix fitzpatrick followed by zwj
2017-09-29 23:27:08 +02:00
Daniel Gultsch
f0e48c8af5
use own algorithm to count emoji instead of using emoji-java
2017-09-29 22:56:17 +02:00
Daniel Gultsch
42b4528d03
use emoji compat
2017-09-29 19:44:30 +02:00
Daniel Gultsch
bb10cef505
pulled translations from transifex
2017-09-27 10:52:53 +02:00
Daniel Gultsch
9b4149a63d
limit audio player width on small screens
2017-09-27 10:21:34 +02:00
Daniel Gultsch
acd4b149f5
slight refactoring in MessageAdapter
2017-09-27 10:21:00 +02:00
Daniel Gultsch
129b84bda8
add maintanence intent to renewe instance id
2017-09-22 13:31:00 +02:00
Daniel Gultsch
b292a6bbd4
pulled translations from transifex
2017-09-22 13:28:13 +02:00
Daniel Gultsch
c3dcc74b23
select presence if necessary when resending file
2017-09-22 11:14:56 +02:00
Daniel Gultsch
a3be1e964c
execute video compression on seperate thread
2017-09-21 21:54:10 +02:00
Daniel Gultsch
e5becc2e12
slightly refactor dns resolver
2017-09-21 21:46:11 +02:00
Daniel Gultsch
881d4ad5b7
give exec resolver a lower priority over reflection. fixes #2629
2017-09-21 10:31:21 +02:00
Daniel Gultsch
2eb7197e04
removed unnecessary padding restrictions around emoji messages
2017-09-20 21:04:41 +02:00
Daniel Gultsch
20b14091d6
play audio files inline
2017-09-20 15:35:35 +02:00
Daniel Gultsch
30b6201b95
reworked file params to store audio runtime amoung other things
2017-09-19 22:42:22 +02:00
Daniel Gultsch
9733003d0f
removed duplicate code from message bubble layouts
2017-09-19 19:02:35 +02:00
Daniel Gultsch
acc78145db
unified share with menu. fixes #2630
2017-09-19 16:28:01 +02:00
Daniel Gultsch
dbd489cbcb
show correct tooltip when long pressing start conversations. fixes #2635
2017-09-19 10:43:25 +02:00
Daniel Gultsch
4e864935fe
ignore http upload file size constraints for videos that will be compressed
2017-09-18 22:42:25 +02:00
Daniel Gultsch
66dd4dc654
pulled translations from transifex
2017-09-18 18:26:53 +02:00
Daniel Gultsch
0603378c75
show permanent notification while transcoding video
2017-09-18 17:56:25 +02:00
Daniel Gultsch
17e70f55a0
made video thumbnail available during upload
2017-09-18 12:31:57 +02:00
Daniel Gultsch
c2105dfe46
use lower resolution for videos longer than 8s
2017-09-18 11:54:14 +02:00
Daniel Gultsch
d4c16b5a85
added dedicated 'record video' attachment button. fixes #2592
...
thank you @BlauerHunger
2017-09-18 11:51:47 +02:00
Daniel Gultsch
22a058ff61
show block menu after long press on allow/add back
2017-09-11 09:53:14 +02:00
Daniel Gultsch
63817ecda1
removed unused 'disable foreground' button
2017-09-11 09:27:39 +02:00
Daniel Gultsch
32b1e5b306
additional null checks around 'read by' intent
2017-09-11 09:23:14 +02:00
Daniel Gultsch
0663e04e0a
pulled translations from transifex
2017-09-10 17:19:42 +02:00
licaon-kter
200fda141b
Cleanup some unused strings
2017-09-09 18:58:21 +03:00
Daniel Gultsch
5cc92acbee
use 'partial' in server info if publish-options is n/a
...
fixes #2621
2017-09-09 13:34:51 +02:00
Daniel Gultsch
f824b23ca6
pulled translations from transifex
2017-09-06 08:38:29 +02:00
Daniel Gultsch
57ca77aa0c
(re)enable message correction by default
2017-09-06 08:38:14 +02:00
Daniel Gultsch
8126bc98b4
Merge branch 'master' of https://github.com/invisiblek/Conversations into invisiblek-master
2017-08-31 12:43:34 +02:00
Dan Pasanen
bbce690d4f
NotificationService: add button to mark conversation as read
2017-08-30 11:15:03 -05:00
Daniel Gultsch
0f39ad0f04
make filtered list item activity survive roations
2017-08-28 18:30:39 +02:00
Daniel Gultsch
ccb47c5727
get rid of uneccessary 'own omemo fingerprint' string. fixes #2599
2017-08-28 18:15:39 +02:00
Daniel Gultsch
d4c8f0191c
pulled translations from transifex
2017-08-24 10:09:23 +02:00
Daniel Gultsch
617425e7ff
link jid in trust keys activity to contact details
2017-08-24 10:09:16 +02:00
Daniel Gultsch
f4ff644338
reintroduced fixed IV mode for OTR file transfer. fixes #2595
2017-08-23 22:37:13 +02:00
Daniel Gultsch
e6a67a6c26
made avatar cache cleaning more efficent after name changes
2017-08-23 21:49:25 +02:00
Daniel Gultsch
d348780dfc
wait up to 2s to let server close socket before force closing
2017-08-23 12:33:40 +02:00
Daniel Gultsch
94e0c6b38c
don’t use xmpp or jabber as default muc nick
2017-08-23 10:06:32 +02:00
Daniel Gultsch
26f7702c39
request storage permission when sending gif. fixes #2589
2017-08-22 16:51:42 +02: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
debbaa8be2
pulled translations from transifex
2017-08-22 11:28:13 +02:00
Daniel Gultsch
6777ecdb00
set status=received on status messages
2017-08-21 16:19:35 +02:00
Daniel Gultsch
e0fa820436
improved error messages on missing omemo keys
2017-08-21 14:08:20 +02:00
Daniel Gultsch
6afa5653cb
fixed jingle state machine being thrown off by iq-result coming after session-accept
...
fixes #2587
2017-08-18 14:33:56 +02:00
Daniel Gultsch
1383d3d2e4
fixed regression that set the autojoin default to false
2017-08-18 13:43:24 +02:00
Daniel Gultsch
dd5e321247
fixed conference naming for joined people not in your contact list
2017-08-15 12:56:32 +02:00
Daniel Gultsch
473f41646b
pulled translations from transifex
2017-08-15 10:41:46 +02:00
Daniel Gultsch
4ed74eafc8
reset attempt counts on enable
2017-08-12 22:17:49 +02:00
Daniel Gultsch
699e845e6d
default input type to numbers on captcha dialog
2017-08-12 22:17:24 +02:00
Daniel Gultsch
097fe3e1b6
no automatic reconnect on registration failures
2017-08-12 22:17:04 +02:00
Daniel Gultsch
d6193aa586
pulled translations from transifex
2017-08-12 12:07:52 +02:00
Daniel Gultsch
57c11d42d5
create a new axolotl service when the account jid changes
2017-08-10 22:34:03 +02:00
Daniel Gultsch
0da2f1ed3f
prevent users from editing their account jid after successful login
2017-08-10 22:34:03 +02:00
Daniel Gultsch
26765a8a0d
send unavailable presence before join
2017-08-10 22:33:40 +02:00
moparisthebest
197352b669
Read support for 12-byte IVs in addition to 16-byte IVs
2017-08-09 23:42:35 -04:00
Daniel Gultsch
d8d1c1192f
code cleanup and synchronized getMarkableMessage()
2017-08-09 09:43:41 +02:00
Daniel Gultsch
995d975127
removed support for fixed IV mode in otr jingle file transfer that hasn't been used since v0.4 or something
2017-08-09 09:43:12 +02:00
Daniel Gultsch
cce5a7b39f
parse jid from CN in client certs if nothing else is available
2017-08-07 16:02:48 +02:00
Daniel Gultsch
4a43df8c97
do not crash on some very rare logging
2017-08-07 15:55:56 +02:00
Daniel Gultsch
1ab391931d
some code cleanup. and avoid scheduling reconnect task for negative interval
2017-08-05 19:13:29 +02:00
Daniel Gultsch
490115d20e
do not run file observer on hidden directories
2017-08-05 19:12:44 +02:00
Daniel Gultsch
911e392006
update mini dns
2017-08-05 15:17:10 +02:00
Daniel Gultsch
b925f436fd
add more logging to http download connection and reset file params after setting expected size
2017-08-04 11:58:12 +02:00
Daniel Gultsch
014643b9c4
pulled translations from transifex
2017-08-03 14:21:22 +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
7bcf173866
remove all whitespaces in emoji only messages
2017-08-03 10:55:14 +02:00
Daniel Gultsch
225cca4566
provide extra 'network is unreachable' account state
2017-08-02 18:58:51 +02:00
Daniel Gultsch
768eadde36
use random string generator instead of BigInteger in DigestMd5
2017-08-01 12:27:26 +02:00
Daniel Gultsch
82c5924434
display messages that only contain emoji slightly larger
2017-07-30 22:04:58 +02:00
Daniel Gultsch
e11277c70f
use base64 instead of base36 when creating random strings
2017-07-30 11:39:47 +02:00
Daniel Gultsch
01b207d44d
avoid empty strings when figuring out display name
2017-07-30 11:39:16 +02:00
Daniel Gultsch
f5da4791ad
avoid unnecessary roster sync in OMEMO code. fixed startup performance regression
2017-07-29 13:50:32 +02:00
Daniel Gultsch
837c212931
refresh omemo activity after failing to fetch keys due to lack of ids
2017-07-28 18:37:07 +02:00
Daniel Gultsch
ad601e47c8
fixed roster items w/o subscription (request) not being shown
2017-07-28 18:34:55 +02:00
Daniel Gultsch
ea6289c02e
pulled translations from transifex
2017-07-26 13:23:40 +02:00
Daniel Gultsch
d6e51288c3
Merge pull request #2564 from yushijinhun/fix-decryption-blocked
...
Give up PGP decryption when intent is cancelled
2017-07-25 09:20:51 +02:00
yushijinhun
48147b7fd1
Give up PGP decryption when intent is cancelled
...
When receiving a PGP message which is not encrypted with YOUR key,
OpenKeychain shows a dialog, which tells you the private key to decrypt
the message is unavailable. However, Conversations won't give up
decrypting the message. So whether the subsequent messages are
decryptable or not, the decryption is blocked at the current message.
The commit fixes the bug in this way: Give up the current message when
the decryption intent is cancelled, so that subsequent messages can be
handled.
2017-07-25 15:09:18 +08:00
Daniel Gultsch
432598f896
Merge branch 'bugfixes'
2017-07-23 07:53:09 +02:00
Daniel Gultsch
c8bd5bc1f5
made OF selfSigned() workaround only available >=kitkat
...
this undos 8a729061d5
. as it turns out 4.1
and 4.0 only break when checking if a cert is self signed.
2017-07-23 07:47:39 +02:00
Daniel Gultsch
2fc216bfc4
skip initial socket closing if thread was already interrupted
2017-07-21 08:30:16 +02:00
Daniel Gultsch
74cde1d60a
incorporate support for publish-options into server info
2017-07-18 12:51:15 +02:00
Daniel Gultsch
85dc0c284d
made omemo always available but in public mucs
2017-07-18 12:51:15 +02:00
Daniel Gultsch
002dbf2e17
enable all encryption options
2017-07-18 12:51:15 +02:00
Daniel Gultsch
da87eac48e
provide upgrade path for accounts with publish-options
2017-07-18 12:51:15 +02:00
Daniel Gultsch
9a57673130
use publish-options instead of always pushing node configuration
2017-07-18 12:51:15 +02:00
Daniel Gultsch
8d6b2074cb
let hasPendingFetches() return true when fetching device ids
2017-07-18 12:51:15 +02:00
Daniel Gultsch
7a2856ac86
fetch required device ids on demand
2017-07-18 12:51:15 +02:00
Daniel Gultsch
f7258d16e1
explicitly fetch device ids before building sessions in single mode conversation
2017-07-18 12:51:15 +02:00
Daniel Gultsch
25e993693f
change access model of omemo pep nodes after every publish
2017-07-18 12:51:15 +02:00
Daniel Gultsch
6c95897f09
fetch device ids for muc members w/o known devices
2017-07-18 12:51:15 +02:00
Daniel Gultsch
2a198793b1
fixed otr jingle file size reporting
2017-07-18 12:43:53 +02:00
Daniel Gultsch
8a729061d5
use CN-workaround for pre-kitkat
2017-07-17 23:13:55 +02:00
Daniel Gultsch
8285a4fe1c
pulled translations from transifex
2017-07-17 22:06:56 +02:00
Daniel Gultsch
217335703c
fix regression introduces with OF fix. properly fall back to common name
2017-07-17 21:11:15 +02:00
Daniel Gultsch
0a20b87ebe
check length first in timestamp parser
2017-07-16 21:03:59 +02:00
Daniel Gultsch
febee9863f
catch IllegalArgumentException caused by invalid custom hostname
2017-07-16 21:02:56 +02:00
Daniel Gultsch
8afe7efc2c
workaround for OpenFire: check CN first in self signed certs
...
The self signed certificates created by OpenFire (Not sure if other
certs are affected as well) will crash the Java/Android TLS stack when
accessing getSubjectAlternativeNames() on the the peer certificate.
This usually goes unnoticed in other applications since the
DefaultHostnameVerifier checkes the CN first. That however is a
violation of RFC6125 section 6.4.4 which requires us to check for the
existence of SAN first.
This commit adds a work around where in self signed certificates we
check for the CN first as well. (Avoiding the call to
getSubjectAlternativeNames())
2017-07-16 11:05:25 +02:00
Daniel Gultsch
dfa17d1339
more migration fixes for updating from 1.6.0 to 1.19.3
2017-07-14 10:34:01 +02:00
Daniel Gultsch
91119ab691
add reminder to remove minidns workarounds once those are fixed
2017-07-14 09:09:26 +02:00
Daniel Gultsch
ea6b756c0f
fixed bug in db migrations when going from <15 to something recent
2017-07-13 19:28:16 +02:00
Daniel Gultsch
3d0b127a8f
verify with hostname in direct tls connections
2017-07-13 19:27:43 +02:00
Daniel Gultsch
7623accfd5
prefer DNS servers from VPNs
2017-07-12 22:19:45 +02:00
Daniel Gultsch
45f92553c4
pulled translations from transifex
2017-07-12 11:54:05 +02:00
Daniel Gultsch
ecc0ef45c5
disable foreground service if all accounts are disabled
2017-07-12 11:03:32 +02:00
Daniel Gultsch
edb28ccb31
throw state changing exception on failed tls only if no more connection options left
2017-07-11 23:25:59 +02:00
Daniel Gultsch
19c1484053
catch runtime exceptions from minidns
2017-07-11 23:24:09 +02:00
Daniel Gultsch
8de81e0bc8
sync around Conversation.getLatestMessage()
2017-07-11 23:09:51 +02:00
Daniel Gultsch
c5824a3b2a
catch all exceptions around minidns :(
2017-07-10 12:33:04 +02:00
Daniel Gultsch
8415f27cac
pulled translations from transifex
2017-07-10 10:06:08 +02:00
Daniel Gultsch
abf84e065d
made DNSEC hostname validation opt-in
2017-07-10 09:59:25 +02:00
Daniel Gultsch
da00a58902
work around idn short comings in minidns
2017-07-10 08:50:01 +02:00
Daniel Gultsch
7cbef529ae
resolve non-srv domains in resolver class as well
...
this allows us to prefer ipv4
2017-07-10 08:49:22 +02:00
Daniel Gultsch
c400f74918
prefer ipv4 over ipv6
2017-07-09 19:05:23 +02:00
Daniel Gultsch
67bc032ccc
fixed fallback to normal DNS query after DNSSEC failed
2017-07-09 18:03:26 +02:00
Daniel Gultsch
7df0f3fd28
pulled translations from transifex
2017-07-05 11:29:42 +02:00
Daniel Gultsch
ef980ff5cf
show date separators. fixes #2271
2017-07-04 11:01:20 +02:00
Daniel Gultsch
2ada4d5cfe
allow users to send PMs in mucs w/o voice
2017-07-03 23:58:34 +02:00
Daniel Gultsch
f2409ed95e
set focusable=false instead of enabled=false for rooms w/o voice
2017-07-03 19:55:21 +02:00
Daniel Gultsch
5cac4397dd
catch state changing error when sending timeout to iq callbacks
2017-07-03 19:44:01 +02:00
Daniel Gultsch
7cf360fabf
do not keep files in waiting when file size exceeds http upload limit in groups. fixes #2533
2017-07-01 19:31:48 +02:00
Daniel Gultsch
2b9cdde558
refactored retrieval of default preferences
2017-07-01 13:41:24 +02:00
Daniel Gultsch
7d4d5c437a
pulled translations from transifex
2017-06-30 21:28:02 +02:00
Daniel Gultsch
311c99bb6d
put settings defaults into resource file
2017-06-30 21:22:35 +02:00
Daniel Gultsch
4a2e222b34
deduplicate disco items before disco#info
2017-06-30 08:45:16 +02:00
Daniel Gultsch
7c1e1132b0
make scan barcode icon survive rotations
2017-06-29 20:23:28 +02:00
Daniel Gultsch
b2aae44645
show scan button in TrustKeys only if there is something to scan
2017-06-29 14:01:12 +02:00
Daniel Gultsch
cbbf6f439b
add publish-options helper class
2017-06-27 22:50:39 +02:00
Daniel Gultsch
59e39304dd
use DND instead of XA when phone is silent
2017-06-27 12:24:26 +02:00
Daniel Gultsch
c85b3bbacc
revised resolver strategy
2017-06-26 14:03:38 +02:00
Daniel Gultsch
6dad1c0dde
refactored resolver to fall back to DNS and use reliable method
2017-06-25 22:46:56 +02:00
Daniel Gultsch
4faf0f2ec9
use ResolverApi.reliable(..)
2017-06-25 19:30:03 +02:00
Daniel Gultsch
2c5250a82c
new resolver fall back to normal dns if dnssec verfication fails
2017-06-25 18:35:40 +02:00
Daniel Gultsch
cbce73c301
fixed fingerprint trust (was messed up after library upgrade)
2017-06-25 18:18:13 +02:00
Daniel Gultsch
24ab765e11
pulled translations from transifex
2017-06-25 16:01:37 +02:00
Daniel Gultsch
6ec8e57fbb
change order of settings. move heads-up notifications up
2017-06-25 16:00:07 +02:00
Daniel Gultsch
14fd41cd7f
fixed patterns source code url
2017-06-25 12:03:26 +02:00
Daniel Gultsch
19b4207c3a
Merge branch 'master' of https://github.com/BlauerHunger/Conversations into BlauerHunger-master
2017-06-24 16:16:34 +02:00
Daniel Gultsch
d24022d755
cleanup nameWithoutVersion() code
2017-06-24 16:13:55 +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
5fd4169720
don't use version part of identity name in presence selection. fixes #2519
2017-06-23 14:51:08 +02:00
Daniel Gultsch
3c90dbe723
fixed ip reporting for dns look ups
2017-06-22 00:09:59 +02:00
Daniel Gultsch
2ed71df01a
also check for hostname in in certs if hostname is from trusted source
2017-06-21 23:40:01 +02:00
Daniel Gultsch
2e380ed792
upgrade minidns. refactored dns utils
2017-06-21 23:28:01 +02:00
Daniel Gultsch
5d9d725446
offer to open website if ibb offers oob redirect. fixes #2503
2017-06-19 20:02:41 +02:00
Daniel Gultsch
95405fde5f
mark message as failed after canceling ft w/o transferable. fixes #2513
2017-06-19 13:23:20 +02:00
Daniel Gultsch
24768d051d
upgrade to signal-protocol-java. thanks @ysangkok
...
fixes #1384
closes #2509
2017-06-18 16:36:30 +02:00
Daniel Gultsch
f67baab983
revised strategy for http upload read timeout
2017-06-18 16:32:01 +02:00
Daniel Gultsch
a1fe8f1c87
make http upload read timeout depend on file size
2017-06-14 16:27:38 +02:00
Daniel Gultsch
00bb527333
recreate settingsactivity when theme changed
2017-06-05 14:57:09 +02:00
Daniel Gultsch
f7f6e8dfd5
make launching app shortcuts work with disabled accounts
2017-06-05 10:18:02 +02:00
Daniel Gultsch
012f60be56
use proper alpha for dark themed icons
2017-06-04 00:05:02 +02:00
Daniel Gultsch
51badfa721
enable forground service for sony smartphones by default
2017-06-02 13:00:20 +02:00
Daniel Gultsch
e722ef6477
do not accept LMC for files
2017-06-02 13:00:02 +02:00
Daniel Gultsch
612e0afa63
do not parse delay tag for unavailable presences when it comes form own server
2017-06-01 16:45:00 +02:00
Daniel Gultsch
ed7882fe69
fix NPE when bookmark jid is null on creating suggestions
2017-06-01 16:44:35 +02:00
Daniel Gultsch
3889c0eb01
use application/pgp-encrypted mime type when necessary for http upload
2017-06-01 07:35:18 +02:00
Daniel Gultsch
9dcd0bf16b
'end this conversation afterwards' checked by default
...
closes #2364 #2382
2017-05-31 19:58:54 +02:00
Daniel Gultsch
2cf05528b4
add the 4 most frequently contacted contacts as app shortcuts
2017-05-31 16:45:51 +02:00
Daniel Gultsch
7b271bcf67
pulled translations from transifex
2017-05-31 11:38:16 +02:00
Daniel Gultsch
50f61a4d91
do not check if namespace equals prefix for attributes
2017-05-30 19:05:36 +02:00
Daniel Gultsch
6ccdd1227e
parse all delayed tags. use min date
2017-05-30 08:39:04 +02:00
Daniel Gultsch
e973117aed
deal with namespace attributes. fixes #2495
2017-05-30 08:38:33 +02:00
Daniel Gultsch
3ece613a5d
rename resource on bind conflict
2017-05-25 14:40:59 +02:00
Daniel Gultsch
fe29b51290
rename downgrade attack to downgraded sasl mechanism
2017-05-24 19:12:37 +02:00
Daniel Gultsch
51d1223198
invoke statusChanged callback after syncronization
2017-05-19 15:28:25 +02:00
Daniel Gultsch
5a5eb5bdd3
do not turn send button green unless history is caught up. fixes #1232
2017-05-19 13:39:44 +02:00
Daniel Gultsch
7cd4ed78b2
synchronize on dedicated lock for catchup instead of account
2017-05-19 13:30:57 +02:00
Daniel Gultsch
9fd6539534
clean up client cert selection code
2017-05-18 11:31:31 +02:00
Daniel Gultsch
41b3df0d43
fall back to jingle only in 1:1. fixes #2482
2017-05-13 08:11:24 +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
5056a28553
differentiate starttls failure and sasl failure
2017-05-13 08:08:05 +02:00
Daniel Gultsch
91db2023d3
use mam reference instead of timestamp
2017-05-07 21:05:35 +02:00
Daniel Gultsch
185dac6953
synchronize around adding query to query map
2017-05-07 15:47:18 +02:00
Daniel Gultsch
b0a8da35db
add ability to distrust inactive/trusted keys
2017-05-06 18:38:23 +02:00
Daniel Gultsch
0f2e60d576
pulled translations from transifex
2017-05-06 15:37:35 +02:00
Daniel Gultsch
9a7d925b97
do not synchronize startXmpp() and sendPacket() on the same object as this can block the ui
2017-05-06 15:37:22 +02:00
Daniel Gultsch
be371ac5df
reset resource after bind failure
2017-05-05 09:38:58 +02:00
Daniel Gultsch
7b6d49f329
unified all account state exceptions
2017-05-05 09:33:05 +02:00
Daniel Gultsch
404cf808b0
set catchup flag on mam only when doing that
2017-05-04 22:11:46 +02:00
Daniel Gultsch
f98888d796
display open pgp key id in account details and allow to delete. fixes #2470
2017-05-04 13:02:46 +02:00
Daniel Gultsch
839178b269
suggest bookmarked conferences servers in join conference dialog
2017-05-04 11:28:54 +02:00
Daniel Gultsch
cc1402442a
don't load signed prekeys on startup
2017-05-04 11:03:58 +02:00
Daniel Gultsch
f47cf7ae67
make jingle implementation send file hash when using ft5
2017-05-03 11:03:04 +02:00
Daniel Gultsch
ef78721f94
fixed regression from previous commit and brought back 'select text'
2017-05-02 10:42:50 +02:00
Daniel Gultsch
7c31a981bb
unified copy text and share with context menu entries
2017-04-30 21:03:44 +02:00
Daniel Gultsch
cec9b9b35a
send read marker after reading message in android auto
2017-04-30 21:02:50 +02:00
Daniel Gultsch
5cadc81de4
support for jingle ft:5. fixes #2458
2017-04-30 16:21:13 +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
Daniel Gultsch
1a72683b52
close http download connection after download
2017-04-29 22:59:36 +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
a5e15d5a10
code cleanup: made conversation property final in message object
2017-04-26 12:43:52 +02:00
participante0
48e3726071
Update strings.xml
...
Added a comma.
2017-04-25 18:06:03 -03:00
Daniel Gultsch
a55d0a691c
while restoring state deal with conversations that don't have accounts
2017-04-25 18:17:23 +02:00
Daniel Gultsch
8e0fb6a23a
avoid rare race condition when saving draft message
2017-04-25 18:16:55 +02:00
Daniel Gultsch
4d1308e138
fixed click area for pgp key in contact details
2017-04-25 15:23:01 +02:00
Daniel Gultsch
e6eb58f2d7
send pgp signature when creating ad hoc conferences
2017-04-25 15:22:31 +02:00
Daniel Gultsch
2cfa3ce288
limited offline support for pgp group chats
...
use pgp key from contact if not set in muc
fixes #283
2017-04-25 15:19:54 +02:00
Daniel Gultsch
848c339c8d
make sure context is not null before setting content description on send button
2017-04-25 14:11:45 +02:00
Daniel Gultsch
c837e0616a
make sure tag writer thread shuts down
2017-04-22 10:08:51 +02:00
Daniel Gultsch
c93b1a86bb
version bump to 1.18.2 + changelog
2017-04-21 18:55:53 +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
Daniel Gultsch
9cc37a7bdb
re-add redownload context menu entry for deleted files. fixes #2453
2017-04-20 11:52:54 +02:00
Daniel Gultsch
ae85a9e87b
made nimbuzz work around work with newly created conferences as well
2017-04-20 11:35:38 +02:00
Daniel Gultsch
067daa81f4
Merge pull request #2445 from SamWhited/send_content_description
...
Add content description to send button
2017-04-17 12:56:36 +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
Sam Whited
4a915c60e9
Add content description to send button
...
This can be used by screen readers and other accessibility aids.
2017-04-16 16:37:32 -05:00
Daniel Gultsch
6c34763d32
transform aesgcm:// links back to https:// before connecting through Tor
...
fixes #2444
2017-04-16 08:44:26 +02:00
Daniel Gultsch
1ac0c2f453
show 'try again' button when remote server wasn't found in previously active muc
2017-04-15 17:18:15 +02:00
Daniel Gultsch
483304c697
recognize muc self presence on nimbuzz.com
...
Apparently nimbuzz.com doesn't include status code 110 in muc self presence
It does however include the full real jid in the presence’s item.
We can use that as a work around to detect a self presence.
2017-04-15 15:14:12 +02:00
Daniel Gultsch
d220d9db05
pulled translations from transifex
2017-04-15 15:09:50 +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
bf07196707
don't count >number% as quote
2017-04-13 17:29:11 +02:00
Daniel Gultsch
0904ba42f8
use async message loading only when called from UI
2017-04-13 00:12:23 +02:00
Daniel Gultsch
0229a1605e
properly unregister bookmark from conversations when deleting bookmark
2017-04-12 23:41:59 +02:00
Daniel Gultsch
8742194f4b
fixed message merge logic. merge only messages with lower status
2017-04-12 22:24:29 +02:00
Daniel Gultsch
4fd11a4c2b
show first instead of last message in notification preview
2017-04-12 20:54:32 +02:00
Daniel Gultsch
4bbf2dab99
include RSM max in mam query in case server doesn't specify own max
2017-04-12 20:53:19 +02:00
cijo-saju
3467a67e75
Removed unused imports from entire project.
2017-04-12 20:24:36 +05:30
cijo-saju
5a27da848b
Clean up
2017-04-08 11:04:20 +05:30
cijo-saju
41112d29bd
Removed unnecessary string builder
2017-04-08 10:12:40 +05:30
cijo-saju
ed8336ee54
Made variable local
2017-04-08 10:08:28 +05:30
cijo-saju
11e26e71f6
Code clean up
2017-04-08 10:05:13 +05:30
Daniel Gultsch
e98f7e57b0
be more careful with corner cases when mentioning multiple people
2017-04-07 19:47:33 +02:00
Daniel Gultsch
cc1aa9e431
exclude >= from being recognized as quote
2017-04-07 14:30:30 +02:00
Daniel Gultsch
56f202d4b8
do not linkify urls starting with a dot
2017-04-07 14:29:55 +02:00
Daniel Gultsch
d91c314ac2
use comma seperation for multiple mentions
2017-04-06 18:06:07 +02:00
Daniel Gultsch
06d1e1752c
pulled translations from transifex
2017-04-06 12:01:17 +02:00
Daniel Gultsch
649d1243d5
avoid crash on urls with missing protocols
2017-04-06 11:59:15 +02:00
Daniel Gultsch
99565a6876
treat URL as file if URL is in oob or contains key
2017-04-05 22:35:42 +02:00
Daniel Gultsch
26badb7f4c
send urls pointing to pgp encrypted files directly in body+oob
2017-04-05 21:01:29 +02:00
Daniel Gultsch
3b3121b9c5
pulled translations from transifex
2017-04-05 21:00:16 +02:00
Daniel Gultsch
401329caaa
use aesgcm:// uri scheme for omemo encrypted http upload
2017-04-05 18:46:56 +02:00
Daniel Gultsch
f75eb6bc43
unread badge: show >999 as infinity symbol
2017-04-05 18:39:27 +02:00
Daniel Gultsch
081c33b886
do not parse bodies with http urls as downloadable in omemo encrypted message. fixes #1756
2017-04-04 22:20:05 +02:00
Daniel Gultsch
b34a1f7f5e
parse message that only contain oob tag. fixes #2359
2017-04-04 22:15:38 +02:00
Daniel Gultsch
75749d7c7b
Merge branch 'develop' of https://github.com/cijo7/Conversations into cijo7-develop
2017-03-31 09:34:38 +02:00
Daniel Gultsch
9682f4d454
Merge branch 'deprecated-method' of https://github.com/hareshkh/Conversations into hareshkh-deprecated-method
2017-03-31 09:27:22 +02:00
Daniel Gultsch
4bfc54e51d
show file size for files smaller 1024 bytes. fixes #2415
2017-03-31 09:26:55 +02:00
cijo-saju
3171dcac8d
Fixed deprecated call
2017-03-30 16:27:11 +05:30
cijo-saju
4e898fa4f2
Run in background instead of writing instantaneously
2017-03-30 16:27:11 +05:30
Haresh Khanna
c7912ed7ef
Changes the deprecated getColor() method
2017-03-29 22:05:35 +05:30
cijo-saju
37465db817
Fixed package access
2017-03-28 21:02:20 +05:30
cijo-saju
024dbd1c32
Removed unused import and fixed some annotations
2017-03-28 20:46:20 +05:30
cijo-saju
cb96911da3
Saves some memory
2017-03-28 20:43:14 +05:30
cijo-saju
d8901441f6
Deleted unused variable
2017-03-28 20:41:08 +05:30
cijo-saju
b4318996ac
Fixed typo in comment
2017-03-26 22:07:39 +05:30
Daniel Gultsch
3af30d7563
omemo: put auth tag into key (verify auth tag as well)
2017-03-26 12:39:18 +02:00
Daniel Gultsch
2302122d8e
made a few exceptions to quote parser for emoticons and quotes
2017-03-26 12:29:12 +02:00
Daniel Gultsch
00e8ba00c4
count messages in backlog to not renotify on prior notifications
2017-03-23 15:34:52 +01:00
Daniel Gultsch
010b341251
do not pipeline first SM request because that might fail when resume fails
2017-03-21 18:08:20 +01:00
Daniel Gultsch
c97c5def2c
experimental: wait for SM catchup before triggering notifications
...
wait for a first SM ACK before calculating if we need to trigger any notifications
might have to be changed to an XEP-0199 ping later on. for now sending <r/> after resume seems to work outfine
2017-03-21 17:58:08 +01:00
Daniel Gultsch
76b9010c39
rework last activity logic to something that should work pretty well in Conversations only enviroments
2017-03-20 17:58:58 +01:00
Daniel Gultsch
644a3a729d
define strangers as people not in roster instead of no mutual presence subscription
2017-03-20 13:25:36 +01:00
Daniel Gultsch
e58f72c20f
show strangers with jid instead of name in conversation list
2017-03-20 13:24:33 +01:00
Daniel Gultsch
c2c6904eda
offer to block entire domain in message from stranger snackbar. fixes #2391
2017-03-20 12:55:48 +01:00
Daniel Gultsch
4171e2b90e
do not show block stranger snackbar when blocking command is unavailable. fixes #2393
2017-03-20 12:16:25 +01:00
Daniel Gultsch
e5f08a5eae
pulled translations from transifex
2017-03-20 11:07:27 +01:00
Daniel Gultsch
4d2a1afaf9
call EditText.setText() instead of clear because clear causes problems on some keyboards
2017-03-20 00:09:23 +01:00
Daniel Gultsch
6167ddb4a8
don't mark message as delivery_failed when cancel didn't work. fixes #2387
2017-03-19 20:16:11 +01:00
Daniel Gultsch
30ed6b3cec
call messageSent() from UI thread after encrypting pgp message
2017-03-19 20:15:07 +01:00
Daniel Gultsch
ce336690e2
pulled translations from transifex
2017-03-17 13:19:37 +01:00
Daniel Gultsch
91a69d7d85
use qr codes instead of aztec. Barcode Scanner is terrible at reading aztec. fixes #2375
2017-03-17 12:56:55 +01:00
Daniel Gultsch
935ac25cbd
update unread counter for image messages. fixes #2376
2017-03-17 12:55:33 +01:00
Daniel Gultsch
ba32217152
pulled translations from transifex
2017-03-14 11:09:45 +01:00
Daniel Gultsch
95e33b5a97
never mark conversation w/ own server as stranger
2017-03-14 11:09:34 +01:00
Daniel Gultsch
09d68ae603
fixed entity time for timezones with minutes !=0
2017-03-10 17:25:43 +01:00
Daniel Gultsch
9c588ae9eb
pulled translations from transifex
2017-03-10 10:10:07 +01:00
Daniel Gultsch
0ee13bbecb
send chat states only to private and non-anon mucs
2017-03-09 15:42:27 +01:00
Daniel Gultsch
1fd3bbfe25
display chat states in conferences
2017-03-09 10:58:44 +01:00
Daniel Gultsch
5ea4322d3f
send and parse Chat States to and from conferences
2017-03-09 10:58:44 +01:00
Daniel Gultsch
cdf2bd07df
use async avatar loading in AccountAdapter
2017-03-09 10:58:11 +01:00
Daniel Gultsch
c3b2f33956
hide keyboard after setting up account
2017-03-09 10:57:33 +01:00
Daniel Gultsch
d56fb3cec2
pulled translations from transifex
2017-03-09 08:33:44 +01:00
Daniel Gultsch
7747fc0ea1
notify for muc messages after mam catchup
2017-03-08 22:02:09 +01:00
Daniel Gultsch
6b72e18982
add <x/> element to outgoing MUC PM
2017-03-08 22:01:20 +01:00
Daniel Gultsch
1f3be1597c
add origin-id to outgoing messages
2017-03-08 21:30:12 +01:00
Daniel Gultsch
9d043076e8
only take 1:1 conversations into account when determining catchup timestamp
2017-03-08 20:54:13 +01:00
Daniel Gultsch
8ca16a6f63
do not interpret grin >< as quote
2017-03-08 20:21:04 +01:00
Daniel Gultsch
064926a18b
fixed regression that caused stanza-ids not to be saved
2017-03-08 20:20:34 +01:00
Daniel Gultsch
a3b51f7654
do not show 'block stranger' snackbar in empty conversations
2017-03-08 11:54:52 +01:00
Daniel Gultsch
721250c7d9
pulled translations from transifex
2017-03-07 18:55:05 +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
Daniel Gultsch
254edc48f5
show conversation time as last clear date when empty
2017-03-07 11:46:12 +01:00
Daniel Gultsch
3c951ce2cd
set last clear date to time of last message
2017-03-07 11:45:35 +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
5fae9465d1
show snackbar in conversations with stranger to block. fixes #2358
2017-03-07 11:07:57 +01:00
Daniel Gultsch
7306e0286f
do not notify for messages from strangers by default
2017-03-07 10:50:46 +01:00
Daniel Gultsch
857c761c68
fixed sender label for empty conversations
2017-03-07 09:22:42 +01:00
Daniel Gultsch
79b2f34685
added colon to seperate sender and message preview. only show first name
2017-03-06 19:42:27 +01:00
Daniel Gultsch
9f3543a650
Merge branch 'message-marker' of https://github.com/hareshkh/Conversations into hareshkh-message-marker
2017-03-06 19:07:27 +01:00
Daniel Gultsch
9ba5335ae7
cleaned code of muc name generator
2017-03-06 19:06:16 +01:00
Haresh Khanna
633aad3193
Adds a message sender label in each conversation for text messages
2017-03-06 23:25:13 +05:30
Daniel Gultsch
1c56b74e41
closing the corresponding conversations after blocking a contact. fixes #2347
2017-03-06 16:53:54 +01:00
Daniel Gultsch
5a00b11594
extract stanza-id from muc reflections
2017-03-06 13:30:13 +01:00
Daniel Gultsch
4a7dbaab1e
deduplicate every message with a stanza-id from the server
2017-03-06 11:24:04 +01:00
Daniel Gultsch
6088913fb6
fixed multi-session-nick renaming behaviour
2017-03-05 17:42:17 +01:00
Daniel Gultsch
aa24a057fc
allow Conversations to access user trust store
2017-03-05 11:42:29 +01:00
Daniel Gultsch
cae993a95f
renamed enter jid menu item id
2017-03-05 11:40:48 +01:00
Daniel Gultsch
bb7780eae6
Merge branch 'issue_#2336' of https://github.com/vikiCoder/Conversations into vikiCoder-issue_#2336
2017-03-05 08:48:01 +01:00
Daniel Gultsch
b0ada55b28
use min width of 32dp for swipe handle
2017-03-04 21:20:39 +01:00
Daniel Gultsch
f414998307
use default priority notifications. disables heads up notifications
2017-03-04 21:19:55 +01:00
vikiCoder
72537b76c5
fixes #2336 : added an option to directly add a jid to block list from blocklist activity
2017-03-05 01:01:41 +05:30
Daniel Gultsch
b86dd584dc
made swipe handle more unified and smaller across various screen sizes
2017-03-04 15:07:25 +01:00
Daniel Gultsch
cb203f5fd3
Keep draft even when correcting previously sent msg
...
fixes #1822 . Thank you @singhalok641
2017-03-04 08:05:42 +01:00
Haresh Khanna
f2d2966b31
Squash : Adds number of unread messages for every conversation. Fixes #2181
2017-03-04 04:26:19 +05:30
Daniel Gultsch
5c789b75cc
fixed messages vanishing after pgp raised error on editing a message
2017-03-03 15:21:42 +01:00
Daniel Gultsch
58595fccfe
show icons in pop menu with reflection. imagespan was not centred vertically
2017-03-03 12:26:33 +01:00
Daniel Gultsch
768d79c621
Merge branch 'issue_#1200' of https://github.com/vikiCoder/Conversations into vikiCoder-issue_#1200
2017-03-03 12:01:00 +01:00
Daniel Gultsch
afa34ce15a
block send action while encrypting pgp message
2017-03-03 11:56:08 +01:00
Daniel Gultsch
469cf72e56
make notification icon size depend on 'Large Text' setting
2017-03-03 11:55:07 +01:00
vikiCoder
51ef096e01
fixes #1200 : Added icons for the attach options according to material design guidlines
2017-03-03 16:01:44 +05:30
Daniel Gultsch
8cce653a1f
changed default setting for enter_is_send on devices with keyboard
2017-03-02 13:03:30 +01:00
Daniel Gultsch
c740386297
rename the Xmlns class to Namespace
2017-03-01 13:01:46 +01:00
Daniel Gultsch
ea1e28267b
bump mam namespace to :2
2017-03-01 12:50:58 +01:00
Daniel Gultsch
ecd53580c0
show 'show inactive keys' button also when there are no active keys
2017-03-01 12:50:46 +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
4cddf31ad2
properly handle onNewIntent() in StartConversations activity
...
* fixes a glitch a caused xmpp uris not to open when activiy was already started
2017-02-28 11:48:28 +01:00
Daniel Gultsch
1f4c5ff97c
properly trim() incoming imto: uris
2017-02-27 22:48:25 +01:00
Daniel Gultsch
c7ec82679f
Merge branch 'master' of github.com:siacs/Conversations
2017-02-24 20:00:54 +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
0c0ff882a9
make x509 verification node world readable
2017-02-24 19:58:46 +01:00
Daniel Gultsch
a28116753a
Merge pull request #2315 from licaon-kter/lecagy-typo
...
Fix a typo in legacy
2017-02-19 18:43:21 +01:00
licaon-kter
d3dd80eec9
Fix a typo in legacy
2017-02-19 15:47:57 +02:00
Daniel Gultsch
0d00ff0c15
migrate domain and host exemption into seperate class
2017-02-19 13:05:40 +01:00
Daniel Gultsch
abaabae853
only change actionbar display options when changed
2017-02-18 18:08:37 +01:00
Daniel Gultsch
c69ad8f52c
npe checks
2017-02-17 10:26:42 +01:00
Daniel Gultsch
cf9ab4d302
synchronize modifications of output stream in tag writer
2017-02-17 10:26:12 +01:00
Daniel Gultsch
4f0e1b71c0
explicitly turn off vibration when disabled. fixes #1255
2017-02-16 13:31:26 +01:00
Daniel Gultsch
caa16a8517
experimental mam legacy compat layer
2017-02-15 16:42:35 +01:00
Daniel Gultsch
6e62b62b80
respond to xep-0184 requests in muc pms
2017-02-15 12:09:36 +01:00
Daniel Gultsch
c7e95d105c
fixed behaviour in message parser when doing mam catchup
2017-02-15 00:08:49 +01:00
Daniel Gultsch
bb249e0881
only extract stanza-id from live messages when disco feature is set
2017-02-14 23:16:51 +01:00
Daniel Gultsch
b90a1fe1db
bump mam namespace
2017-02-14 17:19:45 +01:00
Daniel Gultsch
2665c3a1e0
rethink mam catchup strategies
2017-02-14 16:50:33 +01:00
Daniel Gultsch
9116782cdc
fixed adhoc conference creation behaviour. properly show errors. fixes #2290
2017-02-13 17:32:26 +01:00
Daniel Gultsch
c8f97be68e
only force close tagwriter before creating a new one
2017-02-13 13:01:00 +01:00
Daniel Gultsch
6b81ff70e5
clear avatar cache when system name changes
2017-02-10 20:26:21 +01:00
Daniel Gultsch
edb3f57242
pulled translations from transifex
2017-02-10 14:19:36 +01:00
Daniel Gultsch
54ae8abcb7
add no_padding, no_wrap to file upload slots
2017-02-10 13:50:20 +01:00
Daniel Gultsch
82385e38f6
pulled translations from transifex
2017-02-09 20:14:44 +01:00
Daniel Gultsch
55e9067b27
do not auto link non-http URLs
2017-02-09 20:14:36 +01:00
Daniel Gultsch
c76b073b8e
do not sync thumbnail creation on cache. fixes #2283
2017-02-09 14:32:50 +01:00
Daniel Gultsch
f60dd98d3c
only count push as available when sm is to avoid race conditions
2017-02-08 16:52:35 +01:00
Daniel Gultsch
d9e2ab62b2
add index to message.conversationUuid
2017-02-07 21:17:08 +01:00
Daniel Gultsch
24fab162e2
renamed omemo:// to aesgcm://
2017-02-07 20:07:57 +01:00
Daniel Gultsch
71ad18beb9
support omemo:// style urls
2017-02-07 19:32:12 +01:00
Daniel Gultsch
c37117b940
update copyright information
2017-02-07 19:31:54 +01:00
Daniel Gultsch
6be3ae8ef0
pulled translations from transifex
2017-02-07 17:57:24 +01:00
Daniel Gultsch
e35ada4997
only store messages up to a length of 1M chars
2017-02-07 17:45:01 +01:00
Daniel Gultsch
6313c3c92e
Merge pull request #2270 from moparisthebest/master
...
Stop Conversations force closing over sqlite errors due to long messages
2017-02-07 17:35:25 +01:00
Daniel Gultsch
e459616123
fixed wording for not getting messages from server
2017-02-07 14:03:48 +01:00
Daniel Gultsch
8ab166e817
fixed scrolling and async loading of message of new conversation start
2017-02-07 14:03:23 +01:00
Daniel Gultsch
d7198bd68c
fixed rare npe when doing file migration
2017-02-07 10:20:13 +01:00
Daniel Gultsch
6fc67d9a60
catch all throwables when working with content provider to retrieve mime
2017-02-07 10:19:45 +01:00
moparisthebest
2a34ece571
Stop Conversations force closing over sqlite errors due to long messages
2017-01-30 00:03:51 -05:00
Daniel Gultsch
53241f2ef1
add explicit encryption hints to outgoing messages
2017-01-26 19:19:08 +01:00
Daniel Gultsch
c9e6d05fa0
use base64 encoding for file names uploaded with http
2017-01-26 18:39:25 +01:00
Daniel Gultsch
bbceee7f61
pulled translation from transifex
2017-01-26 12:35:34 +01:00
Daniel Gultsch
40ee1a0bfc
reset messagesLoaded when changing retention settings
2017-01-25 18:35:22 +01:00
Daniel Gultsch
a86b2fefd9
add database and file migrations for 1.16.0
2017-01-25 13:22:20 +01:00
Daniel Gultsch
f2d9539d90
share uri for bookmark direclty from Start Conversation
2017-01-25 00:15:50 +01:00
Daniel Gultsch
66457c9f2e
transcode videos before sharing. change storage location
2017-01-24 20:17:36 +01:00
Daniel Gultsch
9b6ae6d75f
configurable local message retention period. (untested)
2017-01-23 17:14:30 +01:00
Daniel Gultsch
4c6ef3b24e
cleaning up crypto targets when conference member is getting removed
2017-01-22 18:58:49 +01:00
Daniel Gultsch
b48bf39e08
change behaviour of back button to close finish activity. fixes #704
2017-01-22 18:26:47 +01:00
Daniel Gultsch
d53c813408
make sure to set open conversations after connection with background service
2017-01-22 13:08:21 +01:00
Daniel Gultsch
b72d7ec8d0
make sure to properly stop tagwriter
2017-01-22 12:54:39 +01:00
Daniel Gultsch
96a6460744
don't quote text when '>' is followed by numeber
2017-01-21 11:07:23 +01:00
Daniel Gultsch
780d1daf7e
fixed some issues around ibb
2017-01-20 22:37:50 +01:00
Daniel Gultsch
5faa05ca19
pulled translations from transifex
2017-01-20 15:02:19 +01:00
Daniel Gultsch
97ba0a0d49
write text in bold when highlighted in received muc message
2017-01-20 14:54:59 +01:00
Daniel Gultsch
cb9c4d4327
disable automatic foreground enabler. fixes #2239
2017-01-20 14:21:59 +01:00
Daniel Gultsch
c324f0c8df
modified highlight nick behaviour to better work with quotes
2017-01-20 13:45:09 +01:00
Daniel Gultsch
59f82cbd34
fixed regression introduced in previous commit.
2017-01-20 13:44:29 +01:00
Daniel Gultsch
143ad48be1
don't prematurly mark conversation as read during activity start. fixes #2245
2017-01-20 10:43:50 +01:00
Daniel Gultsch
1dcf804618
fixed pgp encrypted text quick sharing. fixes #2237
2017-01-17 15:56:21 +01:00
Daniel Gultsch
ac2eee8e81
Merge pull request #2233 from SamWhited/scram-sha-2
...
Add SCRAM-SHA-2 support
2017-01-16 13:14:48 +01:00
Daniel Gultsch
764026b87e
fixed behaviour with non-default encryption masks
2017-01-16 13:09:36 +01:00
Sam Whited
bfc2cffc2f
Add SCRAM-SHA-2 support
2017-01-15 23:43:44 -06:00
Daniel Gultsch
f7c5a5c42e
pulled translations from transifex
2017-01-15 19:22:18 +01:00
Daniel Gultsch
d028f4b398
refactored whispermessage processing
2017-01-15 18:54:47 +01:00
Daniel Gultsch
b085426d22
fixed linkifier
2017-01-15 18:54:15 +01:00
Daniel Gultsch
a71e3d0653
pulled translations from transifex
2017-01-14 18:10:18 +01:00
Daniel Gultsch
8f39a594ff
partially improved logging for receiving omemo messages
2017-01-14 18:10:04 +01:00
Daniel Gultsch
b2e9b4aeb1
pulled translations from transifex
2017-01-12 23:28:30 +01:00
Daniel Gultsch
8e025cbb9e
show doze warning when push is running on prosody
2017-01-12 23:22:02 +01:00
Daniel Gultsch
1876b444fa
refactor getServerIdentity() to parse disco result directly
2017-01-12 23:17:52 +01:00
Daniel Gultsch
c03e3b5965
don't include 'before' reference in mam queries bound by timestamp
2017-01-12 20:56:55 +01:00
Daniel Gultsch
fd7216b6a0
finish of backlog only for one particular account
2017-01-12 20:56:27 +01:00
Daniel Gultsch
585a538340
don't show key tile in contact details when there are no keys
2017-01-12 20:50:53 +01:00
Daniel Gultsch
b050ff2576
only call UI thread from downloading thread every 250ms
2017-01-12 16:02:09 +01:00
Daniel Gultsch
bfacc180c5
don't allow to purge keys. offer distrut instead
2017-01-12 15:59:13 +01:00
Daniel Gultsch
2c1d3ef968
fixed avatar republish missing the mime type
2017-01-12 12:20:10 +01:00
Daniel Gultsch
f0c3b31a42
treat omemo keys >= 32 bytes as containing auth tag. add config flag to put auth tag in key
2017-01-09 21:47:07 +01:00
Daniel Gultsch
a1cb855739
adding prekey='true' to omemo messages if applicable
2017-01-09 20:20:02 +01:00
Daniel Gultsch
ef4ed90811
pulled translations from transifex
2017-01-09 19:54:44 +01:00
Daniel Gultsch
39bb8ad05f
automatically bookmark private, non-anonymous mucs where inviter is trusted. fixes #2035 #937
2017-01-09 19:54:27 +01:00
Daniel Gultsch
a994d8f847
fixed typo in variable name
2017-01-09 18:05:58 +01:00
Daniel Gultsch
b19572ba8c
use 7.1 web url pattern matching on old platforms as well. fixes #2228
2017-01-09 17:58:11 +01:00
Daniel Gultsch
d192c529e0
add spaces to otr fingerprints copied to clipboard. fixes #2226
2017-01-09 17:57:37 +01:00
Daniel Gultsch
b116926bb1
unify getFileUri across share and open intents
2017-01-09 17:00:08 +01:00
Daniel Gultsch
39c8867ed7
add more punctuations to message preview
2017-01-06 20:56:44 +01:00
Daniel Gultsch
4a299920dc
add overlay to indicate that image is gif
2017-01-03 14:05:10 +01:00
Daniel Gultsch
470d244414
Merge branch 'feature-gboardgifs' of https://github.com/illegalprime/Conversations into illegalprime-feature-gboardgifs
2017-01-03 11:44:14 +01:00
Daniel Gultsch
2bb7bc1455
show offline contacts as grayed out in conference details
2017-01-03 11:40:29 +01:00
Michael Eden
5a670c88b0
Do not compress GIFs, allow GBoard to send GIFs
2017-01-01 16:16:35 -05:00
Daniel Gultsch
fa70bd7536
disable automatic foreground service activation if related config paramaters are set to zero
2016-12-30 20:24:35 +01:00
Daniel Gultsch
b8b2051f4c
get rid of unecessary config debug paramater that has been replaced by exepert setting
2016-12-30 20:23:50 +01:00
Daniel Gultsch
8c34bb3c6f
hide inactive devices by default in contact details
2016-12-30 13:17:45 +01:00
Daniel Gultsch
40a9f70478
always open account details when scanning one of our own keys. fixes #2211
2016-12-29 12:50:18 +01:00
Daniel Gultsch
fcd9ab17fe
don't throw assertion error when building session with same device id from other contact
2016-12-28 22:15:24 +01:00
Daniel Gultsch
b8f67bfaa3
deduplicate corrected messages
2016-12-26 15:13:38 +01:00
Daniel Gultsch
82c2e89d21
stop using broken parallax distance in sliding pane layout
2016-12-25 18:57:30 +01:00
Daniel Gultsch
c43f224e8b
pulled translations from transifex
2016-12-23 21:22:16 +01:00
Daniel Gultsch
9972f5eabc
fixed npe cause by race condition when axolotl service isn't initialized
2016-12-23 21:19:38 +01:00
Daniel Gultsch
28c64c2bd1
skip empty lines in message preview. prevents indexoutofbounds exception
2016-12-23 21:19:11 +01:00
Daniel Gultsch
d03c431137
use original message to parse pep
2016-12-23 21:16:58 +01:00
Daniel Gultsch
f77afd9596
pulled translations from transifex
2016-12-20 16:38:07 +01:00
Daniel Gultsch
b011d46ff2
don't show quoted text in message preview
2016-12-20 16:35:08 +01:00
Daniel Gultsch
e5fff42b10
added omemo padding but disabled by Config.java flag
2016-12-20 16:12:12 +01:00
Daniel Gultsch
fbbf1a37b4
disable removing of broken devices by default
2016-12-18 11:49:27 +01:00
Daniel Gultsch
dbda2afd6d
remove broken devices only once to prevent loops
2016-12-18 11:47:42 +01:00
Daniel Gultsch
87746ca2ba
remove own fetch errors from device announcement
2016-12-16 17:12:26 +01:00
Daniel Gultsch
da914ba09c
make sure to display encryption indicatior
2016-12-16 11:30:51 +01:00
Daniel Gultsch
75ee14cfdf
don't reconnect accout when system reports no internet connection
2016-12-10 13:20:05 +01:00
Daniel Gultsch
55b60f6b0f
don't correct a message if that would create a duplicate
2016-12-09 20:03:48 +01:00
Daniel Gultsch
8abfbf82fa
use verified symbol instead of colored lock icons
2016-12-09 18:46:32 +01:00
Daniel Gultsch
8eb292d16a
don't show unavailable quick actions in settings
2016-12-06 23:44:39 +01:00
Daniel Gultsch
1739af2a41
fixed http resume
2016-12-06 23:27:29 +01:00
Daniel Gultsch
cbc9c1fb20
add support for RFC7711 to MTM
2016-12-05 21:52:44 +01:00
Daniel Gultsch
1e7b4030bb
show jid monospaced in verify dialog
2016-12-04 13:39:08 +01:00
Daniel Gultsch
1a89915b31
disable 'show blocklist' if blocklist is empty. fixes #2164
2016-12-03 23:49:00 +01:00
Daniel Gultsch
a5b3c579c4
redraw options menu after rotation in muc details. fixes #2161
2016-12-03 23:25:31 +01:00
Daniel Gultsch
56991bbaeb
add omemo fingerprints to web links as well
2016-12-03 13:37:26 +01:00
Daniel Gultsch
6e289b8738
show warning dialog beforing verifying keys via a link
2016-12-03 13:19:56 +01:00
Daniel Gultsch
599f7dad2c
Merge branch 'feature-quotation' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-quotation
2016-12-02 14:01:26 +01:00
Daniel Gultsch
d4b1119240
default using internal storage to false
2016-12-02 11:35:00 +01:00
Daniel Gultsch
6b0242523b
Merge branch 'master' of https://github.com/Fenisu/Conversations into Fenisu-master
2016-12-02 11:25:14 +01:00
Daniel Gultsch
5d4aa04e5d
support for jid escapting when displaying localpart only
2016-12-01 20:49:18 +01:00
Daniel Gultsch
58de10bcab
use prepped string when building axolotl session
2016-12-01 20:48:39 +01:00
Daniel Gultsch
e127ba9361
don't use own jid joined from another client to generate muc title
2016-12-01 19:57:40 +01:00
Daniel Gultsch
6e95ad4bdf
don't show share button before account is setup
2016-12-01 13:07:18 +01:00
Daniel Gultsch
168ad50ddd
only show contact related snackbars when conversation is single
2016-12-01 12:50:40 +01:00
Daniel Gultsch
f0f2aab92d
made provider authorities relativ to deal with different package ids
2016-12-01 12:09:49 +01:00
Daniel Gultsch
96a992353b
avoid binding multiple times from BarcodeService
2016-12-01 11:34:04 +01:00
Daniel Gultsch
a7ec23ef30
pulled translations from transifex
2016-11-30 10:47:25 +01:00
Daniel Gultsch
1b9a91eb2f
renamed foreground service preference
2016-11-30 10:45:39 +01:00
Daniel Gultsch
9d744add38
pulled translations from transifex
2016-11-29 13:51:34 +01:00
Daniel Gultsch
9e7a54849d
better handle the case when same user is joined with multiple nicks in the same room
2016-11-29 13:43:52 +01:00
Daniel Gultsch
33e6d8a1ce
pulled translations from transifex
2016-11-28 15:51:52 +01:00
Daniel Gultsch
e5d7357e6e
mark conversations as read after receiving blocklist push for that conversations
2016-11-28 15:51:11 +01:00
Daniel Gultsch
84a2fa0041
allow fingerprint verification via context menu
2016-11-28 15:11:44 +01:00
Daniel Gultsch
bbe01c9a6a
add support for body paramater in xmpp uri
2016-11-28 15:09:02 +01:00
Daniel Gultsch
fb6f0649c3
sent messages from unverified devices show red lock
2016-11-28 15:08:33 +01:00
Daniel Gultsch
fdf19ae287
pulled translations from transifex
2016-11-25 17:06:23 +01:00
Daniel Gultsch
d983f0bc71
fixed migrations from pre-btbv phase
2016-11-25 17:04:23 +01:00
Mishiranu
f4a769080b
Add quotation support
2016-11-25 17:06:43 +03:00
Daniel Gultsch
f36dff485e
changed blind trust before verification summary to a slightly longer one
2016-11-24 19:59:57 +01:00
Daniel Gultsch
a87f7903c6
always force close a connection when disabling from error state
2016-11-24 12:44:24 +01:00
Daniel Gultsch
6a5d2e35b5
pulled translations from transifex
2016-11-24 12:05:52 +01:00
Daniel Gultsch
cbd45d3ee5
changed design language to match BTBV proposal
...
* untrusted messages have red background
* unverified message have normal background and red lock
2016-11-24 11:29:26 +01:00
Daniel Gultsch
2ec7165381
update the conversations view (and the lock icon) after receiving device list
2016-11-24 11:28:04 +01:00
Daniel Gultsch
20d3a41b52
explictly scan for aztec and qr codes only
2016-11-23 11:01:58 +01:00
Daniel Gultsch
839ef8e14b
introduced blind trust before verification mode
...
read more about the concept on https://gultsch.de/trust.html
2016-11-23 10:42:27 +01:00
Daniel Gultsch
4720ac94d3
Merge branch 'master' of github.com:siacs/Conversations
2016-11-22 22:32:05 +01:00
Daniel Gultsch
07fe434cc7
added share button to account details
2016-11-22 22:31:46 +01:00
Daniel Gultsch
d2268c6a6f
show proper avatar for 'self' contact. fixes #2138
2016-11-22 12:34:16 +01:00
Daniel Gultsch
d76b0a3104
offer verification directly from the trust keys screen
2016-11-22 12:03:21 +01:00
Daniel Gultsch
1a7e0fd153
use aztec code instead of qr
2016-11-21 12:01:01 +01:00
Daniel Gultsch
6631705aea
use constants for some preferences
2016-11-21 11:03:38 +01:00
Daniel Gultsch
7b99346a4b
when swiping don't clean startup counter entirely. just don't count last startup
2016-11-21 10:48:59 +01:00
Daniel Gultsch
1c31b96920
Merge pull request #2130 from da2x/patch-2
...
Fix up the langauge in some Settings strings
2016-11-20 00:39:57 +01:00
Daniel Gultsch
64e8035f6d
introduced custom tls socket factory to make tls1.2 work for http connections
2016-11-20 00:39:01 +01:00
Daniel Gultsch
b71aa6d3a4
remove omemo devices from annoucement after 7 days of inactivity
2016-11-19 21:39:16 +01:00
Daniel Gultsch
2614706d39
don't show omemo keys by default in account details
2016-11-19 21:32:40 +01:00
Daniel Gultsch
cb639f3fdd
don't use xmpp uri for self verification if account is disabled
2016-11-19 21:31:41 +01:00
Daniel Gultsch
6362799d56
save last activation time in fingerprint status
2016-11-19 13:34:54 +01:00
Daniel Gultsch
40c747660d
removed some unecessary locking
2016-11-19 13:34:27 +01:00
Daniel Gultsch
8132480b82
close socket after failed stream open
2016-11-19 12:20:31 +01:00
Daniel Gultsch
3bf2876e09
check if thread was interrupted before doing operations on socket
2016-11-19 10:44:40 +01:00
Daniel Gultsch
1820b163a1
fixed regression that would crash create contact dialog. fixes #2131
2016-11-19 10:29:08 +01:00
Daniel Aleksandersen
965f73f95a
Fix up the langauge in some Settings strings
2016-11-19 05:00:16 +01:00
Daniel Gultsch
2b9b3be3f1
show 'clear devices' button underneath own devices
2016-11-18 21:49:52 +01:00
Daniel Gultsch
a86a36f570
removed some unecessary logging from omemo message generation
2016-11-18 20:13:09 +01:00
Daniel Gultsch
01f92ef4ee
lower own otr fingerprint
2016-11-18 20:12:45 +01:00
Daniel Gultsch
d68b7cfcfc
issue ping after network change
2016-11-18 14:00:05 +01:00
Daniel Gultsch
fef601b4ae
lower reconnection time
2016-11-18 13:58:01 +01:00
Daniel Gultsch
0303c28ad9
synchronzie on xmpp service around all state changes
2016-11-18 13:58:01 +01:00
Daniel Gultsch
1ed2445c1d
don't reset last connect time on network change
2016-11-18 13:55:02 +01:00
Daniel Gultsch
a7ee8f8a74
use lower case otr fingerprints for comparison
2016-11-18 13:13:29 +01:00
Daniel Gultsch
9d9a9e63ad
removed some very verbose logging from axolotl service
2016-11-18 13:03:02 +01:00
Daniel Gultsch
99a41265b8
lower casing fingerprints when parsing URI
2016-11-18 13:02:33 +01:00
Daniel Gultsch
211354ee26
put omemo fingerprint in own uri (qr code / nfc)
2016-11-17 22:28:45 +01:00
Daniel Gultsch
7e2e42cb11
parse omemo fingerprints from uris
2016-11-17 20:09:42 +01:00
Daniel Gultsch
3f3b360eee
fixed back and forth between Welcome- and EditAccountActivity
2016-11-17 11:40:29 +01:00
Daniel Gultsch
ad9a8c2281
use base64.nowrap for omemo keys
2016-11-17 10:58:44 +01:00
Daniel Gultsch
4d965e96ed
reset startup count when swiped away (only count kills)
2016-11-17 10:58:26 +01:00
Daniel Gultsch
d8bff08f1f
slightly darken verified icon + mark inactive
2016-11-16 09:39:44 +01:00
Daniel Gultsch
ec63900ef3
work around -1 in next encryption
2016-11-15 21:11:35 +01:00
Daniel Gultsch
48afeb571b
refactor omemo fingerprint UI code
2016-11-15 20:00:52 +01:00
Daniel Gultsch
e84af51272
distinguish between general i/o error and write exception when copying files
2016-11-15 15:43:04 +01:00
Daniel Gultsch
d61b00604d
fixed enabling trust toggle. unknown->untrusted
2016-11-15 15:14:21 +01:00
Daniel Gultsch
05fc15be3d
refactore trust enum to be FingerprintStatus class with trust and active
2016-11-14 22:27:41 +01:00
Daniel Gultsch
6da8b50d95
increase restart threshold
2016-11-14 19:49:17 +01:00
Daniel Gultsch
a753e28ad2
pulled ru translation from transifex
2016-11-13 19:26:27 +01:00
Daniel Gultsch
1d3167b520
extract affiliations from unavailable presence
2016-11-13 19:25:58 +01:00
Daniel Gultsch
035d0c7957
Stop automagically select default encryption
...
Selecting a default encryption (in our case OMEMO) has several down sides.
First of all users might have perfectly valid reasons not to use encryption
at all such as using the same private server. Second of all the way it was
implemented Conversations would automatically fall back to plain text as soon
as the conditions changed (recipient switches to device with no encryption)
which lead to unexpected situations.
Thirdly having a default encryptions speaks against the 'mission
statement' of Conversations of not forcing its security and privacey
aspects upon the user.
And last but not least the goal of implementing this feature in the
first place: Be encrypted by default didn't work at all. I don't think
there was a single user that we succesfully 'tricked' into using OMEMO
who otherwise wouldn't have used it.
2016-11-13 17:11:13 +01:00
Daniel Gultsch
bec048407a
offer message correction in private convs
2016-11-12 20:25:02 +01:00
Daniel Gultsch
fe62ef32ae
don't add outcasts or non-members in members-only rooms back to list
2016-11-12 20:21:11 +01:00
Daniel Gultsch
f7c2cd4807
pulled translations from transifex
2016-11-11 15:01:31 +01:00
Daniel Gultsch
e8cc959a7f
don't offer message correction in anonymous mucs
2016-11-11 15:01:15 +01:00
Daniel Gultsch
bb4952c89e
pulled translations from transifex
2016-11-08 21:37:59 +01:00
Daniel Gultsch
698ddadbee
brought restart threshold down to 8 times in 8h
2016-11-08 21:37:44 +01:00
Daniel Gultsch
1ef8d0a746
don't mark previous conversation as read when processing pending intent. fixes #2079
2016-11-08 12:42:13 +01:00
Daniel Gultsch
bca8f11c9c
add frequent restart detection
2016-11-08 12:20:07 +01:00
Ignacio Quezada
297c0a792f
Private files using a boolean flag from Config.java.
2016-11-08 11:45:20 +01:00
Daniel Gultsch
1a57599da2
lower case incoming dns records
2016-11-08 10:14:34 +01:00
Daniel Gultsch
00b3d5ee35
Merge branch 'master' of github.com:siacs/Conversations
2016-11-08 10:08:58 +01:00
licaon-kter
d341904c4d
Fix typo
2016-11-08 01:46:46 +02:00
Daniel Gultsch
7978fd768e
fixed regression of showing delivery failed after receipt
2016-11-07 21:57:08 +01:00
Daniel Gultsch
9edbddd7e1
show warning in account details when data saver is enabled
2016-11-07 10:49:43 +01:00
Daniel Gultsch
2c004857f6
handle file attachment when missing connection
2016-11-02 15:21:26 +01:00
Daniel Gultsch
544c5b4a21
removed unnecessary push_mode
2016-11-02 11:04:33 +01:00
Daniel Gultsch
e582b9fc10
leaving low ping timeout mode after coming online
2016-11-02 09:36:14 +01:00
Daniel Gultsch
20ddba2aa9
fixed npe when jingle partner is using unknown candidate
2016-11-01 10:27:01 +01:00
Daniel Gultsch
07a71d312a
extracting stanza-id where by=account
2016-10-31 12:07:08 +01:00
Daniel Gultsch
a5181b22e0
always use ipv4 localhost when using orbot http proxy
2016-10-31 09:53:14 +01:00
Daniel Gultsch
ffebb4677a
Revert "use file provider on android M as well"
...
This reverts commit a4020e85f6
.
2016-10-30 20:27:39 +01:00
Daniel Gultsch
a44f35ed69
schedule correct wakeup call when in low ping timeout mode
2016-10-29 21:45:01 +02:00
Daniel Gultsch
8557120ef8
add error message to failed messages. accessible via context menu
2016-10-26 12:26:04 +02:00
Daniel Gultsch
a4020e85f6
use file provider on android M as well
2016-10-23 09:03:36 +02:00
Daniel Gultsch
8c1bb058da
connect instantly in low ping mode after going offline
2016-10-23 09:03:17 +02:00
Daniel Gultsch
10398cab51
don't leave low timeout mode prematurely
2016-10-20 20:04:16 +02:00
Daniel Gultsch
f2696b66ba
Merge branch 'feature-remove-merge-separator' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-remove-merge-separator
2016-10-20 18:18:25 +02:00
Daniel Gultsch
52d4be4249
Merge branch 'feature-remove-spans' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-remove-spans
2016-10-20 18:10:52 +02:00
Daniel Gultsch
0f62ff6736
introduced low ping timeout mode after gcm push
2016-10-20 18:02:11 +02:00
Daniel Gultsch
44ce5df359
write prepped string to db. use display version everywhere else
2016-10-20 17:31:46 +02:00
Mishiranu
fd4e15ba97
Remove MERGE_SEPARATOR
2016-10-20 01:03:51 +03:00
Mishiranu
8835f08cf7
Remove spans on copying or pasting a text
2016-10-19 20:47:41 +03:00
Daniel Gultsch
c3423d6ffe
include pgp signature only in non anonymous mucs
2016-10-19 12:31:11 +02:00
Daniel Gultsch
dce8149aae
retrigger key selection if openpgp key was deleted
2016-10-19 11:53:55 +02:00
Daniel Gultsch
7226fc0010
update conversation in database background thread
2016-10-18 13:06:24 +02:00
Daniel Gultsch
50780debf7
don't trigger context menu in message adapter manually. fixes #2077
2016-10-18 11:16:43 +02:00
Daniel Gultsch
f8c21caec9
Merge branch 'feature-selection' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-selection
2016-10-17 09:53:32 +02:00
Daniel Gultsch
22d13a3dcd
add exception handling when loading default resource
2016-10-17 09:53:08 +02:00
Daniel Gultsch
dc02e2b498
small code reformation in pgp decryption service
2016-10-17 09:52:43 +02:00
Daniel Gultsch
2a73b8d76e
clarified fineprint a little bit
2016-10-13 12:17:20 +02:00
Daniel Gultsch
f6cfa27741
synchronize access to json key storage in account model
2016-10-13 11:27:26 +02:00
Daniel Gultsch
9e54fd5c92
don't use sending state on muc pms without smacks
2016-10-09 19:40:30 +02:00
Daniel Gultsch
cd1c05a7c3
add password to direct muc invite
2016-10-09 19:40:03 +02:00
Daniel Gultsch
f7d51b8890
pulled more translations from transifex
2016-10-09 18:06:19 +02:00
Daniel Gultsch
c5bdb04490
pulled translations from transifex
2016-10-09 11:13:45 +02:00
Daniel Gultsch
74087b873f
added disclaimer that conversations.im account is 8 euro / year
2016-10-08 18:24:20 +02:00
Daniel Gultsch
f3ef8d4978
fetch new conference configuration on every conf update
2016-10-08 12:10:53 +02:00
Daniel Gultsch
9efef24a04
reset sending to waiting on every error
2016-10-07 14:54:35 +02:00
Daniel Gultsch
5a73a6b139
fixed account hash calculation
2016-10-07 14:54:06 +02:00
Daniel Gultsch
1f7f82da7b
respond to chat marker request only when mutual presence subscription exists
2016-10-07 10:05:08 +02:00
Daniel Gultsch
26e33de79a
create new instances of key manager every time it's used
2016-10-07 10:04:36 +02:00
Daniel Gultsch
187825d6c6
warn user if account is offline during avatar publication
2016-10-06 22:06:09 +02:00
Daniel Gultsch
6d5f23213b
refresh error notification after 'try again'
2016-10-06 22:05:40 +02:00
Daniel Gultsch
0af13fc746
be more careful parsing integers in omemo
2016-10-06 22:05:18 +02:00
Daniel Gultsch
40e5090bdd
issue ping after push was received
2016-10-06 18:09:55 +02:00
Daniel Gultsch
9f060f477f
parse smacks delay from messages
2016-10-06 18:09:44 +02:00
Daniel Gultsch
8d8cb92e43
try to fix messages stuck at sending
2016-10-06 17:23:35 +02:00
Daniel Gultsch
082c06a486
make error notification dismissable. fixes #1815
2016-10-04 11:16:59 +02:00
Daniel Gultsch
5ac0e9267d
fixed omemo shown as unavailable in 1:1 chats
2016-10-03 21:04:10 +02:00
Daniel Gultsch
cea52b0722
resolve take photo uri for internal use
2016-10-03 18:26:11 +02:00
Daniel Gultsch
f4a883848c
properly index take photo uris from file provider
2016-10-03 11:25:15 +02:00
Daniel Gultsch
b6e7def9db
add more logging to attaching file process
2016-10-03 11:13:04 +02:00
Daniel Gultsch
7c6d1d19d5
when activating omemo in conference always check preferences
2016-10-03 10:42:43 +02:00
Daniel Gultsch
dcd6ef8f84
explicit logging when copying files to storage
2016-10-03 10:13:45 +02:00
Daniel Gultsch
b0fb9fd9ee
added nick to conference jid example
2016-09-28 13:20:52 +02:00
Daniel Gultsch
e275fd8143
Merge pull request #2027 from danielegobbetti/wear-reply-dismiss-notification
...
Dismiss the notification when replying from a wear notification [needs review!]
2016-09-28 12:39:00 +02:00
Daniel Gultsch
43f5dfe174
simplified code that invokes the export logs service
2016-09-28 12:35:52 +02:00
Daniel Gultsch
f0dbcce58f
expert 'setting' to remove omemo identity. fixes #2038
2016-09-28 12:24:50 +02:00
Daniele Gobbetti
41db773b08
Allow to dismiss the notification from a wear reply.
...
- use different IDs in the same method for the PendingIntent
- fix reply for GPG encrypted replies (untested)
2016-09-27 17:39:23 +02:00
Daniel Gultsch
bb48f67a30
always use ipv4 localhost for Orbot connections
2016-09-27 11:44:50 +02:00
Daniel Gultsch
1339b9c464
don't reset encryption choice to auto on archiving
2016-09-24 21:29:00 +02:00
Daniel Gultsch
343d895a26
don't react to null and empty voice replies
2016-09-21 19:04:16 +02:00
Daniel Gultsch
13ed27f91e
don't use file provider for photo uris on android < N. fixes #2030
2016-09-21 18:20:53 +02:00
Daniel Gultsch
401759cdc7
don't wait for disco when not having stream managment
2016-09-21 12:55:40 +02:00
Daniel Gultsch
61f58b3dbd
add timeouts to HTTPUrlConnections and allow cancelation of all sending files
2016-09-20 20:02:25 +02:00
Daniel Gultsch
de7c0c5121
Merge pull request #2028 from Mishiranu/feature-more-tables
...
Fix "Server info" table layout
2016-09-20 16:43:51 +02:00
Mishiranu
9aaa5b78f4
Update Russian translation
2016-09-20 16:15:46 +03:00
Mishiranu
18ab826413
Fix "More table" layout
...
Retain "More table" visibility on screen orientation change
2016-09-20 16:10:25 +03:00
Daniel Gultsch
5790d4c4ab
fixed styling in blocking dialog
2016-09-20 14:21:41 +02:00
Daniel Gultsch
7bda624723
pulled translations from transifex
2016-09-20 11:22:26 +02:00
Daniel Gultsch
7eac903277
add support for XEP-0377: Spam Reporting
2016-09-18 23:21:05 +02:00
Daniel Gultsch
badc97e280
don't simply ignore null in message body but try to avoid it
2016-09-18 22:15:02 +02:00
Daniel Gultsch
7c608c8862
recreate activities when theme changed
2016-09-18 20:26:47 +02:00
Daniel Gultsch
6b904d4de1
use proper paddings in dialogs on android < 5
2016-09-18 20:09:39 +02:00
Mishiranu
858a327299
Retain TextView selection after list updating
2016-09-18 16:35:14 +03:00
Daniel Gultsch
7bdd4166c0
catch all throwables when loading contacts
2016-09-17 11:31:35 +02:00
Mishiranu
3e6747c880
Add "Select text" context menu option
2016-09-17 01:18:34 +03:00
Daniel Gultsch
af55aeca58
pulled translations from transifex
2016-09-16 12:29:26 +02:00
Daniel Gultsch
521469a57d
dont show delete file button when outside conversations directory. fixes #2007
2016-09-16 12:29:12 +02:00
Daniel Gultsch
15c807730e
Merge branch 'master' of https://github.com/Mishiranu/Conversations into Mishiranu-master
2016-09-16 11:08:37 +02:00
Daniel Gultsch
7b445bc4c7
use history clear date as minimum date for mam
2016-09-16 11:07:52 +02:00
Mishiranu
8ca5eb4429
Allow text selection with multiple links in message
2016-09-16 02:15:07 +03:00
Daniel Gultsch
ab63dba8aa
deal with null bodys in message preview
2016-09-15 18:51:51 +02:00
Daniel Gultsch
4359afacb4
store jid if it was changed during bind
2016-09-14 12:26:38 +02:00
Daniel Gultsch
7b52e6984c
Merge pull request #2018 from SamWhited/sasl_anonymous
...
SASL ANONYMOUS (no UI)
2016-09-14 09:34:20 +02:00
Daniel Gultsch
869ee3d438
Merge branch 'pebble-notification' of https://github.com/danielegobbetti/Conversations into danielegobbetti-pebble-notification
2016-09-12 22:49:22 +02:00
Daniel Gultsch
d3dfecae8a
don't use display version of jids
2016-09-12 22:48:51 +02:00
Daniel Gultsch
6cb2b0b5d1
remember scroll position on rotate. fixes #2011
2016-09-12 21:18:56 +02:00
Sam Whited
1a0b538166
Use JID returned by the server during bind
...
Not just the resourcepart
2016-09-12 11:33:36 -05:00
Sam Whited
805717673c
Support ANONYMOUS SASL
2016-09-12 11:30:03 -05:00
Daniele Gobbetti
e6e46651c9
Use the last message in the content text instead of the first.
...
This fixes the issue where the first message in the notification was sent to pebble
(and possibly to other wear devices) for every update in the conversation, as
reported in #1249 .
This is the same patch propoed in https://github.com/siacs/Conversations/issues/1249#issuecomment-245878335
2016-09-11 18:42:05 +02:00
licaon-kter
59b2e281a3
Fix typo
2016-09-10 22:16:14 +03:00
Daniel Gultsch
c3b11e515e
download own vcard avatar if none is set. fixes #2008
2016-09-09 11:04:05 +02:00
Daniel Gultsch
00cbf8458a
pulled translations from transifex
2016-09-08 11:19:03 +02:00
Daniel Gultsch
ac9f13a9f2
provide hint on why conference can not be encrypted
2016-09-08 11:01:27 +02:00
Daniel Gultsch
416481bb65
be a bit more careful when deleting and deactivating accounts
2016-09-07 14:34:58 +02:00
Daniel Gultsch
e1d2c32e63
show server not found muc error
2016-09-06 12:15:08 +02:00
Daniel Gultsch
257d1e42d8
remove explicit pebble support. treat as wear device
2016-09-06 12:14:49 +02:00
Daniel Gultsch
7e81149869
show reply action on wear devices
2016-09-06 12:13:50 +02:00
Daniel Gultsch
1dc55f72e3
don't use fileprovider when opening files on android M and below
2016-09-04 22:59:40 +02:00
Daniel Gultsch
d2c475d501
don't crash when correcting waiting pgp encrypted messages
2016-09-04 22:59:15 +02:00
Daniel Gultsch
aca7054174
fixed recreation issues in StartConversationActivity
2016-08-31 17:04:43 +02:00
Daniel Gultsch
f7d8580969
fixed typo
2016-08-31 17:02:50 +02:00
Daniel Gultsch
f14ab4c391
don't show duplicate nofications on android 4
2016-08-31 17:02:42 +02:00
Daniel Gultsch
7917c19d18
broader exception catchers
2016-08-30 13:15:00 +02:00
Daniel Gultsch
3685c8cd2a
use file provider for taking pictures
2016-08-30 13:14:38 +02:00
Daniel Gultsch
d32cbcc70d
don't show up navigation in startConversation when there are no open conversations
2016-08-30 13:13:06 +02:00
Daniel Gultsch
af329eff46
add more logging to pgp engine
2016-08-30 13:12:09 +02:00
Daniel Gultsch
2c187d0e7c
mark conversation as read when swiping a notification with quick reply away
2016-08-27 15:25:37 +02:00
Daniel Gultsch
caafd03130
don't automatically download files and avatars when datasaver is on
2016-08-27 13:35:52 +02:00
Daniel Gultsch
3d5940cb76
bring back connectivity changed events on android n
2016-08-27 12:15:25 +02:00
Daniel Gultsch
78e962ce67
don't overwrite edited information in editaccount on rotate
2016-08-26 21:48:14 +02:00
Daniel Gultsch
ea0e6d0619
don't set notification mode to background when on pause
2016-08-26 21:13:33 +02:00
Daniel Gultsch
fd54dc5aff
wrap dynamic tags into multiple lines. fixes #2003
2016-08-26 16:34:42 +02:00
Daniel Gultsch
76cbb4f727
some multi-window optimizations. set min width to 300
2016-08-26 16:05:38 +02:00
Daniel Gultsch
e33d8451a8
attach contact to notification
2016-08-26 13:35:01 +02:00
Daniel Gultsch
f931c08da7
add snackbar for request presence subscription
2016-08-26 10:19:59 +02:00
Daniel Gultsch
b52f079292
always display allow contact perm dialog after intro
2016-08-26 10:19:42 +02:00
Daniel Gultsch
9e0145a8f6
survive rotation in editaccount
2016-08-26 09:10:59 +02:00
Daniel Gultsch
e98ab37c9d
made payment required error standard compliant
2016-08-25 23:42:42 +02:00
Daniel Gultsch
910b38ec13
add file provider to share files on android n
2016-08-25 22:41:33 +02:00
Daniel Gultsch
2e4713897d
offer quick reply on android N
2016-08-25 17:30:44 +02:00
Daniel Gultsch
542626758d
use N style stacked notifications
2016-08-25 15:20:06 +02:00
Daniel Gultsch
0b9d38cf32
send register IQs without full from
2016-08-25 13:50:54 +02:00
Daniel Gultsch
f1ecbf2ff8
made image preview size smaller for low res images
2016-08-25 13:46:33 +02:00
Daniel Gultsch
8927ba8065
various null pointer checks
2016-08-20 10:44:50 +02:00
Daniel Gultsch
a0038565c5
pulled translations from transifex
2016-08-19 21:47:51 +02:00
Daniel Gultsch
285d86b375
display error status for missing internet permission
2016-08-19 21:47:08 +02:00
Daniel Gultsch
cf909afc60
check for rare null pointer platform bug in share intent handling
2016-08-19 21:46:47 +02:00
Daniel Gultsch
2a139a4b47
Merge pull request #1987 from licaon-kter/patch-2
...
Make 'export log' option function clearer
2016-08-16 10:49:04 +02:00
Daniel Gultsch
0528a47b8a
pulled translations from transifex
2016-08-16 10:45:52 +02:00
Daniel Gultsch
b5d3859b22
add payment required error
2016-08-16 10:39:59 +02:00
Daniel Gultsch
343bb7ff28
don't close otr session on every presence change
2016-08-13 12:43:06 +02:00
Daniel Gultsch
94aee445e7
start file observer in background
2016-08-13 12:40:48 +02:00
Daniel Gultsch
4736d12e99
make lastMessageTransmitted return max(clear_date,last_message)
2016-08-13 12:36:30 +02:00
Daniel Gultsch
eb8b6165d7
be more careful in recursive file observer. limit depth
2016-08-13 12:35:10 +02:00
licaon-kter
81b0f60860
Clear export option function
2016-08-11 21:07:25 +03:00
Daniel Gultsch
08725ba2bb
use direct ssl when port was manually set to 5223
...
this should create a work around for the oracle xmpp server
2016-08-10 12:34:05 +02:00
Daniel Gultsch
9bfdbc708e
close tcp connection after 30s of inactivity when in push_mode
2016-08-09 19:21:54 +02:00
Daniel Gultsch
856029a611
don't do idle ping if close_tcp option is set
2016-08-09 17:26:18 +02:00
Daniel Gultsch
a51de9fcd9
explictly set account status to offline when waiting for push
2016-08-09 17:25:45 +02:00
Daniel Gultsch
121312d103
catch all throwables when parsing xml
2016-08-02 10:58:54 +02:00
Daniel Gultsch
d02e24248f
catch platform bug when getting ringer mode
2016-08-02 10:58:31 +02:00
Daniel Gultsch
8b331895d1
catch NPE in getVideoPreview() because getFrame sometimes returns null
2016-08-02 10:57:50 +02:00
Daniel Gultsch
ed2fa20414
handle invalid prekey ids in bundle
2016-08-02 10:40:24 +02:00
Daniel Gultsch
9dc8e3db9d
set tablet, phone or pc identity
2016-07-31 22:32:51 +02:00
Daniel Gultsch
1b114beb0b
add logging when swiping away from recents is being ignored
2016-07-31 22:32:10 +02:00
Daniel Gultsch
3c48b14448
catch exception when trying to get video preview of pgp encrypted file
2016-07-31 22:31:47 +02:00
Daniel Gultsch
0e96e0a796
show identity type for device selection
2016-07-28 22:58:37 +02:00
Daniel Gultsch
04976fe333
pulled translations from transifex
2016-07-28 22:41:14 +02:00
Daniel Gultsch
178229ac60
add OS to version response
2016-07-27 20:58:13 +02:00
Daniel Gultsch
dbab43e423
fixed rare null pointer in avatar creation
2016-07-27 20:11:22 +02:00
Daniel Gultsch
cf7df84cab
add trillian to html otr parsing fixes #1963
2016-07-27 20:11:02 +02:00
Daniel Gultsch
701140fe92
pulled translations from transifex
2016-07-27 20:01:09 +02:00
Daniel Gultsch
58a3ef46ce
fixed regression in file delete detection due to missing !
2016-07-26 20:44:28 +02:00
Daniel Gultsch
82908fb54b
added more logging for file deletion
2016-07-26 20:43:05 +02:00
Daniel Gultsch
3409399ef1
display specific error message when password is too weak on registration
2016-07-25 15:57:47 +02:00
Daniel Gultsch
198a9f2226
refactored how view intents are handled
...
processing view intents before saved instance caused troubles when the activity was destroyed
fixes #1969
2016-07-25 14:16:09 +02:00
Daniel Gultsch
89a05265ea
refactored deleted file detection to monitor entire sd card. fixes #1968
2016-07-23 16:12:45 +02:00
Daniel Gultsch
3d372cb339
feed version response from app name instead of static variable
2016-07-22 18:22:21 +02:00
Daniel Gultsch
6dcce76568
don't crash when opening 'xmpp:' uris
2016-07-22 16:33:09 +02:00
Daniel Gultsch
3a5735e717
provide black background video thumbnail if preview couldn't be generated
2016-07-22 16:32:38 +02:00
Daniel Gultsch
e9c00c0427
push file offered notification when initial HTTP HEAD req. fails
2016-07-21 19:17:26 +02:00
Daniel Gultsch
c8188ee52c
offer back/cancel button when using magic create
2016-07-21 19:16:41 +02:00
Daniel Gultsch
2843a0af26
announce OTR support as per XEP-0378
2016-07-17 22:51:40 +02:00
Daniel Gultsch
e90e333f29
allow message correction by default since security implications are negligible
...
Conversations only allows correction of the *last* message. so nudging a message into oblivion by adding a message correction doesn't work. also conversations checks the fingerprint for encrypted messages
2016-07-17 22:42:37 +02:00
Daniel Gultsch
eb3ac1c326
additional null pointer checks when verifying otr keys
2016-07-17 22:02:08 +02:00
Daniel Gultsch
3e50d4831f
show toast hint when touching inactive omemo fingerprints
2016-07-17 20:31:04 +02:00
Daniel Gultsch
baa149924a
show error notification in connecting state as well
2016-07-14 23:23:13 +02:00
Daniel Gultsch
1db85e582e
add more error states for stream errors
2016-07-14 17:05:43 +02:00
Daniel Gultsch
2803d342e1
include pgp and omemo fallback message only when unencrypted is enabled
2016-07-14 16:06:05 +02:00
Daniel Gultsch
223d50c1a0
don't take stanza-id into account when deduping muc pms
2016-07-14 09:01:15 +02:00
Daniel Gultsch
27690865a6
respond to XEP-0202: Entity Time
2016-07-13 18:10:10 +02:00
Daniel Gultsch
58d5d2a1be
don't time out disco request but just send bind request
2016-07-13 00:20:57 +02:00
Daniel Gultsch
ff1b23b4d9
call update file params from thread
...
now that file params has more work to do we should make sure we always call it from a sperate thread
2016-07-13 00:20:38 +02:00
Daniel Gultsch
be4aa2afc9
show a preview for video files
2016-07-11 21:24:33 +02:00
Daniel Gultsch
57e51bc735
don't crash when tabbing through muc user list with offline users
2016-07-08 13:24:14 +02:00
Daniel Gultsch
cdee91363c
simplified muc users ordering
2016-07-04 19:30:19 +02:00
Daniel Gultsch
ac8aa63916
do not crash on jingle connection when contact doesn't use disco
2016-07-04 19:29:46 +02:00
Daniel Gultsch
09aba0a062
pulled translations from transifex
2016-07-01 13:08:44 +02:00
Daniel Gultsch
9efa242d96
use direct invites to re-invite muc members
2016-06-30 23:09:16 +02:00
Daniel Gultsch
30110431ba
use dnd as overriding status
2016-06-30 23:08:55 +02:00
Daniel Gultsch
91c3732c63
don't show 'disable foreground service' button. fixes #1933
2016-06-29 17:20:27 +02:00
Daniel Gultsch
f7933c26d7
don't crash on broken base64 in omemo messages. fixes #1934
2016-06-29 17:18:57 +02:00
Daniel Gultsch
1d79a677c8
support jingle ft:4 to be compatible with swift
...
Conversations and Gajim both have an implementation bug that sends the jingle session id instead of the transport id (compare XEP-260 2.2). This commit has a work around for this that remains buggy when using ft:3. If gajim is ever to fix this we will be incompatbile. gajim should implement ft:4 instead. (gajim to gajim is broken as well)
2016-06-29 17:16:40 +02:00
Daniel Gultsch
b5caa8fa35
don't show 'create conference' toast on invite
2016-06-28 10:34:43 +02:00
Daniel Gultsch
8882c6b6fd
parse §5.1.2 full jids from muc archives for OMEMO messages
2016-06-28 10:33:46 +02:00
Daniel Gultsch
e63d6b4bf2
only keep offline members in members only conferences
2016-06-28 10:32:06 +02:00
Daniel Gultsch
e52f662569
pulled translations from transifex
2016-06-25 13:07:22 +02:00
Daniel Gultsch
72a2622c84
introduced share button in contact details. remove show qr
2016-06-24 15:16:01 +02:00
Daniel Gultsch
97fe14c4be
code cleanup in jingle socks5 transport
2016-06-24 13:36:37 +02:00
Daniel Gultsch
78e3afc1af
show error toasts on ui thread
2016-06-24 13:36:06 +02:00
Daniel Gultsch
d2ca0c7fe8
catch exceptions when retrieving uri file extension
2016-06-24 13:35:39 +02:00
Daniel Gultsch
4d5e0c291e
remove white spaces from hostname
2016-06-22 12:23:11 +02:00
Daniel Gultsch
982a20fef5
refactor code that reads real jid from muc
2016-06-22 12:22:57 +02:00
Daniel Gultsch
4ba5472d0c
respond to block list push
2016-06-22 12:22:36 +02:00
Daniel Gultsch
d28d968985
make sure that we always release wake lock even after throwing exception
2016-06-22 12:22:03 +02:00
Daniel Gultsch
34454ef2ec
synchronize stanza count increment and write
2016-06-22 12:21:33 +02:00
alexxthehood
e88f01923f
Update create_conference_dialog.xml
...
Updated to the text color attribute so it fits to the bright and dark theme appropriately.
2016-06-21 19:08:38 +02:00
Daniel Gultsch
28dc888159
display toast on pgp error
2016-06-19 11:08:17 +02:00
Daniel Gultsch
37e7175a86
log reason for not showing notification
2016-06-19 11:04:59 +02:00
Daniel Gultsch
85c82d9b3b
remove ascii control chars when creating xml
2016-06-19 00:07:15 +02:00
Daniel Gultsch
f91d16cbe7
don't fail on missing jid in bookmarks
2016-06-16 20:38:35 +02:00
Daniel Gultsch
b92b3863b9
don't handle chat states in muc or from archive
2016-06-16 20:38:02 +02:00
Daniel Gultsch
fc3aefd56e
show toast when connection to openkeychain could not be made
2016-06-16 20:37:32 +02:00
Daniel Gultsch
dcc13d7a3d
log download failure caused by missing content length
2016-06-16 20:36:51 +02:00
Daniel Gultsch
48a7818e88
mark used otr fingprint in contact details and highlight pgp
2016-06-16 12:12:24 +02:00
Daniel Gultsch
1eb776f39c
synchronize message body changes for message correction
2016-06-16 11:47:40 +02:00
Daniel Gultsch
f8b1e8098c
extract relevant extension from file name when processing share intent
2016-06-16 11:46:25 +02:00
Daniel Gultsch
60588af825
replace corrected messages in decryption queue
2016-06-15 14:29:25 +02:00
Daniel Gultsch
f99f21ab9b
pulled translations from transifex
2016-06-15 14:11:27 +02:00
Daniel Gultsch
5f4471a45e
only dismiss sent message after encryption
2016-06-15 13:53:34 +02:00
Daniel Gultsch
cb5393c32f
refresh UI to redraw message hint after switching to pgp
2016-06-15 13:52:49 +02:00
Daniel Gultsch
5f40a7042d
delay notification until after pgp decryption
2016-06-15 12:44:29 +02:00
Daniel Gultsch
e0575642b5
log all fail reasons
2016-06-15 12:33:59 +02:00
Daniel Gultsch
73679b97f1
show xep-0172 nick only for contacts with mutual presence subscription
2016-06-15 09:44:01 +02:00
Daniel Gultsch
49de43b364
clear muc tiles when avatar of member changes
2016-06-14 17:11:31 +02:00
Daniel Gultsch
f9600b950f
sort muc users by affiliation, name. fixes #1913
2016-06-14 14:41:32 +02:00
Daniel Gultsch
95a51ea2e0
synchronize access to stanza queue
2016-06-14 10:17:37 +02:00
Daniel Gultsch
39ad426ca9
remove messages from decryption queue when trimming a conversation
2016-06-13 19:06:09 +02:00
Daniel Gultsch
40f81f19df
make sure tagwriter is clear before force closing socket
2016-06-13 19:05:32 +02:00
Daniel Gultsch
587fb3cca3
refactored pgp decryption
2016-06-13 13:32:14 +02:00
Daniel Gultsch
ea667a1a73
pulled translations from transifex
2016-06-12 14:49:21 +02:00
Daniel Gultsch
f4e3cd5098
actually do add fall back message for omemo
2016-06-12 14:49:04 +02:00
Daniel Gultsch
c4680e3198
make text color of last-seen match theme
2016-06-12 13:15:28 +02:00
Daniel Gultsch
31dd7b5a21
parse real jid from muc mam messages. (disabled)
...
parsing this is dangerous if server doesn't filter properly
thus it is disabled in config
2016-06-12 12:50:53 +02:00
Daniel Gultsch
74d376be68
close db cursor after reading cert
2016-06-12 12:50:31 +02:00
Daniel Gultsch
5017e8564c
made background color of swiped conversations darker
2016-06-10 23:22:16 +02:00
Daniel Gultsch
a70f57358e
use darker green as background for chat bubbles in dark theme
2016-06-10 22:39:02 +02:00
Daniel Gultsch
4bf9a1e809
use darker colors for actionbar on dark theme
2016-06-10 20:15:09 +02:00
Daniel Gultsch
4b9b7257a9
pulled translations from transifex
2016-06-09 21:00:51 +02:00
Daniel Gultsch
cb7c47bc62
catch conversations sort exception. not vital at this point
2016-06-09 14:50:13 +02:00
Daniel Gultsch
33a02faad9
fixed spelling in last activity summary
2016-06-08 21:36:29 +02:00
Daniel Gultsch
a018935b23
pulled translations from transifex
2016-06-08 20:17:10 +02:00
Steffen Keiper
7932244c51
Dark theme, theme switch, icons, style, strings
...
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-06-08 20:07:40 +02:00
Daniel Gultsch
b88128241e
Merge pull request #1895 from pp3345/right-alt
...
Do not treat Right Alt key as a modifier for key combos
2016-06-05 23:19:56 +02:00
Yussuf Khalil
92bad0fa1e
Do not treat right alt key as a modifier for key combos
2016-06-05 20:21:44 +02:00
Daniel Gultsch
36ae840d76
log all background stanzas when background logging is enabled
2016-06-05 02:04:31 +02:00
Daniel Gultsch
7a97da6d21
swap sending presence and csi
2016-06-04 22:42:12 +02:00
Daniel Gultsch
794353ad0c
renamed last activity to last user interaction
2016-06-04 22:37:14 +02:00
Daniel Gultsch
71e9117176
opt-in to send last userinteraction in presence
2016-06-04 16:16:14 +02:00
Daniel Gultsch
7398424f3b
trim nick from bookmark before checking if it's empty
2016-06-03 19:24:11 +02:00
Daniel Gultsch
e26d842549
don't use a bookmarks name if it's empty
2016-06-03 18:43:45 +02:00
Andreas Straub
17c62b5991
Fix typo
2016-06-03 18:16:44 +02:00
Daniel Gultsch
161fdf7340
throw writeexecption in downloader if flush fails
2016-06-03 14:27:05 +02:00
Daniel Gultsch
e402348f9b
disconnect account in background after deletion. fixes #1861
2016-06-03 14:18:43 +02:00
Daniel Gultsch
583aba1b44
print specific toast when download failed because of write error
2016-06-02 21:37:52 +02:00
Daniel Gultsch
594aab56db
fixed regression that would not show clear devices
2016-06-02 20:46:01 +02:00
Daniel Gultsch
25211f13b3
make grace period configurable
2016-06-02 00:24:37 +02:00
Daniel Gultsch
e43a01159c
deactive grace period when receiving screen on action
2016-06-01 21:51:46 +02:00
Daniel Gultsch
45cc33ca36
deactivate grace period when coming to foreground
2016-06-01 21:30:50 +02:00
Daniel Gultsch
20ba1add1e
pulled translation from transifex
2016-06-01 11:38:57 +02:00
Daniel Gultsch
91732b89ea
log background msgs not foreground msgs
2016-06-01 11:37:03 +02:00
Daniel Gultsch
add8e2cb74
don't replace \n\t\r
2016-06-01 09:04:08 +02:00
Daniel Gultsch
15316e6a7f
only log inner stanza but display isCarbon
2016-06-01 09:03:21 +02:00
Daniel Gultsch
5c5d5cc4e3
don't show empty templates
2016-06-01 00:25:14 +02:00
Daniel Gultsch
24ea66c9fc
display invite again menu item for offline members
2016-06-01 00:12:14 +02:00
Daniel Gultsch
ffba53777c
check if session is optional
2016-05-31 23:09:45 +02:00
Daniel Gultsch
ea6a008b39
execute phone contact changes in singlethreadexecutor
2016-05-31 17:20:21 +02:00
Daniel Gultsch
1838023c88
log failure reason in http upload on wrong response code
2016-05-31 17:19:56 +02:00
Daniel Gultsch
b3337c4ad7
don't scroll to pos 0 when uuid wasn't found
2016-05-31 16:44:59 +02:00
Daniel Gultsch
6d0e5f4354
pulled translation from transifex
2016-05-30 21:16:04 +02:00
Daniel Gultsch
5b9ba79495
use whitespace as message seperator
2016-05-30 21:12:19 +02:00
Daniel Gultsch
9321ccc775
handle app links for conferences
2016-05-30 21:12:04 +02:00
Daniel Gultsch
8eb1640a26
remove unicode control chars before sending
2016-05-30 21:11:34 +02:00
Daniel Gultsch
be0fc59314
handle app links with @ in them
2016-05-30 13:06:42 +02:00
Daniel Gultsch
272cffe797
Revert "always notify by default in conferences"
...
This reverts commit e9494af098
.
Now that new conferences are private by default this setting makes more sense
2016-05-29 22:55:01 +02:00
Daniel Gultsch
ea18ceae4a
avoid npe when sending omemo messages to group
2016-05-29 21:25:27 +02:00
Daniel Gultsch
49cefd1c0c
handle app links
...
invites in the form of https://conversations/i/localpart/domainpart
2016-05-29 20:44:58 +02:00
Daniel Gultsch
9afafe387a
fix creation of conferences with 1 participant
2016-05-29 20:21:53 +02:00
Daniel Gultsch
d89d7ade84
pulled translations from transifex
2016-05-29 13:00:02 +02:00
Daniel Gultsch
c3ec3ea70a
don't merge messages over the char limit
2016-05-29 10:32:07 +02:00
Daniel Gultsch
2c55954ddd
show in ui when text was shortened
2016-05-29 01:14:45 +02:00
Daniel Gultsch
aaf5233efe
limit text size in message adapter to 2k and also limit text size in conversations adapter
2016-05-28 23:48:39 +02:00
Daniel Gultsch
422fd1847f
only rendering first 5k chars of each message
2016-05-28 23:13:47 +02:00
Daniel Gultsch
fde27f447f
count xmpp uris when disableing text selection
2016-05-28 17:01:05 +02:00
Daniel Gultsch
b3f50d1ad0
Merge branch 'master' of https://github.com/gjedeer/Conversations into gjedeer-master
2016-05-28 16:07:25 +02:00
Daniel Gultsch
bc326efd2c
schedule first idle ping on service creation
2016-05-28 16:07:16 +02:00
Daniel Gultsch
bc36f1950f
added idle ping in 10min intervals
2016-05-28 14:44:22 +02:00
Daniel Gultsch
ae7543bbfc
put bug report jid in config. include package signature in report
2016-05-28 11:04:18 +02:00
Daniel Gultsch
06bef5de8d
use EOT as message seperator
2016-05-28 11:03:29 +02:00
Daniel Gultsch
25f6651848
pulled translations from transifex
2016-05-27 20:07:39 +02:00
Daniel Gultsch
29bd1103c0
refactored toasts shown when adhoc creating mucs
2016-05-27 20:05:40 +02:00
Daniel Gultsch
a241ab66de
use activity title 'choose participants' when doing that
2016-05-27 19:17:57 +02:00
Daniel Gultsch
f70fcc7bb8
use first letter to draw tiles for avatars
...
some users or conferences might have emojis in their names
2016-05-27 11:34:12 +02:00
Daniel Gultsch
44833c1499
don't push default muc conf twice
2016-05-27 10:35:00 +02:00
GDR!
82c3cbaf2a
Add geo: link support in longer messages
2016-05-26 23:26:38 +02:00
Daniel Gultsch
21ebb35e44
add 'create conference' dialog
2016-05-26 22:53:55 +02:00
Daniel Gultsch
d9ff61ea2e
show contact avatar in muc users unless that contact has its own avatar
2016-05-26 22:37:00 +02:00
Daniel Gultsch
841e718d6a
make newly created conferences private by default
2016-05-26 12:39:31 +02:00
Daniel Gultsch
c4e82eb3f8
change hint in edit subject dialog
2016-05-26 12:39:04 +02:00
Daniel Gultsch
c06e2787c7
sending warning to receiving client if that client doesn't support omemo.
...
fixes #1873
2016-05-25 23:24:36 +02:00
Daniel Gultsch
83adbb6052
hide fingerprints in UI if encryption is disabled
2016-05-25 22:12:13 +02:00
Daniel Gultsch
5137837f6d
only publish keys if omemo is enabled
2016-05-25 21:55:01 +02:00
Daniel Gultsch
c65c314801
only subscribe to omemo pep events if omemo is enabled
2016-05-25 21:54:46 +02:00
Daniel Gultsch
79796b0079
don't respond to otr messages in muc pms
2016-05-25 21:05:51 +02:00
Daniel Gultsch
b69ab65b12
show regitration failed try again later in UI
2016-05-24 13:26:30 +02:00
Daniel Gultsch
abbdf232c6
show hint in subject quick edit. only show subject as preset
2016-05-22 18:20:57 +02:00
Daniel Gultsch
d84cf4e6d1
pulled translations from transifex
2016-05-22 17:53:10 +02:00
Daniel Gultsch
e5b8302fd9
show first unread message on top after reinit
2016-05-22 17:52:27 +02:00
Daniel Gultsch
a8420c9ad0
disable stanza logging
2016-05-21 10:45:10 +02:00
Daniel Gultsch
277e3d59c8
update ui after affiliation changes
2016-05-21 09:25:37 +02:00
Daniel Gultsch
e1cf7b8cb6
refactore exceptionhandler to have one line file writer
2016-05-21 08:54:29 +02:00
Daniel Gultsch
9ce2cfa3d2
resetting fetch status error when mutual subscription is reestablished
2016-05-19 10:47:27 +02:00
Daniel Gultsch
8d595c1fc2
sync around individual calls instead of synchronizing entire object
2016-05-19 10:47:03 +02:00
Daniel Gultsch
ef27055434
show password dialog when account was magic created
2016-05-19 10:46:19 +02:00
Daniel Gultsch
3f65b0e985
access disco over caching mechanism instead of querying db
2016-05-19 10:44:16 +02:00
Daniel Gultsch
70497318dd
remove unwanted 'use previous encryption' lookup
2016-05-19 10:42:57 +02:00
Daniel Gultsch
0eb8d4226e
also save form elements in disco storage
2016-05-19 10:41:56 +02:00
Daniel Gultsch
627bf18f8c
don't NPE on rare race condition while fetching MAM
2016-05-19 10:40:03 +02:00
Daniel Gultsch
afa3883089
synchronize around identity key generation
2016-05-19 10:39:47 +02:00
Daniel Gultsch
b478eca315
improved ordering of muc participants
2016-05-17 15:01:56 +02:00
Daniel Gultsch
61726f4994
refactored muc item parsing to also parse muc status messages
2016-05-17 14:25:58 +02:00
Daniel Gultsch
14952ba5e5
offer offline members to be invited again
2016-05-17 10:43:48 +02:00
Daniel Gultsch
fc5304c6fe
change affiliation for in memory users that are currently not joined in a conference
2016-05-16 19:58:36 +02:00
Daniel Gultsch
8d0693ed6a
keep conference members in memory and show them in conference details
2016-05-16 19:58:36 +02:00
Daniel Gultsch
d7c5264ad0
cap exponential backoff at 300s (10 attempts)
2016-05-16 19:58:24 +02:00
Daniel Gultsch
331cbf3696
cap messages after 256 lines in UI
2016-05-16 19:52:10 +02:00
Daniel Gultsch
6f1a4494eb
use the same typo in both saving disco and reading disco
2016-05-15 12:35:51 +02:00
Daniel Gultsch
cf5ca27a06
escape HTML in OTR messages if other client is Pidgin
2016-05-15 12:35:31 +02:00
Daniel Gultsch
c9e9dc2ef2
include name in locations received in MUCs
2016-05-15 11:08:00 +02:00
Daniel Gultsch
a25912c32c
log incoming iq requests
2016-05-15 09:55:06 +02:00
Daniel Gultsch
540f6f3d7a
send caps hash in muc join
...
this prevents desktop clients from iq'ing use when they join
2016-05-15 09:54:49 +02:00
Daniel Gultsch
6a28b5a9fa
don't show duplicate status message in contact details
2016-05-13 11:57:02 +02:00
Daniel Gultsch
e41a9483bd
only default to omemo when all our devices support it
2016-05-13 11:47:29 +02:00
Daniel Gultsch
aced9d2697
do not process self presence
...
we don't want our own resource show up in the self contact
2016-05-13 11:20:27 +02:00
Daniel Gultsch
b756d61c45
show presence of other resources as template
2016-05-13 10:45:30 +02:00
Daniel Gultsch
b8c1bd2cba
reset attempt count when reconnecting because of timeout
2016-05-12 21:57:07 +02:00
Daniel Gultsch
2014f388b1
interrupt XMPPConnection Thread
...
in some cases the the DNS query might take too long (even though we specified a timeout)
if that happens we need a secondary solution (besides killing the socket) to stop the thread
2016-05-12 21:54:46 +02:00
Daniel Gultsch
cbdb413613
prefer IPv4 DNS servers
...
some devices might have problems contacting the IPv6 DNS server while in sleep mode
2016-05-12 21:39:47 +02:00
Daniel Gultsch
f4369b29ae
improve keyboard handling. fixes #1387
...
* start a new Conversations by pressing mod+space
* automatically start searching when pressing keys in StartConversationsActivity
* when hitting enter when number of search results == 1 open that conversation
2016-05-12 18:49:54 +02:00
Daniel Gultsch
7113e21a43
use 'phone' or 'tablet' as default resource
2016-05-12 18:47:41 +02:00
Daniel Gultsch
908aa19a36
make omemo default when all resources support it
2016-05-12 14:20:11 +02:00
Daniel Gultsch
09e20f6e01
check if pgpengine is still bound before using it
2016-05-12 11:30:53 +02:00
Daniel Gultsch
1bc92482e9
scroll to bottom after sending multi-line message
2016-05-12 10:39:04 +02:00
Daniel Gultsch
cc209afc51
stop processing PreKeyWhisperMessage if there is no PreKeyId
...
fixes #1832
2016-05-10 18:11:13 +02:00
Daniel Gultsch
8e3948e495
don’t let attempt count fall below zero
2016-05-10 17:48:09 +02:00
Daniel Gultsch
c37b5af2ca
add lock domain and magic create domain to known hosts
2016-05-10 10:53:44 +02:00
Daniel Gultsch
e542dd3923
always show download button when link is encrypted
...
dont check for known mime type
2016-05-10 10:32:25 +02:00
Daniel Gultsch
549be9bb3d
report host-account as account state in UI
2016-05-10 10:29:02 +02:00
Daniel Gultsch
27b245ac35
do not show last-seen metric in UI
2016-05-10 09:41:30 +02:00
Daniel Gultsch
488780d2ce
fix logging wrong variable for failed resume
2016-05-08 21:53:45 +02:00
Daniel Gultsch
6f3b8f64d1
check for h attribute in 'failed' nonza
2016-05-08 21:45:18 +02:00
Daniel Gultsch
fb7525e0b9
catch all exceptions thrown by xml pull parser
2016-05-07 11:34:45 +02:00
Daniel Gultsch
76889b9c58
handle invalid base64 is SASl SCRAM response
2016-05-07 11:34:17 +02:00
Daniel Gultsch
e2d3bef739
Merge pull request #1829 from sebastianv89/patch-1
...
Remove copy of innerkey
2016-05-05 20:23:03 +02:00
Daniel Gultsch
a7cd05bd4e
report bind failure as account state
2016-05-05 20:22:47 +02:00
Daniel Gultsch
0157039e87
log more information about HTTP’s max upload size
2016-05-05 19:34:44 +02:00
Sebastian
544e1dee65
Remove copy of innerkey
...
The line overwrites this.innerkey with the value that was already there.
2016-05-05 17:09:01 +02:00
Daniel Gultsch
6e0ec9b924
republish pgp signature when changing status
2016-05-05 13:17:04 +02:00
Daniel Gultsch
12704fa640
refactor captcha response handling to avoid network on main thread exception
2016-05-05 09:58:35 +02:00
Daniel Gultsch
c27663c456
clear password field before setting new one
2016-05-04 18:23:36 +02:00
Daniel Gultsch
fb41a4ffaa
fixed npe when calling changepassword activity directly
2016-05-04 18:22:17 +02:00
Daniel Gultsch
16eb1bfbd0
pulled translations from transifex
2016-05-04 13:19:07 +02:00
klemens
7047d68165
spelling fixes
2016-05-04 10:29:29 +02:00
Sebastian
cf374ec4ef
Renaming of variable
...
Was probably just a copy/paste typo.
2016-05-03 23:35:57 +02:00
Daniel Gultsch
cef2eb58a7
fixed presence template dedup for 'online' status
2016-05-03 22:16:51 +02:00
Daniel Gultsch
fad8b702aa
use app name in resource suggestions
2016-05-03 12:41:37 +02:00
Daniel Gultsch
06a561743a
ping all accounts at the same time
2016-05-02 14:31:30 +02:00
Daniel Gultsch
bf92ef6cd3
pulled translations from transifex
2016-05-02 11:05:31 +02:00
Daniel Gultsch
d23178acb9
show only username when registering account with magic create
2016-05-02 10:37:28 +02:00
Daniel Gultsch
98ecac0ffa
removed unnecessary logging
2016-04-30 13:34:20 +02:00
Daniel Gultsch
936006173c
properly cancel avatar tasks
2016-04-29 20:38:23 +02:00
Daniel Gultsch
d5608cb4f3
catch ActivityNotFoundException when requesting battery op
2016-04-29 13:58:37 +02:00
Daniel Gultsch
c7882b7225
port all android drop down list items to our own
2016-04-29 13:48:30 +02:00
Daniel Gultsch
6d9ca25915
catch rare NPE when determining max http size
2016-04-29 13:24:26 +02:00
Daniel Gultsch
252d015b71
synchronize around thumbnail cache to avoid loading images twice
2016-04-28 20:15:28 +02:00
Daniel Gultsch
1d2e2f71c2
cancel potential tasks when receiving image preview from cache
2016-04-28 20:14:53 +02:00
Daniel Gultsch
51753a1d39
cleaned up captcha dialog
2016-04-28 20:13:58 +02:00
Daniel Gultsch
5021b9a5dd
don't request disco from self
2016-04-28 19:02:20 +02:00
Daniel Gultsch
29616d02a8
removed unused config variables
2016-04-27 16:43:02 +02:00
Daniel Gultsch
ebcb13c8eb
made it possible to go back to welcome screen from edit account
2016-04-27 10:35:08 +02:00
Daniel Gultsch
e6b526230a
renamed welcome header to untranslatable 'Start your Conversations'
2016-04-27 09:59:25 +02:00
Daniel Gultsch
9c3e910dc4
prevent user from accidentally changing password after using magic create
2016-04-26 23:23:48 +02:00
Daniel Gultsch
59652ecaf2
fixed table creation
2016-04-25 11:06:17 +02:00
Daniel Gultsch
a363e0a5d8
don't create templates for empty status messages
2016-04-23 15:10:35 +02:00
Daniel Gultsch
cd1fbf60ec
add change prescence to manage account context menu
2016-04-23 12:33:56 +02:00
Daniel Gultsch
a9c1768107
show status messages in contact details
2016-04-23 12:19:00 +02:00
Daniel Gultsch
1901abd05f
expert setting to manually change presence
2016-04-22 21:25:06 +02:00
Daniel Gultsch
195b745efc
put welcome screen in scrollview
2016-04-22 00:17:08 +02:00
Daniel Gultsch
1a073ca454
added magic create welcome screen
2016-04-19 18:03:24 +02:00
Daniel Gultsch
e9494af098
always notify by default in conferences
2016-04-14 22:37:05 +02:00
Daniel Gultsch
eb63cdb9ad
removed unnecessary call to stopSelf() after logging out
2016-04-14 21:45:36 +02:00
Daniel Gultsch
72aa10b536
add setting for quick sharing
2016-04-14 21:12:44 +02:00
Daniel Gultsch
39e717ed94
removed unused call to cancel events
2016-04-14 00:16:59 +02:00
Daniel Gultsch
c53c6cb6b6
create Config varibale to show the disable foreground service button
2016-04-13 18:00:12 +02:00
Daniel Gultsch
594e65bb2b
hacky workaround to determine if uri points to private file on < lolipop
2016-04-13 11:14:36 +02:00
Daniel Gultsch
4332b0df44
return own jid as true counterpart on self messages in muc
2016-04-13 11:13:47 +02:00
Daniel Gultsch
3e654bea0e
added share uri button to conference details
2016-04-12 18:30:02 +02:00
Daniel Gultsch
2a4db01709
reverse order in contact chooser
2016-04-12 18:29:41 +02:00
Daniel Gultsch
7223b5b274
minor code cleanup
2016-04-12 17:52:58 +02:00
Daniel Gultsch
7ff890e513
republish avatar if server offers non-persistent pep :-(
2016-04-11 22:20:32 +02:00
Daniel Gultsch
77f4513862
pulled translations from transifex
2016-04-10 21:19:50 +02:00
Daniel Gultsch
5786e75374
don't throw IO exception at end of stream
2016-04-10 00:19:53 +02:00
Daniel Gultsch
91b17c6925
fixed 'connecting…' button
2016-04-10 00:19:20 +02:00
Daniel Gultsch
607b7d1593
moved authentication into seperate method. force close socket before changing status
2016-04-10 00:18:14 +02:00
Daniel Gultsch
83fab06508
introduced setting to turn of notification led
2016-04-09 21:48:06 +02:00
Daniel Gultsch
65548ddccb
use startdate as lower bound when querying archive with after=x
2016-04-09 12:31:08 +02:00
Daniel Gultsch
b99d70bfe7
don't show contact details when in conversations with self
2016-04-09 10:59:54 +02:00
Daniel Gultsch
2713fd50c8
use last received message id when querying archive
2016-04-09 10:29:34 +02:00
Daniel Gultsch
14b46c3ee7
transform nimbuzz workaround into a more general 'waitForDisco' condition
2016-04-09 08:53:58 +02:00
Daniel Gultsch
a8ebc5fafc
add required disco#items query to timeout list
2016-04-08 20:20:37 +02:00
Daniel Gultsch
db0301310b
removed ernoexception in exchange for a regular exeption to prevent verify error on <5.0
2016-04-08 18:28:40 +02:00
Daniel Gultsch
c55f7645a4
pulled translations from transifex
2016-04-08 10:41:37 +02:00
Daniel Gultsch
0460702710
check file owner when attaching files or using them as avatar
2016-04-07 20:29:40 +02:00
Daniel Gultsch
290f0a123e
prevent null pointer when checking http upload max size
2016-04-07 19:20:45 +02:00
Daniel Gultsch
ecaf75e5ec
better detect broken pep
...
mark pep as broken when publishing bundle or device list failed
reset 'brokenness' when account is getting disabled
2016-04-05 13:31:03 +02:00
Daniel Gultsch
0385e3a8d6
switched around info and items query to avoid race condition
2016-04-04 20:35:40 +02:00
Daniel Gultsch
e94e06246b
pulled translations from transifex
2016-04-04 20:21:00 +02:00
Daniel Gultsch
5787687997
removed unnecessary wait for disconnect
2016-04-04 20:07:09 +02:00
Daniel Gultsch
61997912fd
made sure the disco#items query has returned before finalizing the bind
2016-04-04 20:06:07 +02:00
Daniel Gultsch
701742f550
don't ask for resource when server uses http upload v0.1
2016-04-02 18:07:38 +02:00
Daniel Gultsch
2549ce89b0
check max http file size when attaching files
2016-04-01 00:03:14 +02:00
Daniel Gultsch
74c496fe3e
add methods to check max file size for http upload
2016-03-31 21:56:59 +02:00
Daniel Gultsch
e074104004
save otr fingerprint in message
2016-03-31 21:15:49 +02:00
Daniel Gultsch
867d0ef191
include form fields into caps hash calculation
2016-03-31 14:21:56 +02:00
Daniel Gultsch
8d98c52803
closed some cursors under error conditions
2016-03-31 13:55:46 +02:00
Daniel Gultsch
343a6b4e6b
made setting aes keys in DownloadableFile more readable
2016-03-31 13:55:25 +02:00
Christian S
1d458e8ab3
Update ShortcutBadger to version 1.1.4
2016-03-27 20:17:51 +02:00
Daniel Gultsch
a9b66e3ea5
allow to delete attachments. fixes #1539
2016-03-23 19:23:22 +01:00
Daniel Gultsch
281cb65046
only add image files to media scanner
2016-03-23 12:20:09 +01:00
licaon-kter
6ba90ec43c
Typo attempt
2016-03-22 11:54:45 +02:00
Daniel Gultsch
135c8567a5
show room nick for /me command in sent muc messages. fixes #1773
2016-03-20 17:33:42 +01:00
Daniel Gultsch
ac09011690
be less strict when sharing EXTRA_TEXT intents
2016-03-20 17:25:16 +01:00
Daniel Gultsch
7df24407dc
be more careful to avoid creating multiple connections
2016-03-20 17:24:41 +01:00
Daniel Gultsch
b51ce43d36
don't show v\omemo keys as such if not enabled
2016-03-20 17:24:15 +01:00
Daniel Gultsch
b17ca3543f
made it possible to share text files
2016-03-16 18:09:19 +01:00
Daniel Gultsch
48be5af55f
reworked sharewith activity to stay open during sharing
...
closing the activity prematuraly caused uri permissions to be revoked
2016-03-16 10:46:33 +01:00
fiaxh
eaddfa7fd1
Check if path for URI is accessible
...
The path extracted from the Cursor might not be accessible for Conversations. FileUtils accesses URI information through the ContentProvider, so this wouldn't be noticed.
Fixes sharing from open-keychain's TemporaryContentProvider
2016-03-15 11:42:13 +01:00
Daniel Gultsch
815c534da8
pulled translations from transifex
2016-03-13 17:43:43 +01:00
Daniel Gultsch
0af8ee341c
simplified getUsers(max) code
2016-03-13 17:42:17 +01:00
Daniel Gultsch
1153e6120d
added logging in case fragment wasn't attached
2016-03-13 17:41:38 +01:00
Daniel Gultsch
290f53f4a6
fixed recursive call instead of call to super in PublishProfileActivity
2016-03-13 17:39:13 +01:00
Daniel Gultsch
817d344521
log reason for bind failure
2016-03-11 09:01:40 +01:00
Daniel Gultsch
9548f43998
close cursor in caps db query
2016-03-11 09:01:27 +01:00
Daniel Gultsch
24aefa109c
pulled translations from transifex
2016-03-06 21:35:59 +01:00
Daniel Gultsch
e6a9829dd2
don't show opt-out of battery optimization dialog when push is enabled
2016-03-06 15:53:49 +01:00
Daniel Gultsch
86fff5839a
warn in conversations when account is disabled
2016-03-06 12:16:29 +01:00
Daniel Gultsch
d3542202b5
Merge branch 'Mess' of https://github.com/tarun018/Conversations into tarun018-Mess
2016-03-04 21:31:54 +01:00
Daniel Gultsch
e9b4a2a021
show host in file size checker
2016-03-04 21:30:34 +01:00
Daniel Gultsch
09d87965fb
mark oob messages and always display download button
2016-03-04 20:09:21 +01:00
Daniel Gultsch
aa24a0f779
don't automatically crop avatar
2016-03-04 14:32:38 +01:00
Daniel Gultsch
89eea3636f
add a few more know file extensions
2016-03-04 11:24:53 +01:00
Daniel Gultsch
07263370d9
allow to copy original url even while downloading. fixes #1743
2016-03-04 11:24:40 +01:00
Daniel Gultsch
bc5f64bffe
moved avatarfetcher reset code to bind
2016-03-03 13:33:02 +01:00
Daniel Gultsch
4cb2d0ca93
avoid unnecessary disconnect. prevent NetworkOnMainThreadException
2016-03-03 13:31:59 +01:00
Daniel Gultsch
c9e4b332bf
don't break with srcoll events on empty message lists
2016-03-03 11:14:59 +01:00
Daniel Gultsch
aaf64732b0
expert option to treat vibrate as silent mode for XA. fixes #1530
2016-03-01 19:00:18 +01:00
Daniel Gultsch
15a1873d97
removed unused config variable
2016-03-01 18:58:33 +01:00
Daniel Gultsch
fd246f7e5a
properly persist accepted crypto targets
2016-03-01 12:22:20 +01:00
Daniel Gultsch
198dc2c6b4
let users confirm each member in a conference even if that contact is already trusted
2016-03-01 11:26:59 +01:00
Tarun
df7b399e04
Fix Issue #1634 : Shows XMPP URI as links.
...
Shows XMPP URI as links, other than Web URL's and Email Addresses. Also performs respective actions on clicking XMPP URI.
2016-02-29 23:35:50 +05:30
Daniel Gultsch
134c75ae01
use correct jid when leaving a conference. fixes #1732
2016-02-29 16:32:24 +01:00
Daniel Gultsch
9e0466d1e6
refactored omemo to take multiple recipients
2016-02-29 13:18:07 +01:00
Daniel Gultsch
199ae3a4d8
rename purge keys positive button to 'purge keys'
2016-02-28 23:10:50 +01:00
Daniel Gultsch
4ba41540fd
made hashtable in roster store jids instead of strings
2016-02-28 20:45:50 +01:00
Daniel Gultsch
24a9ac2908
always search offline contacts as well. fixes #1653
2016-02-27 15:41:34 +01:00
Daniel Gultsch
2c224d0f18
Merge branch 'master' of github.com:siacs/Conversations
2016-02-27 11:26:09 +01:00
Daniel Gultsch
3cf21e2d37
Merge pull request #1721 from fiaxh/export_logs_storage_permission
...
Request WRITE_EXTERNAL_STORAGE for ExportLogsPreference in >= M
2016-02-27 11:25:56 +01:00
Daniel Gultsch
60ab03afb1
changed single_account config into more simple lock_settings
2016-02-27 10:25:31 +01:00
Daniel Gultsch
7fd6a37e67
disallow message correction by default. fixes #1720
2016-02-26 09:48:58 +01:00
Daniel Gultsch
dc00a92499
execute pending mam queries every time we come online
2016-02-26 09:46:25 +01:00
Daniel Gultsch
5d3ee60ca4
hide add account icons when single_account is set to true
2016-02-24 17:12:29 +01:00
Daniel Gultsch
bbede8bbeb
optionally lock conference domains as well and hide known domains in ui
2016-02-24 16:53:19 +01:00
fiaxh
e1a2f248af
Request WRITE_EXTERNAL_STORAGE for ExportLogsPreference in >= M
2016-02-24 16:35:26 +01:00
fiaxh
a88c2d48c0
No possibility of multiple invocation of log export
2016-02-24 15:10:41 +01:00
Daniel Gultsch
d1a456f3e3
made hard coded choice for encryptions more flexible and disable parsing
2016-02-24 14:47:49 +01:00
Daniel Gultsch
ddafa65849
Merge pull request #1715 from fiaxh/gpg_decryption_failed
...
PGP Retry decryption from message menu
2016-02-24 09:23:30 +01:00
Daniel Gultsch
17b1fcc3ea
set noMessagesLeftOnServer before conference configuration fetch
2016-02-23 16:15:55 +01:00
Daniel Gultsch
34f2a63190
update notification after message correction
2016-02-23 16:15:23 +01:00
Daniel Gultsch
0298f0181e
reset pending subscription request when receiving roster update
2016-02-23 16:14:55 +01:00
fiaxh
894b5892a9
Retry decryption from message menu
2016-02-23 16:05:42 +01:00
Daniel Gultsch
beb216c300
made presences object final in contact
2016-02-23 14:25:01 +01:00
Daniel Gultsch
689ded1607
properly trigger show load more messages in mucs
2016-02-22 20:28:58 +01:00
Daniel Gultsch
a0d0ed34ae
turned muc errors into enum. added error codes for service shutdown
2016-02-22 20:19:58 +01:00
Daniel Gultsch
d2cfac222e
show load more messages when auto loading is disabled and messages are still left on server
2016-02-21 17:32:46 +01:00
Daniel Gultsch
b00c561f81
check for uuid change when decrypting pgp messages
2016-02-21 11:43:03 +01:00
Daniel Gultsch
ed740b4868
some mucs may grant voice to visitors in unmoderated rooms
2016-02-21 11:42:41 +01:00
Daniel Gultsch
43b466704a
pulled translations from transifex
2016-02-20 10:25:23 +01:00
Daniel Gultsch
3bde4dbedb
change uuid when replacing messages
2016-02-20 00:01:39 +01:00
Daniel Gultsch
e6f8b7d9fa
decrypt pgp message corrections
2016-02-19 21:02:33 +01:00
Daniel Gultsch
a2cb009f4c
skip avatar ui when pep is not available. fixes #1706
2016-02-19 20:54:53 +01:00
Daniel Gultsch
df992d2566
don't reset whisper on reInit. fixes #1637
2016-02-19 20:54:43 +01:00
Daniel Gultsch
ad60bc002c
pulled translations from transifex
2016-02-19 11:14:16 +01:00
Daniel Gultsch
49a3f6f281
never parse show in presences as offline
2016-02-19 11:09:28 +01:00
Daniel Gultsch
ac687d6bbd
don't log start reason
2016-02-17 16:52:57 +01:00
Daniel Gultsch
59978e157c
only offer message correction for the very last message
2016-02-17 16:51:36 +01:00
Daniel Gultsch
3626e4b3a0
fixed regression that caused messages in muc not being send
2016-02-17 16:50:48 +01:00
Daniel Gultsch
c2fbdbde83
log reason why otr message won't be parsed
2016-02-16 14:22:47 +01:00
Daniel Gultsch
86b1865eec
fixed regression that caused ui to redraw a lot
2016-02-16 14:22:21 +01:00
Daniel Gultsch
349dd8291d
made clear that archiving preferences are server side
2016-02-16 12:52:31 +01:00
Daniel Gultsch
a9b957e8a2
added setting to opt-out of message correction. renamed preferences and options to settings
2016-02-16 09:57:59 +01:00
Daniel Gultsch
0ca4a33bfb
added some OTR logging
2016-02-16 09:15:41 +01:00
Daniel Gultsch
c0b3a3ff0c
basic support for XEP-0308: Last Message Correction. fixes #864
2016-02-15 23:15:04 +01:00
Daniel Gultsch
335058b78b
removed unnecessary conditions when sending read marker
2016-02-15 23:09:42 +01:00
Daniel Gultsch
c4b1df1bf3
add missing type='submit' attribute to enable push form
2016-02-15 22:12:39 +01:00
Daniel Gultsch
c3f0503a91
pulled translations from transifex
2016-02-15 12:35:35 +01:00
Daniel Gultsch
8ccb2005b3
only show load more messages button when mam is available
...
also update ui after that button has been pressed. fixes #1695
2016-02-14 23:53:17 +01:00
Daniel Gultsch
356199978e
fixed server info push not showing up when unavailable
2016-02-14 18:19:11 +01:00
Daniel Gultsch
92a6e956fd
be more carefull when checking push availability
2016-02-14 15:36:37 +01:00
Daniel Gultsch
300326fba3
deleted invalid gcm strings
2016-02-14 14:14:53 +01:00
Daniel Gultsch
251f2479c2
optional mode to close tcp connection when going into background
...
acts only when push is available. disable all non-push accounts to test properly
2016-02-14 13:20:23 +01:00
Daniel Gultsch
6f9f871928
send push enable to server. simplified logging
2016-02-13 14:20:07 +01:00
Daniel Gultsch
c7a14092a8
fixed compile bug in free version
2016-02-13 00:03:57 +01:00
Daniel Gultsch
c430848ade
push gcm token on bind instead of every connect
2016-02-12 23:37:42 +01:00
Daniel Gultsch
32da65f910
client side support for XEP-0357: Push Notifications
2016-02-12 11:39:27 +01:00
Daniel Gultsch
93dad9b737
pulled translations from transifex
2016-02-11 22:45:40 +01:00
Daniel Gultsch
f37098a54f
catch all axolotl parse exception at once. fixes #1692
2016-02-11 12:26:43 +01:00
Daniel Gultsch
1bb38e25f2
send muc messages after join
2016-02-10 09:53:48 +01:00
Daniel Gultsch
f16690ae1f
allow user to set MAM preferences
2016-02-09 13:01:17 +01:00
Daniel Gultsch
91ec4839ac
prepend instead off append mam messages to conversations when going in reverse
2016-02-04 16:40:18 +01:00
Daniel Gultsch
28733e052f
fixed performance regression in on scroll listener
2016-02-04 16:29:17 +01:00
Daniel Gultsch
4fdb0d92fe
prevent previoulsly cleared messages from reloading. fixes #1110
2016-02-04 14:39:16 +01:00
Daniel Gultsch
f88b8c703e
add more fault tolerant checks for messages left on server
2016-02-04 11:55:42 +01:00
Daniel Gultsch
17791a703e
removed unecessary logging when muc tiles update
2016-02-04 10:27:38 +01:00
Daniel Gultsch
7dd9545ea3
use TLSv1.2 as SSL context on supported plattforms
2016-02-03 18:17:16 +01:00
Daniel Gultsch
1d572c61d0
cache server caps
2016-02-03 17:19:05 +01:00
Daniel Gultsch
0911669b07
count all messages in a query
2016-02-03 16:04:21 +01:00
Daniel Gultsch
1274b0ef39
Revert "get rid of broken totalMessageCount for mam queries"
...
This reverts commit 58c6f9bfb2
.
2016-02-03 10:40:44 +01:00
Daniel Gultsch
f0798216d5
refactored disco cache. avoid making duplicate call. check hash
2016-02-03 10:40:02 +01:00
Daniel Gultsch
4a1a59f0c8
Merge branch 'disco-caps' of https://github.com/singpolyma/Conversations into singpolyma-disco-caps
2016-02-02 18:19:26 +01:00
Daniel Gultsch
01bad12708
fixed 'unencrypted' not showing up for conferences when encryption is forced
2016-02-02 18:15:57 +01:00
Daniel Gultsch
58c6f9bfb2
get rid of broken totalMessageCount for mam queries
2016-02-02 15:39:46 +01:00
Daniel Gultsch
fab0a45955
re-read common name from certificates on startup
2016-02-02 13:43:20 +01:00
Daniel Gultsch
ba9ba8ffe2
avoid npe when accessing the pgp connection service
2016-02-02 11:21:29 +01:00
Daniel Gultsch
f30df7a535
catch a few NPE when parsing invalid pep nodes
2016-02-02 11:21:07 +01:00
Daniel Gultsch
3978c04782
respect autojoin setting on newly created bookmarks as well
2016-02-01 14:22:52 +01:00
Daniel Gultsch
1e7647e385
opt out handling of the autojoin flag. fixes #1666
2016-02-01 13:54:08 +01:00
Daniel Gultsch
336daea875
made create context menu call in StartConversationsActivity more failsafe
2016-02-01 12:31:46 +01:00
Daniel Gultsch
a3e11415ec
refactored user handling in conferences. show try again button when conference has errors
2016-02-01 12:11:40 +01:00
Daniel Gultsch
2eef37174e
fixed false set of subject in conference with empty body tag
2016-01-31 14:42:35 +01:00
Daniel Gultsch
82870b27ed
prefer dns servers from networsk with the default route
2016-01-29 12:12:23 +01:00
Daniel Gultsch
c416948f8b
be more careful with resetting the stream id
2016-01-29 12:09:55 +01:00
Daniel Gultsch
28ebf927fb
try to make in-valid-session detection work for pgp
2016-01-29 12:09:31 +01:00
Daniel Gultsch
d2c5a939ed
show values in formfieldwrappers and allow form to be set to read only
2016-01-26 17:23:24 +01:00
Daniel Gultsch
edc6ce4ff2
hide jid row in list item list when jid is null
2016-01-26 14:47:34 +01:00
Daniel Gultsch
7c0eae8059
expert setting to trigger extended connection options
2016-01-25 21:17:53 +01:00
Stephen Paul Weber
ae84ff2f0c
Do disco for caps hashes we have never seen
...
Then cache it
2016-01-24 17:46:08 -05:00
Stephen Paul Weber
000f59d614
Fetch cached caps result on new presence
2016-01-24 17:46:08 -05:00
Stephen Paul Weber
bf5b2f73f5
Use a Presence class for presence information
...
Only has status for now, but doing it so I can add disco to it
2016-01-24 17:46:08 -05:00
Daniel Gultsch
31fd425c9a
changed FileBackend API to allow files instead of messages to be copied and resized
2016-01-24 12:17:00 +01:00
Daniel Gultsch
8850a1fbe3
added FormWrapper and form field validation
2016-01-23 20:32:00 +01:00
Stephen Paul Weber
ad36a4ba89
Persisitence and loading for ServiceDiscoveryResult
2016-01-23 10:53:56 -05:00
Stephen Paul Weber
56f8fff935
Implement toJSON on ServiceDiscoveryResult
2016-01-23 10:52:45 -05:00
Stephen Paul Weber
1e335d527b
Generate capHash from any discovery result
2016-01-23 10:52:44 -05:00
Stephen Paul Weber
fccce229c6
Factor out a representation of XEP-0030 results
...
And the parser from Element to this representation.
2016-01-23 10:52:40 -05:00
Daniel Gultsch
0569a1e769
introduced boolean form field wrapper
2016-01-23 16:23:23 +01:00
Daniel Gultsch
39fdf4a333
added support for field types jid-single and text-private
2016-01-23 12:44:08 +01:00
Daniel Gultsch
6140861143
reset stanza queue when resetting xmppconnection
2016-01-23 11:40:32 +01:00
Daniel Gultsch
43521891f0
show fetch errors in trust keys activity
2016-01-23 11:39:02 +01:00
Daniel Gultsch
ba98fe4f86
use extract account from intent method and final EXTRA_ACCOUNT variable
2016-01-22 20:46:24 +01:00
Daniel Gultsch
a6c5430cdd
added UI wrapper for (some) form fields
2016-01-22 20:22:47 +01:00
Daniel Gultsch
a47430c2f7
added convenience method to extract account from intent
2016-01-22 20:21:45 +01:00
Daniel Gultsch
40005cec1b
added config variable to allow non-tls connections
2016-01-22 11:20:31 +01:00
Daniel Gultsch
77c0fb0b2a
changed spacing in create dialogs and notify user when no accounts are activated
2016-01-22 11:14:56 +01:00
Daniel Gultsch
3ff40a9733
increased padding in create contact/conference dialog
2016-01-21 18:10:19 +01:00
Daniel Gultsch
eacc7ed1e6
add convenience to get an account object from a spinner
2016-01-21 17:57:24 +01:00
Daniel Gultsch
20f6a4704c
pulled translations from transifex
2016-01-20 17:18:53 +01:00
Daniel Gultsch
e71acdef29
catch security exception when user prevents access to address book
2016-01-20 16:18:15 +01:00
Daniel Gultsch
0619685e55
add intent!=null check in onActivityResultin PublishProfilePicture
2016-01-20 16:11:17 +01:00
Daniel Gultsch
ba143a2730
Merge branch 'master' of github.com:siacs/Conversations
2016-01-16 22:48:27 +01:00
Daniel Gultsch
0b239243d9
Merge pull request #1655 from adithyaphilip/pgp-fix
...
Fixes having to choose PGP twice, upgrades openpgp-api to 10
2016-01-16 21:35:38 +01:00
Daniel Gultsch
3acaec7bcd
pulled translations from transifex
2016-01-16 21:21:14 +01:00
Daniel Gultsch
a83365ee95
make ConversationsActivity more resistent against being restarted
2016-01-16 21:18:59 +01:00
Daniel Gultsch
7b1efe15cd
reuse same xmppconnection for reconnects
2016-01-16 19:21:11 +01:00
Daniel Gultsch
41ae4af1b8
made constructor private in Account entity
2016-01-16 18:57:47 +01:00
Daniel Gultsch
ad5bcb7d43
removed some unused methods from db backend
2016-01-16 18:57:19 +01:00
Adithya Abraham Philip
a9a3ef0f67
fixed PGP having to be selected twice
2016-01-16 04:26:01 +05:30
Daniel Gultsch
494a04ffb1
hide prepare image toasts when attaching multiple images
2016-01-15 23:47:55 +01:00
Daniel Gultsch
d85854b686
show toast when image cropper get oom
2016-01-15 23:47:16 +01:00
Daniel Gultsch
943d0391d4
catch exception when reading message id from database
2016-01-15 23:46:52 +01:00
Daniel Gultsch
c5743067ad
nimbuzz.com: don't wait for disco replies to set account to online
2016-01-15 14:26:23 +01:00
Daniel Gultsch
635210d278
pulled translations for 1.9.0 release from transifex
2016-01-14 21:52:17 +01:00
Daniel Gultsch
aa6955a0d6
fixed typo when reading battery_op setting
2016-01-14 20:38:16 +01:00
Daniel Gultsch
12fd5c46ef
show /me messages in conference notifications without the name of the sender
2016-01-13 17:36:04 +01:00
Daniel Gultsch
14428da108
show key fetch error in activity when there are no keys to be used
2016-01-13 12:19:56 +01:00
Daniel Gultsch
571eb2f7f9
check for file storage permission before selecting avatar
2016-01-13 12:05:59 +01:00
Dheeraj CVR
ffb49c7217
use batch transactions when writing roster
...
Fixes https://github.com/siacs/Conversations/issues/1648
2016-01-13 11:56:35 +04:00
Daniel Gultsch
3e9fd0185a
throw security exception instead of going to next srv entry
2016-01-12 23:42:47 +01:00
Daniel Gultsch
da298cfe59
Merge branch 'master' of github.com:siacs/Conversations
2016-01-12 23:41:35 +01:00
Sam Whited
a6b729df43
s/TOR/Tor/g
2016-01-12 15:41:39 -06:00
Daniel Gultsch
d122d224bb
pulled translations from transifex
2016-01-12 16:43:38 +01:00
Daniel Gultsch
893751a1d2
move some ssl socket modifiers into a seperate helper class
2016-01-12 16:33:15 +01:00
Daniel Gultsch
5f1e30288a
Merge branch 'master' of https://github.com/moparisthebest/Conversations into moparisthebest-master
2016-01-12 15:35:50 +01:00
Daniel Gultsch
921d567dcb
use match_parent as height in conversations overview
2016-01-12 15:35:23 +01:00
Daniel Gultsch
da6076028f
Revert "Add additional warnings to OMEMO purge key function"
...
This reverts commit 3bea5b25cd
.
2016-01-12 09:48:49 +01:00
Andreas Straub
3bea5b25cd
Add additional warnings to OMEMO purge key function
...
People continue to press the "don't press this" button. Maybe adding
some warnings indicating that this button will not fix their problems
will help...
2016-01-12 09:33:54 +01:00
moparisthebest
217f6603c0
Implement XEP-0368: SRV records for XMPP over TLS
2016-01-11 17:25:16 -05:00
Daniel Gultsch
20ec9ff2c6
reworked that loop that iterates over various servers
2016-01-11 19:05:25 +01:00
Daniel Gultsch
a85bba0010
new art renders
2016-01-11 18:29:02 +01:00
Daniel Gultsch
7f1de73784
don't use the word phone in strings
2016-01-11 15:34:26 +01:00
Daniel Gultsch
4d38ba906f
pulled translations from transifex
2016-01-11 11:19:41 +01:00
Daniel Gultsch
c296d6f446
ask to be excluded from battery optimization
2016-01-11 11:17:45 +01:00
Daniel Gultsch
4ab8fe13de
let the user decide on whether or not to compress pictures
2016-01-09 16:17:39 +01:00
Daniel Gultsch
708d7c5b98
automatically adjust image compression to keep files under 512MiB
2016-01-09 16:16:18 +01:00
Daniel Gultsch
6acb80a83a
added Config.java variable to change the default notification behaviour to always
2016-01-08 22:07:23 +01:00
Daniel Gultsch
9dce42ac7f
don't show snackbar when notifications are disabled or paused
2016-01-08 21:35:20 +01:00
Daniel Gultsch
a3e136b550
show per conference notification settings in details activity
2016-01-08 21:30:46 +01:00
Daniel Gultsch
0bb3ae37f0
show icon in conversations overview when notifications are disabled
2016-01-08 14:41:55 +01:00
Daniel Gultsch
5dd5685885
Merge pull request #1641 from fiaxh/uuid-fix
...
Correct uuid check according to RFC 4122
2016-01-08 00:17:21 +01:00
Daniel Gultsch
c59eb75a59
avoid duplicate messages when sending files to mucs. fixes #1635
2016-01-06 12:59:13 +01:00
fiaxh
62d0eebe5c
Correct uuid check according to RFC 4122
2016-01-05 20:07:29 +01:00
Daniel Gultsch
c3e2d2cfba
added missing synchronize when pushing messages from mam backlog
2016-01-04 20:14:29 +01:00
Daniel Gultsch
fb97f9d18f
null check in getOriginalPath
2016-01-04 20:14:08 +01:00
Daniel Gultsch
501034fe0e
Allow entering a JID from 'choose contact'. thanks @singpolyma
...
fixes #1611
fixes #1602
2016-01-04 17:27:54 +01:00
Daniel Gultsch
fdb6b0e30d
only report error after third unsuccesful attempt to connect
2016-01-04 15:33:11 +01:00
Daniel Gultsch
f815a7cd26
properly rotate avatars
2016-01-04 15:17:02 +01:00
Daniel Gultsch
95bf0630f0
show trust keys activties if own keys are undecided
2016-01-04 12:11:58 +01:00
Daniel Gultsch
c116f735dc
add obb url to unencrypted messages
2016-01-03 19:39:06 +01:00
Daniel Gultsch
a319446d41
edit account activity was still showing the omemo key with leading 0x05. fixes #1631
2016-01-03 19:38:48 +01:00
Daniel Gultsch
d875061407
removed xhtml body. fixes #1594
2016-01-01 16:52:32 +01:00
Daniel Gultsch
73e2389eee
use actual message timestamp instead of delay when updating last seen. fixes #1618
2015-12-31 18:06:11 +01:00
Andreas Straub
58d213f291
Fix OMEMO session creating loggin
...
Now prints the correct JID to the log when finding devices without
sessions.
2015-12-31 15:48:43 +01:00
Daniel Gultsch
cfccf5e90d
handle null names in getColorForName
2015-12-29 10:32:54 +01:00
Daniel Gultsch
7bb67ee660
strip leading 0x05 off omemo fingerprints
2015-12-27 18:37:31 +01:00
Daniel Gultsch
703d95fcf8
lower case all fingerprints. fixes #1521
2015-12-27 18:37:12 +01:00
Daniel Gultsch
c3bdec1ce9
dedublicate bookmarks
2015-12-27 17:29:32 +01:00
Daniel Gultsch
bcf99db3df
fixed stuck at omemo encryption when x509 verification is being used
2015-12-27 17:29:19 +01:00
Daniel Gultsch
f49158a44b
register context menu long click listener on message text. fixes #1614
2015-12-27 17:28:42 +01:00
Daniel Gultsch
be91c0741f
made text selectable again unless text contains more than 1 link
...
fixes #1615
2015-12-26 19:18:37 +01:00
Daniel Gultsch
c40372fc0d
code cleanup
2015-12-23 22:30:14 +01:00
Daniel Gultsch
f46cbb38a9
show certificate information
2015-12-23 19:18:53 +01:00
Daniel Gultsch
d0bad09f13
save certificate when verifying with x509
2015-12-23 17:41:26 +01:00
Daniel Gultsch
ae491764f2
pulled translations from transifex
2015-12-20 19:37:27 +01:00
Daniel Gultsch
534013fd0c
store identity key in XmppAxolotlSession instead of the fingerprint
2015-12-19 15:44:11 +01:00
Daniel Gultsch
ade89beb96
use presence name not server name when verification is being used
2015-12-19 13:07:38 +01:00
Daniel Gultsch
15c8cb8ac6
add more debugging to certificate checks after new omemo session was established
2015-12-19 12:44:55 +01:00
Daniel Gultsch
e8bf5cada4
only offer plain and omemo encryption when x509 verification is enabled
2015-12-19 12:44:12 +01:00
Daniel Gultsch
f05f97251c
prefer server name over address book name when x509 verification is being used
2015-12-19 12:43:09 +01:00
Daniel Gultsch
20b4e756fe
add 'store' message hint to displayed chat markers
2015-12-17 15:32:03 +01:00
Daniel Gultsch
f510b2ba2d
pulled translations from transifex
2015-12-17 15:20:28 +01:00
Daniel Gultsch
0f9058ffef
throw exception at the end of the stream
2015-12-17 15:20:06 +01:00
Daniel Gultsch
e10a0b0c4c
let message parser not artifically fail on messages with no to attribute
2015-12-17 14:30:00 +01:00
Daniel Gultsch
43dd681239
timeout service discovery after 20s
2015-12-15 19:24:05 +01:00
Daniel Gultsch
85f36e9dbc
default force encryption to false
2015-12-14 10:58:55 +01:00
Daniel Gultsch
f6b22dad20
splite PARANOIA_MODE into three different options
2015-12-14 10:54:55 +01:00
Daniel Gultsch
042939e44d
make message text non-selectable. fixes #1606
2015-12-14 10:44:43 +01:00
Daniel Gultsch
aa472a0098
pulled translations from transifex
2015-12-13 11:09:42 +01:00
Daniel Gultsch
50817956c2
changed order of send presence and execute mam queries
2015-12-12 16:01:33 +01:00
Daniel Gultsch
88523bbb50
more detailed logging
2015-12-12 15:58:22 +01:00
Daniel Gultsch
5e4b55a0ff
notfiy after mam catchup only if message count > 0
2015-12-11 20:43:50 +01:00
Daniel Gultsch
a1ac4fd665
fix cancelation of http downloads and enable resume
2015-12-11 20:33:41 +01:00
Daniel Gultsch
b2c278c91b
set bookmark name to room subject if no subject has been set before
2015-12-11 19:28:44 +01:00
Daniel Gultsch
293e820a58
get rid of lastMessageTransmitted in favor of db query
2015-12-11 13:52:04 +01:00
Daniel Gultsch
61b0681109
pulled translations from transifex
2015-12-11 13:27:33 +01:00
Daniel Gultsch
5ffb87059c
renamed pretty-please-store message hint to store
2015-12-10 23:37:38 +01:00
Daniel Gultsch
15f220747f
some more NPE checks
2015-12-10 23:16:39 +01:00
Daniel Gultsch
55c1129a65
notify on mam catchup messages
2015-12-10 23:05:11 +01:00
Daniel Gultsch
2262921ff4
properly clean up timed out mam queries
2015-12-10 18:28:47 +01:00
Daniel Gultsch
ede92235d7
disable sm logging
2015-12-10 18:26:31 +01:00
Daniel Gultsch
5bd70cfee8
always show conversations with pending subscription requests
2015-12-09 12:18:06 +01:00
Daniel Gultsch
5e151c7311
wait with status change to online after all disco queries have been made
2015-12-09 11:16:03 +01:00
Daniel Gultsch
11e58607c9
when no avatar found show avatar of contact and not the muc user in conferences
2015-12-09 10:30:26 +01:00
Daniel Gultsch
aea664a0ec
show sender name for notications in conferences. fixes #1581
2015-12-09 10:26:30 +01:00
Daniel Gultsch
1de74c2337
also verify sessions in CBE mode that got created by key transport messages
2015-12-08 17:15:08 +01:00
Daniel Gultsch
b9fc7ebe24
pulled translations from transifex
2015-12-07 13:54:59 +01:00
Daniel Gultsch
ac06cb2e4f
modified contact permission dialog
2015-12-07 13:24:41 +01:00
Daniel Gultsch
739648e909
ask for contact permissions when first opening StartConversationActivity
2015-12-07 13:24:41 +01:00
Daniel Gultsch
c3e8fb3446
request storage permission when needed on Android 6.0
2015-12-07 13:24:41 +01:00
Daniel Gultsch
739a2d609d
implement direct sharing in android 6.0. fixes #1321
2015-12-07 13:24:41 +01:00
Daniel Gultsch
904edf5d59
hide prepare file toast after preparing the file
2015-12-06 11:57:11 +01:00
Daniel Gultsch
bd765c59ce
check availabiltiy of pgp before sharing files
2015-12-05 19:03:17 +01:00
Daniel Gultsch
b7f326372d
be more carefull with pending uris
2015-12-05 19:02:57 +01:00
Daniel Gultsch
6358f641e7
check for query object as condition to trigger deduplication instead of serverId
2015-12-05 18:41:38 +01:00
Daniel Gultsch
41dcd8005b
parse stanza-id from messages
2015-12-04 22:03:46 +01:00
Daniel Gultsch
cd9a29718b
properly clear muc user avatar caches
2015-12-04 21:36:48 +01:00
Daniel Gultsch
9d1e8a34b2
fixed showing avatars for contacts in muc
2015-12-04 18:39:09 +01:00
Daniel Gultsch
196c8e593f
Merge pull request #1595 from fiaxh/pgp_database_signature
...
Regenerate PGP signatures once
2015-12-04 15:35:51 +01:00
Daniel Gultsch
0664d6ac7b
avoid some NPEs
2015-12-04 15:35:22 +01:00
Daniel Gultsch
3e3cb047be
rely on message id if message id is uuid and pgp encryption was used to deduplicate messages. fixes #1357
2015-12-04 15:34:45 +01:00
Daniel Gultsch
242887447c
use proposed nick as default nick in mucoptions
2015-12-04 14:07:16 +01:00
Daniel Gultsch
6b592435cd
parse vcard avatars from muc presences
2015-12-03 18:18:34 +01:00
Daniel Gultsch
f1c0b7372f
enabled previously disabled http upload
2015-12-03 12:45:12 +01:00
fiaxh
e5f154316c
Unset all PGP signatures once
...
... so they will be redone to match the changed status.
2015-12-02 18:06:48 +00:00
Daniel Gultsch
b60c902810
pulled new translations from transifex
2015-12-02 17:27:56 +01:00
Daniel Gultsch
3553b15c9f
renamed x509 verified omemo to v\OMEMO
2015-12-02 17:24:56 +01:00
Daniel Gultsch
aa21797f43
Merge branch 'master' of github.com:siacs/Conversations
2015-12-02 16:38:33 +01:00
Daniel Gultsch
0eaf7669f7
Merge pull request #1545 from SamWhited/show_new_contact_request_messages
...
Show status message when contact requests presence
2015-12-02 16:38:08 +01:00
Sam Whited
a3eb540f05
Show status message when contact requests presence
...
Remove presence when conversation closed
2015-12-02 08:50:52 -06:00
Daniel Gultsch
025cbf7d44
show tor config in paranoid mode
2015-12-02 15:34:09 +01:00
Daniel Gultsch
02c6793ca9
fixed avatar loading for non-file uris
2015-12-02 15:30:03 +01:00
Philip Flohr
0329c9c738
users are now able to crop their avatar pictures using the android-crop
...
library
2015-12-02 14:25:20 +01:00
Daniel Gultsch
8455e5b5dd
hide message content in notifications in paranoia mode
2015-12-02 12:54:55 +01:00
Sam Whited
e1aeb376ac
s/.../…/ in default strings
2015-12-01 21:59:44 -06:00
Daniel Gultsch
dc8967d8fc
introduced build-time paranoia mode that disables unencrypted chats and forces TOR
2015-12-01 22:41:58 +01:00
Daniel Gultsch
65b5504e68
introduce config.java variable to optionally show number of connected accounts in notification
2015-12-01 17:15:36 +01:00
Daniel Gultsch
2cd43f7042
fixed crashes when activity got destroyed when selecting pgp key
2015-12-01 14:18:07 +01:00
Daniel Gultsch
d42c82abf2
combine multiple message receipts into single message
2015-12-01 12:22:47 +01:00
Daniel Gultsch
2225b0b6d5
add error state for unavailable tor network
2015-12-01 12:00:50 +01:00
Daniel Gultsch
b4a259837e
always use http proxy for http requests. (socks is leaking dns)
2015-12-01 12:00:50 +01:00
Daniel Gultsch
8ffcc11f27
refactored socks5 connection code. make jingle transport use that new code
2015-12-01 12:00:50 +01:00
Daniel Gultsch
ebccb67a72
do socks5 connect manually
2015-12-01 12:00:50 +01:00
Daniel Gultsch
f0b1761ec3
initial tor support
2015-12-01 12:00:50 +01:00
Daniel Gultsch
06cadab7cc
changed method signature of calcSampleSize
2015-11-30 16:03:04 +01:00
Daniel Gultsch
60211a315e
hide subject edit button if not editable by user
2015-11-26 17:44:29 +01:00
Daniel Gultsch
23ef1c660a
encrypt pgp messages to self
2015-11-26 17:44:11 +01:00
Daniel Gultsch
fd6ed5b989
detect server identity and added muc-workaround for slack
2015-11-26 06:55:57 +01:00
Daniel Gultsch
84120a341a
removed unnecessary configuration fetch after join
2015-11-26 06:53:24 +01:00
Daniel Gultsch
210de7d781
removed unecessary chat state
2015-11-26 06:53:02 +01:00
Daniel Gultsch
ecb4615f2a
fail jingle file transfer if axolotl key message could not be created. fixes #1576
2015-11-26 06:52:46 +01:00
Daniel Gultsch
a557d38e4d
pgp fixes and revert configuration changes
2015-11-25 20:47:02 +01:00
Daniel Gultsch
8228e82f51
Merge pull request #1569 from fiaxh/conference_one_other_occupant
...
Show own avatar in tile for conferences with only one other occupant next to theirs
2015-11-24 07:09:12 +01:00
Daniel Gultsch
fbb7cb99f7
Merge pull request #1558 from fiaxh/pgp_api_9.0
...
Use OpenPGP-API 9.0
2015-11-24 06:52:24 +01:00
fiaxh
2c1f7e115c
PgpEngine: Get account from conversation instead of from contact. fixes #1568 , fixes #1544
2015-11-15 13:24:07 +00:00
fiaxh
724ca8c9a9
Own contact picture in tile for conferences with only one other occupant
2015-11-15 10:34:10 +00:00
fiaxh
c7a519498a
Sign empty status
2015-11-09 13:50:02 +00:00
fiaxh
fac1d4e0bd
Use OpenPGP-API 9.0
2015-11-09 13:49:57 +00:00
Andreas Straub
c6e54e7e5a
Move migration 19 before 17
...
Migration 17 depends on Account deserialization, so any migrations that
touch the accounts table need to be applied beforehand.
Re-writing the migration to work directly on the database would lead to
a lot of code duplication, so it's not worth it at this time, but might
become necessary later on to avoid dependency cycles.
2015-11-06 14:50:55 +01:00
Daniel Gultsch
fb9ba0a734
don't close socket on disconnect
2015-11-01 07:45:00 +01:00
Daniel Gultsch
baf76d883c
indicate cbe in chat message hint
2015-10-31 22:55:04 +01:00
Daniel Gultsch
bca29cf7fd
explicitly mark verified omemo keys in UI
2015-10-31 10:57:57 +01:00
Daniel Gultsch
34bcc59f72
fixed session objects not being build on start up
2015-10-30 12:05:21 +01:00
Daniel Gultsch
6a458b853c
Merge pull request #1513 from fiaxh/pgp_background_decryption
...
PGP messages background decryption
2015-10-30 10:18:27 +01:00
Daniel Gultsch
8553d5a563
moved db calls made from UI into serial background thread
2015-10-29 17:20:01 +01:00
Daniel Gultsch
ef7857ac8d
avoid npe when checking for stream restart
2015-10-29 14:38:35 +01:00
Daniel Gultsch
c7ff196f58
push CN into nick pep node when uploading certificate. subscribe to nick node
2015-10-29 13:41:08 +01:00
Daniel Gultsch
7410e2023a
Merge branch 'master' of github.com:siacs/Conversations
2015-10-29 12:08:32 +01:00
Daniel Gultsch
1221cff561
load avatars in message adapter in background task
2015-10-29 12:08:15 +01:00
Daniel Gultsch
a7fd629c05
show encryption type in warned/red messages
2015-10-28 22:40:09 +01:00
fiaxh
016a57f123
Show PGP "please wait" message only when actually decrypting
2015-10-28 20:57:15 +00:00
fiaxh
29a849cb92
Decrypt PGP messages in background
2015-10-28 19:57:11 +00:00
Sam Whited
e747ecef4d
Don't synchronize on non-final field
2015-10-26 20:13:48 -05:00
Daniel Gultsch
ec473a4437
Merge pull request #1520 from saqura/self_handle_orientation
...
Handle some orientation changes manually
2015-10-26 09:30:08 +01:00
saqura
48f172fc9e
Reset the margins manually after rotating
2015-10-26 00:59:32 +01:00
Daniel Gultsch
56afdcc94a
invalidate menu after backend connection.
...
fixes the menu not being shown after rotation in edit account details
2015-10-25 22:46:06 +01:00
saqura
1f2b2c8834
Handle some orientation changes manually
...
Currently most activities get destroyed/recreated when rotating the
device. This commit prevents this from happening where it is not
necessary.
The most obvious improvements are:
* The options menu in the EditAccountActivity does not disappear when
rotating the device.
* CSI inactive/active states are no longer sent on every rotate.
2015-10-25 21:34:16 +01:00
Daniel Gultsch
1bd68a42b2
join muc even if initial conference configuration fetch failed
2015-10-22 11:20:36 +02:00
Daniel Gultsch
3c45f00443
fixed read conversations showing up as notifications after a restart
2015-10-21 17:41:44 +02:00
Daniel Gultsch
f4a33a007c
open unknown files with wildcard intent
2015-10-20 17:41:07 +02:00
Daniel Gultsch
569b9f4e66
open manage account + certificate chooser when cbe mode is enabled
2015-10-20 15:27:33 +02:00
Daniel Gultsch
53125dbccc
move chat state reset from background switch to foreground switch to account for chat states sent in the mean time
2015-10-19 23:22:29 +02:00
Daniel Gultsch
9b07059b6e
update last seen in mucs. fixes #1508
2015-10-19 23:20:33 +02:00
Daniel Gultsch
efab290c28
add nick to bookmark when entering full jid in join conference dialog
2015-10-19 23:20:00 +02:00
Daniel Gultsch
adca670196
synchronize around the disco object
2015-10-19 23:03:19 +02:00
Daniel Gultsch
be38b1e5f4
disconnet in background thread
2015-10-17 16:10:56 +02:00
Daniel Gultsch
e956c7b2a2
only try EXTERNAL auth if client certificate is set for account
2015-10-17 16:10:31 +02:00
Daniel Gultsch
3c6c424d31
don't retry building broken omemo keys
2015-10-17 15:51:21 +02:00
Daniel Gultsch
0f405c2e11
allow redownloading files from remote hosts. fixes #1504
2015-10-17 15:23:46 +02:00
Daniel Gultsch
e9e31b1c9b
load axolotl session cache on first device update
2015-10-17 14:44:59 +02:00
Daniel Gultsch
a83aae341f
improved error reporting in trust keys activity
2015-10-17 14:09:26 +02:00
Daniel Gultsch
cfeb67d71d
introduced code to verify omemo device keys with x509 certificates.
...
cleaned up TrustKeysActivity to automatically close if there is nothing to do
2015-10-16 23:48:42 +02:00
Daniel Gultsch
fb7359e6a3
block code when doing unforced disconnect
2015-10-16 09:58:31 +02:00
Daniel Gultsch
c1716a35e3
moved other name parsing into seperate method
2015-10-15 20:05:55 +02:00
Daniel Gultsch
fc96dcaa4d
use constants for oids in xmppdomainverifier
2015-10-15 19:14:41 +02:00
Daniel Gultsch
5b271e1ed8
more checks for xmppdomainverifier and better wildcard handling
2015-10-15 18:06:26 +02:00
Daniel Gultsch
e75c2cd731
use own XmppDomainVerifier instead of deprecated StrictHostnameVerifier. fixes #1189
2015-10-15 17:08:38 +02:00
Daniel Gultsch
1738673c53
pulled translations from transifex
2015-10-14 23:05:00 +02:00
Daniel Gultsch
4b93351f8f
changed some source strings
2015-10-14 23:03:01 +02:00
Daniel Gultsch
30dbf97a1c
clear bitmap cache before running out of memory
2015-10-14 22:55:59 +02:00
Daniel Gultsch
5f9476448f
make unread status and notifications presistent across restarts
2015-10-14 21:18:34 +02:00
Daniel Gultsch
0587ba2ad2
work with muc services that change the message id
2015-10-14 11:15:18 +02:00
Daniel Gultsch
beca748634
pulled translations from transifex
2015-10-13 23:36:16 +02:00
Daniel Gultsch
76828950ee
cleaned up some code. log last tag
2015-10-13 23:34:09 +02:00
Daniel Gultsch
f24649c819
set cursor to end of jid in edit account
2015-10-13 16:58:08 +02:00
Daniel Gultsch
212d1a8c91
add config variable to enable x509 verification
2015-10-12 13:18:20 +02:00
Daniel Gultsch
933538a39d
code clean up
2015-10-12 12:36:54 +02:00
Daniel Gultsch
b519411d34
enable SASL EXTERNAL (certificate login
2015-10-11 20:45:01 +02:00
Daniel Gultsch
7be331bbb2
add menu item in account details to renew certificate
2015-10-11 16:10:52 +02:00
Daniel Gultsch
09816b61df
make add account from key visible
2015-10-11 16:10:52 +02:00
Andreas Straub
fdd88aa530
Clean up
...
Fixes some random linter warnings.
2015-10-11 16:05:44 +02:00
Andreas Straub
a7c7a42136
Improve InvalidJidException handling in Jid class
...
This code should never be triggered anway, so with this 'fix', we should
at least get more meaningful stack traces. Plus, it makes the linter
happy by preventing NullPointerExceptions.
2015-10-11 16:05:44 +02:00
Daniel Gultsch
da31582911
Merge pull request #1461 from akallabeth/captcha_support
...
Implemented account registration with captcha
2015-10-11 15:56:42 +02:00
Daniel Gultsch
540f6510de
Merge branch 'master' of github.com:siacs/Conversations
2015-10-11 14:27:41 +02:00
Daniel Gultsch
9e1393bc1c
prevent null pointer when trying to display device fingerprints of not existing sessions
2015-10-11 14:27:09 +02:00
Armin Novak
6a6cb43b17
Captcha support.
2015-10-11 13:11:50 +02:00
Safwat Halaby
08174e3b05
Fixed a typo in string.xml
2015-10-10 12:03:25 +03:00
Daniel Gultsch
b23cb5a9e4
initial UI work to allow setting up accounts from certifcates
2015-10-09 13:37:08 +02:00
Daniel Gultsch
ef605e4cbd
do not dismiss editAccountActivity when still trying to register new account
2015-10-09 10:49:30 +02:00
Daniel Gultsch
e65068d226
catch exception when unregistering receivers that have not been registered before
2015-10-08 00:52:04 +02:00
Daniel Gultsch
f81e44d339
removed oob element from file messages
2015-10-08 00:35:23 +02:00
Daniel Gultsch
52a5e72b02
introduced expert options to set status to away and xa if screen is off or if phone is silenced
2015-10-08 00:35:04 +02:00
Daniel Gultsch
043e19dd65
add xhtml image tag to unencrypted image urls. add oob tag to all files that are on remote hosts
2015-10-07 12:08:25 +02:00
Daniel Gultsch
8f066d00e0
do mam query after join
2015-10-06 16:58:56 +02:00
saqura
fd61d67dab
Use MAM for MUC initial history retrieval
...
If the MUC supports MAM (XEP-0313), use it to retrieve the history
when joining.
2015-10-06 16:23:45 +02:00
saqura
05d0c9f4fe
Properly check for MUC MAM support
...
Only use MAM (XEP-0313) in MUCs if it is supported.
This should fix #1264
2015-10-06 16:23:18 +02:00
saqura
403db3b080
Show whether MAM is supported in MUCs
...
The conference details in "Advanced Mode" now indicate whether MAM is
supported by the conference server.
2015-10-06 16:23:05 +02:00
Daniel Gultsch
32abc76689
changed store path for files
2015-10-06 16:18:23 +02:00
Daniel Gultsch
1d2a24c9c0
clean up log exporting service. properly end service after exporting
2015-10-06 14:13:07 +02:00
Daniel Gultsch
e6af502055
clear notification and activate grace period when receiving chat marker from another instance
2015-10-06 11:44:27 +02:00
Daniel Gultsch
89edd83609
pulled translations from transifex
2015-10-05 16:45:33 +02:00
Daniel Gultsch
160dfa49a0
try to catch plattform bugs
2015-10-02 11:58:03 +02:00
Daniel Gultsch
4b62bd256d
properly recycle bitmaps
2015-10-02 11:39:30 +02:00
Daniel Gultsch
2b9b700c96
don't put conference joins into pending on initial bind
2015-10-01 16:01:19 +02:00
Daniel Gultsch
6a0b9971aa
reset muc options immediately befor join
2015-10-01 13:03:15 +02:00
Daniel Gultsch
9dcf074a79
request stanza count after every ibb data stanza to not fill our own stanza queue
2015-09-30 23:42:02 +02:00
Daniel Gultsch
648e29db2c
only invoke MTM in interactive mode after direct user input
...
fixes #1027
fixes #792
fixes #1439
2015-09-29 19:24:52 +02:00
Daniel Gultsch
64dbb069ab
rotate thumbnails. fixes #1438
2015-09-29 12:25:32 +02:00
Daniel Gultsch
5fb77a9739
fixed NPE when executing rename callback in muc
2015-09-28 15:36:55 +02:00
Daniel Gultsch
8881b71079
do tab completion only if neither ctrl nor alt are being pressed
2015-09-28 14:36:10 +02:00
Daniel Gultsch
f4d6b676e9
catch rare activity not found exception when opening downloaded files
2015-09-27 21:27:07 +02:00
Daniel Gultsch
bbbc30e823
allow tab completion in conferences
2015-09-27 19:17:44 +02:00
Daniel Gultsch
5a5e0e7121
use Conversations 1.x.y as user agent string in http upload and download
2015-09-23 18:05:51 +02:00
Daniel Gultsch
8d90b3fbf1
swapped icons for foreground services
2015-09-22 08:50:54 +02:00
fiaxh
a3a13dd9dc
Export logs to SD card preference
2015-09-21 18:53:29 +01:00
fiaxh
024e697cee
Iterator to go through all messages of a conversation
2015-09-20 22:17:32 +01:00
Daniel Gultsch
a954e32b16
let DnsHelper provide a fallback solution
2015-09-19 17:31:24 +02:00
Daniel Gultsch
069ddddbc1
fixed content-type indication in http upload
2015-09-19 17:29:33 +02:00
Michael
8f69017d5a
remove the from attribute from sendStartStream() fixes #1419
2015-09-19 15:58:33 +02:00
Daniel Gultsch
b54b4ca78a
introduced Config variable to use legacy namespace for http upload
2015-09-17 14:42:50 +02:00
Daniel Gultsch
506b83ddc6
be more careful when publishing device bundle
2015-09-17 14:18:06 +02:00
Daniel Gultsch
c173d78950
ignore spoofed stanzas in facebook chat
2015-09-17 14:13:38 +02:00
Daniel Gultsch
07c7f5bc08
catch IndexOutOfBoundsException when swiping away conversations
2015-09-17 14:02:28 +02:00
Daniel Gultsch
7e712d9d4c
fixed rare NPE in DnsHelper. fixed spelling and added logging
2015-09-17 13:55:27 +02:00
Daniel Gultsch
b1b13ba0e5
pulled translations from transifex
2015-09-15 22:56:02 +02:00
Daniel Gultsch
4a4ced1e69
Merge branch 'master' of github.com:siacs/Conversations
2015-09-15 22:53:06 +02:00
Daniel Gultsch
b9002d7fd5
added missing type='submit' to mam queries
...
fixed some nasty inheritance problems along the way
fixes #1411
2015-09-15 22:52:39 +02:00
Daniel Gultsch
b5719fd747
work around a NPE caused by arace condition in the http upload
2015-09-15 22:49:43 +02:00
Daniel Gultsch
183dad281c
Merge pull request #1409 from sespivak/master
...
some string localization for russian language
2015-09-14 17:06:27 +02:00
Daniel Gultsch
999d65c187
pulled translations from transifex
2015-09-14 16:53:39 +02:00
Sergey Spivak
7e06065df2
some string localization for russian language
2015-09-14 18:36:58 +04:00
Daniel Gultsch
8d13a77bc6
changed http upload namespace to reflect the one in the XEP
2015-09-14 13:22:10 +02:00
Daniel Gultsch
96575d6290
added possibiltiy to set conferences as moderated (only visible in advanced mode)
2015-09-13 17:13:46 +02:00
Daniel Gultsch
add4302385
pulled new translations from transifex
2015-09-13 11:07:22 +02:00
Daniel Gultsch
4220fa948b
added mp4 to well known extensions. fixes #1403
2015-09-12 10:42:56 +02:00
Daniel Gultsch
811e2eaeec
increased dns timeout
2015-09-10 10:54:15 +02:00
Daniel Gultsch
650abf1c52
added alt as possible modifier key. use mod+(0..9) to jump to a conversation
2015-09-09 23:28:37 +02:00
Daniel Gultsch
6bb9983d58
added rotation detection to up/down navigation
2015-09-07 20:45:21 +02:00
Daniel Gultsch
6308dcfdd4
added some key binding
...
* ctrl + tab will open the conversations overview (when available)
* ctrl + up / down will navigate between conversations
2015-09-07 15:46:27 +02:00
Daniel Gultsch
88cdd03f0f
catch npe in setupIme method
2015-09-07 13:31:24 +02:00
Daniel Gultsch
eff173ebc2
indicate broken pep in server info
2015-09-06 19:40:28 +02:00
Andreas Straub
a95c451f1e
Only show that have sessions in fingerprint list
...
Doesn't access database directly anymore but goes through AxolotlService
now to obtain list of fingerprints associated with an Account/Contact.
This should prevent orphaned keys littering the UI which previously
couldn't be removed through the Clear Devices function.
Together with 1c79982da84964c1d81179a0927d9cd1eadf53de this fixes #1393
2015-09-06 15:15:57 +02:00
Andreas Straub
2bb033267b
Don't manually add keys to the store
...
There is no need to preemptively add the keys to the store oneself.
SessionBuilder will take care of this for us. What's more, this will
prevent IdentityKeys from otherwise invalid bundles to show up in our
UI.
2015-09-06 15:15:57 +02:00
Daniel Gultsch
2c4a6b0912
add null pointer check to db migration
2015-09-05 18:47:37 +02:00
Andreas Straub
e2d506c96a
Never build a session with oneself
...
If we detect our own ID is not in our own devicelist on receiving an
update, we reannounce ourselves. This used to have the side effect of
modifying the list of devices we thought were in the update set, causing
us to accidentally build a session with ourselves.
This lead to our own key being set to TRUSTED_INACTIVE, resulting in red
lock icons on messages sent by the own device.
We fix this by having publishOwnDeviceId() operate on a copy of the
original set. This commit also includes a db migration which deletes
sessions with oneself and sets own keys back to TRUSTED.
2015-09-05 17:29:58 +02:00
Daniel Gultsch
a32a577e36
ignore timeout exceptions on secondary dns requests
2015-09-05 14:26:31 +02:00
Daniel Gultsch
7eb228d1a5
Issues with URLs with multiple dots in file. fixes #1373
2015-09-04 19:58:53 +02:00
Daniel Gultsch
1848b46195
invoke onEnterPressed callback only if shift is not pressed
2015-09-04 19:33:31 +02:00
Daniel Gultsch
9baa87e5c9
minimize softkeyboard only if it has been in fullscreen mode
2015-09-04 18:02:53 +02:00
Daniel Gultsch
204cee4a17
show an send button instead of the enter key in softkeyboards when enterIsSend and showEnterKey are both set
2015-09-04 14:48:00 +02:00
Andreas Straub
b265341848
Ensure uris is empty before onStart adds to it
...
Fixes #1382
2015-09-02 22:03:15 +02:00
Daniel Gultsch
fc594e249a
added special error state for dns timeout
2015-09-01 22:37:52 +02:00
Daniel Gultsch
91b0605bc2
use same method to add message hints to otr message everywhere it is needed
2015-09-01 22:36:56 +02:00
Daniel Gultsch
74cf8320bc
tag axolotl messages with pretty-please-store
2015-09-01 00:13:19 +02:00
Daniel Gultsch
aaf3ecaf41
made useImageAsIs determination a bit more foolproof (samsung)
2015-08-31 20:19:26 +02:00
Daniel Gultsch
ca262d3523
single task mode for start conversations activity
2015-08-30 11:37:52 +02:00
Daniel Gultsch
b0c19d6bac
fixed bug that prevented newly opened conversations to load the entire history via mam. fixes #1328
2015-08-30 11:24:37 +02:00
Daniel Gultsch
8f4b7686c9
catch invalid base64 on omemo key decoding
2015-08-30 11:11:54 +02:00
Daniel Gultsch
3db7087658
use build in method on >= lolipop devices to discover dns servers
2015-08-28 13:05:34 +02:00
Daniel Gultsch
bc9f6d91ac
pulled updated translations from transifex
2015-08-28 13:04:57 +02:00
Daniel Gultsch
384c441990
reformating and upper bound for waiting on stanza writer
2015-08-28 11:42:11 +02:00
Daniel Gultsch
5298f4e2aa
fixed type=timeout
2015-08-28 11:41:41 +02:00
Daniel Gultsch
cb70df7a34
added XEP number for http file upload
2015-08-27 19:18:35 +02:00
Daniel Gultsch
eff9e417e0
use dedicated colors for primary and primary_dark
2015-08-26 21:17:29 +02:00
Daniel Gultsch
c5abddc584
fixed highlight text color for white chat bubbles
2015-08-26 21:12:19 +02:00
Andreas Straub
1156ccbce2
Fix error handling for announce check retrieval
...
Only aborts when a timeout was received. Error conditions (most notably
item-not-found) are interpreted as no other devices existing.
2015-08-26 20:52:44 +02:00
Daniel Gultsch
cd451856b2
explictitly handle iq timeouts in bind and session iqs
2015-08-26 20:47:08 +02:00
Andreas Straub
c4a548ada0
Only announce device after publishing bundle
2015-08-26 15:45:21 +02:00
Daniel Gultsch
f6b7a25e29
moved actual iq callback out of synchronized find callback block
2015-08-26 14:01:37 +02:00
Daniel Gultsch
ea2ce78d6e
be more restrictive about marking messages as sent_received in muc parser
2015-08-26 12:11:12 +02:00
Daniel Gultsch
3e0636367a
Revert "improved compatibility with muc components that change the message id"
...
This reverts commit df86b0fc47
.
2015-08-26 11:39:18 +02:00
Andreas Straub
0eeaccd974
Fix key publishing
...
Remove invalid check for result code, which prevented publishing if the
node was empty to begin with.
Fix pepBroken check
2015-08-26 00:27:39 +02:00
Andreas Straub
25a9d59412
Add more logging to pep attemp counter logic
2015-08-25 18:52:36 +02:00
Andreas Straub
eafcf38ec9
Limit number of PEP publish tries
...
If PEP publish tries are repeatedly triggered by empty PEP updates, stop
attempting to publish after 3 tries. This should work around broken PEP
implementations in older ejabberd and OpenFire versions.
2015-08-25 18:43:44 +02:00
Michael
ae9de26f59
remove unused imports.
2015-08-25 12:40:22 +02:00
Andreas Straub
b84fecf51a
Pass through device IDs when updating own list
2015-08-25 12:17:09 +02:00
Daniel Gultsch
5eae1e52d2
cleared up some error messages in axolotl service and execute publishOwnDevicesWhenNeeded() only if processing our own jid
2015-08-25 11:43:10 +02:00
Daniel Gultsch
25c49d5e34
catch some db query exceptions
2015-08-25 11:12:10 +02:00
Daniel Gultsch
7617a19280
additonal null checks in file backend
2015-08-25 11:11:53 +02:00
Daniel Gultsch
476db24c10
fixed session time
2015-08-25 11:11:32 +02:00
Daniel Gultsch
f6374f466b
increased carbon grace period to 90s
2015-08-24 21:25:04 +02:00
Daniel Gultsch
98e7d9c74e
pulled translations from transifex
2015-08-24 21:24:48 +02:00
Daniel Gultsch
730a5c644b
renamed plain text to unencrypted. fixes #1331
2015-08-24 21:15:47 +02:00
Daniel Gultsch
865e08401b
fixed regression with mlinks stream managment. fixes #1206
2015-08-24 20:56:36 +02:00
Daniel Gultsch
fb0b4bb445
added setting to allow for white backgrounds in incoming message bubbles
2015-08-24 20:56:25 +02:00
Daniel Gultsch
d36ae091b6
Merge branch 'master' into development
2015-08-24 18:18:24 +02:00
Daniel Gultsch
d0b8bd0f8a
catch invalid base64 in axolotl key parsing
2015-08-24 18:18:01 +02:00
Daniel Gultsch
deb9c20e5e
Merge branch 'master' into development
2015-08-23 21:06:58 +02:00
Daniel Gultsch
c19adebaf0
open files with capital extensions as well. fixes #1354
2015-08-23 21:00:51 +02:00
Daniel Gultsch
91a3cee6d2
Merge branch 'master' into development
2015-08-23 19:44:58 +02:00
Daniel Gultsch
8043833156
bugfix: next encryption is now being properly detected
2015-08-23 19:40:45 +02:00
Daniel Gultsch
7bd0f31244
Merge branch 'master' into development
2015-08-23 17:57:53 +02:00
Daniel Gultsch
0dfb9bd1a0
introduce special iq type for internal timeouts. always use != result to check for error in callbacks
2015-08-23 17:53:23 +02:00
Daniel Gultsch
777dd4b51e
Merge branch 'master' into development
2015-08-23 17:29:46 +02:00
Daniel Gultsch
bbfd98b726
reformating
2015-08-23 17:29:31 +02:00
Daniel Gultsch
d51c4b9655
deal with another set of stream:features after bind
2015-08-23 17:26:50 +02:00
Daniel Gultsch
b0710cdf04
Merge branch 'master' into development
2015-08-23 13:57:14 +02:00
Andreas Straub
e1dc7f990d
Add error handling to OMEMO PEP code
...
Log received errors and abort processing
2015-08-23 13:23:51 +02:00
Michael
c0502c2165
remove the READ_PHONE_STATE permission.
2015-08-23 13:07:27 +02:00
Daniel Gultsch
3d6fb9b21d
remove callbacks directly from iterator
2015-08-23 10:20:29 +02:00
Daniel Gultsch
1688b65965
don't make subsequent iq request when original stanza returned an error
2015-08-23 08:27:05 +02:00
Daniel Gultsch
496f531e2e
modified clearIqCallbacks into 2-step process
2015-08-23 08:01:47 +02:00
Daniel Gultsch
06fffc13cd
Merge branch 'master' into development
2015-08-19 13:16:59 +02:00
Daniel Gultsch
7c822c9b75
pulled translations from transifex
2015-08-19 13:03:14 +02:00
Daniel Gultsch
9e26375d2f
simulate old behaviour with messages being set to waiting while offline
2015-08-19 13:00:52 +02:00
Daniel Gultsch
c9b2638778
Merge branch 'master' into development
2015-08-19 12:49:24 +02:00
Daniel Gultsch
52f0622dd3
fixed nasty 'stuck at sending' bug that got introduced in 32826ec29d
2015-08-19 12:47:50 +02:00
Daniel Gultsch
dafcee6a5b
Merge branch 'master' into development
2015-08-19 12:29:23 +02:00
Daniel Gultsch
6e1870b00a
check if inputstream is null before cropping avatar images
2015-08-19 12:25:17 +02:00
Daniel Gultsch
9ebd6d503c
catch package manager has died exception
2015-08-19 12:24:42 +02:00
Daniel Gultsch
9edcca1045
Merge branch 'master' into development
2015-08-16 15:01:06 +02:00
Daniel Gultsch
5b1dda9148
deal with broken frameworks
2015-08-16 14:55:40 +02:00
Daniel Gultsch
d7b3060fc8
catch broken base64 in avatars
2015-08-16 14:55:24 +02:00
Daniel Gultsch
51a2645349
synchronize packetCallbacks
2015-08-16 12:12:22 +02:00
Daniel Gultsch
c082066118
catch null pointer in ScramSHA1 sasl
2015-08-16 11:50:33 +02:00
Daniel Gultsch
5501502e89
Merge branch 'depend_on_sm' into development
2015-08-15 19:18:38 +02:00
Daniel Gultsch
ecac1e5943
Merge branch 'development'
2015-08-15 19:12:51 +02:00
Andreas Straub
6aec49f06d
Update license string with libraries
2015-08-15 19:07:55 +02:00
Andreas Straub
45d68c200e
Display error message if all contact keys purged
2015-08-15 18:52:47 +02:00
Daniel Gultsch
83e1e6468e
fully depend on sm
2015-08-15 16:57:07 +02:00
Daniel Gultsch
1f34fb742c
Merge branch 'development'
2015-08-15 14:26:37 +02:00
Daniel Gultsch
32826ec29d
provide extra interface to close sockets. fixes #1330
2015-08-15 14:14:33 +02:00
hlad
4539643f27
show HTTP upload availability on Edit account screen
2015-08-14 22:24:05 +02:00
Daniel Gultsch
dad90762b4
do not touch pictures that are already in the right format
...
fixed #522
2015-08-11 16:50:00 +02:00
Daniel Gultsch
3677c6ec98
use same code that is used to open files for images
...
fixes #1323
2015-08-11 15:24:06 +02:00
Daniel Gultsch
c0dcf4a55a
changed color of 'whispered' prefix
...
fixes #1326
2015-08-11 15:13:17 +02:00
Daniel Gultsch
fd81491b05
put wake locks on out of band file transfers
2015-08-10 19:48:36 +02:00
Daniel Gultsch
d30515a85a
report wrong file size in otr encrypted jingle file transfers to be compatible with conversations > 1.6
2015-08-10 12:55:37 +02:00
Daniel Gultsch
b5e90850d8
provide more detailed error toasts for http file download
2015-08-10 12:15:14 +02:00
Daniel Gultsch
b7f00ddac3
fixed image preview in notfications for images that arrived over jingle
2015-08-08 17:19:40 +02:00
Daniel Gultsch
a6e00837af
decreased right hand side padding in contact keys
2015-08-08 14:09:02 +02:00
Daniel Gultsch
8b9b74ff7e
renamed multi-end / axolotl to OMEMO
2015-08-08 13:29:21 +02:00
Daniel Gultsch
efdf3b6c1c
removed dead code
2015-08-08 13:13:23 +02:00
Daniel Gultsch
cac577fa4e
don't request ack for iq stanzas before stream managment is initialized
...
fixes #1322
2015-08-08 10:26:36 +02:00
Andreas Straub
7437d0fe0c
Increase number of published prekeys for release
2015-08-07 12:30:39 +02:00
Daniel Gultsch
53ce5d223e
request server-ACKs for iq stanzas
2015-08-06 20:48:55 +02:00
Daniel Gultsch
6694af8fca
fail old/invalid iq stanzas on bind
2015-08-06 14:54:37 +02:00
Daniel Gultsch
5c0853f302
hide multi-end and otr encryption in conferences
2015-08-06 13:09:53 +02:00
Andreas Straub
34b22dea48
Improve TrustKeysActivity slider responsiveness
...
Slider used to skip back on drag-and-drop action. The switch doesn't
trigger explicit whole UI refreshes anymore, it now directly adjusts the
"done" button's locked status.
2015-08-05 22:24:13 +02:00
Daniel Gultsch
a1c43d8fdf
added config.java variable to hide openpgp as an encryption method
2015-08-05 18:52:34 +02:00
Daniel Gultsch
e10e9942de
changed text selection color
2015-08-05 18:30:49 +02:00
Daniel Gultsch
c617cf6ef8
added Config.java varibale to lock account creation to specfic domain
2015-08-03 22:58:17 +02:00
Daniel Gultsch
9b91d0bf75
sync translations with transifex
2015-08-03 14:04:26 +02:00
Daniel Gultsch
a6bbe4d4ce
lets try jpeg for a while
2015-08-01 23:37:41 +02:00
Daniel Gultsch
2bf30bb296
temporarily renamed new encryption method to 'Multi-End' until a better name has been found
2015-08-01 23:36:59 +02:00
Daniel Gultsch
5529337da3
use content-type in http slot request and stick with during upload
2015-08-01 22:37:17 +02:00
Daniel Gultsch
f9dec7cf86
fixed calculated file size in http slot request
2015-08-01 22:23:58 +02:00
Andreas Straub
6cd9383e53
Let UNTRUSTED/UNDECIDED keys become INACTIVE
2015-08-01 18:30:11 +02:00
Daniel Gultsch
60cd307f73
enable axolotl encryption for jingle supported file transfers
2015-08-01 01:19:16 +02:00
Andreas Straub
6059b96456
Provide process function for key transport message
2015-07-31 23:28:09 +02:00
Andreas Straub
909f761ca1
Refactor axolotl message processing workflow
...
XmppAxolotlMessage is now entirely responsible for handling encryption
and decryption of messages, only leveraging XmppAxolotlSession as a
packing/unpacking primitive for payload keys.
Removed pseudo-dead session generation code step from prepareMessage
function, as sessions have been created by invoking the
TrustKeysActivity for a while now.
Added prepareKeyTransportMessage function, which creates a message with
no payload. The key that is packed into the header keyElements can then
be used for other purposes (e.g. encrypted file transfer).
2015-07-31 21:31:45 +02:00
Andreas Straub
50b14434ee
Reformat code
2015-07-31 21:31:45 +02:00
Andreas Straub
5c421da1e1
Change to new wire protocol version
2015-07-31 21:31:45 +02:00
Daniel Gultsch
26ac7c9030
added missing carbon column message table create statement
...
fixes #1310
2015-07-31 13:08:35 +02:00
Daniel Gultsch
658919f239
improved 'next encryption' selection
2015-07-31 00:52:46 +02:00
Daniel Gultsch
5191e4ce95
removed expert setting to 'force encryption'. merged certifcate and encryption settings into same category
2015-07-31 00:51:30 +02:00
Andreas Straub
74ab36fda2
Fix session logic: enforce same type of encryption
2015-07-30 19:18:09 +02:00
Daniel Gultsch
1ed550b5c5
fixed some colors in message adapter
2015-07-30 12:40:50 +02:00
Daniel Gultsch
58d80f58be
use gcm for file encryption over http
2015-07-29 23:45:37 +02:00
Andreas Straub
b7c64cd19d
Reset lock color for non-axolotl messages
2015-07-29 20:25:14 +02:00
Andreas Straub
2b3bb02261
Highlight selected message's fingerprint in list
2015-07-29 20:21:37 +02:00
Andreas Straub
e07853ea62
Rerender message bubbles on encryption change
2015-07-29 20:10:21 +02:00
Andreas Straub
e6df4d81d2
Tag carbon messages in parser, adapt session logic
...
Messages sent from another device of the own account are now explicitly
tagged as carboned message. The session detection logic now uses this
tag to find "session borders".
2015-07-29 16:41:58 +02:00
Andreas Straub
e10a6c5b87
Fix NPE: consider unknown keys UNDECIDED
2015-07-29 02:59:41 +02:00
Andreas Straub
77920c7aa6
Color plaintext messages in encrypted sessions red
...
Plaintext messages that were received while in an encrypted session are
now colored red. We define "in an encrypted session" if a) the last
message sent by our own device before the message under consideration
(or any message received between then and now) was encrypted AND b) the
next message will be sent encrypted or the next message sent after the
one under consideration was sent encrypted
2015-07-29 02:59:41 +02:00
Andreas Straub
a3991d59c9
Improve trust toggle responsiveness
...
Removed unnecessary UI refreshes, explicitly update UI where needed.
2015-07-29 02:59:41 +02:00
Andreas Straub
efcefc2e63
Refactor out inner classes, cache trust store
...
Moves SQLiteAxolotlStore and XmppAxolotlSession into proper classes.
IdentityKeys trust statuses are now cached in an LruCache to prevent
hammering the database when rendering the UI.
2015-07-29 02:59:26 +02:00
Daniel Gultsch
d9bdce0104
add new received message bubble drawable
2015-07-29 02:01:28 +02:00
Daniel Gultsch
17bc4fb6cd
show http downloaded images in notification
2015-07-29 01:57:08 +02:00
Daniel Gultsch
8f14d2bfbd
removed recursion in message.getMerged*()
2015-07-28 23:00:30 +02:00
Daniel Gultsch
8924c448d1
changed logging. (work around logcat null pointer
2015-07-28 22:26:29 +02:00
Daniel Gultsch
6b8e1ecb95
log reason for message failure
2015-07-28 14:44:11 +02:00
Daniel Gultsch
ff0c114cd6
set time on resend to current time
...
fixes #1298
fixes #919
2015-07-28 12:54:54 +02:00
Daniel Gultsch
9c94c9ad8f
rewrote dns fallback
2015-07-24 19:06:47 +02:00
Daniel Gultsch
e5fae429fa
call refreshUi directly
2015-07-24 14:43:13 +02:00
Daniel Gultsch
c32162c280
switch/case can't deal with null pointers
2015-07-23 14:02:25 +02:00
Daniel Gultsch
cd204d5931
show warning when trying to highlight users that have left the conference
2015-07-22 15:57:17 +02:00
Daniel Gultsch
f7634a85be
treat private, non-anonymous mucs like 1:1 chats notification wise
2015-07-22 15:31:00 +02:00
Andreas Straub
db05d26433
Always build own device session automatically
2015-07-22 15:03:52 +02:00
Daniel Gultsch
9c1c86ed44
add no-store to chat states
2015-07-22 14:17:02 +02:00
Daniel Gultsch
63206e6d4a
use type=chat more often to go along with new, simple carbon and mam rules
...
* change chat states to type=chat and chat markers to type=chat
* use same type as requesting stanza for delivery receipts (which should make them type=chat most of the time)
2015-07-22 14:15:00 +02:00
Daniel Gultsch
a1e63944a2
use 'interactive mode' when starting downloads from the context menu
2015-07-22 12:15:09 +02:00
Andreas Straub
c2813cea29
Hide regenerate keys button
...
Can re-enable it via Config.java setting
2015-07-22 01:00:20 +02:00
Andreas Straub
4c1c2892c7
Disable trust toggle completely for INACTIVE keys
2015-07-22 00:53:54 +02:00
Daniel Gultsch
456d4c8b23
made image file format configurable by Config.java
2015-07-21 23:49:35 +02:00
Daniel Gultsch
d38228f482
fixed npe in error message handling
2015-07-21 19:45:41 +02:00
Daniel Gultsch
f6281a182d
fixed npe in error message handling
2015-07-21 19:44:25 +02:00
Daniel Gultsch
0d679a7abb
decreased saturation of received message bubbles by 25 units
2015-07-21 18:29:24 +02:00
Andreas Straub
92b5081b5e
Add INACTIVE state for removed keys
...
We introduce a new trust state: INACTIVE. This state is intended for
old keys that have been removed.
When a TRUSTED device is removed from the PEP devicelist, it's status
will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed
out, non-interactible key rows. Messages are not encrypted for INACTIVE
devices.
When an INACTIVE device reappears in PEP, or a message is received from
an INACTIVE device, it is set back to trusted.
2015-07-21 14:24:59 +02:00
Andreas Straub
3c5c0c7d3b
Fill own device sessions into SessionMap
2015-07-21 14:24:59 +02:00
Daniel Gultsch
1aeb5874b0
allow for private messages being started from muc details in anonymous mucs
2015-07-21 13:15:59 +02:00
Daniel Gultsch
32f90613a3
and now do that properly
2015-07-21 12:02:15 +02:00
Daniel Gultsch
ffa588ba3e
and now do that properly
2015-07-21 12:01:20 +02:00
Daniel Gultsch
af76ad0144
end otr session when receiving failed otr message warnings
2015-07-21 12:00:01 +02:00
Daniel Gultsch
394486b300
bugfix: also add no-permanent-storage to message hints
2015-07-21 11:59:52 +02:00
Daniel Gultsch
f1ee5cccf0
bugfix: changed condition of onOtrSessionEstablished being called
...
fixed #1263
fixed #1260
fixed #1293
2015-07-21 11:59:30 +02:00
Daniel Gultsch
96f38324f8
pulled new translations from transifex
2015-07-21 11:58:03 +02:00
Daniel Gultsch
5c2720efd0
bugfix: don't crash if aes key could not be set before jingle transfer
2015-07-21 11:55:48 +02:00
Daniel Gultsch
37cbdb8b4e
bugfix: use sendIqPacket method in service instead of invoking XmppConnection directly
2015-07-21 11:55:33 +02:00
Daniel Gultsch
086653b649
bugfix: accept status code 201 on http upload
2015-07-21 11:55:18 +02:00
Daniel Gultsch
87bc9d3a31
end otr session when receiving failed otr message warnings
2015-07-21 11:52:49 +02:00
Daniel Gultsch
a5027104fd
bugfix: also add no-permanent-storage to message hints
2015-07-21 11:50:32 +02:00
Daniel Gultsch
f74ee765a2
bugfix: changed condition of onOtrSessionEstablished being called
...
fixed #1263
fixed #1260
fixed #1293
2015-07-21 11:46:56 +02:00
Daniel Gultsch
74e05023b4
very subtle
2015-07-21 02:21:34 +02:00
Andreas Straub
b7ff2c3461
Use properly fixed numeral values in Trust enum
...
Why, oh God, why?! #thanksjamesgosling
2015-07-21 01:52:22 +02:00
Andreas Straub
639ebd644b
Remove unused import
2015-07-21 01:17:29 +02:00
Andreas Straub
122bc97ce2
Switch payload encryption to AES-GCM
...
This also ensures that the IV is generated with proper randomness.
2015-07-21 01:17:14 +02:00
Andreas Straub
971aa3a11e
Also decrypt messages from UNTRUSTED sessions
2015-07-20 23:16:06 +02:00
Andreas Straub
d2845e9ac1
Refactor axolotl send processing/caching flow
2015-07-20 23:13:28 +02:00
Andreas Straub
8be0e8a27d
Start TrustKeysActivity if no keys are TRUSTED
...
If there are no UNDECIDED keys, but none of the contact's keys are
trusted, redirect the user to the TrustKeysActivity
2015-07-20 22:35:07 +02:00
Andreas Straub
4ee3f330f5
Do not display clear devices button if not online
2015-07-20 22:19:04 +02:00
Andreas Straub
ab2d114bbc
Add purge axolotl key option
...
Can now long-press a key to permanently purge it.
2015-07-20 22:18:24 +02:00
Andreas Straub
0ee64124fe
Fix getNumTrustedKeys
2015-07-20 22:02:54 +02:00
Daniel Gultsch
5ab0d5d1c1
pulled new translations from transifex
2015-07-20 19:13:08 +02:00
Daniel Gultsch
e79f82ca72
attempt to fix the delay problem
2015-07-20 18:11:33 +02:00
Daniel Gultsch
dcf9117451
changed sizes of avatars and padding in new message bubbles
2015-07-20 16:02:18 +02:00
Raphael Pohl
e6cb12dfe4
changed message bubble appearance
2015-07-20 16:02:17 +02:00
Daniel Gultsch
504ef0b72e
rely on refreshUi/refreshUiReal and make sure it is being used everywhere
2015-07-20 15:48:58 +02:00
Daniel Gultsch
8559ca05ab
fixed monospace font and android L
2015-07-20 15:43:28 +02:00
Andreas Straub
aaa8fe8978
Merge branch 'CryptoNextBeta' into development
...
* CryptoNextBeta: (60 commits)
Lock TrustKeys if no trusted keys are available
Optimize imports
Use MD style for key trust toggle switch
Fix set/remove OnUpdateBlocklistListener
Fix axolotl database migration
Remove device list from EditAccount
Add clear devices to overflow menu in EditAccount
Ask for key trust when sending messages
Encrypt files for HTTP upload in encrypted chats
Refactor trust key ui and show in account details
Send correct body for HTTP files
Handle file transmission properly in axolotl
Remove unneccessary code
Fix trust status for outgoing messages
Don't merge messages with different trust statuses
Fix copying of axolotl keys to clipboard
Add refresh icon to v21 theme
Disable Axolotl option if not usable
Show trust status of messages' originating session
Add key trust toggle to ContactDetailsActivity
...
2015-07-20 15:13:14 +02:00
Andreas Straub
19a0ae42d6
Lock TrustKeys if no trusted keys are available
2015-07-20 14:56:41 +02:00
Andreas Straub
012f036840
Optimize imports
2015-07-20 14:26:29 +02:00
Daniel Gultsch
9c91b9036a
don't show 'show contact details' context menu item when contact isn not in roster
2015-07-20 14:24:59 +02:00
Andreas Straub
576330f6a9
Use MD style for key trust toggle switch
2015-07-20 14:14:27 +02:00
Andreas Straub
e9d7d7e12a
Fix set/remove OnUpdateBlocklistListener
2015-07-20 14:12:24 +02:00
Daniel Gultsch
2d2da11bfa
Merge pull request #1289 from kriztan/patch-2
...
show contact details in conference details ...
2015-07-20 13:16:19 +02:00
Andreas Straub
dd964077b9
Fix axolotl database migration
...
Can't call getWritableDatabase in recreateAxolotlDb()
2015-07-20 13:15:49 +02:00
Andreas Straub
2240066bbe
Remove device list from EditAccount
2015-07-19 23:38:09 +02:00
Sam Whited
eea8c28612
Change CAB to accent color in v21
2015-07-19 16:36:24 -05:00
Andreas Straub
480b1cde81
Add clear devices to overflow menu in EditAccount
2015-07-19 23:35:03 +02:00
Andreas Straub
14010bf5a6
Ask for key trust when sending messages
...
If the contact (or the own account) has keys that have UNDECIDED trust,
we now drop the user into the new TrustKeysActivity, where they have to
decide for each new key whether it should be TRUSTED or UNTRUSTED.
2015-07-19 22:27:26 +02:00
Andreas Straub
ec0aff4ed7
Encrypt files for HTTP upload in encrypted chats
2015-07-19 22:24:05 +02:00
Andreas Straub
6f67469bda
Refactor trust key ui and show in account details
...
Refactored the trust key row UI element so it can be used in multiple
places. It now also uses a slider to toggle the trust state, and the
redundant trust state description was removed.
EditAccountActivity now shows the keys of other devices associated with
that account.
2015-07-19 22:24:03 +02:00
Andreas Straub
9c4d55f82c
Send correct body for HTTP files
...
When using HTTP upload to send files, take care to transmit only the URL
rather than the entire body, which contains metadata.
2015-07-19 22:23:28 +02:00
Andreas Straub
2045a71262
Handle file transmission properly in axolotl
2015-07-19 22:23:28 +02:00
Andreas Straub
43703870e8
Remove unneccessary code
2015-07-19 22:23:28 +02:00
Andreas Straub
4038af2f47
Fix trust status for outgoing messages
...
Tag sent messages with own fingerprint, set own fingerprint as always
trusted, include own fingerprint in database trust search, explicitly
reset trust colorfilter
2015-07-19 22:23:28 +02:00
Andreas Straub
e8ec2ee628
Don't merge messages with different trust statuses
2015-07-19 22:23:28 +02:00
Sam Whited
fca0c36757
Fix copying of axolotl keys to clipboard
2015-07-19 22:23:28 +02:00
Sam Whited
3ab59c93a6
Add refresh icon to v21 theme
2015-07-19 22:23:27 +02:00
Andreas Straub
6c38e53128
Disable Axolotl option if not usable
...
In MUCs or if contact is not axolotl capable, disable axolotl menu
option
2015-07-19 22:23:27 +02:00
Andreas Straub
9e8d9a6401
Show trust status of messages' originating session
...
Shade lock icon red if message was received in a session that has not
been marked trusted by the user or fingerprint is unknown
2015-07-19 22:23:27 +02:00
Andreas Straub
3d33946088
Add key trust toggle to ContactDetailsActivity
...
Can now toggle IdentityKey trust
2015-07-19 22:23:27 +02:00
Andreas Straub
35714d3d08
Ensure that available sessions are always used
...
Any time a new session is established, call syncRosterToDisk() to ensure
that on subsequent restoreFromDatabase() calls, the roster is actually
available. This is important so that initAccountServices() can properly
initialize the SessionMap. This prevents a race condition where after
adding a new account and initiating sessions with it, if the app is
killed (e.g. by reinstall) before triggering a syncRosterToDisk(),
subsequent restores will not have the roster available, leading to
missing XmppAxolotlSessions in the SessionMap cache. As a result of
this, a new session was initiated when sending a new message, and
received messages could not be tagged with the originating session's
fingerprint.
As an added sanity check, go to the database to confirm no records are
present before creating fresh XmppAxolotlSession objects (both in the
sending and receiving case).
2015-07-19 22:23:27 +02:00
Andreas Straub
31d375c2c3
Fix setIdentityKeyTrust update statement
2015-07-19 22:23:27 +02:00
Andreas Straub
160e4017df
Fix IdentityKey storage model
...
Added proper UNIQUE statement
2015-07-19 22:23:27 +02:00
Andreas Straub
461d0446f7
Fix and expand key regeneration function
...
Wipe session cache to prevent stale sessions being used. Wipe fetch
status cache to enable recreation of sessions. Regenerate deviceId, so
that foreign devices will talk to us again.
2015-07-19 22:23:27 +02:00
Andreas Straub
23a4e1e6fa
Display trust status in ContactDetailsActivity
2015-07-19 22:23:25 +02:00
Andreas Straub
d173913eba
Overhauled Message tagging
...
Messages are now tagged with the IdentityKey fingerprint of the
originating session. IdentityKeys have one of three trust states:
undecided (default), trusted, and untrusted/not yet trusted.
2015-07-19 22:17:58 +02:00
Andreas Straub
7f918542c8
Postpone initAccountService until roster loaded
...
The AxolotlService depends on the roster being loaded when it is
initialized so that it can fill its in-memory SessionMap.
2015-07-19 22:17:57 +02:00
Andreas Straub
03614a0262
Fix getSubDeviceSessions SQL query
2015-07-19 22:17:57 +02:00
Andreas Straub
2628662a7f
Display axolotl chat message hint
2015-07-19 22:17:57 +02:00
Andreas Straub
f1d73b9d4e
Use full int range for device IDs
2015-07-19 22:17:57 +02:00
Andreas Straub
540faeb54b
Clean up unused constant
2015-07-19 22:17:57 +02:00
Andreas Straub
bd29653a20
Make some fields final
2015-07-19 22:17:57 +02:00
Andreas Straub
3458f5bb91
Clean up logging
...
Add a fixed prefix to axolotl-related log messages, set log levels
sensibly.
2015-07-19 22:17:57 +02:00
Andreas Straub
7049904c32
Add basic PEP managemend UI to EditAccountActivity
...
EditAccountActivity now show own fingerprint, and gives an option to
regenerate local keying material (and wipe all sessions associated with
the old keys in the process).
It also now displays a list of other own devices, and gives an option to
remove all but the current device.
2015-07-19 22:17:55 +02:00
Christian S
37b214a8a8
show contact details in conference details ...
2015-07-19 22:11:51 +02:00
Andreas Straub
968410ae33
Fix devicelist update handling
...
No longer store own device ID (so that we don't encrypt messages for
ourselves), verify that own device ID is present in update list
(otherwise republish), reflect update in UI.
2015-07-19 21:32:27 +02:00
Andreas Straub
7a962e5180
Refactor axolotl database recreation
2015-07-19 21:32:27 +02:00
Andreas Straub
8fd46d40d6
Adapt prettifyFingerprint() to axolotl FP sizes
2015-07-19 21:32:27 +02:00
Andreas Straub
491f623708
Fix displaying Contact IdentityKeys
...
Migrate ContactDetailsActivity to use new SQL IdentityKeys storage,
remove dead code from Contact class.
2015-07-19 21:32:27 +02:00
Andreas Straub
0cf64857cf
Only cache session if successfully established
...
When receiving a message, only remember the XmppAxolotlSession wrapper
if the prospective session was actually established. This prevents us
from erroneously adding empty sessions that are never established using
received PreKeyWhisperMessages, which would lead to errors if we try to
use them for sending.
2015-07-19 21:32:27 +02:00
Andreas Straub
6867b5c3ab
Return empty set on invalid PEP devicelist
2015-07-19 21:32:27 +02:00
Andreas Straub
25450bf6d3
Trust all IdentityKeys
...
The trust-on-first-use policy leads to problems when receiving messages
from two different devices of a contact before sending a message to them
(as their IdentityKeys will not have been added yet). Since session
trust will be managed externally anyway, this change is not a security
problem, and will allow us to decrypt messages from yet-untrusted
sessions.
2015-07-19 21:32:27 +02:00
Andreas Straub
bf4185ac08
Refresh PEP on session establish
...
We now track preKeys used to establish incoming sessions with us. On
each new established session, we remove the used prekey from PEP. We
have to do this because libaxolotl-java internally clears the used
preKey from its storage, so we will not be able to establish any future
sessions using that key.
2015-07-19 21:32:27 +02:00
Andreas Straub
69600502d2
Fix asynchronous axolotl message sending
...
XmppConnectionService.sendMessage() now dispatches messages to the
AxolotlService, where they only are prepared for sending and cached.
AxolotlService now triggers a XmppConnectionService.resendMessage(),
which then handles sending the cached message packet.
This transparently fixes, e.g., handling of messages sent while we are
offline.
2015-07-19 21:32:27 +02:00
Andreas Straub
ec6870307e
Properly track message sender
...
Previously, the sender was assumed to be the conversation counterpart.
This broke carboned own-device messages. We now track the sender
properly, and also set the status (sent by one of the own devices vs
received from the counterpart) accordingly.
2015-07-19 21:32:27 +02:00
Andreas Straub
18c1e15d00
Rework PEP content verification
...
Now checks which part(s) are out of sync w/ local storage, and updates
only those, rather than assuming the entire node corrupt and
overwriting it all (especially relevant for preKey list)
2015-07-19 21:32:27 +02:00
Andreas Straub
9a0232f7e7
Formatting fixes
2015-07-19 21:32:27 +02:00
Andreas Straub
992cf5652e
When receiving, add mock session if none exists
...
We need a session object in order to build a session from a
PreKeyWhisperMessage, so add an empty one when none exists on receiving
a message.
Warning: this will break right now if the session can not be constructed
from the received message.There will be an invalid session which will
break if we try to send using it.
2015-07-19 21:32:26 +02:00
Andreas Straub
1b0596d574
Tag messages with originating session
...
This can be used later in order to display trust status of messages, as
well as for potential resending of messages in case of preKey conflicts.
2015-07-19 21:32:26 +02:00
Andreas Straub
3815d4efa3
Fetch bundles on-demand, encrypt in background
...
Bundles are now fetched on demand when a session needs to be
established. This should lessen the chance of changes to the bundles
occuring before they're used, as well as lessen the load of fetching
bundles.
Also, the message encryption is now done in a background thread, as this
can be somewhat costly if many sessions are present. This is probably
not going to be an issue in real use, but it's good practice anyway.
2015-07-19 21:32:26 +02:00
Andreas Straub
cb7980c65e
Use bareJid for own session retrieval
2015-07-19 21:32:26 +02:00
Andreas Straub
c1d23b2395
Migrate to new PEP layout
...
Merge prekeys into bundle node
2015-07-19 21:32:26 +02:00
Andreas Straub
6492801b89
Formatting fixes
2015-07-19 21:32:26 +02:00
Andreas Straub
74026b742b
Save IdentityKeys in database
2015-07-19 21:32:26 +02:00
Andreas Straub
9e07fc5651
DatabaseBackend bugfixes
...
Don't leak cursors, initially create tables
2015-07-19 21:32:26 +02:00
Andreas Straub
299bbdf27f
Reformat code to use tabs
...
This really sucks to do it like this. Sorry. :(
2015-07-19 21:32:26 +02:00
Andreas Straub
065519d3f3
Added axolotl activation code to UI
2015-07-19 21:32:26 +02:00
Andreas Straub
77619b55e4
Added PEP and message protocol layers
...
Can now fetch/retrieve from PEP, as well as encode/decode messages
2015-07-19 21:32:26 +02:00
Andreas Straub
f73aa1a200
Reworked axolotl protocol layer
...
Numerous fixes
2015-07-19 21:32:25 +02:00
Andreas Straub
077932eb55
CryptoNext Menu entries added
2015-07-19 21:32:25 +02:00
Andreas Straub
b8048a5538
CryptoNext persistance layer mockup
...
Initial sketch of the peripheral storage infrastructure for the new
axolotl-based encryption scheme.
2015-07-19 21:32:21 +02:00
Daniel Gultsch
9b70c7e68c
bugfix: don't crash if aes key could not be set before jingle transfer
2015-07-19 14:51:04 +02:00
Daniel Gultsch
5c017e5186
bugfix: use sendIqPacket method in service instead of invoking XmppConnection directly
2015-07-19 14:25:30 +02:00
Daniel Gultsch
0166ced46c
bugfix: accept status code 201 on http upload
2015-07-19 13:36:02 +02:00
Daniel Gultsch
f58b2afcaa
changed switch widget
2015-07-18 19:38:52 +02:00
Daniel Gultsch
15b880f3a1
pulled translations
2015-07-18 00:02:13 +02:00
Daniel Gultsch
ce527c8b76
account for downloaded http files in dup checker
2015-07-18 00:01:34 +02:00
Daniel Gultsch
aa1b9de20c
code cleanup
2015-07-17 23:58:53 +02:00
Daniel Gultsch
c3584a6db7
fixed inactive http download
2015-07-17 23:58:33 +02:00
Daniel Gultsch
13cce172ab
show error message in account details when info has not been edited
2015-07-17 13:14:24 +02:00
Daniel Gultsch
1f43115544
increased ibb block size
2015-07-17 13:06:51 +02:00
Daniel Gultsch
4f62793a67
version bump to 1.5.0-beta.2
2015-07-16 14:27:36 +02:00
Daniel Gultsch
425f0479a8
even less jumpy
2015-07-16 14:06:54 +02:00
Daniel Gultsch
6a329c7465
fixed some ux glitches in editaccount
2015-07-16 13:42:52 +02:00
Daniel Gultsch
babbd389f6
removed empty translation file
2015-07-16 13:29:59 +02:00
Daniel Gultsch
7bd66549d8
made 'check image on http host' message more generic. fixed #1281
2015-07-16 13:25:52 +02:00
Daniel Gultsch
b477b8f57b
fixed some npes
2015-07-16 13:14:51 +02:00
Daniel Gultsch
b525b42e59
fixed crash on invalid muc bookmarks
2015-07-15 17:42:08 +02:00
Daniel Gultsch
ffffca10f0
renamed colors
2015-07-13 12:55:13 +02:00
Daniel Gultsch
84bfe8c721
catch exception on broken android phones
2015-07-12 20:17:12 +02:00
Daniel Gultsch
558d065d48
made lock button reflect encryption status of the next messages instead of the last
2015-07-12 17:59:22 +02:00
Daniel Gultsch
58bc4cba06
only try to change affilations for known jids
2015-07-11 21:24:51 +02:00
Daniel Gultsch
4274fe90ac
try to catch weird npe in android sdk
2015-07-11 21:24:30 +02:00
Daniel Gultsch
5dd83a5fe6
null check otr fingerprint before display
2015-07-11 21:23:58 +02:00
Daniel Gultsch
78aff1329f
renamed HttpConnection to HttpDownloadConnection
2015-07-10 15:14:13 +02:00
Daniel Gultsch
ce79f4bbe3
renamed downloadable to transferable
2015-07-10 15:11:03 +02:00
Daniel Gultsch
925801c14e
get file upload ready to work with https
2015-07-10 14:14:45 +02:00
Daniel Gultsch
0f5c87ca1f
display toast in ui on failed http download
...
fixes #954
2015-07-10 13:28:50 +02:00
Daniel Gultsch
b02ef0c62f
show timestamp on images in mucs
...
fixes #1178
2015-07-10 12:42:41 +02:00
Daniel Gultsch
492e387482
added null check in sasl response verifier
2015-07-10 12:16:30 +02:00
Daniel Gultsch
7eac30d1f4
catch number format exception in server ack
2015-07-10 12:09:59 +02:00
Daniel Gultsch
26044ca229
print stack trace instead of writing error message to log in case of unknown exception in dnsutil
2015-07-09 13:40:08 +02:00
Daniel Gultsch
ef1429c9a6
show contacts name in non anonymous mucs. fixes #1213
2015-07-05 18:10:18 +02:00
Daniel Gultsch
bef731a3c8
refactored sendMessage and merged with resendMessage
2015-07-05 11:59:38 +02:00
Daniel Gultsch
2fbeb0bbb2
make sure unread count is initialized as 0. fixes #1270
2015-07-03 22:08:23 +02:00
Daniel Gultsch
d30fb6f0a1
avoid very rare npe
2015-07-03 21:32:46 +02:00
Daniel Gultsch
1c86098f3b
Merge branch 'master' into development
2015-07-03 13:09:05 +02:00
Daniel Gultsch
fc47969741
added fallback for non-srv dns queries
2015-07-03 13:07:48 +02:00
Daniel Gultsch
c745fbb562
fixed share with activity to account for http file upload
2015-07-02 23:51:59 +02:00
Daniel Gultsch
e4d1bd415d
also offer http download for some 'well known extensions'
2015-07-02 23:19:50 +02:00
Daniel Gultsch
f5ba9d4223
refactored message context menu
2015-07-02 23:13:00 +02:00
Daniel Gultsch
a2525346f4
moved null check for to and from in message parser
2015-07-02 18:02:32 +02:00
Daniel Gultsch
c20a088ea8
changed mime type handling
2015-07-01 16:01:18 +02:00
Daniel Gultsch
c36238141d
disable automatic aes encryption for the time being
2015-06-30 20:19:18 +02:00
Daniel Gultsch
9190e03076
changed namespace of the http upload feature
2015-06-30 20:11:50 +02:00
Daniel Gultsch
aca9d8036c
made httpconnection (download) ready all kind of files
2015-06-30 17:15:02 +02:00
Daniel Gultsch
6af97c724c
made storage path decision entirely based upon file extension
2015-06-30 14:04:39 +02:00
Daniel Gultsch
d7de311379
refactored bodyContainsDownloadable to be more flexible
2015-06-30 13:52:53 +02:00
Daniel Gultsch
5b42b392a1
always show copy original url in context menu when url is available
2015-06-30 13:01:04 +02:00
Daniel Gultsch
0030bbf472
untested pgp support for http upload
2015-06-29 15:38:16 +02:00
Daniel Gultsch
fdd46f1c91
added trigger to Config.java to always enable aes encryption for uploaded files
2015-06-29 15:21:41 +02:00
Daniel Gultsch
82714dedfe
make quick actions available in conferences when file attachment is available
2015-06-29 15:21:41 +02:00
Daniel Gultsch
7e11570f2c
show attach button in conferences when http upload is available
2015-06-29 15:21:41 +02:00
Daniel Gultsch
9eb9a52205
initial http upload support
...
be careful: little error handling and no encryption
2015-06-29 15:21:41 +02:00
Daniel Gultsch
0d01e51da5
don't parse body from muc status messages
2015-06-28 22:14:40 +02:00
Daniel Gultsch
46595b6d43
fixed parsing of muc status messages in new message parser
2015-06-28 20:11:28 +02:00
Daniel Gultsch
3578263686
pulled new translations from transifex
2015-06-23 12:19:33 +02:00
Daniel Gultsch
5a48afdd4d
don't perform dns lookups on domain parts that obviously look like ip addresses
2015-06-19 16:25:08 +02:00
Daniel Gultsch
58201b4408
changed paragraph divider
2015-06-10 03:30:17 +02:00
Daniel Gultsch
0ea83832cd
pulled new translations from transifex
2015-06-10 03:29:52 +02:00
Daniel Gultsch
9d1e8205a2
made i/o and memory intensive operations execute in serial order
2015-06-05 08:46:06 +02:00
Daniel Gultsch
a4e9f0c9c0
fixed obvious bug in dns helper
2015-06-04 16:26:51 +02:00
Daniel Gultsch
8f07e4c441
streamlined dns helper by ignoring weight
2015-06-04 02:48:07 +02:00
Daniel Gultsch
6b794eca2c
send_received muc messages will mark a conversation a read
2015-06-04 02:47:24 +02:00
Daniel Gultsch
53e8964dc1
reworked handeling of system contacts
2015-06-03 14:05:54 +02:00
Daniel Gultsch
3eab3291de
properly calculate remaining size. should fix #1243
2015-06-03 03:05:20 +02:00
Daniel Gultsch
b40922d747
upgrade build tools
2015-06-02 14:10:49 +02:00
Daniel Gultsch
fe1cff016f
avoid unnessary muc mam queries when message count is 0 after subject
2015-06-02 13:33:20 +02:00
Daniel Gultsch
8ac933be9f
fixed more edge cases in muc message parser
2015-06-02 12:21:35 +02:00
Daniel Gultsch
df86b0fc47
improved compatibility with muc components that change the message id
2015-06-02 06:23:32 +02:00
Daniel Gultsch
a577ec7c31
let dns library take care of no-srv style hosts as well
2015-05-28 17:31:46 +02:00
Daniel Gultsch
5373956e19
use dns library to resolve missing ipv6 or ipv4 addresses
2015-05-28 16:55:48 +02:00
Daniel Gultsch
165965bb83
parse nick and avatar only from available presences to avoid potential error reflection
2015-05-27 11:44:44 +02:00
Daniel Gultsch
0f6f6adca0
removed unnecessary / inacurate debug logging
2015-05-26 13:04:22 +02:00
Daniel Gultsch
402e5363d1
deduplicate private muc messages
2015-05-26 12:00:55 +02:00
Daniel Gultsch
6059ed4738
update unread count badge only when necessary
2015-05-26 12:00:38 +02:00
Daniel Gultsch
9debf8037b
added default iq handler to print some iq error messages
2015-05-26 11:31:33 +02:00
Daniel Gultsch
a423fc04fa
pulled translations from transifex
2015-05-26 11:09:17 +02:00
Daniel Gultsch
997b11dbec
added choose picture as another quick action. fixes #1221
2015-05-26 05:34:58 +02:00
Daniel Gultsch
dc91ff8f29
renamed OtrEngine to OtrService
2015-05-26 04:36:32 +02:00
Daniel Gultsch
f579602456
Merge branch 'master' into development
2015-05-25 11:15:14 +02:00
Daniel Gultsch
36034815ee
use same sm check inside xmppconnection and out
2015-05-25 04:54:11 +02:00
Daniel Gultsch
a535d45ec3
log connection age and reshedule ping check
2015-05-25 04:49:36 +02:00
Daniel Gultsch
9d1a8c607f
Merge branch 'development' of github.com:siacs/Conversations into development
2015-05-21 09:19:56 +02:00
Daniel Gultsch
75977818ea
Merge branch 'master' into development
2015-05-21 09:19:26 +02:00
Daniel Gultsch
3cdac228f9
fixed with attaching wrong files when returning to activity and background service is still alive
2015-05-21 05:21:22 +02:00
Daniel Gultsch
d908b70340
Merge pull request #1212 from emdete/add_jid_to_show_location
...
fix to detect the sender jid correctly
2015-05-20 18:31:18 +02:00
M. Dietrich
4759607a77
fix to detect the sender jid correctly
2015-05-20 15:45:08 +02:00
Daniel Gultsch
bb065680e5
Merge pull request #1211 from emdete/add_jid_to_show_location
...
add extra jid to intend "show location"
2015-05-20 12:48:03 +02:00
Daniel Gultsch
2364710afb
added ShortcutBadger as a dependency to create unread counts on launcher icon
2015-05-20 12:47:04 +02:00
Daniel Gultsch
a4ec7a7df1
pulled translations from transifex
2015-05-20 12:26:38 +02:00
M. Dietrich
78847d0749
add extra jid to intend "show location"
2015-05-20 11:37:10 +02:00
Daniel Gultsch
70ebe35ffe
Merge branch 'master' into development
2015-05-20 08:25:42 +02:00
Daniel Gultsch
8064832dca
don't allow user to accidentally send empty messages
2015-05-20 08:25:00 +02:00
Daniel Gultsch
201bc158bd
proper error parsing. some clean up
2015-05-20 03:48:14 +02:00
Daniel Gultsch
9658146575
fixed npe in new message parser
2015-05-20 03:48:14 +02:00
Daniel Gultsch
1b5631c835
fixed muc mam. added a few security checks
2015-05-20 03:48:14 +02:00
Daniel Gultsch
eeebebe32a
fixed read/unread markers
2015-05-20 03:48:14 +02:00
Daniel Gultsch
b731995a51
added mam stuff to new message parser
2015-05-20 03:48:14 +02:00
Daniel Gultsch
d261feda74
rewrote parser code. mam id and possible other stuff still missing. also massivly untested
2015-05-20 03:48:14 +02:00
Daniel Gultsch
e32f380dae
provide helper function for getting the content of a child directly
2015-05-20 03:48:14 +02:00
Daniel Gultsch
73a4ffefdf
added fall back package id for voice recorder plugin
2015-05-20 03:27:52 +02:00
Daniel Gultsch
bb60364488
hide block contact from context menu when server feature is not available fixed #1207
2015-05-19 08:31:56 +02:00
Daniel Gultsch
a0575c81ab
use same socket time out for jingle and xmpp connections
2015-05-18 08:48:08 +02:00
Daniel Gultsch
1446a59fa5
use a 20s timeout on socks5 connections
2015-05-18 08:46:04 +02:00
Daniel Gultsch
fbc43a8d38
don't offer initiator his own candidates
2015-05-18 08:45:50 +02:00
Daniel Gultsch
d672d578c9
fixed crash on failed account registry
2015-05-17 12:32:04 +02:00
Daniel Gultsch
fce30f22c9
made white space check in bodyContainsDownloadable less aggresive
2015-05-16 12:49:04 +02:00
Daniel Gultsch
b4a8984b18
pulled new translations from transifex
2015-05-16 10:19:05 +02:00
Daniel Gultsch
4151b72a6e
let jingle connection and manager handle message status
2015-05-16 04:12:53 +02:00
Daniel Gultsch
b6a7e56bf6
call StartConversationActivity in init mode only after adding the first account
2015-05-15 13:58:11 +02:00
Andreas Straub
b69ee7125d
Force Nameprepping of JID domain parts
...
The IDN.toAscii()/IDN.toUnicode() family only namepreps the original
domain passed to it if it contained non-ASCII characters. This means
that for all-ASCII domains, no canonicalization is performed, which
leads to issues like case-sensitivity. This workaround explicitly
namepreps domain parts before calling IDN.toAscii() on them, in order to
get a canonicalized representation (most notably, case invariance). A
basic DB migration is also included.
2015-05-14 15:52:55 +02:00
Daniel Gultsch
8dfa701043
added a few location questions
2015-05-14 12:08:43 +02:00
Daniel Gultsch
8d472157a4
always log reason for failed file transfer
2015-05-14 11:57:51 +02:00
Daniel Gultsch
4414cf3b27
ignore question marks in location question
2015-05-13 17:10:11 +02:00
Daniel Gultsch
82878cded1
show location quick action after receiving a question about the users location
2015-05-13 16:23:20 +02:00
Daniel Gultsch
6489ddac6c
clear avatar cache when uploading new avatar
2015-05-13 14:33:52 +02:00
Daniel Gultsch
51aeeb766c
use zero width white space as message seperator
2015-05-13 11:56:59 +02:00
Daniel Gultsch
93e620d685
removed debug logging
2015-05-12 04:40:57 +02:00
Daniel Gultsch
d3a6aa9f7a
handle conference invites differently to deal with killed activities. fixes #1188
2015-05-12 04:33:04 +02:00
Daniel Gultsch
93e444ac3a
don't set unknown error in muc
2015-05-12 03:57:05 +02:00
Daniel Gultsch
fe5c4cab46
don't reinit conversation when coming back to activity. avoids unnecessary scrolling
2015-05-12 03:56:13 +02:00
Daniel Gultsch
ceadf2f6fb
pulled updated translations from transifex
2015-05-11 14:28:36 +02:00
Daniel Gultsch
b6f85ba0dd
avoid using paragraph style breaks by accident
2015-05-11 14:18:30 +02:00
Daniel Gultsch
9156665add
increased space between merged messages a bit
2015-05-11 09:20:08 +02:00
Daniel Gultsch
53e43daa0d
add a little bit of space between merged messages.
2015-05-11 09:08:56 +02:00
Daniel Gultsch
21deda7b00
no font padding on red hearts
2015-05-11 08:45:38 +02:00
Daniel Gultsch
22b12091a1
rewrote parts of message adapter to avoid using NULL views
2015-05-11 07:57:52 +02:00
Daniel Gultsch
239e86a98a
optimized heart render code a bit
2015-05-10 12:04:11 +02:00
Daniel Gultsch
33d1621e3b
added white heart to new rendering as well
2015-05-10 11:56:23 +02:00
Daniel Gultsch
e6d336c293
Merge branch 'development' of github.com:siacs/Conversations into development
2015-05-10 11:45:01 +02:00
Daniel Gultsch
1e28f60038
changed conversation red to material red
2015-05-10 03:14:13 +02:00
Daniel Gultsch
4c486f5e58
paint single unicode hearts as red and slightly larger
2015-05-10 03:12:44 +02:00
Andreas Shimokawa
9e78e3e09d
only forward incoming chat messages to Pebble App and Gadgetbridge
2015-05-08 21:36:20 +02:00
Daniel Gultsch
d9e5035c08
config option to reset attempt counts when changing network (default=true)
2015-05-08 06:50:28 +02:00
Daniel Gultsch
c4a4dd2392
throw proper exception before changing account into error state
2015-05-08 06:30:06 +02:00
Daniel Gultsch
e0653c0371
fixed encrypted ibb file transfer which was broken with ART. fixes #1172
2015-05-07 14:19:51 +02:00
Daniel Gultsch
05f0aa614f
fixed npe when binval value of vcard avatar is null
2015-05-07 11:07:15 +02:00
Daniel Gultsch
d74e8a8a0e
fixed npe when missing instructions on failed register
2015-05-06 04:33:21 +02:00
Daniel Gultsch
db726a59b8
fwiw don't allow stanza count to go over MAX_INT
2015-05-06 04:29:45 +02:00
Daniel Gultsch
b7c672e10e
avoid fetching avatars multiple times in parallel
2015-05-05 10:29:41 +02:00
Daniel Gultsch
5136bf9832
r/o support for vcard avatars. pep avatars will be prefered
2015-05-05 06:17:34 +02:00
Daniel Gultsch
e6aa604ade
enabled sm logging by default at least for development branch
2015-05-05 06:10:47 +02:00
Daniel Gultsch
61fd5d6696
clean up in attachment chooser code. fixed #1168
2015-05-04 09:54:10 +02:00
Daniel Gultsch
2582ece210
open market if share location plugin isn't installed
2015-05-04 04:38:12 +02:00
Alexander Groshev
d15da64c5d
Fix typos in URL to the project
2015-05-03 20:53:27 +03:00
Daniel Gultsch
43db9cdf4b
turn send button in cancel button while in whisper mode
2015-05-03 09:30:30 +02:00
Daniel Gultsch
c4bfffe6a9
mark account with incompatible server when no sasl mechansim could be found
2015-05-02 12:10:56 +02:00
Daniel Gultsch
53fea9e1fe
replace send button with quick action button as long as no text has been entered
2015-05-02 11:38:56 +02:00
Daniel Gultsch
e1fab8a488
pulled translations from transifex
2015-05-01 13:52:19 +02:00
Daniel Gultsch
bcdfdb9ccf
added config option to be a bit more verbose about stanza counts
2015-04-29 16:15:07 +02:00
Daniel Gultsch
f0d51fcb77
pulled translations from transifex
2015-04-29 10:19:03 +02:00
Daniel Gultsch
6a15bc26b6
npe check after reading image uri
2015-04-28 22:23:45 +02:00
Daniel Gultsch
d94c231a74
adjust dimens slightly to work with v21+ (v21 doesn't count the navigation bar)
2015-04-28 16:25:32 +02:00
Daniel Gultsch
92d14c4a00
increased padding on image buttons on v21 to match material guidelines
2015-04-28 14:46:52 +02:00
Daniel Gultsch
93e942f96d
made material icons smaller (24dp)
2015-04-28 14:28:51 +02:00
Daniel Gultsch
f3805b8bab
stop conference details from crashing when rotating the screen
2015-04-28 13:56:08 +02:00
Daniel Gultsch
51bf8ec98e
fixed npe when rotating screen in contact details activity
2015-04-28 13:31:33 +02:00
Daniel Gultsch
b1843fb61a
print stack trace on io error
2015-04-28 09:35:10 +02:00
Daniel Gultsch
b10b8e2c50
escape nick in highlight regex pattern
2015-04-28 09:32:58 +02:00
Daniel Gultsch
f8e06d8e9a
revert undo timeout to a more reasonable value
2015-04-28 09:25:58 +02:00
Daniel Gultsch
a4ff8e3633
increased padding around switches in manage accounts
2015-04-27 12:19:05 +02:00
Daniel Gultsch
4caa92e8ff
handle returning from camera without picture
2015-04-27 12:18:27 +02:00
Daniel Gultsch
e11d658f5e
use xmppserviceconnection to send iq packets in jingle connection
2015-04-26 20:27:30 +02:00
Daniel Gultsch
c283fec0d1
hard code bitmap configs
2015-04-26 20:26:59 +02:00
Daniel Gultsch
7f2a83a684
pulled translations from transifex
2015-04-26 10:48:36 +02:00
Daniel Gultsch
0fda254d48
Merge pull request #1135 from BrianBlade/manage_certificates
...
Add option to remove manually approved certificates
2015-04-25 19:09:50 +02:00
Daniel Gultsch
5ea1c547d5
fixed service discovery by properly storing and checking identities
2015-04-25 18:24:10 +02:00
Daniel Gultsch
82daf849aa
fixed #1039
2015-04-25 14:42:32 +02:00
Daniel Gultsch
77caf73103
Merge pull request #1146 from BrianBlade/minor_otr_tweaks
...
OTR: Fix onContactStatusChanged & dont archive OTR
2015-04-25 14:09:38 +02:00
Daniel Gultsch
d07baccf97
cleaned up file handling
2015-04-25 14:08:24 +02:00
Daniel Gultsch
5e1492fbff
send invite to other instanzes after creating ad hoc conference. fixes #1136
2015-04-23 17:37:47 +02:00
BrianBlade
d6443d9b2f
OTR: Fix onContactStatusChanged & dont archive OTR
...
- Fix session handling on contact status change: Do not reset
potentially active sessions; check peer's OTR-resource on disconnect
- use no-permanent-store hint instead of no-store to ensure
finished messages are delivered to offline/disconnected clients
- add no-permanent-store to ask compliant servers not to archive
OTR messages
2015-04-21 22:35:35 +02:00
Daniel Gultsch
3a627f72fb
fixed direct invites
2015-04-21 18:36:11 +02:00
Daniel Gultsch
e9783b80d1
added missing translations from transifex
2015-04-21 10:13:28 +02:00
Daniel Gultsch
e7972d3d11
pulled latest translations from transifex
2015-04-20 20:32:50 +02:00
Daniel Gultsch
5d7e1159f5
always hide pgp snackbar after decrypting a message. fixes #1075
2015-04-20 12:13:47 +02:00
Daniel Gultsch
127b7866f0
removed some dead code
2015-04-20 11:49:44 +02:00
Daniel Gultsch
d2c9bf31cd
fixed weird touch on snackbar switched conversation bug
...
when touching the border of the snackbar or more precisely the space between the input field and the snackbar Conversations would switch into a random conversation for yet unknown reasons.
2015-04-20 11:39:38 +02:00
Daniel Gultsch
9e20a4936e
some code clean up to fix some rare NPE’s
2015-04-19 19:11:32 +02:00
BrianBlade
da367dd752
Add option to remove manually approved certificates
...
- "Remove certificates" option brings up a dialog that allows
to delete certificates from MemorizingTrustManager's keystore
- Reconnect active accounts when certificate-settings are changed
- new preference category "Certificate options"
2015-04-19 18:08:13 +02:00
iNPUTmice
570a22206d
increased undo delay
2015-04-17 20:01:09 +02:00
iNPUTmice
c4daa08170
fixed a bug in DNS helper code. fixes #1130
2015-04-16 21:56:03 +02:00
iNPUTmice
65e760aefd
some bug fixes concerning 0byte files. fixes #1126
2015-04-15 15:36:16 +02:00
iNPUTmice
f99e234b88
maintain state when rotating settings activity
2015-04-14 15:53:50 +02:00
iNPUTmice
defb127d6e
Merge branch 'dont_trust_cas_preference' of https://github.com/BrianBlade/Conversations into BrianBlade-dont_trust_cas_preference
...
Conflicts:
src/main/res/values-de/strings.xml
src/main/res/values/strings.xml
2015-04-14 15:17:06 +02:00
iNPUTmice
261b505f06
always show save button when account info was modified. fixes #918
2015-04-14 15:00:49 +02:00
iNPUTmice
2f24b09309
fixed disable account when sliding and not clicking the toggle
2015-04-13 18:19:40 +02:00
iNPUTmice
62faa163f0
fixed typos
2015-04-13 18:18:25 +02:00
Daniel Gultsch
8486f47dd9
Merge pull request #1123 from lookshe/development
...
Bugfix for issue #1121
2015-04-13 17:57:33 +02:00
iNPUTmice
4bf09bc10b
shut up linter
2015-04-13 17:35:20 +02:00
lookshe
6da77bdf3b
Bugfix for issue #1121
...
check with lowercase to also match JPEG, JPeg ...
changed image url in comment
2015-04-13 16:21:00 +02:00
iNPUTmice
85cb1e4a37
Maintain private chat on MUC. fixes #1097
2015-04-13 16:00:04 +02:00
iNPUTmice
845b39cdcc
fixed regression where the selected conversation wasn't highlighted anymore on tabled layout
2015-04-13 15:59:18 +02:00
BrianBlade
878066ca99
Add option to use MTM without default TrustManager
...
Add a new "Don't trust system CAs" preference under advanced options
that will change the behaviour of the MemorizingTrustManager. All
formerly unknown certificates will raise a warning if checked.
2015-04-11 15:13:42 +02:00
iNPUTmice
37d08276a8
allow sharing multiple images at once. fixes #1090
2015-04-11 14:53:10 +02:00
iNPUTmice
332fe0fd19
don't resume old session when changing resource
2015-04-09 12:46:54 +02:00
BrianBlade
dace8ba3d3
Enable end-conversation by swipe gesture
...
Add EnhancedListView library de.timroes.android:EnhancedListView:0.3.4
to enable swipe-out for ListViews
Re-enable selectableItemBackground
Dont end selectedConversation on swipe
Call mConversationFragment.reinit() instead.
Add separate undo string for swipe MUC.
Add blacklistedConversation for undo swipe
Update title_undo_swipe_* strings
Fix undo(), rename blacklistedConversation
Fix discardUndo(); re-init selectedConversation
maintain scroll position after undo
clear notification when dismissing a conversation
modified / simplified maintain scroll position code
simplify handling of selectedConversation
change undo_muc string, remove notifyDataSetChanged()
2015-04-08 23:29:52 +02:00
Daniel Gultsch
59ea143147
Merge pull request #1099 from BrianBlade/fix_otr_error_msgs
...
Fix OTR-Error messages (#1021 )
2015-04-02 11:11:22 +02:00
iNPUTmice
b7b87e1a8d
do not overlap account title and switch
2015-04-01 23:45:46 +02:00
iNPUTmice
cb29c5bb15
Merge branch 'account_state_switch' of https://github.com/BrianBlade/Conversations into BrianBlade-account_state_switch
2015-04-01 23:24:35 +02:00
Daniel Gultsch
1a376cacac
Merge pull request #1076 from rk4an/patch-1
...
Update french translation
2015-04-01 20:30:00 +02:00
iNPUTmice
64d6a2970e
pulled translations from transifex
2015-04-01 20:26:28 +02:00
BrianBlade
db74cb52c4
Fix OTR-Error messages
...
Send out OTR-Errors on unreadableMessageReceived() as well, not only on
messageFromAnotherInstanceReceived
2015-04-01 20:03:09 +02:00
BrianBlade
e64049c4fc
Add toggle account-state switch
...
Add a switch to AccountAdapter that allows self-contained enabling/disabling of
accounts without the need to bring up the context-menu
2015-04-01 12:47:59 +02:00
Erkan
2a73173176
Update french translation
2015-03-22 20:09:53 +01:00
iNPUTmice
ad8f1902d1
pulled translations
2015-03-22 18:56:28 +01:00
iNPUTmice
c47d1e83c1
properly set chat states when receiving otr status messages
2015-03-21 16:43:03 +01:00
iNPUTmice
99b2ef7e9d
respond to unreadable OTR messages with error message. fixed #1021
2015-03-21 16:07:17 +01:00
iNPUTmice
da099e5fa4
wait for session iq to return sucessfully before sending other stanzas. fixed #1017
2015-03-20 21:48:45 +01:00
iNPUTmice
442ae12ee5
don't update presence for muc messages
2015-03-19 19:40:24 +01:00
iNPUTmice
0d6475d0d9
pulled more translations
2015-03-19 19:32:24 +01:00
Daniel Gultsch
382bcc4cb5
Merge pull request #1042 from BrianBlade/FIXES_muc-dlrs_muc-lastseen
...
add delivery receipts for private muc msgs & enable update last-seen for muc-msgs
2015-03-19 18:47:33 +01:00
BrianBlade
1c600fefcf
# add delivery receipts for private muc msgs
...
# enable update last-seen for muc-msgs
2015-03-18 21:49:41 +01:00
Daniel Gultsch
a13c59fa1b
Merge pull request #1043 from strb/choose_contact_multiple_squashed
...
Added multiple select to Choose Contact Activity (squashed)
2015-03-18 17:36:23 +01:00
Andreas Straub
f76baa5658
Added multiple select to Choose Contact Activity
...
When passing the Choose Contact Activity a boolean called "multiple"
set to true, it now allows the user to select multiple contacts. Long
pressing a contact enters multiple selection mode and the selection is
confirmed using a button in the CAB. The Activity returns whether or not
multiple contacts were selected using the same boolean. If multiple
contacts were selected, an array of JID strings called "contacts" is
returned. The Choose Contact Activity now also honors "filter_contacts",
an array of strings containing JIDs that should not be displayed in
the picker.
The invite to conference dialog now uses this feature to enable inviting
multiple contacts at once. Additionally, Invite Contact uses
"filter_contacts" to only display contacts that are not yet
participating in the conversation
2015-03-18 17:11:50 +01:00
Daniel Gultsch
7ae357f863
Merge pull request #1036 from QuentinC/development
...
Green led color is better with "full-green"
2015-03-18 17:11:43 +01:00
Holger Weiß
52af62d298
Set file size also for cached avatars
2015-03-17 17:36:17 +01:00
iNPUTmice
4aab45533a
pulled new translations from transifex
2015-03-16 11:52:42 +01:00
Mateusz "maxmati" Nowoty?ski
74e5317095
Do not Strigprep JIDs from database
2015-03-11 15:59:31 +01:00
iNPUTmice
4ee4eeb5e7
add context menu entries for geo uris
2015-03-11 15:48:43 +01:00
iNPUTmice
db6a63bcf6
open location directly from notification
2015-03-10 21:46:13 +01:00
iNPUTmice
5132cd7234
show geo uris as 'location' in overview
2015-03-10 17:20:50 +01:00
Daniel Gultsch
1a5321e41f
Merge pull request #1022 from Boris-de/cipher_blacklist
...
disable all really weak cipher suites
2015-03-08 11:28:39 +01:00
Boris Wachtmeister
67f8ed44bd
disable all really weak cipher suites
...
With #959 all ciphers of the platform were enabled, but this also
includes several suites that are considered as very weak, even down to
NULL- and anon-ciphers which disable completely disable encryption
and/or authentication. Especially the anon-ciphers could be easily used
for a mitm-attack.
To remove all weak ciphers a blacklist with patterns of cipher-names was
added to Config.java. The blacklist is based on the "mandatory discards"
that Mozilla suggests to not use for TLS-servers because they are weak
or known to be broken.
https://wiki.mozilla.org/Security/Server_Side_TLS#Mandatory_discards
2015-03-07 15:48:29 +01:00
iNPUTmice
87a048fe6f
display geo uris as location. show 'send loction' in share menu if request location intent can be resolved
2015-03-07 14:15:38 +01:00
iNPUTmice
cbca92d209
fixed enter is send option
2015-03-06 22:22:50 +01:00
iNPUTmice
44028a547f
fixed npe in message parser
2015-03-06 21:14:55 +01:00
iNPUTmice
f25a824610
avoid unnecessary thread creation
2015-03-05 15:46:33 +01:00
iNPUTmice
c5230e081c
added config option to disable string prep in jids
2015-03-05 10:15:04 +01:00
iNPUTmice
e10c4e78f1
experimantal in memory jid caching
2015-03-04 19:56:24 +01:00
Quentin
fb3740f07b
Green led color is better with "full-green"
2015-03-04 00:57:34 +01:00
Daniel Gultsch
ac577fe4fd
added methods to count number of unread messages
2015-03-02 11:53:15 +01:00
Daniel Gultsch
ff86fa6049
mark all sent messages up to a marker as displayed
2015-03-01 14:15:40 +01:00
iNPUTmice
d318af098d
merge messages with related status (unsend, send, send_received)
2015-03-01 12:05:54 +01:00
iNPUTmice
864c709c96
catching out of memory run time exception in hasEnabledAccounts()
2015-02-28 12:03:53 +01:00
iNPUTmice
0d6907f1e0
pulled new translations from transifex
2015-02-27 17:20:41 +01:00
iNPUTmice
98df008bce
use conversations green in notification led
2015-02-27 17:16:28 +01:00
Daniel Gultsch
c2ddd74d7f
Merge pull request #1006 from QuentinC/development
...
Some changes to the LED color in notifications !
2015-02-27 17:07:30 +01:00
iNPUTmice
f3be0d99cc
don't add users with null nicks to muc user list
2015-02-27 17:04:13 +01:00
iNPUTmice
6ad4865d96
hide change password menu item if server feature is unavailable
2015-02-27 17:03:13 +01:00
QuentinC
c67a481e4b
Update NotificationService.java
...
Revert led light color
2015-02-27 11:18:15 +01:00
Quentin
71ce73a271
- Update mBuilder in NotificationService.java to ensure that the led is displayed at the right color.
...
CF: http://stackoverflow.com/questions/14953793/android-notification-led-doesnt-use-my-color#comment20991762_14953793
- Changed led Color to green to remember the icon color and led times
2015-02-27 00:33:49 +01:00
iNPUTmice
a022e4b41a
reset error status in edit account when reconnecting
2015-02-26 17:17:40 +01:00
iNPUTmice
9e10c3841e
check for null in jid parser
2015-02-26 16:56:07 +01:00
iNPUTmice
fa45ceabc9
initilize keys with jsonobject value on parse error
2015-02-26 16:55:49 +01:00
iNPUTmice
b8bc70aaa0
prevent next button from showing up too early on account setup
2015-02-25 23:48:45 +01:00
iNPUTmice
3e8314459c
pulled new translations from transifex
2015-02-23 21:56:06 +01:00
iNPUTmice
8319446c03
reset incoming chat state when going into background
2015-02-23 21:47:35 +01:00
iNPUTmice
7a62fbbeae
get rid of some useless debugging
2015-02-23 12:05:18 +01:00
iNPUTmice
da2da75756
init mode (first start) for StartConversationActivity (no up button) and avoid being started multiple times. fixed #995
2015-02-22 13:24:29 +01:00
iNPUTmice
7259e666ea
look at 5 muc users instead of 4 for tile cache clearing
2015-02-22 13:16:07 +01:00
iNPUTmice
f52bc4f0be
properly remove invalid avatar
2015-02-22 13:15:27 +01:00
iNPUTmice
3db5a48529
clear muc tiles cache only when necessary
2015-02-21 22:19:10 +01:00
iNPUTmice
7ee5e95959
added typing notifications through XEP-0085. fixed #210
2015-02-21 11:06:52 +01:00
iNPUTmice
f26f6e9a00
fixed #993
2015-02-19 14:36:52 +01:00
iNPUTmice
2e596c0bd4
launch edit account activity when starting Conversations for the first time (fixed regression)
2015-02-19 13:48:40 +01:00
iNPUTmice
5003d1f549
made xmpp uris case insensitive
2015-02-18 18:23:13 +01:00
iNPUTmice
9c2e6392ec
always call to cancel before loading new avatars
2015-02-18 18:12:43 +01:00
iNPUTmice
b128b33e56
always go through reconnect method instead of just starting XmppConnection threads
2015-02-18 13:37:26 +01:00
iNPUTmice
da2bc6db23
avoid weird npe. fixed #991
2015-02-18 13:11:41 +01:00
iNPUTmice
a8ec36cda8
limit ui refresh rate
2015-02-17 14:18:35 +01:00
iNPUTmice
67d5ee6b71
moved roster loading to async task as well
2015-02-17 11:51:11 +01:00
iNPUTmice
62b15a5d26
refresh list view more often
2015-02-17 09:53:16 +01:00
iNPUTmice
a6e6959614
pulled translations from transifex
2015-02-16 16:56:40 +01:00
iNPUTmice
4e14c89ff8
support for XEP-0092: Software Version
2015-02-16 10:06:09 +01:00
iNPUTmice
5aa600c638
fixed avatar cache lookup in ListItemAdapter
2015-02-16 00:58:31 +01:00
Daniel Gultsch
178004996b
Merge pull request #986 from singpolyma/vitelity-s.ms-compatability
...
Vitelity's s.ms service requires <body> first
2015-02-15 23:28:22 +01:00
iNPUTmice
146edb8c81
made image view background more colorful while waiting on actual avatar to load
2015-02-15 23:25:35 +01:00
Stephen Paul Weber
00fa6f89d6
Vitelity's s.ms service requires <body> first
...
If the <body> tag is not first, their bot just silently drops the
stanza. I know we shouldn't have to care about order, and I'm trying to
get them to fix it, but it's not high-priority for them since "most"
clients seem to work, so I'd like this workaround in.
2015-02-15 14:18:41 -05:00
iNPUTmice
0485da8488
loading avatars in seperate tasks
2015-02-15 18:48:05 +01:00
iNPUTmice
e68c6a1b74
load messages asynchronously
2015-02-12 18:53:00 +01:00
iNPUTmice
45de788773
use time instead of uptime for unmute
2015-02-12 18:52:10 +01:00
iNPUTmice
44ee746681
added actions to error notification
2015-02-10 17:13:34 +01:00
iNPUTmice
6c8b82dd66
strip fractional seconds from timestamp before parsing
2015-02-10 11:11:01 +01:00
iNPUTmice
af0c979f45
disabled cipher logging
2015-02-09 16:41:13 +01:00
Daniel Gultsch
c3260d620e
Merge pull request #959 from SamWhited/ciphers_fix
...
Ciphers fix
2015-02-09 16:04:54 +01:00
iNPUTmice
026be61b72
don't show 'enter pgp key' in non encrypted chats
2015-02-09 16:01:30 +01:00
iNPUTmice
16dc13e4df
always add a non resolved SRV record to the list
2015-02-09 11:54:20 +01:00
iNPUTmice
ac309efcc8
made delay timestamp parser accept nano seconds
2015-02-09 11:53:35 +01:00
Daniel Gultsch
ae8c021c16
sort users in muc
2015-02-07 12:29:32 +01:00
Daniel Gultsch
00b2e30938
trim message bodys on display
2015-02-07 12:29:17 +01:00
Daniel Gultsch
e1e09d5cba
refactored how snackbar is displayed
2015-02-07 12:17:03 +01:00
Sam Whited
03d30e4fdb
Use platform ciphers as well, just prefer ours
2015-02-02 11:16:22 -05:00
iNPUTmice
bd3fccd2dc
don't disable any ciphers
2015-02-02 14:22:49 +01:00
iNPUTmice
206fd3fc4b
Merge branch 'development' of https://github.com/siacs/Conversations into development
2015-02-02 13:56:32 +01:00
iNPUTmice
6674a3d757
added more ciphers for old openssl versions
2015-02-02 13:55:56 +01:00
Sam Whited
1650565bb0
Remove another unused resource
2015-02-01 16:02:59 -05:00
Daniel Gultsch
a4f4fe95ac
Merge pull request #955 from SamWhited/unused_resources
...
Remove unused resources
2015-02-01 17:41:42 +01:00
iNPUTmice
e0af29f0a3
pulled spanish translations again
2015-02-01 17:33:36 +01:00
Sam Whited
735fc655e9
Remove unused resources
2015-02-01 11:32:11 -05:00
iNPUTmice
33530a9e30
pulled translations from transifex
2015-02-01 17:04:29 +01:00
Sam Whited
ce5c6c6257
Removes some unused strings (the legacy SSL stuff)
2015-02-01 08:58:35 -05:00
iNPUTmice
d0e764c1a5
fixed text preview for images
2015-02-01 12:32:19 +01:00
kruks23
e76a9c06c3
Remove title_activity_conversations and use app_name instead
2015-01-30 17:02:53 +01:00
iNPUTmice
3216813e49
made version codes ready for release candidate in beta channel
2015-01-29 23:56:04 +01:00
iNPUTmice
3a52f31824
don't count when attempt failed completly
2015-01-29 23:35:31 +01:00
iNPUTmice
6c3ea7f2bd
Merge branch 'development' of https://github.com/siacs/Conversations into development
2015-01-29 23:26:41 +01:00
iNPUTmice
f2bf64d19d
Merge branch 'development' of https://github.com/siacs/Conversations into development
2015-01-29 23:20:01 +01:00
Sam Whited
48604a6620
Use Material Design Icons on API 21+
2015-01-29 15:28:26 -05:00
iNPUTmice
0eeead495f
properly clear notifications. fixed #921
2015-01-29 13:20:18 +01:00
Daniel Gultsch
c237a55093
Merge pull request #941 from SamWhited/snackbar_ordering
...
Show errors before mute snackbar
2015-01-28 13:08:26 +01:00
iNPUTmice
3c64839daf
fixed broken caps
2015-01-28 00:28:00 +01:00
Sam Whited
8cbf610bb2
Show errors before mute snackbar
...
See #939
2015-01-27 08:49:03 -05:00
iNPUTmice
f8b662e7f8
muc tics for consistency
2015-01-26 01:25:47 +01:00
iNPUTmice
2a14a0d9b8
changed version code and version name to 1.0-beta2
2015-01-26 00:50:06 +01:00
iNPUTmice
91e85d2faf
adapt caps on whether or not message confirmation is on
2015-01-26 00:48:56 +01:00
iNPUTmice
94086bb9b7
don't put ejabberds status code muc messages into an actual conversation
2015-01-26 00:26:16 +01:00
iNPUTmice
f0d428a56d
made connect time out more failsave
2015-01-25 20:52:53 +01:00
Daniel Gultsch
4afdd6480a
Merge pull request #930 from betheg/otr
...
otr: switch to the otr-state the partner alternate.
2015-01-25 20:53:29 +01:00
Daniel Gultsch
1559144701
Merge pull request #933 from betheg/mergeable
...
fix mergable() for /me command.
2015-01-25 19:30:00 +01:00
Michael
29331e49b9
fix mergable() for /me command.
2015-01-25 16:58:06 +01:00
iNPUTmice
14fc520ec0
updated translations
2015-01-25 16:36:57 +01:00
iNPUTmice
82a74fabc9
set jingle file transfer to offer after iq offer has returned
2015-01-25 16:32:59 +01:00
Jaroslav Lichtblau
0f3fb3ab43
Czech translation
...
for "hide offline" added
2015-01-25 16:18:09 +01:00
Michael
7800647885
otr: switch to the otr-state the partner alternate.
...
should also fixed #877
2015-01-25 13:07:31 +01:00
Michael
8041d23cb1
MessageParser: fix the regex for otr query messages.
2015-01-24 16:19:58 +01:00
Daniel Gultsch
7769d305e6
Merge pull request #924 from andersruneson/changeonlinecolor
...
Changed online color to green instead of primary
2015-01-24 00:28:29 +01:00
iNPUTmice
b9af38464e
fixed mam to work with muc
2015-01-24 00:22:51 +01:00
Anders Sandblad
cbebd14dbd
Changed online color to green instead of primary
2015-01-23 22:28:10 +01:00
iNPUTmice
4e50098e31
show checkbox to hide offline contacts
2015-01-21 17:24:02 +01:00
iNPUTmice
2dc69eea68
fixed bug in find conference in database method
2015-01-21 16:18:57 +01:00
iNPUTmice
00c74503ab
deal with user entering full jids in join conference dialog
2015-01-21 16:18:38 +01:00
iNPUTmice
be9af442ef
always allow access to contact details. provide add button in contact details
2015-01-21 15:31:40 +01:00
Sam Whited
764ef3c8cd
Add block/unblock to contact details menu
...
See #889
2015-01-21 13:07:36 +01:00
Daniel Gultsch
818c0e609c
Merge pull request #908 from betheg/otr4j
...
otr4j: update to 0.22
2015-01-21 11:48:42 +01:00
Sam Whited
e42e0f88e1
Add color / category to foreground notification
2015-01-20 20:32:27 -05:00
iNPUTmice
7839438f51
changed message duplicate finder
2015-01-20 22:54:58 +01:00
iNPUTmice
6dc53c2b35
fixed missing image preview
2015-01-20 22:54:26 +01:00
iNPUTmice
04f4680582
fixed up button on v21 devices
2015-01-20 22:53:45 +01:00
Michael
fa7d748c3f
otr4j: update to 0.22
2015-01-20 18:01:39 +01:00
iNPUTmice
32a16137df
Fixed action bar search for Android 5.0
2015-01-20 14:53:47 +01:00
Jaroslav Lichtblau
7e4053abff
Czech translation updated
...
for Conversations
2015-01-19 19:07:43 +01:00
Sam Whited
503237087f
Remove legacy SSL support
2015-01-19 11:02:13 -05:00
iNPUTmice
1e607d7b1b
don't trim bodies
2015-01-19 12:15:27 +01:00
iNPUTmice
c5d087ad55
fetched translations from transifex
2015-01-19 12:14:55 +01:00
iNPUTmice
4cbf8120f5
fixed legacy translation of image received
2015-01-19 12:14:30 +01:00
iNPUTmice
e5dffcfb07
added changelog for 1.0
2015-01-19 11:32:27 +01:00
iNPUTmice
100ba6e7e7
check for deleted files when loading more messages from history
2015-01-19 11:23:05 +01:00
iNPUTmice
7af588c8b3
account for rounding errors when rescheduling wake up
2015-01-19 11:17:27 +01:00
iNPUTmice
fc2e458053
fixed bug when sharing files from google drive
2015-01-18 20:27:16 +01:00
iNPUTmice
149a6716b8
proper desc for offering and sending images in conversations overview
2015-01-18 20:26:22 +01:00
iNPUTmice
6756386eee
explain read marker
2015-01-18 13:44:18 +01:00