Commit graph

272 commits

Author SHA1 Message Date
Daniel Gultsch 6b689edb52 move new activity back to original name 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
SoyaLeaf c7fd54a17e Moved the error message to TextInputLayout in the ChangePasswordActivity 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 595757fe00 use data binder for inflating muc items 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
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 1307cfe728 switch to switchcompat 2018-03-07 22:30:33 +01:00
iamharsshit a3bb7c346b add soft keyboard next button functionality 2018-01-20 22:43:11 +05:30
Daniel Gultsch 55016f10e6 fix color of show password button 2018-01-09 10:13:53 +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 cdd6bdab98 increased max lines to 8 2017-12-15 16:14:41 +01:00
Daniel Gultsch df37e34e02 use show password widget in Change Password Activity 2017-12-15 12:31:31 +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 614372dcbb ConversationsAdapter: Do not show image preview. Show pictogram instead 2017-12-05 14:14:52 +01:00
Daniel Gultsch 900ad2f7ef ConversationsAdapter: Use EmojiWrapper instead of EmojiTextView 2017-11-23 09:36:51 +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
Kandr0s 308f451959 Show Drawable if Location/File/Voice 2017-11-13 13:39:06 +01:00
Daniel Gultsch 42b4528d03 use emoji compat 2017-09-29 19:44:30 +02:00
Daniel Gultsch 9b4149a63d limit audio player width on small screens 2017-09-27 10:21:34 +02:00
Daniel Gultsch 20b14091d6 play audio files inline 2017-09-20 15:35:35 +02:00
Daniel Gultsch 9733003d0f removed duplicate code from message bubble layouts 2017-09-19 19:02:35 +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 ef980ff5cf show date separators. fixes #2271 2017-07-04 11:01:20 +02:00
Daniel Gultsch 012f60be56 use proper alpha for dark themed icons 2017-06-04 00:05:02 +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 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 4d1308e138 fixed click area for pgp key in contact details 2017-04-25 15:23:01 +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 1fd3bbfe25 display chat states in conferences 2017-03-09 10:58:44 +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
Haresh Khanna 633aad3193 Adds a message sender label in each conversation for text messages 2017-03-06 23:25:13 +05:30
Daniel Gultsch b86dd584dc made swipe handle more unified and smaller across various screen sizes 2017-03-04 15:07:25 +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 469cf72e56 make notification icon size depend on 'Large Text' setting 2017-03-03 11:55:07 +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 8c34bb3c6f hide inactive devices by default in contact details 2016-12-30 13:17:45 +01:00
Daniel Gultsch 6e289b8738 show warning dialog beforing verifying keys via a link 2016-12-03 13:19:56 +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 2b9b3be3f1 show 'clear devices' button underneath own devices 2016-11-18 21:49:52 +01:00
Daniel Gultsch 48afeb571b refactor omemo fingerprint UI code 2016-11-15 20:00:52 +01:00
Daniel Gultsch 9edbddd7e1 show warning in account details when data saver is enabled 2016-11-07 10:49:43 +01:00
Mishiranu 8835f08cf7 Remove spans on copying or pasting a text 2016-10-19 20:47:41 +03: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 2a73b8d76e clarified fineprint a little bit 2016-10-13 12:17:20 +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 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 6b904d4de1 use proper paddings in dialogs on android < 5 2016-09-18 20:09:39 +02:00
Daniel Gultsch fd54dc5aff wrap dynamic tags into multiple lines. fixes #2003 2016-08-26 16:34:42 +02:00
Daniel Gultsch f931c08da7 add snackbar for request presence subscription 2016-08-26 10:19:59 +02:00
Daniel Gultsch 3e50d4831f show toast hint when touching inactive omemo fingerprints 2016-07-17 20:31:04 +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 c4680e3198 make text color of last-seen match theme 2016-06-12 13:15:28 +02:00
Daniel Gultsch 5017e8564c made background color of swiped conversations darker 2016-06-10 23:22:16 +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 71e9117176 opt-in to send last userinteraction in presence 2016-06-04 16:16:14 +02:00
Daniel Gultsch 422fd1847f only rendering first 5k chars of each message 2016-05-28 23:13:47 +02:00
Daniel Gultsch 21ebb35e44 add 'create conference' dialog 2016-05-26 22:53:55 +02:00
Daniel Gultsch ef27055434 show password dialog when account was magic created 2016-05-19 10:46:19 +02:00
Daniel Gultsch 331cbf3696 cap messages after 256 lines in UI 2016-05-16 19:52:10 +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 27b245ac35 do not show last-seen metric in UI 2016-05-10 09:41:30 +02:00
Daniel Gultsch 51753a1d39 cleaned up captcha dialog 2016-04-28 20:13:58 +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 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 198dc2c6b4 let users confirm each member in a conference even if that contact is already trusted 2016-03-01 11:26:59 +01:00
Daniel Gultsch 9e0466d1e6 refactored omemo to take multiple recipients 2016-02-29 13:18:07 +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 32da65f910 client side support for XEP-0357: Push Notifications 2016-02-12 11:39:27 +01:00
Daniel Gultsch 4fdb0d92fe prevent previoulsly cleared messages from reloading. fixes #1110 2016-02-04 14:39:16 +01:00
Daniel Gultsch 0569a1e769 introduced boolean form field wrapper 2016-01-23 16:23:23 +01:00
Daniel Gultsch a6c5430cdd added UI wrapper for (some) form fields 2016-01-22 20:22:47 +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 921d567dcb use match_parent as height in conversations overview 2016-01-12 15:35:23 +01:00
Daniel Gultsch c296d6f446 ask to be excluded from battery optimization 2016-01-11 11:17:45 +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 f46cbb38a9 show certificate information 2015-12-23 19:18:53 +01:00
Daniel Gultsch f0b1761ec3 initial tor support 2015-12-01 12:00:50 +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
saqura 48f172fc9e Reset the margins manually after rotating 2015-10-26 00:59:32 +01: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 eff9e417e0 use dedicated colors for primary and primary_dark 2015-08-26 21:17:29 +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 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 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 1ed550b5c5 fixed some colors in message adapter 2015-07-30 12:40:50 +02:00
Andreas Straub 2b3bb02261 Highlight selected message's fingerprint in list 2015-07-29 20:21:37 +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
Daniel Gultsch 74e05023b4 very subtle 2015-07-21 02:21:34 +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 8559ca05ab fixed monospace font and android L 2015-07-20 15:43:28 +02:00
Andreas Straub 576330f6a9 Use MD style for key trust toggle switch 2015-07-20 14:14:27 +02:00
Andreas Straub 2240066bbe Remove device list from EditAccount 2015-07-19 23:38:09 +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 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 3d33946088 Add key trust toggle to ContactDetailsActivity
Can now toggle IdentityKey trust
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 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
Daniel Gultsch f58b2afcaa changed switch widget 2015-07-18 19:38:52 +02:00
Daniel Gultsch 6a329c7465 fixed some ux glitches in editaccount 2015-07-16 13:42:52 +02:00
Daniel Gultsch ffffca10f0 renamed colors 2015-07-13 12:55:13 +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 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 92d14c4a00 increased padding on image buttons on v21 to match material guidelines 2015-04-28 14:46:52 +02:00
Daniel Gultsch a4ff8e3633 increased padding around switches in manage accounts 2015-04-27 12:19:05 +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 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
iNPUTmice b7b87e1a8d do not overlap account title and switch 2015-04-01 23:45:46 +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
Sam Whited 48604a6620 Use Material Design Icons on API 21+ 2015-01-29 15:28:26 -05:00
iNPUTmice be9af442ef always allow access to contact details. provide add button in contact details 2015-01-21 15:31:40 +01:00
iNPUTmice 32a16137df Fixed action bar search for Android 5.0 2015-01-20 14:53:47 +01:00
iNPUTmice 6756386eee explain read marker 2015-01-18 13:44:18 +01:00
Sam Whited acb3aed99c Fix bottom padding on about page 2015-01-13 21:29:47 -05:00
Daniel Gultsch 7d2a9624b5 make use of different dimensions for different screen sizes 2015-01-13 11:52:41 +01:00
Sam Whited d9c2fa39cd Use margin instead of padding in about screen 2015-01-12 23:08:26 -05:00
Daniel Gultsch 0aa50cb5a1 shortened some string 2015-01-11 01:01:33 +01:00
Daniel Gultsch e34bc920e4 fixed #860 2015-01-10 23:56:56 +01:00
Daniel Gultsch a9159568b9 allow for very basic muc configuration 2015-01-08 21:29:26 +01:00