Commit Graph

539 Commits

Author SHA1 Message Date
Valere 5d171e0240 Moved incoming key/verif to active session holder 2019-07-03 12:56:08 +02:00
Valere 39070820be
Merge pull request #283 from vector-im/feature/check_pushrule_on_sync_only
Check Push rule on sync only + fix bad room name in notif
2019-07-03 12:37:49 +02:00
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
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
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 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 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 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
Valere 75c1718252 code review 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
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
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
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 43ead66991 Update quick reactions to new design 2019-06-24 16:13:58 +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
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 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
Benoit Marty 6266f9e6a1 Handle device deletion the proper way 2019-06-17 17:32:35 +02:00
Benoit Marty 9649e190ef Fix compilation issue after rebase 2019-06-17 16:28:27 +02:00
ganfra 1547045165 Request can now be canceled properly: it should fix the issue with live chunk being deleted. 2019-06-17 15:08:16 +02:00
ganfra 4be0ab87fc Dagger: continue adding it to SDK [WIP] 2019-06-16 17:00:47 +02:00
ganfra 3d465f6fdf Start to introduce Dagger into SDK [WIP] 2019-06-14 16:32:23 +02:00
Benoit Marty 02ef1172ce
Merge pull request #179 from vector-im/feature/cryptoFinalization
Crypto: Delete device
2019-06-14 16:06:23 +02:00
Benoit Marty 8f6f72ca48 Review: Added optional to stage and renamed to "InteractiveAuthenticationFlow" 2019-06-14 16:06:07 +02:00
ganfra df4f0eac20 Merge branch 'feature/sync_ui' into develop 2019-06-13 18:16:45 +02:00
Benoit Marty d353e9314b Crypto: Delete device 2019-06-13 16:48:42 +02:00
ganfra 9dc1684179 Crypto: check for encryption state event to know if room isEncrypted 2019-06-13 11:49:11 +02:00
Benoit Marty c20b256b24 Move KeysBackupStateListener to a dedicated file 2019-06-13 11:13:05 +02:00
Benoit Marty 02d3fea4a9 Move javadoc to interface 2019-06-13 11:10:26 +02:00
Benoit Marty ca98ff5864 Clear crypto database when signing out 2019-06-13 10:58:45 +02:00
Benoit Marty 480d197ffa Keys share request handling 2019-06-12 18:32:24 +02:00
ganfra 0204bade8b Content: hide some internal methods 2019-06-12 10:54:26 +02:00
ganfra 3dd161d65a Sync: add progress indicator for sync, need UI inputs. 2019-06-11 16:54:44 +02:00
Benoit Marty 64e5fed7ac Fix issue: lastSeenTs can be null 2019-06-11 13:57:35 +02:00
Benoit Marty f6c36670c3 Rename class members and class name for code clarity 2019-06-11 13:32:09 +02:00
Benoit Marty 6dacb9894e Merge branch 'develop' into feature/crypto 2019-06-11 10:11:53 +02:00
ganfra 612b13808f Crypto: clean some code + add failure send state (but not handled yet). 2019-06-10 19:22:48 +02:00
Benoit Marty 3439a9ca27
Merge pull request #173 from vector-im/feature/create_room
Create Room screen
2019-06-10 17:01:44 +02:00
Benoit Marty 9772bbe157 Ganfra's review: revert change 2019-06-10 16:58:48 +02:00
Benoit Marty b437837809 Ganfra's review: use RealmQueryLatch 2019-06-10 16:35:51 +02:00
Benoit Marty 33f8059846 Increase connect timeout from 30 seconds to 1 minute, for slow Homeserver (should fix #170) 2019-06-10 15:57:42 +02:00
Benoit Marty 4c5bffe0f5 Create room screen - WIP TODO: screen rotation - navigate to created room 2019-06-10 13:39:51 +02:00
ganfra f2722f4766 Crypto: fix a small issue 2019-06-07 20:38:39 +02:00
ganfra 07c516ccdd Merge branch 'develop' into feature/crypto 2019-06-07 19:25:55 +02:00
ganfra 81330d30cf Merge branch 'develop' into feature/crypto 2019-06-07 18:53:24 +02:00
Valere a4a813708c Fix / send state always returning Unknown 2019-06-07 16:39:45 +02:00
ganfra 664e5354d3 Crypto: continue cleaning + fix some issues. 2019-06-07 16:01:24 +02:00
Valere 7409003949 Fix / Bug aggregation on initial sync
fix / All messages were not processed due to a test exiting the for loop
+ started adding context menu for non room messages
2019-06-07 14:14:51 +02:00
Valere 297f202005 Fix / Local echo taking too much time 2019-06-07 14:14:51 +02:00
Valere 440442bb99 New View Reactions bottom sheet
+ visible on reaction long click
+ Reaction pills size adapt to count, and number format
2019-06-07 14:14:51 +02:00
Valere 53c91dc0c2 Ignore server aggregation until API ready 2019-06-07 14:14:51 +02:00
ganfra c4d7711d2f Crypto: finally get a working encrypt/decrypt + SAS 2019-06-06 19:10:04 +02:00
ganfra 6b0ab10231 Crypto: continue threading rework. WIP to shash 2019-06-05 22:18:16 +02:00
ganfra e125862794 Crypto: start reworking threading - WIP (to squash) 2019-06-04 16:26:37 +02:00
Benoit Marty 2b6eee4237 Merge branch 'develop' into feature/home_rework 2019-06-04 12:54:16 +02:00
ganfra 3d50393b33 Crypto: continue cleaning. Need threading refactoring 2019-06-03 18:39:37 +02:00
Valere 424fd1347d Code review 2019-06-03 18:23:40 +02:00
ganfra 784d55c16c Crypto: WIP cleaning 2019-06-02 20:34:19 +02:00
Valere 99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
ganfra 3f7d20ec5b Crypto: make encryption working. 2019-05-28 15:54:16 +02:00
Valere 466be1dca5 Fix / issue with avatar url 2019-05-28 15:17:06 +02:00
Valere deba756598 Added doc 2019-05-28 10:51:02 +02:00
Valere 3cb99ff64f Renamed package .internal.session.room.annotation to xx.relation 2019-05-28 10:45:58 +02:00
Valere 20e903914c Cleaning / code review 2019-05-28 10:43:36 +02:00
Valere 71ea1c5f9b Fix / avoid newlines and ws in reply event representations 2019-05-27 18:21:59 +02:00
Valere 4a4c0a3da1 Added auto markdown (as per preference)
Fix / show formatted message preview upon composer in edit/quote/reply
Fix / use aggregated content to decide for actions on long click
2019-05-27 18:08:29 +02:00
Benoit Marty 8f2754493c Fix issue with Avatar URL 2019-05-27 17:42:29 +02:00
Valere 00d66ffd48
Merge branch 'develop' into feature/edit_message 2019-05-27 17:08:39 +02:00
ganfra 275521db70 Home: continue architecture rework. WIP 2019-05-27 15:30:47 +02:00
Valere 0e06908a48 Design update
+ Reply 
+ Better preview in action menu
2019-05-27 11:55:52 +02:00
ganfra af338b0607 Crypto: decryption is working (but still a lot to do) 2019-05-26 19:21:45 +02:00
Benoit Marty 2404eeadf0 RoomDirectoryPicker WIP 2019-05-24 15:43:12 +02:00
Benoit Marty 877de1f597 Get Public rooms and join public room 2019-05-24 11:36:04 +02:00
ganfra 3519ad7c8d Crypto : WIP 2019-05-23 19:12:06 +02:00
Valere 45ea5c356e WIP / edit message 2019-05-23 16:44:51 +02:00
Benoit Marty bb39db3f42 WIP 2019-05-21 16:33:43 +02:00
Benoit Marty 52d9adad70 WIP 2019-05-21 15:42:09 +02:00
Valere 118a4392a2 Fix / Support redaction of a m.replace event
+ refactoring
2019-05-21 15:33:16 +02:00
Valere 6f103101b6 Show edited annotation in timeline + simple edit history 2019-05-21 14:12:18 +02:00
Valere a5a9fa3750 Color provider need to be aware of theme 2019-05-21 14:10:19 +02:00
Valere 8cb884f10e Support message edition 2019-05-20 18:52:48 +02:00
Benoit Marty 6d8000b957 Log 2019-05-20 17:13:08 +02:00
Benoit Marty f5bd215f36 rework 2019-05-20 16:55:45 +02:00
Benoit Marty 532a028e41 Split again 2019-05-20 16:13:50 +02:00
Valere 2da4823e33 Fix / crash on logout
cannot access deleted object from delete
2019-05-20 13:58:45 +02:00
Valere 5dfc0b3c0e Toggle Quick React (agree/disagree like/dislike) 2019-05-20 12:43:02 +02:00
Valere 71e50b1bb9 Fix / Missing inject after rebase 2019-05-20 10:16:00 +02:00
Valere 64c307077f Refactoring / PruneWorker should be a task not a worker 2019-05-20 10:16:00 +02:00
Valere 054d339b48 Fix / Reaction stays highlighted when undone
When undoing my reaction, the reactji stays selected as if i have done the reaction
2019-05-20 10:16:00 +02:00
Valere e3b9031e71 Fix / day separator flicker when adding reaction
When adding a reaction, the tmp local echo force the display of a new 'day separator' at the bottom if there was no new message for this day yet (then disappears just after -flicker-)
2019-05-20 10:16:00 +02:00
Valere 6eafa3c43d Undo Reaction 2019-05-20 10:16:00 +02:00
ganfra 2780ca30a8 Merge branch 'feature/invites' into develop 2019-05-17 17:38:09 +02:00
Benoit Marty e0e41d9e5c Create common action 2019-05-17 15:33:38 +02:00
Benoit Marty de4662b9d5 Remove all async thread 2019-05-17 15:05:07 +02:00
Benoit Marty c66e82c4ae Create OneTimeKeysManager 2019-05-17 12:39:18 +02:00
Benoit Marty a2210a6b0d WIP 2019-05-17 11:20:22 +02:00
Benoit Marty 102bc9c01b SAS Tested 2019-05-16 17:28:51 +02:00
Valere ef26519993 Send reaction view quick react and picker
+ fix / Error when to many reactions in cells (more than placeholders -8-)
+ fix / DefaultTimeline quick map access was not shifted when items inserted at given index
2019-05-16 16:35:54 +02:00
Benoit Marty e70fd8e351 canonicalize 2019-05-16 15:36:51 +02:00
Valere 6fe455dac0 Support AddedByMe in reaction + context menu reflect agree/like state 2019-05-16 10:49:52 +02:00
Benoit Marty 1436667e7d Crypto 2019-05-16 10:34:17 +02:00
Valere d68b447874 Relations Model + Aggregation + Reactions Summary 2019-05-16 09:21:10 +02:00
ganfra 8d0322c0c3 Hot fix LL not working 2019-05-15 11:11:38 +02:00
Valere 6bf1deb99b Code Review 2019-05-10 12:14:40 +02:00
ganfra c39cfbe2ae Invites : allow to accept or reject the invite + clean some code. Require UI polishing. 2019-05-07 19:33:58 +02:00
Valere 56a2a3a065 [WIP] Emoji Reactions 2019-05-07 18:01:51 +02:00
ganfra 72cd409735 Invites : start handling invite/left sync 2019-05-06 19:17:30 +02:00
ganfra ceac06caf6
Merge pull request #109 from vector-im/feature/timeline_formatting 2019-05-06 15:01:08 +02:00
ganfra 694df9d845 Timeline : fix some timeline rendering issues (senderName, merge item, left event). Still need to work on it. 2019-05-06 14:26:41 +02:00
Benoit Marty b1b526a516 Clear cache and rework Signout 2019-04-17 15:55:38 +02:00
Benoit Marty ab7b807740 Rename APIs 2019-04-17 12:06:15 +02:00
Benoit Marty 4c02721ada Create realm module to avoid losing credentials when Realm model change. 2019-04-17 12:06:15 +02:00
Benoit Marty 5dca31e6f9 Do not loop sync in case of JsonEncodingException (if HS is down) 2019-04-17 12:05:39 +02:00
Benoit Marty d2e1aff453 Convert JsonFilter to FilterId 2019-04-17 12:05:39 +02:00
ganfra dab80466c5 Timeline : extract video thumbnail and upload it 2019-04-16 17:24:28 +02:00
ganfra 2c83ba0824 Timeline : start to handle video media. Probably to amend 2019-04-12 13:46:59 +02:00
ganfra dcac9aed55 Merge branch 'feature/media_attachment' into develop 2019-04-11 13:21:51 +02:00
ganfra 0225fc7120 Media upload: handle local echo by pinning at the bottom... will probably be changed 2019-04-11 12:48:35 +02:00
Benoit Marty 0055514f90 Update room topic 2019-04-09 18:33:28 +02:00
Benoit Marty 6248cc5552 Send emote 2019-04-09 17:53:23 +02:00
Benoit Marty 81ddb8c5fb SlashCommand: handle user invitation 2019-04-09 14:44:48 +02:00
ganfra c9658918ed Media upload : start handling progress. 2019-04-08 16:39:08 +02:00
Benoit Marty 6d3028c2d7 Autocomplete : start fetching users. Still need to adjust UI and manage selection. 2019-04-08 16:18:36 +02:00
Benoit Marty aec7b73345 Introduce room member service 2019-04-08 15:53:02 +02:00
Benoit Marty 460a72e6b5 Create Room 2019-04-08 13:49:28 +02:00
Benoit Marty 748090d0f9 Avoid critical log for timeout on event thread 2019-04-05 11:07:45 +02:00
ganfra c47eeb9cec Send media: first working implementation. Then, need to fix local echo and handle other types than image. 2019-04-04 19:55:58 +02:00
Benoit Marty 43659dffd3 Improve signout task 2019-04-04 11:10:45 +02:00
ganfra 18591d0287 Media: start to play with uploading media 2019-04-03 23:06:17 +02:00
Benoit Marty 08dacacdda SignOut 2019-04-03 18:25:39 +02:00
ganfra 04b4f32e16 Sync : add log and continue when read_receipts fail 2019-04-01 17:39:27 +02:00
ganfra d110dac0a6 Merge feature/replace_paged_list into develop 2019-04-01 17:33:53 +02:00
ganfra be6a4efacb Timeline : make tests compile and pass 2019-04-01 15:18:52 +02:00
ganfra 94db36d6c4 Fix room summary not being updated when room members are loaded 2019-03-29 11:15:27 +01:00
ganfra a6366e47fe Timeline : change some database details to make it faster 2019-03-28 12:00:45 +01:00
ganfra 4154df7c21 Timeline : stabilize the pagedList replacement. Seems ok for phase0 2019-03-27 19:57:36 +01:00
Benoit Marty 79e273b1ca Add Doc 2019-03-27 18:03:36 +01:00
ganfra 2898eae566 Timeline : reactivate loaders and get off the main thread 2019-03-20 16:24:50 +01:00
Benoit Marty cbd62b9e93 Rename Realm DB file 2019-03-20 14:36:47 +01:00
Benoit Marty a4ef259bd2 Add FIXME 2019-03-19 18:17:40 +01:00
Benoit Marty 40d4e3fe83 Log http requests, for easy debugging 2019-03-19 12:55:14 +01:00
Benoit Marty f4170f55b7 Configure user agent 2019-03-19 12:29:45 +01:00
ganfra c12bc5e02d Timeline rework : first version working for backward navigation (need more testing) 2019-03-15 19:27:56 +01:00
ganfra 820709d433 Timeline rework : initial commit - to amend. 2019-03-13 22:30:05 +01:00
Benoit Marty d5838262ea Fix i18n issue 2019-03-13 18:36:57 +01:00
ganfra 2c0bc93f5a Home: getting Room interface slow (blocking Main Thread). Maybe we should get this async. 2019-02-27 17:41:06 +01:00
ganfra 41b06bca60 User : rework UserEntityUpdater (and make others RealmLiveEntityObserver process on MonarchyThread instead of Main) 2019-02-26 19:32:01 +01:00
ganfra f59977f884 Room state: fix sync state events duplicates with timeline 2019-02-26 14:50:53 +01:00
ganfra 40f1fcab18 User : start handling users. Need to fine a good strategy to process room member events. 2019-02-25 21:55:33 +01:00
ganfra 6c7bc2b40c Timeline: get better perf 2019-02-25 18:10:37 +01:00
ganfra ca890e1ef4 Room tag: let the tag order be anything to avoid breaking at the moment. 2019-02-20 18:09:07 +01:00
ganfra 9477316b61 Sync : add timber log on sync failure 2019-02-19 19:37:16 +01:00
ganfra b5f40f9732 Add stetho in debug to allow some inspection 2019-02-19 17:40:38 +01:00
ganfra 03437885ef Read receipts : fix issues with receipts not being sent 2019-02-18 17:41:21 +01:00
ganfra 6c653287e1 Read receipts : fix read receipt being sent for dummyEvent + scroll appearing index 2019-01-31 11:45:11 +01:00
ganfra 6113bba703 Timeline : send read-receipt when scrolling. Still need to handle read marker. 2019-01-30 18:39:54 +01:00
ganfra 0e491af8ab Room list : adjust some params 2019-01-29 18:31:11 +01:00
ganfra 6df8809ee0 Room list : add quick ordering 2019-01-29 16:02:42 +01:00
ganfra d3d536f4f0 Room : add RoomTag to handle favourites, low priority and system alerts in room list. 2019-01-29 14:16:22 +01:00
ganfra 0f66fa0895 Room : refactoring how a room is created 2019-01-28 18:42:29 +01:00
ganfra b2e2c14e69 Room : start to handle read markers. Only used when you open the room at the moment. 2019-01-28 17:56:23 +01:00
ganfra 9a42c121e4 Room list : show unread badge with room name. Still need to mark a room as read to update marker. 2019-01-25 18:04:08 +01:00
ganfra 9dccad11fe Update copyright and add to last merged commits 2019-01-25 14:04:59 +01:00
ganfra cc4c1cf308 Content : make content url resolution aware of homeserver url 2019-01-23 16:25:24 +01:00
ganfra 1d400180bc Timeline : start to handle media images/gif. Still a lot to do, but it's a first step. 2019-01-22 18:43:15 +01:00
ganfra dbb812ad84 Message type : add data classes for all the types 2019-01-21 18:16:15 +01:00
ganfra 57db4086cb Start adding javadoc on public api of the SDK and move some files. 2019-01-18 16:26:17 +01:00
ganfra 9914939045 Add copyright to source code 2019-01-18 11:12:08 +01:00
ganfra ac2d20ad3f Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time. 2019-01-16 19:25:43 +01:00
ganfra b2cdeb87f4 Fix some timeline issues and rename EnrichedEvent to TimelineEvent as it's only used in this context. 2019-01-14 16:46:54 +01:00
ganfra 34e08705dd Timeline : still trying to adjust PagedList options 2019-01-14 16:46:54 +01:00
ganfra d7de986365 Timeline : try using initialLoadKey to open PagedList around an event. Still need to scroll to the item. 2019-01-14 16:46:54 +01:00
ganfra 922609cb57 Timeline : try to get a better PagedList/Epoxy integration. Still need to be refined. 2019-01-14 16:46:54 +01:00
ganfra de90cbe73e Timeline : fix merging issues 2019-01-14 16:46:54 +01:00
ganfra 1269715b5c Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward 2019-01-14 16:46:54 +01:00
ganfra f5d64a5707 RoomSummary : clean some old code 2019-01-14 16:46:54 +01:00
ganfra 7669a94a64 Introduce retry on task executor and use it for pagination 2019-01-14 16:46:54 +01:00
ganfra d288fb7c9c Timeline : improve scrolling performances 2019-01-14 16:46:54 +01:00
ganfra e9737dff75 Add roomId to EventEntity as it makes queries a lot faster and fixes performance issues. 2019-01-14 16:46:54 +01:00
ganfra fd06606c45 Room : load room members is totally off the main thread now 2019-01-14 16:46:54 +01:00
ganfra 5a75e3db81 Clean some of the session code API 2019-01-14 16:46:54 +01:00
ganfra aec620fb50 Move some files 2018-12-20 16:27:59 +01:00
ganfra 3713e71c8e Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix 2018-12-20 15:44:01 +01:00
ganfra 39ad44e9aa Refactor a bit EnrichedEvent and Content. Metadata will only be used for unexpected data. 2018-12-18 14:46:20 +01:00
ganfra 4656429d83 Introduce a localId for event, to avoid blink effect when sending 2018-12-17 18:25:02 +01:00