Commit Graph

6741 Commits

Author SHA1 Message Date
Benoit Marty e4968c4119 Doc and internal 2020-12-09 12:27:03 +01:00
Benoit Marty 283e10dfef Use filename if available 2020-12-09 12:26:49 +01:00
Benoit Marty 1c43f92e49 DefaultFileService: store just sent file 2020-12-09 12:26:27 +01:00
Benoit Marty ca7796114c DefaultFileService: better management of the files and the filenames 2020-12-09 10:50:21 +01:00
aqulu ed822becc6 Fix try-catch behavior of sendStateEvent actions
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-09 08:39:00 +09:00
Benoit Marty 7057b2970b Improve FileService API: add facility methods to deal with MessageWithAttachment object 2020-12-08 19:31:29 +01:00
Benoit Marty 62791e4b36 Encrypted files: store decrypted file in a dedicated folder 2020-12-08 18:35:17 +01:00
Benoit Marty 237cb63fc2 Small formatting 2020-12-08 18:04:42 +01:00
Benoit Marty 42ab7f1b4f Add space between image and text
And remove useless `apply` block
2020-12-08 17:42:42 +01:00
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