Commit graph

845 commits

Author SHA1 Message Date
Benoit Marty
546da0f173
Merge branch 'develop' into feature/notif_invit 2019-09-23 16:23:22 +02:00
Benoit Marty
001711d5a3
Merge pull request #574 from vector-im/feature/big_emoji
Embiggen messages with multiple emojis also for edited messages
2019-09-23 16:22:53 +02:00
Benoit Marty
b25a130db1 Rename DimensionUtils to DimensionConverter, and inject resources instead of context. 2019-09-23 14:39:52 +02:00
Valere
47e3797b7e Fix infinite focus on HS field 2019-09-23 09:44:32 +02:00
Benoit Marty
5cbc90e06a Embiggen messages with multiple emojis also for edited messages (#458)
And daggerize DimensionUtils
2019-09-20 19:22:42 +02:00
ganfra
b6e18e4a8f Timeline: add badge also when unread without notif 2019-09-20 18:34:58 +02:00
ganfra
7e29665fd0 Timeline: add some comments and checks 2019-09-20 18:34:31 +02:00
Benoit Marty
d3d4deb884 Rework Action (better kotlin code) 2019-09-20 17:50:57 +02:00
Benoit Marty
f6b8e0c479 Fix issue: push rules was not retrieved after a clear cache.
We now store push rules from the sync response
2019-09-20 17:50:57 +02:00
Benoit Marty
03f8120b7d Create enum for Push rules. Also add some TODOs 2019-09-20 17:50:15 +02:00
Benoit Marty
acd7a709de Dagger: create @UserId to inject userId 2019-09-20 17:50:15 +02:00
Benoit Marty
9794b3a49d Fix compilation issue of F-Droid build 2019-09-20 17:35:10 +02:00
ganfra
90eeb68d36 Timeline: fix permalink towards an hidden event 2019-09-20 17:22:04 +02:00
ganfra
d1ff3314a7 Timeline : add badge on jump to bottom view 2019-09-19 19:12:45 +02:00
Benoit Marty
a993a30203 Handle left group from sync 2019-09-19 17:08:22 +02:00
ganfra
ea0809ff87 Merge branch 'develop' into feature/read_marker 2019-09-19 16:57:00 +02:00
ganfra
9668487b6b Timeline/Read: update read receipt locally to 2019-09-19 16:17:58 +02:00
Benoit Marty
562acc9702 Save Draft only when app goes to background. 2019-09-19 13:09:08 +02:00
Benoit Marty
dfab88ed95 Display room with draft in the Catchup screen 2019-09-19 13:09:08 +02:00
Benoit Marty
36866dd24e Save draft of a message when exiting a room with non empty composer (#329) 2019-09-19 13:09:08 +02:00
Benoit Marty
f5020d0f63 Daggerization and cleanup of NotificationUtils 2019-09-19 13:01:00 +02:00
Benoit Marty
7da9cafcc2 Remove any notification of a redacted event (#563)
Also do some cleanup and kotlinification on the code
2019-09-19 13:01:00 +02:00
Benoit Marty
468bd5bcc9 Message Editing: Update notifications (#128) 2019-09-19 12:57:58 +02:00
Benoit Marty
0ffb5e627e Cleanup injected constructors 2019-09-19 12:43:39 +02:00
Benoit Marty
b4a13f9504 Add unread indent on room list 2019-09-19 12:43:39 +02:00
ganfra
88fb9667a3 Timeline: continue fixing issues + read marker 2019-09-18 20:21:42 +02:00
ganfra
3066d5f303 Timeline\ReadMarker: continue fixing issues 2019-09-17 19:38:05 +02:00
Benoit Marty
ed93f4a6c1 Cancel any request properly 2019-09-17 14:55:57 +02:00
Benoit Marty
b3d649a4d9 Fix characters erased from the Search field when the result are coming (#545) 2019-09-17 14:55:57 +02:00
Benoit Marty
3739e50d46 Better error message for timeout 2019-09-17 14:55:48 +02:00
Benoit Marty
9bf484cf1e Create a Failure to handle cancellation, and use it to ignore cancellation on room search 2019-09-17 14:55:48 +02:00
Benoit Marty
6c2faff1f0 Version++ (0.6.0) 2019-09-17 14:53:50 +02:00
Benoit Marty
4453f0ced9
Merge pull request #560 from vector-im/feature/no_network
Display a "No network" banner when the device has no network
2019-09-17 14:40:42 +02:00
Benoit Marty
25e9a179d2 SyncThread: Fix issue when network is back and the app was in background: do not restart the thread 2019-09-17 14:26:30 +02:00
Benoit Marty
993fa74252 Cleanup after BillCarsonFr's review 2019-09-17 11:24:37 +02:00
Benoit Marty
38fc4984fe Display a no network indicator when there is no network: Create a dedicated View 2019-09-17 11:13:00 +02:00
Benoit Marty
695d8cce00 Display a no network indicator when there is no network (#559) 2019-09-17 10:59:58 +02:00
Benoit Marty
20f53e9a58 Signout: propose the user to retry in case of error 2019-09-17 10:33:27 +02:00
Benoit Marty
ced72aff4f Revert change done to save alias for the client 2019-09-17 10:32:09 +02:00
Benoit Marty
fdaaca49c2 Code quality (bad import) 2019-09-16 19:27:13 +02:00
Benoit Marty
3485f023b0 All current notifications were dismissed by mistake when the app is launched from the launcher 2019-09-16 19:24:52 +02:00
Benoit Marty
384dd100e9 Daggerization and Kotlinification of SecretStoringUtils 2019-09-16 19:19:14 +02:00
ganfra
69fb7bdf95 Timeline\Read marker: continue fixing potential issues 2019-09-16 18:14:41 +02:00
Benoit Marty
c8010561fc Rework on sign out task 2019-09-16 17:45:26 +02:00
Benoit Marty
138a210a73 Dagger: Screen component now exposes ActiveSessionHolder instead of Session 2019-09-16 14:43:39 +02:00
Benoit Marty
6bda437f5d Auto configure homeserver and identity server URLs of LoginActivity with a magic link 2019-09-16 10:58:51 +02:00
ganfra
5d6d0202a9 Timeline: try to fix some issues with permalink [WIP] 2019-09-14 14:11:41 +02:00
Benoit Marty
3e6b65e174 Handle M_CONSENT_NOT_GIVEN error (#64) 2019-09-13 18:21:56 +02:00
Benoit Marty
b22b8fba02 Fix the mess up with OnBackPress support on Fragment 2019-09-13 15:55:33 +02:00
Benoit Marty
3ccdf4a244 Login: some cleanup 2019-09-13 15:35:44 +02:00
Benoit Marty
5fbd271b1c Login: add SSO support 2019-09-13 15:19:45 +02:00
Benoit Marty
db8ea0f5e8 Login: check login flow - step 1 2019-09-13 11:08:54 +02:00
Benoit Marty
a47a3ead1f Login: move login code to the ViewModel 2019-09-13 10:39:22 +02:00
Benoit Marty
05b2092ffc Login: move existing code to a Fragment, MvRx style 2019-09-13 10:07:55 +02:00
ganfra
f4ab770be9 Merge branch 'develop' into feature/read_marker 2019-09-12 17:24:50 +02:00
ganfra
d4111d053d Read marker: only show banner until scrolled to read marker 2019-09-12 16:35:45 +02:00
Benoit Marty
618e9a4f52 Fix issue with bad versionCode generated by Buildkite (#553) 2019-09-12 16:17:44 +02:00
ganfra
b8ebe3570b Timeline: refact epoxy attributes 2019-09-11 18:04:17 +02:00
Benoit Marty
f2c8d4ad02
Merge pull request #549 from vector-im/feature/third_party_invite
Fix rendering issue of accepted third party invitation event
2019-09-06 16:36:30 +02:00
Benoit Marty
1b82a1a24d Cleanup 2019-09-06 15:52:29 +02:00
Benoit Marty
cf0b331c3b Handle invite to the current user rendering 2019-09-06 15:48:42 +02:00
Benoit Marty
2a92a3dc80 Fix rendering issue of accepted third party invitation event 2019-09-06 14:34:52 +02:00
Benoit Marty
a5975a099e Cleanup and document DefaultInitialSyncProgressService 2019-09-05 17:23:09 +02:00
Benoit Marty
ed39b02924 Avoid using keyword for variable names 2019-09-05 16:04:41 +02:00
Benoit Marty
9cedb18921
Merge pull request #538 from vector-im/feature/log_mgmt
Reduce release build log level
2019-09-05 15:24:04 +02:00
Benoit Marty
e89ba7b87b Update wording 2019-09-05 15:23:38 +02:00
Valere
eec2abf164 Reduce release build log level 2019-09-02 14:33:53 +02:00
Benoit Marty
6879cc8ca8 Fix crash due to missing informationData (#535) 2019-09-02 14:24:36 +02:00
Benoit Marty
fd6bbbd3b5 Fix issue with version name (Fixes #533) 2019-08-30 15:57:39 +02:00
Benoit Marty
0ff0b014a9 Version++ (0.5.0) 2019-08-30 15:07:04 +02:00
Benoit Marty
58f878fca9 Prepare version 0.4.0 2019-08-30 15:04:28 +02:00
Benoit Marty
47d22a3d5e Import translation from Riot and MatrixSDK 2019-08-30 11:21:43 +02:00
Valere
35817245cb refactoring, code review 2019-08-29 17:27:49 +02:00
Valere
75266f42bb Fix / EmojiCompat not initialized 2019-08-29 16:49:22 +02:00
Benoit Marty
ce5570105d Privacy: remove log of notifiable event (#519) 2019-08-29 10:36:45 +02:00
Benoit Marty
c95223f5d2 Add long click support on unsupported event 2019-08-28 18:17:37 +02:00
Benoit Marty
ef0362ba9c Display Read Receipt on unsupported events 2019-08-28 17:31:31 +02:00
Benoit Marty
ea242f6737 Hide ReadReceipt View when it is not relevant 2019-08-28 17:17:37 +02:00
Valere
a8f1388721
Merge pull request #520 from vector-im/feature/read_receipts_511
Improve read receipt design
2019-08-28 10:17:56 +02:00
Valere
166be4e289 Improve read receipt design 2019-08-28 09:56:10 +02:00
Valere
b5af62c3ea Some video won't play
VideoView fails to play some remote uri video on some device. For now video is downloaded locally in internal cache then played. This offers basic support before full media preview implementation
2019-08-27 16:50:02 +02:00
Valere
7e142d201d Use EmojiCompat to build EmojiSpans from text 2019-08-27 11:06:52 +02:00
Valere
2be6058971 accept non unicode reactions 2019-08-27 10:58:21 +02:00
Valere
bd88d85a21
Merge branch 'develop' into feature/fix_441 2019-08-27 04:35:17 -04:00
Valere
704da1be55
Merge branch 'develop' into feature/fix_358 2019-08-27 04:34:24 -04:00
Valere
d4161e9a1a Fix text diff removed linebreak 2019-08-27 10:17:42 +02:00
Valere
7966ebef03 Date change message repeats for each redaction until a normal message 2019-08-27 10:16:11 +02:00
Valere
ed5faca5d2 Slide-in reply icon is distorted 2019-08-27 10:06:20 +02:00
ganfra
51a4c93676 Read markers: continue working on ui 2019-08-23 16:54:32 +02:00
ganfra
d8f449388c Read marker: start working on it (no UI) 2019-08-20 18:30:24 +02:00
Benoit Marty
8ca829d538 An error was displayed by mistake 2019-08-19 17:22:04 +02:00
ganfra
5402902bc2 Merge branch 'develop' into feature/di_clean 2019-08-19 15:04:26 +02:00
ganfra
bc1350aaf5
Merge pull request #484 from vector-im/feature/timeline_read_receipts
Feature/timeline read receipts
2019-08-19 14:29:59 +02:00
ganfra
fd74e3dfb1 Read receipts: clean code after review 2019-08-19 14:08:15 +02:00
ganfra
e0628da1cb Dagger: use AssistedInjectModule for viewModel + use AssistedFactory for room dependencies 2019-08-14 19:09:56 +02:00
Benoit Marty
aa4e74e986
Merge pull request #487 from vector-im/feature/fix_ui_issues
Feature/fix ui issues
2019-08-14 18:20:08 +02:00
ganfra
501474b720 Fix code quality issues 2019-08-14 14:53:40 +02:00
ganfra
e11c66035c Theme: the action menu text items should use colorAccent 2019-08-14 14:19:21 +02:00
ganfra
3d2d219d79 Room list: let the fab animation be quicker 2019-08-14 14:18:56 +02:00
ganfra
63af03bedd List: add overScroll 2019-08-14 14:18:42 +02:00
ganfra
d3827b8673 Read receipts: branch settings to show/hide them 2019-08-14 10:51:09 +02:00
Benoit Marty
4ca2531e47 develop branch will have version code from timestamp, to ensure each build from CI has a incremented versionCode
Other branches (master, features, etc.) will have version code based on application version.
2019-08-14 10:45:17 +02:00
ganfra
25a4240a5a Merge branch 'develop' into feature/timeline_read_receipts 2019-08-13 15:16:10 +02:00
ganfra
b9cfda23b6 Read receipts: just juste invisible on hidden avatars, to have a bigger touch zone 2019-08-13 15:06:00 +02:00
ganfra
21deb2551d Read receipts: handle read receipts set on filtered events + let BottomSheet takes a snapshot instead of being live. 2019-08-12 17:59:07 +02:00
ganfra
70639f180c Read receipts: add read receipts bottom sheet 2019-08-08 19:59:20 +02:00
ganfra
1dbb02a80d Read receipts: create custom view to use it wherever we want easily 2019-08-08 17:51:06 +02:00
ganfra
825463d9cd Change package for NotificationAreaView 2019-08-08 17:50:33 +02:00
Benoit Marty
3f792c7a84 Automatic "-dev" version suffix on non master branch 2019-08-08 16:57:03 +02:00
Benoit Marty
347dcb469a Version++ 2019-08-08 16:47:13 +02:00
Benoit Marty
e216cd15a8 Prepare release 0.3.0 2019-08-08 16:44:53 +02:00
Benoit Marty
f7b471f141 Stop using BuildConfig.VERSION_CODE, it is not the correct value 2019-08-08 16:31:45 +02:00
Benoit Marty
93fd56a7ca Ensure versionCode is the wanted one for GPlay and F-Droid build 2019-08-08 16:30:44 +02:00
ganfra
b4ce8748cb First step in handling read receipts 2019-08-08 14:32:11 +02:00
Benoit Marty
9d5433a857 Show sync progress also in room detail screen (#403) 2019-08-08 14:14:10 +02:00
Benoit Marty
6e44cca17d Handle /markdown command 2019-08-08 12:09:05 +02:00
Benoit Marty
0a73887c70 Daggerization of VectorPreferences 2019-08-08 11:52:50 +02:00
Benoit Marty
24f391dac0
Merge pull request #467 from vector-im/feature/playstore_crash
Feature/playstore crash
2019-08-07 17:10:49 +02:00
Benoit Marty
81c7f694d6 Import Strings form Riot 2019-08-07 16:10:50 +02:00
Benoit Marty
3584658c36 Fix crash (IllegalStateException) observed on PlayStore 2019-08-07 13:24:43 +02:00
Benoit Marty
12a0cbb400 Fix crash observed on PlayStore 2019-08-07 13:16:04 +02:00
Benoit Marty
20437446b4 Add "View Edit History" item in the message bottom sheet (#401) 2019-08-07 13:05:22 +02:00
Benoit Marty
35229882e3 Fix (edited) link can be copied to clipboard (#402) 2019-08-07 12:28:21 +02:00
Benoit Marty
63f6081fa5 Split APK: generate one APK per arch, to reduce APK size of about 30% 2019-08-07 11:46:38 +02:00
Benoit Marty
ee2e575211 Display VersionCode of the app in the settings, because Android system does not display it anymore 2019-08-07 11:44:51 +02:00
ganfra
b79fdf6a85 Fix theme not well defined at runtime after configurationChange 2019-08-06 18:55:38 +02:00
Benoit Marty
7b5dff3dcf Mutualize :? part 2019-08-06 18:14:24 +02:00
Benoit Marty
bb04af1e2c Remove useless code 2019-08-06 18:14:24 +02:00
Benoit Marty
2f94fbd7eb Use existing method 2019-08-06 18:14:24 +02:00
Benoit Marty
f2a3bdb68e Kotlin style 2019-08-06 18:14:24 +02:00
Benoit Marty
097e9714ff Cleaner code 2019-08-06 18:14:24 +02:00
Benoit Marty
99f4196388 More code cleanup/review 2019-08-06 18:14:24 +02:00
Benoit Marty
394b89e76b Avoid duplicated code 2019-08-06 18:07:35 +02:00
Benoit Marty
0db8e7da43 Format 2019-08-06 18:07:35 +02:00
Valere
85499c6b33 fix for background overlaps 2019-08-02 10:00:33 +02:00
Valere
8076eab4b5 Fix / Shared element transition overlap
Shared element was overlapping top system bars
2019-08-02 10:00:33 +02:00
Valere
d47c0f5ebc Fix / layout res in debug instead of main 2019-08-02 09:59:59 +02:00
ganfra
77c4355aed Merge branch 'develop' into feature/room_update 2019-07-31 14:27:12 +02:00
ganfra
1a92562182 Clean code after review 2019-07-31 14:06:10 +02:00
ganfra
eb446d7b49 Fix code quality issues 2019-07-30 21:20:30 +02:00
ganfra
dc4786ecf0 Room upgrade: add rx flux and handle failures more precisely 2019-07-30 19:13:09 +02:00
Valere
000db4b192 Basic Message Failure support + Resend (text only)
+ clean worker inputs when starting new independent task in unique queue
2019-07-30 17:53:43 +02:00
ganfra
f4df27c2dc Merge branch 'develop' into feature/room_update 2019-07-30 15:51:56 +02:00
ganfra
ab25980c4e
Merge pull request #437 from vector-im/feature/create_direct_room
Feature/create direct room
2019-07-30 15:13:30 +02:00
ganfra
6deba31111 Direct room: finally use PagedList as we can get a lot of users in DB. 2019-07-30 14:51:14 +02:00
ganfra
ff6ce8a4b7 Create direct : remove letter headers when filtering 2019-07-29 19:13:06 +02:00
ganfra
65f0af918f Remove default identity server as we don't use it. 2019-07-29 18:26:26 +02:00
ganfra
ac38a6461c Tombstone : handle joining viaserver params 2019-07-26 19:17:12 +02:00
ganfra
9a1e16a170 Tombstone : add notification area and handle links 2019-07-26 14:51:14 +02:00
ganfra
9e5c70dda3 Room update: start handling tombstone and room create events [WIP] 2019-07-25 19:34:39 +02:00