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
48afeb571b
refactor omemo fingerprint UI code
2016-11-15 20:00:52 +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
bec048407a
offer message correction in private convs
2016-11-12 20:25:02 +01:00
Daniel Gultsch
e8cc959a7f
don't offer message correction in anonymous mucs
2016-11-11 15:01:15 +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
Ignacio Quezada
297c0a792f
Private files using a boolean flag from Config.java.
2016-11-08 11:45:20 +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
ffebb4677a
Revert "use file provider on android M as well"
...
This reverts commit a4020e85f6
.
2016-10-30 20:27:39 +01: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
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
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
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
74087b873f
added disclaimer that conversations.im account is 8 euro / year
2016-10-08 18:24:20 +02:00
Daniel Gultsch
187825d6c6
warn user if account is offline during avatar publication
2016-10-06 22:06:09 +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
dcd6ef8f84
explicit logging when copying files to storage
2016-10-03 10:13:45 +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
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
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
7eac903277
add support for XEP-0377: Spam Reporting
2016-09-18 23:21:05 +02:00
Daniel Gultsch
7c608c8862
recreate activities when theme changed
2016-09-18 20:26:47 +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
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
6cb2b0b5d1
remember scroll position on rotate. fixes #2011
2016-09-12 21:18:56 +02:00
Daniel Gultsch
c3b11e515e
download own vcard avatar if none is set. fixes #2008
2016-09-09 11:04:05 +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
1dc55f72e3
don't use fileprovider when opening files on android M and below
2016-09-04 22:59:40 +02:00
Daniel Gultsch
aca7054174
fixed recreation issues in StartConversationActivity
2016-08-31 17:04:43 +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
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
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
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
cf909afc60
check for rare null pointer platform bug in share intent handling
2016-08-19 21:46:47 +02:00
Daniel Gultsch
0e96e0a796
show identity type for device selection
2016-07-28 22:58:37 +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
6dcce76568
don't crash when opening 'xmpp:' uris
2016-07-22 16:33:09 +02:00
Daniel Gultsch
c8188ee52c
offer back/cancel button when using magic create
2016-07-21 19:16:41 +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
57e51bc735
don't crash when tabbing through muc user list with offline users
2016-07-08 13:24:14 +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
b5caa8fa35
don't show 'create conference' toast on invite
2016-06-28 10:34:43 +02:00
Daniel Gultsch
72a2622c84
introduced share button in contact details. remove show qr
2016-06-24 15:16:01 +02:00
Daniel Gultsch
78e3afc1af
show error toasts on ui thread
2016-06-24 13:36:06 +02:00
Daniel Gultsch
4d5e0c291e
remove white spaces from hostname
2016-06-22 12:23:11 +02:00
Daniel Gultsch
28dc888159
display toast on pgp error
2016-06-19 11:08:17 +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
48a7818e88
mark used otr fingprint in contact details and highlight pgp
2016-06-16 12:12:24 +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
587fb3cca3
refactored pgp decryption
2016-06-13 13:32:14 +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
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
71e9117176
opt-in to send last userinteraction in presence
2016-06-04 16:16:14 +02:00
Daniel Gultsch
594aab56db
fixed regression that would not show clear devices
2016-06-02 20:46:01 +02:00
Daniel Gultsch
24ea66c9fc
display invite again menu item for offline members
2016-06-01 00:12:14 +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
9321ccc775
handle app links for conferences
2016-05-30 21:12:04 +02:00
Daniel Gultsch
9afafe387a
fix creation of conferences with 1 participant
2016-05-29 20:21:53 +02:00
Daniel Gultsch
2c55954ddd
show in ui when text was shortened
2016-05-29 01:14:45 +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
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
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
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
83adbb6052
hide fingerprints in UI if encryption is disabled
2016-05-25 22:12:13 +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
e5b8302fd9
show first unread message on top after reinit
2016-05-22 17:52:27 +02:00
Daniel Gultsch
ef27055434
show password dialog when account was magic created
2016-05-19 10:46:19 +02:00
Daniel Gultsch
b478eca315
improved ordering of muc participants
2016-05-17 15:01:56 +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
b756d61c45
show presence of other resources as template
2016-05-13 10:45:30 +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
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
27b245ac35
do not show last-seen metric in UI
2016-05-10 09:41:30 +02:00
Daniel Gultsch
6e0ec9b924
republish pgp signature when changing status
2016-05-05 13:17:04 +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
d23178acb9
show only username when registering account with magic create
2016-05-02 10:37:28 +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
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
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
9c3e910dc4
prevent user from accidentally changing password after using magic create
2016-04-26 23:23:48 +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
1a073ca454
added magic create welcome screen
2016-04-19 18:03:24 +02:00
Daniel Gultsch
72aa10b536
add setting for quick sharing
2016-04-14 21:12:44 +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
3e654bea0e
added share uri button to conference details
2016-04-12 18:30:02 +02:00
Daniel Gultsch
91b17c6925
fixed 'connecting…' button
2016-04-10 00:19:20 +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
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
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
a9b66e3ea5
allow to delete attachments. fixes #1539
2016-03-23 19:23:22 +01:00
Daniel Gultsch
ac09011690
be less strict when sharing EXTRA_TEXT intents
2016-03-20 17:25:16 +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
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
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
aa24a0f779
don't automatically crop avatar
2016-03-04 14:32:38 +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
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
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
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
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
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
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
fiaxh
894b5892a9
Retry decryption from message menu
2016-02-23 16:05:42 +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
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
59978e157c
only offer message correction for the very last message
2016-02-17 16:51:36 +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
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
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
c7a14092a8
fixed compile bug in free version
2016-02-13 00:03:57 +01:00
Daniel Gultsch
32da65f910
client side support for XEP-0357: Push Notifications
2016-02-12 11:39:27 +01:00
Daniel Gultsch
f16690ae1f
allow user to set MAM preferences
2016-02-09 13:01:17 +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
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
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
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
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
8850a1fbe3
added FormWrapper and form field validation
2016-01-23 20:32:00 +01: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
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
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
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
aa6955a0d6
fixed typo when reading battery_op setting
2016-01-14 20:38:16 +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
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
Daniel Gultsch
c296d6f446
ask to be excluded from battery optimization
2016-01-11 11:17:45 +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
501034fe0e
Allow entering a JID from 'choose contact'. thanks @singpolyma
...
fixes #1611
fixes #1602
2016-01-04 17:27:54 +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
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
7bb67ee660
strip leading 0x05 off omemo fingerprints
2015-12-27 18:37:31 +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
e8bf5cada4
only offer plain and omemo encryption when x509 verification is enabled
2015-12-19 12:44:12 +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
b2c278c91b
set bookmark name to room subject if no subject has been set before
2015-12-11 19:28:44 +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
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
6b592435cd
parse vcard avatars from muc presences
2015-12-03 18:18:34 +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
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
dc8967d8fc
introduced build-time paranoia mode that disables unencrypted chats and forces TOR
2015-12-01 22:41:58 +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
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
60211a315e
hide subject edit button if not editable by user
2015-11-26 17:44:29 +01:00
Daniel Gultsch
a557d38e4d
pgp fixes and revert configuration changes
2015-11-25 20:47:02 +01: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
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
6a458b853c
Merge pull request #1513 from fiaxh/pgp_background_decryption
...
PGP messages background decryption
2015-10-30 10:18:27 +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
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
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
efab290c28
add nick to bookmark when entering full jid in join conference dialog
2015-10-19 23:20:00 +02:00
Daniel Gultsch
0f405c2e11
allow redownloading files from remote hosts. fixes #1504
2015-10-17 15:23:46 +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
5f9476448f
make unread status and notifications presistent across restarts
2015-10-14 21:18:34 +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
7be331bbb2
add menu item in account details to renew certificate
2015-10-11 16:10:52 +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
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
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
160dfa49a0
try to catch plattform bugs
2015-10-02 11:58:03 +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
fiaxh
a3a13dd9dc
Export logs to SD card preference
2015-09-21 18:53:29 +01:00
Daniel Gultsch
07c7f5bc08
catch IndexOutOfBoundsException when swiping away conversations
2015-09-17 14:02:28 +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
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
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
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
Michael
ae9de26f59
remove unused imports.
2015-08-25 12:40:22 +02:00
Daniel Gultsch
730a5c644b
renamed plain text to unencrypted. fixes #1331
2015-08-24 21:15:47 +02:00
Daniel Gultsch
fb0b4bb445
added setting to allow for white backgrounds in incoming message bubbles
2015-08-24 20:56:25 +02:00
Andreas Straub
45d68c200e
Display error message if all contact keys purged
2015-08-15 18:52:47 +02:00
hlad
4539643f27
show HTTP upload availability on Edit account screen
2015-08-14 22:24:05 +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
8b9b74ff7e
renamed multi-end / axolotl to OMEMO
2015-08-08 13:29:21 +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
c617cf6ef8
added Config.java varibale to lock account creation to specfic domain
2015-08-03 22:58:17 +02:00
Andreas Straub
6cd9383e53
Let UNTRUSTED/UNDECIDED keys become INACTIVE
2015-08-01 18:30:11 +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
Daniel Gultsch
658919f239
improved 'next encryption' selection
2015-07-31 00:52:46 +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
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
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
e5fae429fa
call refreshUi directly
2015-07-24 14:43:13 +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
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
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
Daniel Gultsch
1aeb5874b0
allow for private messages being started from muc details in anonymous mucs
2015-07-21 13:15:59 +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
Raphael Pohl
e6cb12dfe4
changed message bubble appearance
2015-07-20 16:02:17 +02:00