Commit graph

6732 commits

Author SHA1 Message Date
Benoit Marty
8e11ba21ed Glide: No Disk cache for encrypted images 2020-12-08 17:37:24 +01:00
Benoit Marty
24a9ddaa5e FileService: remove useless FileService.DownloadMode 2020-12-08 17:25:37 +01:00
Benoit Marty
7152dead1d Rename method 2020-12-08 16:47:29 +01:00
aqulu
40b9f03132 Remove explicit coroutine context changes
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:28 +09:00
aqulu
19d421df84 Remove coroutine context change for sendStateEvent
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:28 +09:00
aqulu
c889deaab1 Remove unused imports
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:28 +09:00
aqulu
416f57b1d7 Fix failing test compilation
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:19 +09:00
Benoit Marty
dda2685bd8 Upgrade Realm dependency to 10.1.2 2020-12-08 13:45:30 +01:00
Benoit Marty
b43f3b3b6a Log some details about the request which has failed 2020-12-08 13:44:42 +01:00
Benoit Marty
a0c8a8e97c Log HTTP requests and responses in production (level BASIC, i.e. without any private data) 2020-12-08 13:44:42 +01:00
Benoit Marty
28bfea6af0 This code is for debug build (see the path), so no need to check again 2020-12-08 13:44:42 +01:00
Benoit Marty
f3bc39a0c5 Cleanup 2020-12-08 13:44:42 +01:00
aqulu
c7efd1feb9 Convert StateService to suspend functions
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 19:21:10 +09:00
Benoit Marty
c31d368d0d
Merge pull request #2468 from vector-im/feature/bma/fix_cancel
Fix cancellation of event sending not always working
2020-12-07 12:41:48 +01:00
Benoit Marty
5237eb0638
Merge branch 'develop' into feature/bma/fix_cancel 2020-12-07 12:41:37 +01:00
Benoit Marty
7869d731d4 Fix the rotate screen issue 2020-12-07 10:38:34 +01:00
Benoit Marty
c603ec0b38 Format files 2020-12-07 09:55:11 +01:00
Benoit Marty
431ac5aa2d Fix layout issue 2020-12-04 15:23:59 +01:00
Benoit Marty
78fe7e5c16 No need to create a Set to remove an item from it 2020-12-04 14:56:26 +01:00
Benoit Marty
c2c9e37a36 PreviewUrl: fix layout issue and add more tests 2020-12-04 14:36:11 +01:00
Benoit Marty
5d3682cd44 More cleanup 2020-12-04 14:19:36 +01:00
Benoit Marty
2a19726e49 Cleanup and changelog 2020-12-04 14:19:24 +01:00
Benoit Marty
c08c652080 PreviewUrl: handle close (in memory) 2020-12-04 12:41:26 +01:00
Benoit Marty
9089c54990 Ripple effect 2020-12-04 11:53:37 +01:00
Benoit Marty
679d9bae1c Fix bad image rendering 2020-12-04 11:45:05 +01:00
Benoit Marty
19315fc65e PreviewUrl: handle click 2020-12-04 11:08:06 +01:00
Benoit Marty
770041eceb PreviewUrl: setting and e2e room 2020-12-04 09:48:48 +01:00
Benoit Marty
1161dcb299 PreviewUrl: protocol is mandatory (exclude rstp://) 2020-12-04 08:31:14 +01:00
Benoit Marty
fa7b0a24a7 PreviewUrl: Application part - bugfix 2020-12-04 08:01:00 +01:00
Benoit Marty
48354c7793 PreviewUrl: Application part - WIP 2020-12-04 07:46:09 +01:00
Benoit Marty
fcd9fe7d5a PreviewUrl: layout for a single PreviewUrl 2020-12-03 19:32:49 +01:00
Benoit Marty
a36d5684b8 Create extension for androidx.collection.LruCache 2020-12-03 19:09:33 +01:00
Benoit Marty
be20f9b455 PreviewUrl: extract url from Content 2020-12-03 19:09:33 +01:00
Benoit Marty
dd150c6d7e Remove unnecessary non-null assertion 2020-12-03 19:09:33 +01:00
Benoit Marty
bd5ac514ef PreviewUrl: create the task and the service 2020-12-03 19:09:33 +01:00
Benoit Marty
1109d9f88a PreviewUrl create DB object and handle migration 2020-12-03 14:45:20 +01:00
Benoit Marty
8a35bfcc31 Rework: rename files using the interface name and not the implementation name 2020-12-03 13:57:47 +01:00
Benoit Marty
0c037184f8 Create a MediaService to handle UrlPreview request - WIP 2020-12-03 13:46:25 +01:00
Benoit Marty
3e563a37a2 Rework: Make RawCacheStrategy class more generic, to use it for other SDK API 2020-12-03 13:43:04 +01:00
Benoit Marty
cafe86e675 Rework: create a MediaModule 2020-12-03 09:56:26 +01:00
Benoit Marty
a911492a9e
Merge pull request #2481 from vector-im/feature/bma/upgrade
Upgrade of some library + cleanup
2020-12-03 09:50:43 +01:00
Benoit Marty
d889598b20 Fix DefaultLocale lint issue 2020-12-02 17:04:54 +01:00
Benoit Marty
c4577f28b2 Remove unnecessary dependency (we have -ktx dependency) 2020-12-02 16:43:52 +01:00
Benoit Marty
f5af15454e Create a generic class for ViewModel 2020-12-02 15:47:21 +01:00
Benoit Marty
ee96d5c68f Remove useless Factories 2020-12-02 15:41:31 +01:00
Benoit Marty
6c56b5f45b Fix warnings after library upgrade 2020-12-02 14:39:33 +01:00
Benoit Marty
1058bfecf4 Kotlinification 2020-12-02 13:54:59 +01:00
Benoit Marty
f0afd5ceea Update deprecated code 2020-12-02 13:49:07 +01:00
Benoit Marty
9881c9f61c Fix compilation issue after library upgrade 2020-12-02 13:34:34 +01:00
Benoit Marty
89a7ec6d4b Use fragment-ktx and preference-ktx dependencies (fix lint issue KtxExtensionAvailable) 2020-12-02 12:46:15 +01:00