Commit graph

127 commits

Author SHA1 Message Date
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
giomfo
689d9bbddb Remove a useless refresh on messages display 2015-01-16 18:23:21 +01:00
giomfo
569bf47cf5 Fix regression introduced since multithreading
+ Refactor messages handling
2015-01-16 16:39:58 +01:00
giomfo
410c49e0b4 Move an Action in Actions section 2015-01-16 11:40:38 +01:00
ylecollen
6ebbc6ebc2 The chat history used to scroll to bottom with the device orientation but it triggered unexpected behaviours in some cases. 2015-01-16 10:50:15 +01:00
giomfo
f177f57f36 Fix App freeze: we add multithreading to handle received events and back pagination (This relieves the main thread).
SYIOS-57 - Back pagination does not work well for self chat
SYIOS-54 - Matrix Console app slightly freezes when receiving a message
2015-01-16 10:42:36 +01:00
ylecollen
45ea190d56 The chat history used to scroll to the bottom when the keybaord was dismissed.
It triggered weird jump effects.
2015-01-16 08:00:00 +01:00
ylecollen
fa50bbaab8 The textInput used to flicker on IOS 8 when its content size was greater than its frame. 2015-01-15 16:18:12 +01:00
giomfo
f710c047bb BugFix SYIOS-57 - Back pagination does not work well for self chat 2015-01-15 13:17:00 +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
ylecollen
7c4b68bdd2 Fix SYSIOS-53 - multilines text input that expands as you type mutiplines would be nice 2015-01-14 18:15:12 +01:00
ylecollen
6cb898ea88 fix many Multilines textInput issues
-> the typing notifications were sent while rotating the screen
-> The iphone 5/4 displays was not properly managed
-> improve the messages list visible area while playing with the new txt input (max height)
-> simply the code
2015-01-14 17:51:53 +01:00
ylecollen
c74619c507 First implementation of multiLines textInput (SYIOS-53). 2015-01-14 15:17:20 +01:00
giomfo
f89d0e2a23 typing notification: hide typing badge for the current user in room members list 2015-01-14 15:01:10 +01:00
giomfo
26ec928641 BugFix SYIOS-50: When you post a multiline message, the bubble vertical spacing gets confused. 2015-01-14 14:05:45 +01:00
giomfo
d3cc51b6ff BugFix: loading wheel stuck on room when user opens the room during initial sync. 2015-01-14 10:16:17 +01:00
giomfo
878e9529ff BugFix SYIOS-30 - iOS needs typing notifs like the web client
display typing bagde in members list too.
2015-01-14 09:42:01 +01:00
giomfo
8072956eed SYIOS-30 - iOS needs typing notifs like the web client
We highlight here the avatar of the user who's typing
2015-01-13 18:32:52 +01:00
ylecollen
4247348619 -> an unsent video can be played
-> Unsent media messages can be resent (whenever it failed)
-> the upload progress was not always dismissed when a network error was triggered
2015-01-13 17:53:31 +01:00
giomfo
e8251c0e05 Typing notification: update typing notification sending 2015-01-13 16:07:34 +01:00
ylecollen
6f31a90a09 An uploaded video is stored in the media cache to avoid downloading it later again 2015-01-13 13:22:20 +01:00
ylecollen
a351096f34 Simplify the image upload code
-> do not recompress twice an image to be able to resend it with the same quality
-> replace hard code m.image and m.video by the dedicated const values.
2015-01-13 12:56:48 +01:00
giomfo
e4e2cfa99a Fix regression: restore pie-chart during attachment uploading 2015-01-12 18:28:43 +01:00
giomfo
f02f82b066 MediaManager refactoring: handle upload with mediaLoader (remove UploadManager). 2015-01-12 18:07:39 +01:00
ylecollen
6baf80b501 - remove useless code
- localEvent has now an originServerTs so the unsent messages are properly sorted within the history (they are not anymore displayed at the end of the history)
2015-01-12 17:35:38 +01:00
ylecollen
5d0895b588 Can resend unsent text messages (tap on the "unsent" text") 2015-01-12 17:13:40 +01:00
ylecollen
14ec52a87e Some "unsent" statuses were irrelevant : Some UILabels were not dismissedw while reusing an UITableViewCell. 2015-01-12 15:00:35 +01:00
ylecollen
7c1998aa65 - Fix the https://github.com/matrix-org/matrix-ios-sdk/issues/4 fix
- SYIOS-52 - app wrashses when attempting to send a message on iPad mini (IOS7)
2015-01-12 13:31:54 +01:00
giomfo
ae8f610c76 Media Manager: refactoring (download video/image with a unique API) 2015-01-12 11:00:53 +01:00
Matthew Hodgson
73a1103f24 hopefully fix leaking KVO problem particularly obvious on the simulator (https://github.com/matrix-org/matrix-ios-sdk/issues/4) 2015-01-10 23:21:13 +00:00
giomfo
fcd388d99a Image Attachment: fix image flickering at the end of uploading 2015-01-09 14:13:03 +01:00
giomfo
6be8a5c196 Update comment and remove useless code 2015-01-09 12:10:34 +01:00
ylecollen
75f91820aa The long tap to cancel the download was broken (weird behaviour when the long tap gesture listener is created by the storyboard) 2015-01-09 11:33:32 +01:00
ylecollen
7ed285e19d Add the upload statistic 2015-01-09 09:54: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
ylecollen
7a0edfa63c uploading media displays a pie chart (need to add the statistic) 2015-01-08 18:25:43 +01:00
ylecollen
ef98e684eb Long tap on pie chart let the user cancels the media download. 2015-01-08 15:40:05 +01:00
ylecollen
8f3d32d79e The media download progress info (pie chart + stats) is displayed in the history. 2015-01-08 11:31:25 +01:00
ylecollen
10ea385d6b Display the download stats info while downloading the high res picture (full screen mode) 2015-01-07 15:49:29 +01:00
giomfo
a16f434be3 Image attachment: improve image handling when table view is refreshed 2015-01-07 14:11:33 +01:00
giomfo
18ff48a0f2 SYIOS-30 - iOS needs typing notifs like the web client
- matrix console sends now typing notifications.
TODO: we still need to handle received typing notifications.
2015-01-07 11:19:59 +01:00
ylecollen
fccc963202 Fix SYIOS-41 : file uploads (and downloads) should be able to happen in parallel with basic progress meters 2015-01-07 10:45:35 +01:00
ylecollen
4195c301de MXHTTPClient::requestWithMethod has two new blocks to track the upload/download progress. 2015-01-07 09:11:21 +01:00
ylecollen
37c3860cb5 The image preview is now displayed in fullscreen 2015-01-06 15:44:34 +01:00
ylecollen
f946d38dab Media zooming : display the thumbnail while the high res picture is downloading.
It is better to have a black screen.
2015-01-06 11:08:29 +01:00
ylecollen
d853020cde Iphone 6 Plus issue : in landscape with split view, the roomViewController was dismissed after selecting a video/image. 2015-01-06 09:57:21 +01:00
ylecollen
66bee3a228 Add the pitch to zoom gesture to a zoomed image 2015-01-06 09:41:44 +01:00
ylecollen
0fcc93a4f9 The 1:1 room name was not refreshed when the member name is updated 2014-12-24 16:32:24 +01:00
ylecollen
b385ec45db It was required to tap twice to display members list 2014-12-24 11:10:41 +01:00