Commit Graph

466 Commits

Author SHA1 Message Date
Valere 1fdad38b9d Check Push rule on sync only + fix bad room name in notif 2019-07-03 11:59:45 +02:00
Benoit Marty f41c0311fa Fix done TODO 2019-07-03 11:58:50 +02:00
Benoit Marty a476ac71da Import translations from Riot 2019-07-03 10:20:07 +02:00
ganfra bc2d321a84 Merge branch 'feature/Perf' into develop 2019-07-02 23:07:16 +02:00
Dominic Fischer 0f3a63e366 Enhance CancelableBag
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-02 21:46:44 +01:00
ganfra 2f66321c2a RoomSummary: don't fetch last event by default as it takes some time 2019-07-02 19:59:01 +02:00
ganfra 5b102485bc Perf: timeline should reuse one background looper thread 2019-07-02 19:12:20 +02:00
Valere ec5ec3375a Fix / sometime sent reaction is count twice
Now use eventId format to check if local echo instead of state
2019-07-02 18:05:14 +02:00
ganfra 11bf00030d Merge branch 'develop' into feature/Perf 2019-07-02 17:00:09 +02:00
Benoit Marty 73277c5b08
Merge pull request #259 from vector-im/feature/fix_read_receipts_not_updated
Fix / send read marker for collapsed items
2019-07-02 16:51:53 +02:00
Benoit Marty f21f4dbe91
Merge pull request #262 from vector-im/feature/update_timeline_when_new_key
Update timeline on new session
2019-07-02 16:51:07 +02:00
Benoit Marty 62d2443b85 Remove duplicated method 2019-07-02 16:48:58 +02:00
Benoit Marty bc1edcf33d Code review 2019-07-02 16:48:58 +02:00
Valere 363f52b10c Encrypt Realm databases 2019-07-02 16:48:58 +02:00
Benoit Marty 498b1f2b06
Merge pull request #261 from vector-im/feature/e2e_file
Encrypt attachment in e2e rooms
2019-07-02 16:44:17 +02:00
Valere 92222c269e Update timeline on new session 2019-07-02 16:18:16 +02:00
Benoit Marty 994ee1d23f Encrypt file + propagate error between chained workers 2019-07-02 14:07:48 +02:00
Benoit Marty f0e43d31f5 Encrypt file WIP 2019-07-02 12:34:56 +02:00
Valere 85e850bcde Fix / unwanted auto-mardown when trailing space 2019-07-02 12:29:36 +02:00
Valere 6cf24cc43b Fix / some state events are missing context action (view source) 2019-07-02 12:21:27 +02:00
Valere c7df433a44 Fix / send read marker for collapsed items
Also remove unnecessary check on matrix id format
2019-07-02 12:08:44 +02:00
ganfra 9378d30601 Merge branch 'develop' into feature/Perf 2019-07-02 11:25:39 +02:00
Benoit Marty 0c2d3f36c3 Encrypt file WIP 2019-07-02 09:56:20 +02:00
ganfra 164c8dab09 Glide: try to handle encrypted image. [WIP] 2019-07-02 09:56:20 +02:00
Benoit Marty b54ca5a8a0 Decrypt Attachment - WIP 2019-07-02 09:56:20 +02:00
Benoit Marty 707a4712fc Add some javadoc from Matrix spec and add EncryptedFileInfo where necessary 2019-07-02 09:56:20 +02:00
Benoit Marty 8e76700c8d Handle redacted e2e event 2019-07-02 09:56:20 +02:00
Benoit Marty 3f74c4e933 Report change from https://github.com/matrix-org/matrix-android-sdk/pull/471 2019-07-02 09:56:20 +02:00
ganfra 41ed4b23d8 Update dependencies (tested ok) 2019-07-02 09:39:45 +02:00
Valere f4b124d29f
Merge pull request #257 from vector-im/feature/room_list_improvements
Room list: last event preview - invitations list
2019-07-01 20:38:32 +02:00
Valere 8e653979fd
Merge pull request #258 from vector-im/feature/fix_signout
Fix / signout sign-in not working
2019-07-01 20:37:32 +02:00
Valere a5584d27af QuickFIx / regression cannot decrypt message (no sender_key) 2019-07-01 20:34:42 +02:00
Valere 95d64008aa Move to sdk 2019-07-01 20:12:05 +02:00
ganfra 19202cfca6 Perf: try to get better 2019-07-01 20:05:48 +02:00
Valere ca2223f201 Force passing realm to TimelineEvent factory 2019-07-01 19:46:18 +02:00
Valere a1ddd73d7d Fix / signout sign-in not working 2019-07-01 18:55:40 +02:00
Benoit Marty 01e3e71f98 Handle room invitation actions 2019-07-01 18:50:33 +02:00
Benoit Marty 5e9ecfbcc0 Room summary; handle encrypted events 2019-07-01 15:12:35 +02:00
Benoit Marty 4d79485fee Last event on room list 2019-07-01 15:12:35 +02:00
Valere 9224fcabfa Fix #253 / Image with no mimetype in info 2019-07-01 15:10:12 +02:00
Valere 0d433b2620 fix / missing reaction event in filter 2019-07-01 13:53:10 +02:00
Valere 6a829caf0f Perf / filter events for aggregation updater 2019-07-01 13:33:43 +02:00
ganfra d643abbb22 Sender name: fix for not synced events. 2019-07-01 13:20:03 +02:00
Valere e838794587 Do not check push rule on initial sync 2019-07-01 13:08:16 +02:00
Valere b0ad568df0 Fix / fdroid notif was broken due to merge 2019-07-01 13:07:52 +02:00
Valere 3960742f38
Merge pull request #250 from vector-im/feature/fix_impure_reducers
Fix impure reducer and use live event
2019-07-01 11:33:34 +02:00
Benoit Marty 466a39d239 Robustness 2019-07-01 11:08:05 +02:00
Valere a734c699ad Fix impure reducer and use live event 2019-07-01 09:56:00 +02:00
Valere 419ef7b46f
Merge pull request #243 from vector-im/feature/reply_e2e
Reply in e2e room
2019-06-28 16:07:08 +02:00
Benoit Marty 4ad23f0f37 Fix bad copyright block 2019-06-28 16:05:36 +02:00
Benoit Marty 0f039fce32 Add 30 missing copyright block 2019-06-28 15:59:20 +02:00
Benoit Marty 7ff2477a4f
Merge pull request #241 from vector-im/feature/api16
min API 19 - tested
2019-06-28 15:06:40 +02:00
Valere 75c1718252 code review 2019-06-28 14:57:22 +02:00
Valere f83491fdfc Fix / impure reducer in action view model 2019-06-28 14:57:22 +02:00
Valere a9dd06562a Reply in e2e room
+ Add reply option in e2e room
+ Fix bug 242
+ Show preview of messages in menu and in text composer preview
2019-06-28 14:57:22 +02:00
Benoit Marty cea8abb9b1 Fix issue in test and add a test for Json canonicalization (will pass when reply_e2e branch will be merged) 2019-06-28 14:27:08 +02:00
Benoit Marty 13a0b809e1 Fix compilation issue in release 2019-06-28 14:08:38 +02:00
Valere b92cc524b6 Fix / Day separator flickering in timeline
Sending events were not filtered, so sending events like reactions would make the day separator appear
2019-06-28 11:33:33 +02:00
Benoit Marty 7187cc23a1 code quality 2019-06-28 10:23:27 +02:00
ganfra f18bc9bd00 Dagger: fix no session 2019-06-27 19:12:46 +02:00
ganfra 2063a3e535 Merge branch 'develop' into feature/dagger 2019-06-27 18:56:23 +02:00
Benoit Marty a1c22c9aa6 Remove useless property for a SDK 2019-06-27 18:25:50 +02:00
ganfra 1fa7b7367a Dagger: merge develop compiling now. 2019-06-27 15:25:01 +02:00
Valere 338de3ebf5 Cleans notification pref screen
+ fix troubleshoots
2019-06-27 12:21:38 +02:00
Benoit Marty ae7e617fdd Rename and format and remove duplicate EventType.REDACTION 2019-06-27 10:46:04 +02:00
ganfra b2d2582e0f Merge branch 'develop' into feature/dagger [WIP] 2019-06-26 20:58:46 +02:00
ganfra 6e7adaec59 Dagger: prepare for multi session [WIP] 2019-06-26 17:51:24 +02:00
Benoit Marty 134c2fcd42 Notification: Fix TestAccountSettings test 2019-06-26 12:19:54 +02:00
Benoit Marty 2625e11508 rename method 2019-06-26 12:19:54 +02:00
Benoit Marty 71ae99012b Code review and cleanup 2019-06-26 12:19:54 +02:00
Benoit Marty ab0141a5c6 Fix issue after rebase 2019-06-26 12:19:54 +02:00
Valere 1feb1f9c3f Fix test 2019-06-26 12:19:54 +02:00
Valere 090ee1d4e9 Fix / ignore message sent by me in push rules 2019-06-26 12:19:54 +02:00
Valere 7821ca12fd Fix / fetch from realm without copy (proxy error) 2019-06-26 12:19:54 +02:00
Valere 74099be316 Remove / Add pusher from enable notif preference
+Added Retrofit/Moshi null serializer for pusher kind
2019-06-26 12:19:54 +02:00
Valere 4e6b34b9d1 Fix issues on Notification Event resolver 2019-06-26 12:19:54 +02:00
Valere 6743dc6273 Set sync timeout to 30s when in foreground 2019-06-26 12:19:54 +02:00
Valere 0584fc3666 Get real push rules from server and evaluate them 2019-06-26 12:19:54 +02:00
Valere 2e417a9143 Basic FCM vs fdroid mode 2019-06-26 12:19:54 +02:00
Valere 0e46fc4c0a WIP 2019-06-26 12:19:54 +02:00
Valere 4505d13385 Fix / SAS verification infinite waiting on last step
Missing state update to verified after mac verification
2019-06-26 10:46:58 +02:00
Valere 8fe0bd5abe
Merge pull request #214 from vector-im/feature/update_quick_reactions
Feature/ Update quick reactions
2019-06-25 15:47:17 +02:00
Benoit Marty 76ade2957e Handle permalink click 2019-06-25 09:34:12 +02:00
Benoit Marty b1e009f8b4 Handle eventId v4 (https://matrix.org/docs/spec/rooms/v4#event-ids) 2019-06-25 09:33:52 +02:00
Valere 43ead66991 Update quick reactions to new design 2019-06-24 16:13:58 +02:00
Benoit Marty 1cfc85a772 Display some version of Riot and SDK (Fix #185) 2019-06-21 11:13:16 +02:00
ganfra 47968c9447 Dagger: everything should be injected ok now 2019-06-21 10:36:02 +02:00
ganfra 07fee8ed3d Dagger: continue reworking on app and sdk [WIP] 2019-06-20 19:26:59 +02:00
Benoit Marty 285da114e7 better code (ganfra's review) 2019-06-20 17:27:15 +02:00
ganfra 9c1f870694 Dagger: start handling app dependencies [WIP] 2019-06-18 20:00:20 +02:00
Benoit Marty 56e0680398 Remove unused class 2019-06-18 16:11:24 +02:00
Benoit Marty 8c0a1ed37d Rename "sender" to "senderId" for code clarity 2019-06-18 16:11:24 +02:00
Benoit Marty 625500212d Manage display name disambiguation (Fixes #172) 2019-06-18 16:09:48 +02:00
Benoit Marty 02f84a3b53 View source of encrypted event 2019-06-18 13:14:39 +02:00
Benoit Marty 0497d14a08 SAS: import change from https://github.com/matrix-org/matrix-android-sdk/pull/467 2019-06-17 19:06:32 +02:00
Benoit Marty 191d80e5f5 Fix issue with key importation 2019-06-17 19:05:26 +02:00
Benoit Marty 659ba34fb3 Remove CryptoAsyncHelper and use only coroutine 2019-06-17 19:05:26 +02:00
Benoit Marty 38b1d24953 Use foldToCallback() whenever it's possible 2019-06-17 19:04:48 +02:00
Benoit Marty 5f0d1d9536 Crypto: export room keys 2019-06-17 19:04:48 +02:00
ganfra c2c2d0b21e Dagger: make SDK DI working 2019-06-17 18:17:37 +02:00