Commit graph

24 commits

Author SHA1 Message Date
ylecollen
92f1e2f602 -> use the new MXRestClient::lookup3pids method
The matrix IDs are retrieved in one time instead of getting them one by one

-> ConsoleEmail and ConsolePhoneNumber inherit of ConsoleContactField.
ConsoleContactField manages the matrix part (id + thumbnail download...)

-> the unknown room members are added into the contacts list.
Thus, it would easier to start a chat.
2015-01-22 12:01:12 +01:00
ylecollen
9aa4dcd5a6 Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-22 08:16:51 +01:00
ylecollen
ea52e71cae The clear cache button did not recompute the true cache size. 2015-01-21 14:11:58 +01:00
ylecollen
c9f8958d5a Add a 4th sections : contacts
The contacts are displayed in a list.

There is no check if one of the field is a matrix identifier.
2015-01-20 13:33:01 +01:00
ylecollen
c035142a18 Fix a compilation warnings 2015-01-19 17:33:23 +01:00
ylecollen
d9cda2faa9 Should fix SYIOS-56 : add cache size handling in settings 2015-01-19 16:53:29 +01:00
ylecollen
5672b385c0 1 - the uploads are cancellable
2 - delete a room also cancelled epnding uploads/downloads
2015-01-19 15:30:45 +01:00
ylecollen
7b84bb2320 --> The media folder has a new dirtree : each media are stored in
1 - its related room folder
2 - or the thumbnails folder

--> the medias downloads/uploads are cancelled when the mediaManager cache is cleared.
2015-01-19 14:33:57 +01:00
ylecollen
1fe4959b5b Add the max cache size slider in the settings page.
The value is stored but not yet used by the media manager.
2015-01-19 08:58:45 +01:00
ylecollen
213f162e93 -> Add ConsoleTools::fileExtensionFromContentType
-> Update cachePathForMediaURL with this new method
2015-01-16 09:54:37 +01:00
ylecollen
a4d25edae0 ConsoleTools update
-> move folderSize to it
-> add listFiles:timeSorted:largeFilesFirst
2015-01-16 09:01:59 +01:00
ylecollen
3475039a1a Useless variable 2015-01-15 17:17:25 +01:00
ylecollen
645560b4fb Remove dead code 2015-01-15 17:13:36 +01:00
giomfo
6c49780243 BugFix SYIOS-45 - Need to check the thumbnail params requested by iOS
BugFix SYIOS-55 - High resolution avatars create memory pressure
2015-01-14 18:30:00 +01:00
manuroe
2dd7d21c85 MatrixConsole: use SDK to resolce mxc:// 2015-01-13 17:39:56 +01:00
ylecollen
a988974773 Do not remove anymore the download rate during a download (it flickers too much). 2015-01-13 12:58:18 +01:00
giomfo
f02f82b066 MediaManager refactoring: handle upload with mediaLoader (remove UploadManager). 2015-01-12 18:07:39 +01:00
giomfo
2f50e2da36 add consoleTools 2015-01-12 11:07:13 +01:00
giomfo
ae8f610c76 Media Manager: refactoring (download video/image with a unique API) 2015-01-12 11:00:53 +01:00
ylecollen
4ec4be80e3 The cache size did not include the media one (it was only the Matrix SDK one) 2015-01-09 17:14:09 +01:00
giomfo
6be8a5c196 Update comment and remove useless code 2015-01-09 12:10:34 +01:00
ylecollen
7ed285e19d Add the upload statistic 2015-01-09 09:54:31 +01:00
giomfo
8b10b1baf0 Move MediaManager to /API dir 2015-01-08 21:29:31 +01:00
giomfo
11ff1fd788 Media Manager refactoring: split the existing file in 2 parts: MediaManager/MediaLoader 2015-01-08 21:23:49 +01:00