Commit Graph

535 Commits

Author SHA1 Message Date
ganfra 2948018453 Clean code after review 2019-07-17 14:56:00 +02:00
ganfra b7e0b400fb Timeline : set bigger initial load size 2019-07-16 17:48:32 +02:00
ganfra a8f06f609b Use latest retrofit version to properly cancel requests
Fix cancelation requests
2019-07-16 17:46:52 +02:00
ganfra d469299f42 RoomMembers: should fix state events issues 2019-07-16 17:46:52 +02:00
ganfra 9182f2ce4e RoomMembers/User : get a better and faster handling (still need to fix one small issue) 2019-07-12 13:59:37 +02:00
ganfra 10e4d0190f Try to insert users directly to see if perfs are better [WIP] 2019-07-11 18:55:13 +02:00
ganfra 252b2ea30a
Merge pull request #334 from vector-im/feature/general_perf
Feature/general perf
2019-07-11 15:52:00 +02:00
ganfra f493ce44f2 RealmLiveEntity: passes the results and changeSet instead of filtering as it's more efficient 2019-07-11 15:30:01 +02:00
Benoit Marty c4c5069ee5
Merge pull request #332 from vector-im/feature/login_warning
Improve login screen
2019-07-11 15:25:11 +02:00
Benoit Marty 9e3d29b7d7 Create a TimeOutInterceptor to set specific timeout on some request: login and sync (Fixes #170) 2019-07-11 15:16:25 +02:00
Benoit Marty 80a61cf6b5 Improve dependency download safe path 2019-07-11 14:03:20 +02:00
Benoit Marty 65e123d87f Split long lines 2019-07-11 13:32:28 +02:00
Valere d0b145d031 Edit emote 2019-07-11 12:29:02 +02:00
ganfra 1b95336ad3 EventEntity|TimelineEventEntity : remove UUID as primary key and use auto-incremented Long 2019-07-11 10:25:30 +02:00
ganfra f007fb04b8 Timeline: clean listeners 2019-07-11 10:25:30 +02:00
ganfra 141434e8f8 Try getting things off the main thread 2019-07-11 10:25:30 +02:00
ganfra b8669d5ed2 Sync: use a single threaded executor to ensure we have only one sync at a time 2019-07-11 10:23:24 +02:00
Benoit Marty 7a08a11b19 Fix compilation of test 2019-07-10 18:17:03 +02:00
Valere 54b1d18812 Merge remote-tracking branch 'origin/feature/clean' into feature/clean 2019-07-10 18:07:03 +02:00
Valere 3aa30e5f15 Fix reply of reply 2019-07-10 18:06:44 +02:00
Benoit Marty 794fd650a4 Mutualize code, and also, when replying to an edited event, use the last text in the reply prefix content 2019-07-10 17:37:22 +02:00
Benoit Marty 06699eaefc Cleaner code 2019-07-10 14:40:08 +02:00
Benoit Marty e5082f662c Fix actually done TODO 2019-07-10 14:19:59 +02:00
Benoit Marty e6409d4c60 Create a common canReact() method 2019-07-10 12:10:55 +02:00
Benoit Marty 1918302297 Reply with formatted content 2019-07-10 11:29:47 +02:00
Benoit Marty 92e3a02389 Create data class instead of Pair 2019-07-10 10:34:32 +02:00
Benoit Marty 0a54801fcc Code clarity 2019-07-10 10:16:21 +02:00
Benoit Marty 228ee52563 Remove extra space in <mx-reply> 2019-07-10 10:07:45 +02:00
Benoit Marty e6c74dc1fe Convert a Task to a ConfigurableTask without parameter 2019-07-09 18:41:08 +02:00
Benoit Marty fe82ad2002 Format 2019-07-09 18:31:04 +02:00
Benoit Marty f66739491a
Merge pull request #321 from vector-im/feature/workManager_clean
Fix bug on WorkManager: clean by tag
2019-07-09 18:30:07 +02:00
Benoit Marty c5dc9d4a9a Fix test 2019-07-09 18:29:32 +02:00
Valere 8f858f8119 Fix / line too long 2019-07-09 18:20:00 +02:00
Benoit Marty 6e036c24b8 Make the test be runnable 2019-07-09 18:14:58 +02:00
Benoit Marty 5e832e07cd Code cleanup 2019-07-09 18:04:19 +02:00
Benoit Marty e9700e04d8 Move method to JsonCanonicalizer and fix test compilation 2019-07-09 18:04:19 +02:00
Benoit Marty c19b1f917f Javadoc 2019-07-09 18:04:19 +02:00
Benoit Marty 4281b5967a Create object for work constraint 2019-07-09 18:04:19 +02:00
Benoit Marty aa743d8469 Ensure we do not cancel Work from other lib or SDK client 2019-07-09 18:04:19 +02:00
Valere a09850b16c
Merge pull request #316 from vector-im/feature/initial_sync_progress
Feature/initial sync progress
2019-07-09 17:58:24 +02:00
Valere 6cb94dd4d6 Fine tune task weights + more measure 2019-07-09 17:42:53 +02:00
Benoit Marty 34ac987494 Cleanup 2019-07-09 16:36:46 +02:00
Benoit Marty ffe0b9712c Convert file to Kotlin 2019-07-09 15:50:15 +02:00
Benoit Marty d92c090c30 Code quality: HashMap / HashSet 2019-07-09 15:40:49 +02:00
Valere 1a4157a663 review 2019-07-09 15:38:44 +02:00
Valere 4aae1f78d8 moved new strings + @StringRes annotation 2019-07-09 15:38:44 +02:00
Valere 8159a52bd7 cleaning 2019-07-09 15:38:44 +02:00
Valere 95d83db90c WIP 2019-07-09 15:38:44 +02:00
Benoit Marty e80473903e Code quality: import static 2019-07-09 15:35:27 +02:00
Benoit Marty d08778c674 Code quality: equalTo 2019-07-09 15:33:31 +02:00