Commit Graph

510 Commits

Author SHA1 Message Date
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 e6409d4c60 Create a common canReact() method 2019-07-10 12:10:55 +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
Benoit Marty 0919b9460d Code quality: split long lines 2019-07-09 15:26:32 +02:00
Benoit Marty 66a018c79e Code quality: trim() 2019-07-09 15:11:20 +02:00
Benoit Marty 9a4eb8e9a4 add getFileUrl extension 2019-07-09 15:03:21 +02:00
Benoit Marty 058e7153a1 Fix bug 2019-07-09 15:03:21 +02:00
Benoit Marty b0c939866f Download file - typo 2019-07-09 15:03:21 +02:00
Benoit Marty a07f8b615e Download file - WIP 2019-07-09 15:03:21 +02:00
Benoit Marty 12bd85e0a9 Decrypt video file 2019-07-09 15:02:31 +02:00
Benoit Marty c13ab62187 Fix issue when sending video in encrypted room 2019-07-09 15:02:31 +02:00
Benoit Marty ea77686746 Send file: cleanup 2019-07-09 15:02:31 +02:00
Benoit Marty 8a5612be3d Send file: improve UI feedback 2019-07-09 15:02:31 +02:00
Benoit Marty d24ce27903 Add missing call to contentUploadStateTracker.setFailure 2019-07-09 15:02:31 +02:00
Benoit Marty 2099965508 Avoid returning Result.failure() from appendable worker. 2019-07-09 15:02:31 +02:00
Benoit Marty 829e8da8dc lastFailureMessage is val, not var 2019-07-09 15:02:31 +02:00
Benoit Marty e149ee53de Fix bad mime type for encrypted thumbnail 2019-07-09 15:02:31 +02:00
Valere 61d7f23870 remove dead code 2019-07-09 15:00:37 +02:00
ganfra b5650b2b8f Pagination : avoid breaking timeline when paginating twice from same token (race condition) 2019-07-09 14:44:59 +02:00
Valere 8777d13d8b Fix / view source, decrypted source was not correct 2019-07-09 14:22:40 +02:00
ganfra dd07f5c2a6 TimelineEvent : update sender data when loading room members and prune event (+ remove RoomSummaryMapper param) 2019-07-08 15:32:24 +02:00
Valere 57bd103de8 Fix / decrypt room summary latest event 2019-07-08 14:58:49 +02:00
Valere e4c52484b1 Fix / ensure equals check for encryption result 2019-07-08 14:57:02 +02:00
Valere a30da07fd1 Fix / timeline auto refresh on new session 2019-07-08 14:12:46 +02:00
Valere ee27d3e047 Fix / clear unknown session map before re-request decrypt 2019-07-08 12:49:22 +02:00
Valere 7096094224 wip crypto 2019-07-08 12:05:41 +02:00
Valere 94b4351e19 wip async crypto + persist 2019-07-08 11:18:27 +02:00
Valere e50dd265d4 merge develop 2019-07-08 10:58:41 +02:00