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
eacc7ed1e6
add convenience to get an account object from a spinner
2016-01-21 17:57:24 +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
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
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
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
893751a1d2
move some ssl socket modifiers into a seperate helper class
2016-01-12 16:33:15 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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