Commit graph

392 commits

Author SHA1 Message Date
giomfo
c664813838 MediaManager refactoring: handle upload with mediaLoader (remove UploadManager). 2015-01-12 18:07:39 +01:00
ylecollen
64431f1297 - 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
3fb3486626 Can resend unsent text messages (tap on the "unsent" text") 2015-01-12 17:13:40 +01:00
ylecollen
7406878996 Some "unsent" statuses were irrelevant : Some UILabels were not dismissedw while reusing an UITableViewCell. 2015-01-12 15:00:35 +01:00
ylecollen
07d554b992 Fixe SYIOS-51 - spinner appears when backgrounding recents page 2015-01-12 14:19:23 +01:00
ylecollen
c6049967f8 - 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
ebceed3290 add consoleTools 2015-01-12 11:07:13 +01:00
giomfo
05062121a0 Media Manager: refactoring (download video/image with a unique API) 2015-01-12 11:00:53 +01:00
ylecollen
b88e85daf6 Remove irrelevant files 2015-01-12 10:47:44 +01:00
ylecollen
c39fc8064a Should fix SYIOS-43 : Recents tab on an iPad mini always show a room view.
On iPad devices, the recents list will always be displayed (on IOS 8, the recents list can be hidden with the enlarge button).
2015-01-12 09:17:04 +01:00
Matthew Hodgson
a78a45a88c 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
ylecollen
2a97155f44 The cache size did not include the media one (it was only the Matrix SDK one) 2015-01-09 17:14:09 +01:00
ylecollen
c0abd65b0d Manage words filtering on In App Alert 2015-01-09 15:58:15 +01:00
giomfo
8ee82edd6b Image Attachment: fix image flickering at the end of uploading 2015-01-09 14:13:03 +01:00
giomfo
92fedf031e Update comment and remove useless code 2015-01-09 12:10:34 +01:00
ylecollen
9f9a36a1f9 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
1e870e48b6 Add the upload statistic 2015-01-09 09:54:31 +01:00
giomfo
93f2a343c1 Move MediaManager to /API dir 2015-01-08 21:29:31 +01:00
giomfo
c6b7f9d763 Media Manager refactoring: split the existing file in 2 parts: MediaManager/MediaLoader 2015-01-08 21:23:49 +01:00
giomfo
44e3a723c6 Remove undesirable file 2015-01-08 21:06:30 +01:00
ylecollen
08fb42af48 uploading media displays a pie chart (need to add the statistic) 2015-01-08 18:25:43 +01:00
giomfo
40cc6bfcc0 Media Manager refactoring (in progress) 2015-01-08 18:20:34 +01:00
ylecollen
c35c908d0d IOS8 : dismissViewControllerAnimated is only called if _alert is displayed 2015-01-08 17:41:43 +01:00
ylecollen
67695d8207 Do not display alert when a media picker is displayed. 2015-01-08 17:30:46 +01:00
giomfo
bc7f4245f4 MediaManager refactoring (in progress) 2015-01-08 16:01:25 +01:00
ylecollen
7750ca6516 Long tap on pie chart let the user cancels the media download. 2015-01-08 15:40:05 +01:00
ylecollen
1eede63523 Fix a compilation warning for devices < IOS 8 2015-01-08 13:19:47 +01:00
ylecollen
f95cc44ef0 The media download progress info (pie chart + stats) is displayed in the history. 2015-01-08 11:31:25 +01:00
ylecollen
b418892187 Add a progressView in the roomTableViewCell but it is not yet managed 2015-01-08 09:49:34 +01:00
ylecollen
231044ab9a CustomImageView updates :
-> The MediaLoader is not not anymore cancelled when an Image URL is set. The media downloaded is done in background

-> check if there is a pending download to the image URL before starting a new one.
The medias could have been downloaded several times with the UITableViewCell reuse management or when the image was zoomed in full screen.
The MediaManager warns by now when the media download is ended.
2015-01-07 17:26:37 +01:00
ylecollen
ae338ffa05 Display the download stats info while downloading the high res picture (full screen mode) 2015-01-07 15:49:29 +01:00
giomfo
8f9a3ca3e4 Image attachment: improve image handling when table view is refreshed 2015-01-07 14:11:33 +01:00
ylecollen
004d470585 The contentMode was not properly managed. 2015-01-07 12:18:20 +01:00
ylecollen
a13141e340 The contentMode was not properly managed. (reverted from commit b0fae6539f68aca145a30963aac27defdb42933f) 2015-01-07 12:17:19 +01:00
ylecollen
12fb38a228 The contentMode was not properly managed. 2015-01-07 11:53:54 +01:00
giomfo
9e76042675 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
6a89e9d6dd 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
giomfo
7a6c9cbed3 Bug Fix, attached image is blank at the end of upload 2015-01-07 10:38:29 +01:00
ylecollen
c8cc883e8a MXHTTPClient::requestWithMethod has two new blocks to track the upload/download progress. 2015-01-07 09:11:21 +01:00
ylecollen
f4557edd48 -> create a PieChartView to be reusable
-> add a Pie chart when a media is downloading to display the download progress.
2015-01-06 18:12:45 +01:00
ylecollen
2ef941d6fc The image preview is now displayed in fullscreen 2015-01-06 15:44:34 +01:00
ylecollen
bbb1a6be27 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
giomfo
1f2966cdd0 Fix regression in previous commitment related to SYIOS-26: The app can work offline when debackgrounded but not when restarting from cold 2015-01-06 10:36:57 +01:00
ylecollen
18cc725611 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
7a11f1399c Add the pitch to zoom gesture to a zoomed image 2015-01-06 09:41:44 +01:00
ylecollen
8ead5a5c4a The both button messages use the same color as the tabbar text one. 2015-01-05 17:07:41 +01:00
ylecollen
ade8487327 Fix second half of SYIOS-38 - bad UX when updating avator & display name in settings
-> request to the user to save pending profile updates before switching to an other tab
2015-01-05 16:55:51 +01:00
giomfo
6e90a1db68 BugFix SYIOS-26 - The app can work offline when debackgrounded but not when restarting from cold 2015-01-05 16:38:19 +01:00
giomfo
86780c014b Update Mantle version 2015-01-05 15:23:42 +01:00
giomfo
bf95b4f4ed Prepare SYIOS-26: "The app can work offline when debackgrounded but not when restarting from cold"
In relation with the SDK change on mxSession, we introduce a matrixHandler status to handle following status: loggedOut, logged, storeDataReady, serverSyncDone.
(Boolean 'isLogged' and 'isInitialSyncDone' are removed).
2015-01-05 15:11:40 +01:00