Commit Graph

2305 Commits

Author SHA1 Message Date
Benoit Marty ef6847671a Import strings from Riot 2020-04-14 17:13:43 +02:00
onurays 667b371653 Continue supporting old APIs. 2020-04-14 16:29:11 +03:00
onurays 190fbb95ec Merge branch 'develop' into feature/target-sdk-29
# Conflicts:
#	vector/src/main/java/im/vector/riotx/features/crypto/verification/VerificationBottomSheetViewModel.kt
2020-04-14 13:59:54 +03:00
Valere ccacd20428
Merge branch 'develop' into feature/verification_unified_emoji 2020-04-10 16:05:33 +02:00
Valere 9cfb83f0d2 Remove outdated translation 2020-04-10 14:31:03 +02:00
Valere 943ba3bebd Fix / string bad argument number - lint 2020-04-10 13:14:12 +02:00
Valere fccfd00949 Fix / design update 2020-04-10 12:12:21 +02:00
Valere 5081361c2d Update Scan confirm flow 2020-04-10 12:12:06 +02:00
Valere f5dc0b38ff Code review 2020-04-10 11:47:54 +02:00
Valere 8357abd455 Added prefix to resources to avoid accidental override 2020-04-10 11:18:41 +02:00
Valere a703574004 Uniform emoji representation for all platform 2020-04-10 11:02:33 +02:00
Christopher Rossbach ef2abbfbd4
Merge branch 'develop' into improvement-957-catchup-indicator-on-invite 2020-04-09 11:11:44 +02:00
Valere 7c0137e2dc Fix / await callback suspend forever 2020-04-09 10:46:52 +02:00
Valere 34dec64d9c Fixes #1214 2020-04-08 17:56:12 +02:00
Valere 6f2d7aebba code review 2020-04-08 16:37:52 +02:00
Valere 366a35913b Fix alignement 2020-04-08 16:31:01 +02:00
Valere f04d8b0e03 cleaning 2020-04-08 16:31:01 +02:00
Valere 08af61b778 rename layout 2020-04-08 16:31:01 +02:00
Valere 277f35a352 Merge room creation events in one summary 2020-04-08 16:31:01 +02:00
Valere 68512e475f WIP 2020-04-08 16:31:01 +02:00
Onuray Sahin 8a4a288074
Merge branch 'develop' into feature/target-sdk-29 2020-04-08 14:15:02 +03:00
onurays 5b1f887760 Code review fixes. 2020-04-08 14:10:31 +03:00
Christopher Rossbach 3ff5952417
Merge branch 'develop' into improvement-957-catchup-indicator-on-invite 2020-04-07 20:53:31 +02:00
Christopher Rossbach 222b72a014
Merge branch 'develop' into improvement-957-catchup-indicator-on-invite 2020-04-07 17:46:23 +02:00
Valere 8904ca27f2 clean 2020-04-07 15:30:19 +02:00
Valere 1a436f962f update change log
cleaning
2020-04-07 15:15:45 +02:00
Valere 5b4b5e7a57 Gossip keybackup key after verification! 2020-04-07 15:15:45 +02:00
Valere 153587bd82
Merge branch 'develop' into feature/crosssigning_bootstrap 2020-04-07 15:14:43 +02:00
Valere 326f2e99fb klint 2020-04-06 10:00:59 +02:00
Valere 1dfd6f232a Code quality / line too long 2020-04-03 18:59:21 +02:00
Valere f605bb8270 Code review 2020-04-03 15:57:05 +02:00
Valere 7ffb6113a4 Increase file logger size 2020-04-03 13:53:34 +02:00
Valere 92bf3f1349 Update change log
+ code quality
2020-04-03 11:14:14 +02:00
Valere 6474735662 Fix / devtools was not showing all json numbers 2020-04-03 10:31:44 +02:00
Valere 45c5626267 Add generate key option 2020-04-02 18:30:43 +02:00
Valere c27264761d Back /Skip navigation 2020-04-02 18:11:52 +02:00
Valere c6abfa14ea Fix / Bind continue button 2020-04-02 16:54:30 +02:00
Valere 2f237cf17b klint 2020-04-02 16:51:40 +02:00
Valere bf5ba99653 Full bootstrap flow initial commit 2020-04-02 16:51:03 +02:00
Valere 8ecdac7c31 Fixes #1191 2020-03-31 17:08:11 +02:00
Valere a40dd31543 Bootstrap bottomsheet 2020-03-27 17:09:18 +01:00
Christopher Rossbach cdbb657961 Fix #957 by incrementing the catchup count on home icon.
Signed-off-by: Christopher Rossbach <31703168+duncanturk@users.noreply.github.com>
2020-03-27 14:24:42 +01:00
Onuray Sahin e2f7890bb8
Merge branch 'develop' into feature/target-sdk-29 2020-03-26 17:39:22 +03:00
onurays 0a77d5014e Fix nullability issues. 2020-03-26 17:19:29 +03:00
Valere 91464a071e
Merge pull request #1180 from vector-im/feature/complete_security_design_update
Feature/complete security design update
2020-03-26 14:31:09 +01:00
Valere acd90657c7 Fix / prevent cancel when in conclusion fragment 2020-03-26 14:09:41 +01:00
onurays e5482d48c0 Remove deprecated & unused ImageTools class. 2020-03-26 16:02:50 +03:00
onurays 5816a04a37 Use MediaStore instead of deprecated addCompletedDownload since Android Q. 2020-03-26 15:58:31 +03:00
onurays 4b7da9ae6b Replace deprecated getExternalStoragePublicDirectory with getExternalFilesDir. 2020-03-26 15:57:21 +03:00
onurays f7cbc01023 Replace deprecated PreferenceManager with androidx version. 2020-03-26 15:56:33 +03:00
Valere 1de57bbf3b Fix / cancel copy when verifying other 2020-03-26 13:49:48 +01:00
Valere 42a8c561db Fix / Verification was not cancelled on back in ready state 2020-03-26 13:49:48 +01:00
Valere 5bef9aef6a Fix / add specific copy for other verif cancel confirm 2020-03-26 13:49:48 +01:00
Valere f8c1ec985f re-prompt to verify on restart 2020-03-26 13:49:48 +01:00
onurays 12429d8091 Merge develop into the branch. 2020-03-26 14:39:50 +03:00
Onuray Sahin 3bb5e127d6
Merge pull request #1155 from vector-im/feature/multipicker
Multiple attachment picker implementation
2020-03-26 14:30:02 +03:00
onurays c63f3edb06 Initial fixes to support targetSdk 29. 2020-03-26 12:06:50 +03:00
Valere 420a55da76 klint 2020-03-25 13:53:06 +01:00
Valere 2c9a8865bf Cancel all on going to settings 2020-03-24 17:48:16 +01:00
Valere bddd70afdb Fix / IllegalState after token invalidation 2020-03-24 17:48:01 +01:00
Valere c4388348f7 Show cancelled screen instead of dismissing 2020-03-24 17:38:46 +01:00
Valere ee7828a445 Code quality 2020-03-24 16:21:22 +01:00
Valere 37ac45c90a Fix / handling of back 2020-03-24 15:51:09 +01:00
Valere 63d3bf93f2 Fix / for now keep old toaster 2020-03-24 15:50:49 +01:00
Valere fcffe1f3c3 Clear alert when device is verified 2020-03-24 15:21:03 +01:00
Valere cfcec04029 code cleaning 2020-03-24 14:57:51 +01:00
Valere b56a41bec7 Custom alert design 2020-03-24 14:56:57 +01:00
onurays d20b1cb64a Add documentation. 2020-03-24 12:15:14 +03:00
Valere 6e85b20b0e Update copy for riotX default device Name 2020-03-24 10:06:30 +01:00
Valere fcd290410e Also cancel pending request on back 2020-03-24 10:06:15 +01:00
onurays 2651f82337 Refactor duplicated code. 2020-03-24 11:03:41 +03:00
Valere 49e5fafb2d New sign in detection flow 2020-03-23 16:27:32 +01:00
onurays f7fd23b153 App integration to the new multipicker library. 2020-03-23 16:31:32 +03:00
onurays 5b875e0571 CameraPicker & incoming share implementation. 2020-03-22 18:27:59 +03:00
onurays 6db0de321c Initial implementation of multipicker. 2020-03-20 12:12:59 +03:00
Valere 0c1f30208d Fix / Epoxy divider not showing 2020-03-19 11:23:15 +01:00
Valere 6f5bebedf8 Fixes #841 2020-03-18 11:53:38 +01:00
Valere b71d8185a2 Fix / gossiping sent to soon results in not getting keys
Overall improovment of logs
2020-03-17 14:40:05 +01:00
Valere b8a9397e73 hide reRequest behind developer mode 2020-03-17 14:40:05 +01:00
Valere 009d691d5b post merge fix 2020-03-17 14:40:05 +01:00
Valere 6933159245 Remove refresh menu 2020-03-17 14:40:05 +01:00
Valere 75549c41e0 View source in audit + clean 2020-03-17 14:40:05 +01:00
Valere d3d6d44665 Post rebase fix 2020-03-17 14:40:05 +01:00
Valere fc6225a7ac Gossiping refactoring 2020-03-17 14:40:05 +01:00
Valere b67735c31a Incoming Secret Share request support
crypto DB migration
2020-03-17 14:40:05 +01:00
Valere 8ff31ac49d cleaning klint 2020-03-17 14:40:05 +01:00
Valere 5e0235e48d Add option to recover from backup + hide if not applicable 2020-03-17 14:40:05 +01:00
Valere 9e63a3219c Add Re-Request keys for fail to decrypt 2020-03-17 14:40:05 +01:00
Valere 757e90986e Key Req Dev tool initial commit 2020-03-17 14:40:05 +01:00
Valere 20dbe2dd0d version ++ 2020-03-17 14:18:08 +01:00
Valere 78d90c8f04 prepare release 0.18.1 2020-03-17 11:46:42 +01:00
Valere a9ed55e6a2 Fixes #757 2020-03-17 10:50:34 +01:00
Valere b37600f536 QuickFix / key banner not clickable 2020-03-17 10:43:48 +01:00
Valere 067a22883c WorkAround / crash android 10 gif from keyboard
fixes #1136
2020-03-16 16:01:55 +01:00
Valere eb74523905 Fix / typo 2020-03-16 15:30:41 +01:00
Mathieu Velten 687884431e Refresh the whole notifs when cleaning one so the summary get updated
Fix summary notification staying after "mark as read"
2020-03-13 23:42:28 +01:00
onurays e3246a1f2c Rename JoinedToAnotherRoom to JoinRoomCommandSucces. 2020-03-13 18:41:04 +03:00
onurays 5cb7e455b1 Implementation of /join command. 2020-03-13 14:00:46 +03:00
Valere 54eca7525e Version ++ 2020-03-11 16:24:49 +01:00
Valere ff5b284b2e Try to remove rule that is breaking CI 2020-03-11 11:19:22 +01:00
Benoit Marty 937d497a1f Revert the check box in case of error 2020-03-06 17:24:57 +01:00
Benoit Marty 4261b0e78a Fix pusher issue. It was set by mistake when the notification for this device was disabled 2020-03-06 17:19:48 +01:00
Benoit Marty 71446a1a74 Remove useless check 2020-03-06 17:11:23 +01:00
Benoit Marty a29ec7b0be Pusher: add a menu to force a refresh of the local data 2020-03-06 16:48:48 +01:00
Benoit Marty 13036a5933 Pusher: update javadoc 2020-03-06 16:37:13 +01:00
Benoit Marty 35179509f2
Merge pull request #1111 from vector-im/feature/verification_code
Feature/verification code
2020-03-06 15:02:57 +01:00
Benoit Marty 23862cb3d0
Merge branch 'develop' into feature/notif 2020-03-06 14:43:23 +01:00
Benoit Marty b929a2f185
Merge pull request #1099 from vector-im/feature/fix_share_image
Share images from clear and encrypted rooms.
2020-03-06 14:27:47 +01:00
Benoit Marty fb858bc112 Rename to respect naming convention #3 2020-03-06 14:04:02 +01:00
onurays 05683967c0 Code review fixes. 2020-03-06 12:07:38 +01:00
Onuray Sahin 555863fecc
Merge pull request #1112 from vector-im/feature/navigate_to_profile_from_avatar
Open room member profile from avatar of the room member state event.
2020-03-06 09:42:32 +01:00
onurays b187699a86 Open room member profile from avatar of the room member state event. 2020-03-05 18:44:34 +01:00
Benoit Marty e326631752 Create asValidObject method - make it compiles #2 2020-03-05 15:39:01 +01:00
Benoit Marty a264dcf5c4 Lint: fix TextFields 2020-03-05 11:09:58 +01:00
Benoit Marty 37afc983c3 Fix typos. The typos has been fixed on Weblate by me. 2020-03-05 11:02:14 +01:00
Benoit Marty b10e9c54b4 Add BinaryOperationInTimber lint rule and fix existing errors 2020-03-05 10:40:36 +01:00
Benoit Marty d6cdcc60d1 Remove unused png files 2020-03-04 16:48:13 +01:00
Onuray Sahin 1680cd8d8e
Merge branch 'develop' into feature/fix_share_image 2020-03-04 16:27:01 +01:00
onurays d4384328fe Use "image/jpeg" instead of "image/jpg" 2020-03-04 16:26:09 +01:00
Benoit Marty 277ad9e042
Merge branch 'develop' into feature/space_in_passwords 2020-03-04 14:12:12 +01:00
onurays 26d387cc12 Support sharing other media types. 2020-03-04 13:47:48 +01:00
Benoit Marty c8f43e73e2
Merge branch 'develop' into feature/ftue 2020-03-04 12:14:07 +01:00
Benoit Marty fa0e07e146
Merge branch 'develop' into feature/ktlint_upgrade 2020-03-04 12:10:56 +01:00
Benoit Marty d6df0e451c Detect spaces in password if user fail to login (#1038) 2020-03-04 10:39:10 +01:00
onurays 7158554ee2 Add fallback logic only if the mode is thumbnail. 2020-03-03 16:56:22 +01:00
onurays 34c5537436 Fix fallback to full image. 2020-03-03 16:42:33 +01:00
onurays d09ac8fbce Try to show full image as the fallback of the thumbnail. 2020-03-03 14:54:05 +01:00
onurays 5f14516dec Share images from clear and encrypted rooms. 2020-03-03 10:39:24 +01:00
Benoit Marty b7ff546f66 Add support for `/plain` command (#12) 2020-03-01 09:59:00 +01:00
Benoit Marty c13b636bae Code cleanup 2020-02-29 10:05:48 +01:00
Benoit Marty a05caf6f0e Update the 2 notification settings screens by moving some pref to the root notification screen 2020-02-29 09:49:21 +01:00
Benoit Marty 3462df405c Fix GPlay build issue 2020-02-29 09:42:35 +01:00
Benoit Marty 6009026e2f Notification settings: create a category for troubleshhot 2020-02-29 09:35:26 +01:00
Benoit Marty 06e0af9a5b small mistake 2020-02-28 22:12:30 +01:00
Benoit Marty 1228fcda0d Rename class 2020-02-28 19:25:29 +01:00
Benoit Marty c20de4feb0 Cleanup 2020-02-28 19:13:22 +01:00
Benoit Marty 957b9eee23 Cleanup 2020-02-28 19:06:26 +01:00
Benoit Marty e5eb36e917 Cleanup 2020-02-28 19:04:30 +01:00
Benoit Marty 551604cdcb Add missing push rules 2020-02-28 19:02:13 +01:00
Benoit Marty 8a2bafec5f Restore push rule settings - fix issues 2020-02-28 18:35:51 +01:00
Benoit Marty 3013e311a4 Restore push rule settings - WIP 2020-02-28 16:51:11 +01:00
Benoit Marty 1c35d07acc PushRuleService.getPushRules() now returns a RuleSet. Use getAllRules() on this object to get all the rules. 2020-02-28 16:29:58 +01:00
Benoit Marty 41b4f412c4
Merge pull request #1089 from vector-im/feature/crash_in_attachment_preview
Fix crash on attachment preview screen (#1088)
2020-02-28 14:49:36 +01:00
Benoit Marty 151fec5ce0 Fix crash on attachment preview screen (#1088) 2020-02-28 11:38:30 +01:00
Benoit Marty 1ead2778c2 ... and rename the method fromBase64NoPadding() to fromBase64() 2020-02-27 18:33:57 +01:00
Benoit Marty 77dd911054 Code quality 2020-02-27 17:42:25 +01:00
Benoit Marty a914381090 Verification with QrCode: ensure there is a Camera to scan QrCodes. 2020-02-27 17:03:48 +01:00
Benoit Marty 9f28738fd6 Restore availability to Chromebooks (#932) 2020-02-27 15:41:35 +01:00
Benoit Marty 36a848471f Enable other lint check (no change necessary in source) 2020-02-27 15:27:46 +01:00
Benoit Marty 12861aacda lint: check negative margin 2020-02-27 15:11:43 +01:00
Benoit Marty d85776297d Lint: fix IconDuplicates by remove unused resources 2020-02-27 14:56:18 +01:00
Benoit Marty 50031bef50 Lint: fix IconDipSize and IconDuplicatesConfig error (by removing unused resource) 2020-02-27 14:45:26 +01:00
Benoit Marty c0d6b9d130 Lint fix IconXmlAndPng error 2020-02-27 14:35:57 +01:00
Benoit Marty a1466e299b Fix missing recycle call and ensure this mistake will not happen again 2020-02-27 14:30:49 +01:00
Benoit Marty 9bb4c7ed25 Version++ 2020-02-27 12:34:33 +01:00
Benoit Marty f906fc894b Sync Strings with Riot 2020-02-27 11:59:39 +01:00
Benoit Marty 6e060f63c6 Try to decode QrCode data in the debug Activity 2020-02-27 11:32:59 +01:00
Benoit Marty 3ac2296464 Disable freestyle crop, usability was not easy 2020-02-26 17:46:33 +01:00
Benoit Marty b5a402c1e1 Fix crash when editing image 2020-02-26 17:45:39 +01:00
Benoit Marty b8eeede5fd Safer code 2020-02-26 17:28:27 +01:00
Benoit Marty d3e7e7e109 Make the small avatar also clickable and little change in the API to factorize code 2020-02-26 17:17:39 +01:00
Benoit Marty 6349f9828d Optimize import 2020-02-26 16:59:20 +01:00
Benoit Marty 989d396c78 Rename package "sas" to "verification" 2020-02-26 16:52:16 +01:00
Benoit Marty 73ac7ab341 Compact code 2020-02-26 16:48:50 +01:00
Benoit Marty a3133773a3 generic name for parameter 2020-02-26 16:45:12 +01:00
Benoit Marty 6e67d4749f
Merge pull request #1082 from vector-im/feature/fix_rageshakes
Fix crashes reported by rageshakes
2020-02-26 16:10:47 +01:00
Benoit Marty 38c1ef3eb6 Fix lint issue 2020-02-26 16:08:34 +01:00
Benoit Marty 674450ef29
Merge pull request #1076 from vector-im/feature/fullscreen_avatar
Display avatar in fullscreen.
2020-02-26 16:06:13 +01:00
onurays 93a687a172 Code review fixes. 2020-02-26 17:55:23 +03:00
Benoit Marty 054d7668ef Fix crash reported from rageshake 2020-02-26 15:19:47 +01:00
Benoit Marty a13fec84b0 Fix crash reported from rageshake 2020-02-26 15:00:25 +01:00
Benoit Marty 4bb3fb128f Fix crash reported from rageshake 2020-02-26 14:54:36 +01:00
onurays 04726a1ace Fix redacted event format on room overview.
Fixes #758
2020-02-26 16:51:01 +03:00
Benoit Marty ccf72ffaa7 Fix crash reported from rageshake 2020-02-26 14:50:01 +01:00
Onuray Sahin d2efe0e10c
Merge branch 'develop' into feature/fullscreen_avatar 2020-02-26 16:23:02 +03:00
Benoit Marty 054b467caf Fix crash reported from rageshake 2020-02-26 14:18:48 +01:00
Benoit Marty e1ea742023 Fix crash reported from rageshake 2020-02-26 13:59:58 +01:00
onurays 536dce7929 Code review fixes. 2020-02-26 15:30:03 +03:00
onurays 56fc91a8c3 Code review fixes. 2020-02-26 15:26:53 +03:00
Benoit Marty f35b0660ca Rename constant for code readability 2020-02-26 12:37:36 +01:00
Valere c80fb52410 dead code 2020-02-26 12:20:03 +01:00
Valere 32389e1291 Remove wizard stuff 2020-02-26 12:20:03 +01:00
Valere 99f9a9817e Use human readable error (not technical) 2020-02-26 12:20:03 +01:00
Valere b4a783198b code review 2020-02-26 12:20:03 +01:00
Valere 0cfc9451ca Cleaning 2020-02-26 12:20:03 +01:00
Valere d537abc522 Fix / sign current device after entering xsigning passphrase 2020-02-26 12:20:03 +01:00
Valere f9be4fa2bd Fixes #1047 2020-02-26 12:20:03 +01:00
Valere 412aed6dcb Fix / Update title before return 2020-02-26 12:20:03 +01:00
Valere 9fc44c11de Fixes #937
Disabling bounds change animation, as it's messing with fragment change apparition and expanded state of bottomsheet
2020-02-26 12:20:03 +01:00
Valere bf23094158 Fix / Green shield in conclusion title when verified from private keys 2020-02-26 12:20:03 +01:00
Valere 0064934db9 Changed Encryption algorithm of 4S 2020-02-26 12:20:03 +01:00
Valere e2e4ddf5ba Post rebase fix 2020-02-26 12:20:03 +01:00
Valere 9a08f5ec4e WIP / Verify from passphrase UX 2020-02-26 12:19:31 +01:00
Valere cb669ad881 4S Activity WIP 2020-02-26 12:15:59 +01:00
Valere 3dc89c8d87 Update Self Verification BottomSheet for quads 2020-02-26 12:15:59 +01:00
Benoit Marty a69049645a FTUE: do not display a different color when encrypting message when not in developer mode. 2020-02-26 11:25:37 +01:00
onurays 1a273407de Display avatar in fullscreen. 2020-02-26 12:12:49 +03:00
Benoit Marty 633f9d8522 ktlint 2020-02-26 09:55:57 +01:00
Benoit Marty fc95bf4926 Improve CreateRoomParams API: update some API for better chaining of builder like methods (#1070) 2020-02-26 07:32:22 +01:00
Benoit Marty 1072060cbb New direct chat: selecting a participant sometimes results in two breadcrumbs (#1022) 2020-02-25 19:00:38 +01:00
Benoit Marty a55e0f1af4 Fix crash - workaround 2020-02-25 18:17:40 +01:00
Benoit Marty b95dfa4473 Create getBestName method for User 2020-02-25 18:14:02 +01:00
Benoit Marty cfe9c4bb41 Display internal id of a room section in room profile, with copy to clipboard action, only in developer mode 2020-02-25 12:21:04 +01:00
Benoit Marty 1023982858 Code readability 2020-02-24 17:40:28 +01:00
ganfra 133d8d7f14 RoomList: fix joining/rejecting state 2020-02-24 17:33:40 +01:00
ganfra 9cdb1da614 Start fixing notif for invites 2020-02-24 17:33:40 +01:00
ganfra 981c9ac4ac Invite sync: assign eventId and remove the primaryKey constraint 2020-02-24 17:33:40 +01:00
Benoit Marty 3e8a0f7252
Merge pull request #1044 from vector-im/feature/fix_big_image_rotation
Use exif info of the image for correct rotation.
2020-02-24 17:30:33 +01:00
Benoit Marty 281620b88d
Merge pull request #1048 from vector-im/feature/profile_share_actions
Share action is added to room profile and room member profile
2020-02-24 17:29:17 +01:00
onurays dec62a893e Code review fixes. 2020-02-24 18:06:59 +03:00
onurays b3d4747d97 Code review fixes. 2020-02-24 17:35:57 +03:00
onurays 1124aa25fd Code review fixes. 2020-02-24 17:22:07 +03:00
Valere 3e587af163 klint 2020-02-24 14:07:15 +01:00
Valere c41661ece8 Fixes #712 2020-02-21 19:05:20 +01:00
onurays f650e29ddd Share action is added to room profile and room member profile
Fixes #858
2020-02-21 15:30:01 +03:00
Onuray Sahin 1eefda18e4
Merge branch 'develop' into feature/fix_big_image_rotation 2020-02-21 13:13:02 +03:00
Benoit Marty d6434654e2
Merge pull request #1043 from vector-im/feature/join_federation
Fix join room over federation
2020-02-21 10:08:05 +01:00
Benoit Marty b6372df676
Merge pull request #1037 from vector-im/feature/crosssigning_qr
Migrate to binary QR code verification (#994)
2020-02-21 10:01:49 +01:00
onurays a11d70f173 Use exif info of the image for correct rotation. 2020-02-21 00:51:22 +03:00
Benoit Marty 3f9a5a4e54 Leaving a room creates a stuck "leaving room" loading screen. (#1041) 2020-02-20 19:31:33 +01:00
Benoit Marty 198e23c204 Second fix for #808 2020-02-20 19:23:32 +01:00
Benoit Marty aefffc0c05 RoomPreviewNoPreviewFragment use room alias if there is no name 2020-02-20 19:19:31 +01:00
Benoit Marty fd05fe36f5 Fix joining rooms from directory via federation isn't working. (#808) 2020-02-20 19:01:36 +01:00
Benoit Marty b72698d63c Fix another issue when there is no name and no canonical alias on a public room 2020-02-20 18:47:07 +01:00
Benoit Marty 87021dd6ec Rename field 2020-02-20 18:16:10 +01:00
Benoit Marty b85c76b172 Simplify code 2020-02-20 18:05:53 +01:00
onurays a97971dd84 Fix threading issues while restoring keys backup. 2020-02-19 18:30:12 +03:00
Benoit Marty 35b10daef1 Ensure RiotX is able to scan binary QrCodes 2020-02-19 14:26:45 +01:00
Benoit Marty 571db7da55
Merge pull request #1035 from vector-im/feature/share_text
Fix share text to a single room issue
2020-02-19 10:08:29 +01:00
Benoit Marty c6b231c0b1 Create toState() fun and use the enum 2020-02-18 14:12:50 +01:00
Benoit Marty f8276e48e3 add kluent for test 2020-02-18 14:09:42 +01:00
Benoit Marty 86c38ebd2d Create Set.toggle() method 2020-02-18 13:33:49 +01:00
Benoit Marty d730f96c41 Do not show alert when sharing text to a single room 2020-02-18 12:24:27 +01:00
Benoit Marty 7b3fcb7798 When sharing to a room save a draft to pre-fill the composer 2020-02-18 12:11:51 +01:00
Benoit Marty 7133d513b4 Fix crash in the room directory, when public room has no name (#1023) 2020-02-18 10:45:14 +01:00
Benoit Marty b811bf9e7f Fix issue after merge 2020-02-17 23:21:08 +01:00
Benoit Marty ebda12dd76
Merge branch 'develop' into feature/attachment_process 2020-02-17 19:22:50 +01:00
Benoit Marty adc545a93d
Merge pull request #1026 from vector-im/feature/crypto_service_renaming
Feature/crypto service renaming
2020-02-17 19:21:02 +01:00
Benoit Marty fc740ae347
Merge pull request #1016 from vector-im/feature/cleanup_quadS
Cleanup quad s and AccountData service
2020-02-17 18:52:23 +01:00
Benoit Marty f716e9d789 Fix compilation issue 2020-02-17 18:49:45 +01:00
Benoit Marty 7495533edc Use let 2020-02-17 18:16:37 +01:00
Benoit Marty 002e881704 Fix multiple share intent issue 2020-02-17 17:26:19 +01:00
Benoit Marty 51bbee297c Remove useless confirmation when shared data are previewables 2020-02-17 17:06:15 +01:00
Benoit Marty 82bd8a2e2a Ask for write permission before editing media 2020-02-17 16:29:10 +01:00
Benoit Marty d67cd2cbef Small iteration on UI 2020-02-17 16:21:10 +01:00
ganfra fd0dceb597 Clean code 2020-02-17 15:23:24 +01:00
Benoit Marty 48a033b3bd Fix navigation issue when sharing text to multiple rooms 2020-02-17 14:58:20 +01:00
Benoit Marty a3b205b310 No preview for elements sent from the keyboard 2020-02-17 14:48:12 +01:00
Benoit Marty ca0cd9e97d Better code 2020-02-17 14:38:56 +01:00
Benoit Marty 31d5578063 Media preview: do not propose to edit Gif 2020-02-17 14:35:57 +01:00
Benoit Marty 13d3aa9ff1
Merge branch 'develop' into feature/attachment_process 2020-02-17 13:48:21 +01:00
Benoit Marty ecf07ff64a Account creation: wrongly hints that an email can be used to create an account (#941) 2020-02-17 10:30:54 +01:00
ganfra e349a35419 Crypto: expose cryptoService by a getter, removing the session implementation delegation 2020-02-16 15:40:31 +01:00
Benoit Marty 76085a4284 AccountData cleanup and Javadoc 2020-02-14 21:50:37 +01:00
Benoit Marty db19ab0531
Merge branch 'develop' into feature/4s_msc1946 2020-02-14 17:45:44 +01:00
Benoit Marty 1660a0f846 Version++ 2020-02-14 15:16:00 +01:00
Benoit Marty 88b8ceaeb5
Merge pull request #1005 from vector-im/feature/fix_event_redaction_prompt
Do not ask for a reason if user wants to delete his own message.
2020-02-14 14:36:01 +01:00
Benoit Marty e4577d8fef Small cleanup before merge 2020-02-14 14:34:22 +01:00
onurays 030d6824e3 Code review fixes. 2020-02-14 15:04:25 +03:00
Valere f99eca8014 Code review 2020-02-14 10:48:18 +01:00
Valere e0eede1150 cleaning 2020-02-14 10:48:18 +01:00
Valere 61ea4191dc Update json viewer lib 2020-02-14 10:48:18 +01:00
Valere 108ebea84e SSSS service + test 2020-02-14 10:48:18 +01:00
Valere bf06b57bad Refactor Account Data
Auto stash before rebase of "develop"
2020-02-14 10:48:18 +01:00
Benoit Marty 6c0bddc893 Code quality 2020-02-13 23:20:35 +01:00
Benoit Marty 930d62c87b Restore Breadcrumbs comparator, we can maybe improve this later 2020-02-13 23:00:03 +01:00
Benoit Marty e6bd09859f Compress image before sending 2020-02-13 22:50:55 +01:00
Benoit Marty 385fa317c0 Add a green frame around current small preview 2020-02-13 20:45:03 +01:00
Benoit Marty ecd547b86c Auto close the room picker and open the first room when data are shared in case of multi selection 2020-02-13 20:10:59 +01:00
Benoit Marty d87b951403 Improve code 2020-02-13 20:10:59 +01:00
Benoit Marty 06ba478232 Send files to several rooms at a time 2020-02-13 20:10:59 +01:00
Benoit Marty 81de914360 Propose to edit media before sending, when coming form another application 2020-02-13 20:10:59 +01:00
Benoit Marty b7ec495d6b Add comment 2020-02-13 19:52:11 +01:00
Benoit Marty a8953568f3 Set custom colors 2020-02-13 19:52:11 +01:00
Benoit Marty 41b20863fb Mention uCrop library copyright 2020-02-13 19:52:11 +01:00
Benoit Marty 94340a49d7 Ask for permission 2020-02-13 19:52:11 +01:00
Benoit Marty c67fd508e7 Cleanup 2020-02-13 19:52:11 +01:00
Ganard eccc52fe13 Sharing: start extracting from RoomList as it's getting messy 2020-02-13 19:52:11 +01:00
Ganard b7a7aa2f15 Attachment: continue working on preview screen 2020-02-13 19:52:11 +01:00
ganfra 6471787232 Share: start managing multi selection and warning 2020-02-13 19:52:11 +01:00
ganfra 41f1ec5d88 Attachments: preview with pager mode 2020-02-13 19:51:20 +01:00
Ganard a26e959430 Attachements: introduce structure for preview, cropping and compressing 2020-02-13 19:51:20 +01:00
Benoit Marty 5808c1de22 TextView displaying emoji should have text color set to black 2020-02-13 19:50:31 +01:00
Benoit Marty d21604b791
Merge pull request #989 from vector-im/feature/qr_code_mistake
Fix issue with verification when other client declares it can only show QR code (#988)
2020-02-13 19:41:10 +01:00
onurays fd135e1eeb Compute message body for encrypted messages too. 2020-02-13 18:09:26 +03:00
onurays f28e4cf991 Fix comparison of user ids. 2020-02-13 17:57:38 +03:00
onurays 983593d647 getRedactionReason function is refactored. 2020-02-13 17:28:14 +03:00
onurays 1b413934b5 Set redaction reason as message body. 2020-02-13 16:42:13 +03:00
onurays 8a3e93ae96 Do not ask for a reason if user wants to delete his own message.
Fixes (#1003)
2020-02-13 14:59:41 +03:00
Benoit Marty 6a69c6356d PushersService.pushers() has been renamed to PushersService.getPushers() 2020-02-13 07:04:54 +01:00
Benoit Marty e492e4318b Do some parameter checks 2020-02-13 06:48:52 +01:00
Valere e1342d096b
Merge pull request #810 from vector-im/feature/msc_2192
Feature/msc 2192
2020-02-12 17:41:50 +01:00
Onuray Sahin 6013e1653b
Open room member profile from reactions and read receipts. (#990)
Open room member profile from reactions and read receipts. Fixes #875
2020-02-12 15:57:49 +01:00
Benoit Marty 47f47e40c4 code review and cleanup 2020-02-12 15:09:38 +01:00
Benoit Marty 9016688aec Fix compilation issue after rebase 2020-02-12 13:48:08 +01:00
Valere 9a7bd35ddc Add m.buttons support (a.k.a bot buttons) 2020-02-12 13:40:54 +01:00
Valere 3ac54c51f6 cleaning 2020-02-12 13:39:30 +01:00
Valere c4ea2507f8 Add command to send poll 2020-02-12 13:39:30 +01:00
Valere 6001ac60ab klint cleaning 2020-02-12 13:37:16 +01:00
Valere 0cea26ec77 ux tweak on poll result 2020-02-12 13:37:16 +01:00
Valere 577c5a16b3 Support incremental poll response aggregation + display 2020-02-12 12:47:28 +01:00
Valere a0aebed3f7 Message Poll UX, and model 2020-02-12 12:42:17 +01:00
Benoit Marty 6acfab3242 Rename VerificationListener to Listener 2020-02-12 11:39:36 +01:00
Benoit Marty bf02746d87 Clenaup VerificationService.VerificationListener 2020-02-12 11:39:36 +01:00
Benoit Marty 377d944228 Cleanup API 2020-02-12 11:39:36 +01:00
Benoit Marty 6ff974b3ea Fix issue with verification when other client declares it can only show QR code (#988) 2020-02-12 11:39:36 +01:00
onurays 3573aea600 Fix crash by removing all notifications after clearing cache.
Fixes #878
2020-02-11 16:48:28 +03:00
Benoit Marty 6fce2a3066 Change wording adding "..." because there is now confirmation dialog
And make the item red because it is destructive. Also use "redact" terminology
2020-02-11 11:04:21 +01:00
Benoit Marty b40da4ef0f Disable TextInputLayout instead of TextInputEditText 2020-02-11 11:00:33 +01:00
Benoit Marty 96341df5e7 Format layout 2020-02-11 11:00:01 +01:00
onurays afbd9cff70 Merge branch 'develop' into feature/event_deletion_dialog
# Conflicts:
#	CHANGES.md
#	vector/src/main/java/im/vector/riotx/features/home/room/detail/RoomDetailFragment.kt
2020-02-11 12:11:36 +03:00
onurays ce028f8bd2 Gathering reason input is refactored. 2020-02-11 00:10:24 +03:00
Benoit Marty a7274b9df0 Version++ 2020-02-10 21:41:59 +01:00
onurays ba0133a047 Reason input for redacting event is added. 2020-02-10 23:03:37 +03:00
Benoit Marty 6750237764
Merge pull request #976 from vector-im/feature/viewEvents
Use View events
2020-02-10 16:46:21 +01:00
Benoit Marty 7e362be568 Convert to ViewEvents -> Cleanup after review 2020-02-10 16:10:57 +01:00
onurays 83d83e0812 Show confirmation dialog before deleting a message
Fixes #967
2020-02-10 17:58:48 +03:00
Benoit Marty 81413e49bc Remove '(yet)' 2020-02-10 14:51:35 +01:00
Benoit Marty b24f133105 Import strings from Riot 2020-02-10 14:50:21 +01:00
Benoit Marty 5b13be6332 Rename 2020-02-07 19:58:14 +01:00
Benoit Marty abeb741cad Convert to ViewEvents -> RoomDetailViewModel part 5 2020-02-07 19:50:15 +01:00
Benoit Marty 84e1169525 Convert to ViewEvents -> RoomDetailViewModel part 4 2020-02-07 19:45:54 +01:00
Benoit Marty 27e217fce5 Convert to ViewEvents -> RoomDetailViewModel part 3 2020-02-07 19:41:23 +01:00
Benoit Marty bdb1f850b2 Convert to ViewEvents -> RoomDetailViewModel part 2 2020-02-07 19:37:30 +01:00
Benoit Marty 0338535efa Convert to ViewEvents -> RoomDetailViewModel part 1 2020-02-07 19:27:18 +01:00
Benoit Marty 0dd3894a49 Use handle() pattern 2020-02-07 19:20:02 +01:00
Benoit Marty c8ff8d3c9e Convert to ViewEvents -> DeviceListBottomSheetViewModel 2020-02-07 18:59:31 +01:00
Benoit Marty 70973c3302 Convert to ViewEvents -> CrossSigningSettingsViewModel 2020-02-07 18:47:54 +01:00
Benoit Marty a930313bf3 Convert to ViewEvents -> VerificationBottomSheetViewModel 2020-02-07 18:27:13 +01:00
Benoit Marty 35054dc5e8 Convert to ViewEvents -> CreateDirectRoomViewModel 2020-02-07 18:11:53 +01:00
Benoit Marty 33b123f719 Convert to ViewEvents -> GroupListViewModel 2020-02-07 18:02:42 +01:00
Benoit Marty 24667f38b8 Convert to ViewEvents -> RoomMemberProfileViewModel 2020-02-07 17:47:37 +01:00
Benoit Marty 256a6e4322 Convert to ViewEvents -> RoomDetailViewModel 2020-02-07 17:34:26 +01:00
Benoit Marty 7f5cc77ee0 Convert to ViewEvents -> DevicesViewModel 2020-02-07 17:14:03 +01:00
Benoit Marty c34307ecf7 Convert to ViewEvents -> RoomDirectoryViewModel 2020-02-07 16:32:01 +01:00
Benoit Marty 57758af2d7
Merge pull request #974 from vector-im/feature/crosssigning_cleanup
Improve prompt password dialog
2020-02-07 14:02:15 +01:00
Benoit Marty 5fedfd9286 Cleanup 2020-02-06 16:00:05 +01:00
Valere 3e2219cbb5 Ignore interrupted exception in setupRx 2020-02-06 13:56:57 +01:00
Valere 75131fdf44 Post merge fix 2020-02-06 13:56:57 +01:00
Valere 4506b7d6e6 Fix / annoying loading to get active sessions
Start with what's known locally
2020-02-06 13:56:57 +01:00
Valere 320dc4accd Refactor Room Shield / Profile shield 2020-02-06 13:56:57 +01:00
Benoit Marty ffc9a595dd
Merge pull request #964 from vector-im/feature/firefox_account_sso
Support SSO login with Firefox account (#606)
2020-02-06 11:28:16 +01:00
Benoit Marty 51c2b9e1e9 Import strings from Riot 2020-02-05 17:35:23 +01:00
Benoit Marty 2a4c8b3199 Support SSO login with Firefox account (#606) 2020-02-05 15:21:54 +01:00
Benoit Marty 50814dafe9 Update wording 2020-02-05 14:19:04 +01:00
Benoit Marty d9c007d017 Merge branch 'develop' into feature/stabilization_2 2020-02-05 12:57:42 +01:00
Benoit Marty 05dd587fa8 Move FORMAT_MATRIX_HTML to a proper object and so fix a wrong usage issue 2020-02-05 12:44:31 +01:00
Benoit Marty 3384d91adb Rename MessageContent.type to MessageContent.msgType for code clarity and update a few the Javadoc 2020-02-05 12:39:26 +01:00
Benoit Marty f72e5c1d94 Explain why and when to use EllipsizingTextView 2020-02-05 12:16:43 +01:00
Benoit Marty a3ec0e03a0 Use NoOpMatrixCallback when it's possible 2020-02-05 12:05:12 +01:00
Benoit Marty 47ee2a24a7 Move NoOpMatrixCallback to MatrixCallback.kt file 2020-02-05 11:58:08 +01:00
Benoit Marty b8096f21ea Restore Copyright and cleanup 2020-02-05 11:56:07 +01:00
Benoit Marty 3e9b2e4a06 Use the correct enableEncryption() method 2020-02-04 14:04:48 +01:00
Ganard 1728d31401 Fix some issues and make test passes 2020-02-04 13:19:02 +01:00
Benoit Marty e02430bcd0 Ask for permission before opening the camera (#934) 2020-02-03 20:06:37 +01:00
Benoit Marty 6df5edbad1 Version++ 2020-02-03 16:20:55 +01:00
Benoit Marty 0049af7980 Prepare version 0.14.3 2020-02-03 16:15:38 +01:00
Ganard f454078c6b Clean code 2020-02-03 16:14:36 +01:00
Benoit Marty 783a514496 Improve prompt password dialog
Reveal password, inline error when empty
2020-02-03 15:53:44 +01:00
Ganard e6cd8a3a86 Merge develop into feature/stabilization_2 2020-02-03 13:59:20 +01:00
Benoit Marty 5fb4f274f9 Version ++ 2020-02-02 08:00:57 +01:00
Benoit Marty 435d8cbc55 Prepare v0.14.1 2020-02-02 07:55:46 +01:00
Benoit Marty 1d2928b3fb ktlint 2020-02-02 03:13:15 +01:00
Benoit Marty 40b0f60964 Fix issue in dark theme. Also do not limit subtitles to 2 lines 2020-02-02 03:11:27 +01:00
Valere 845f3f5ad1 FIx / use password textedit 2020-02-02 00:04:15 +01:00
Benoit Marty 9e15891053 Version++ 2020-02-01 17:21:41 +01:00
Valere 26400e6372 Prompt before resetting keys 2020-02-01 15:20:04 +01:00
Valere 282be29247 temp shield for read only 2020-02-01 15:20:04 +01:00
Benoit Marty 6ee7ee1460 Fix blink effect 2020-02-01 15:04:22 +01:00
Valere 2e0a84ccc9 display profile faster from known info 2020-02-01 15:03:00 +01:00
Valere 9d6e7d7bd0 Learn more shows my devices when keys not trusted 2020-02-01 14:36:17 +01:00
Valere 8f7b18239d Warn on verify when private keys not known 2020-02-01 14:36:17 +01:00
Benoit Marty 10094a212c ktlint 2020-02-01 14:02:51 +01:00
Benoit Marty 53e36dca9c ZXing 3.3.3 because of https://github.com/zxing/zxing/issues/1170 2020-02-01 13:52:33 +01:00
Benoit Marty cd606ba8a1 RoomMember decoration 2020-02-01 11:37:16 +01:00
Benoit Marty 59abee10f8 Convert to ConstraintLayout 2020-02-01 11:37:16 +01:00
Valere 64df9e23c2 Room Profile / Just show e2e status remove learn more 2020-02-01 11:03:00 +01:00
Benoit Marty bb92882958 (partially) Fix glitch 2020-01-31 20:28:57 +01:00
Benoit Marty 46dd17644f Room decoration - in room profile UI 2020-01-31 20:12:02 +01:00
Benoit Marty 7e34b2a672 Room decoration - convert to ConstraintLayout 2020-01-31 20:02:01 +01:00
Valere 51e0f945a7 Quick Room Decoration 2020-01-31 18:52:33 +01:00
Ganard 37230b0614 Fix issues with read marker and jumpToBottom 2020-01-31 18:09:34 +01:00
Benoit Marty e18b9d5155 Room decoration - UI in room list 2020-01-31 16:10:52 +01:00
Ganard ec6d78bf96 Merge branch 'develop' into feature/stabilization_2 2020-01-31 15:47:33 +01:00
Benoit Marty f5ecf4bd90 Room decoration - UI 2020-01-31 15:02:54 +01:00
Valere 27c74c9118 live device in settings 2020-01-31 14:42:00 +01:00
Valere 5c547794f2 Merge branch 'develop' into cross_signing 2020-01-31 14:09:40 +01:00
Benoit Marty 43358cd86c Make self verification work! 2020-01-31 12:18:27 +01:00
Benoit Marty 87b76d10dd Format 2020-01-31 11:11:27 +01:00
Valere 8e5c7239cf Settings Sessions / Now live + support devices with no keys 2020-01-31 10:33:53 +01:00
Valere 7b385c3b36 Quick copy change device -> session 2020-01-31 10:00:44 +01:00
Valere 850c830e1f Fix / auto ready request when waiting bottomsheet on screen 2020-01-31 09:16:03 +01:00
Benoit Marty 9dde43f65b PR Review: var -> val, internal and other cleanup 2020-01-30 23:40:25 +01:00
Benoit Marty ccd857016c ktlint 2020-01-30 18:46:08 +01:00
Benoit Marty 225e4e0433 To Device Verification Request 2020-01-30 18:43:50 +01:00
Ganard 5e1b59f9d3 Timeline: handle an in memory local echo to make the UI snappier 2020-01-30 17:13:44 +01:00
Benoit Marty 069bd3c258 use isMe 2020-01-30 16:59:22 +01:00
Valere a5ca2b1d34 Fix / incoming start verif popup should not show when bottomsheet there 2020-01-30 16:36:13 +01:00
Valere 50d5ad3625 Self verification + toDevice Request 2020-01-30 16:35:42 +01:00
Benoit Marty fbd0bbc575 Improve clarity of the algorithm to enable encryption for DMs 2020-01-30 11:24:05 +01:00