Commit graph

266 commits

Author SHA1 Message Date
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
5a62ab7bfe Feature SYIOS-25 - Console: display app version in settings 2015-01-14 14:22:07 +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
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
ylecollen
25d36367de Manage words filtering on In App Alert 2015-01-09 15:58:15 +01: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
giomfo
8d5f726303 Media Manager refactoring (in progress) 2015-01-08 18:20:34 +01:00
ylecollen
559fe432c3 Do not display alert when a media picker is displayed. 2015-01-08 17:30:46 +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
giomfo
653dd1fc2c 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
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
d3ef0de60d 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
ae315e62cc 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
7382db2e64 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
ylecollen
b50492037e Half fixed SYIOS-38 - Bad UX when updating avator & display name in settings
-> add a "Save changes" button : it saves any profile updates
-> fix the rotated avatar issue while uploading it (the disabled image was not set)
-> add a mask view over the section instead of disabling one item
2015-01-05 14:25:11 +01:00
ylecollen
9f0e8d2ff1 Should avoid flickerings while updating the oneself avatar 2015-01-05 10:15:26 +01:00
ylecollen
5a236376da Should fix SYIOS-42 - Avatar and displayname missing in the "More" tab. 2015-01-05 09:20:16 +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
d3c2b81316 Start a 1:1 chat with an user should not defined a name to let MatriX SDK manage it by itself (i.e. display the other member name) 2014-12-24 16:30:51 +01:00
ylecollen
1bd640a1d0 Remove the selected room in the recents list when the splitViewController displays the recents AND the selected room. 2014-12-24 13:25:12 +01:00
ylecollen
b385ec45db It was required to tap twice to display members list 2014-12-24 11:10:41 +01:00
ylecollen
9521cacd6e Should fix SYIOS-28 - There is no way to view a user's mxid (or other profile info) on IOS.
The new viewcontroller also manages the member actions in the room (kick, ban....)
2014-12-24 11:07:07 +01:00
ylecollen
bbad730636 fix many issues in the member detail sheet 2014-12-24 11:07:06 +01:00
ylecollen
6e90f5a014 First implementation (incomplete) 2014-12-24 11:07:05 +01:00
ylecollen
310a3a8ef4 The "close" button was not always removed. 2014-12-23 16:38:04 +01:00
giomfo
dccc7ecaa9 Force back to Recents on clear cache 2014-12-23 16:06:08 +01:00
giomfo
1d90558698 BugFix SYIOS-33: Current dev shows lots of rooms with blank recents entries which crash on entry 2014-12-23 15:08:36 +01:00
ylecollen
00fd425a55 The application user can update his own power level. 2014-12-23 08:30:07 +01:00
ylecollen
ce55f1c3d2 Add a close button when zooming an image or Validating an image selection. 2014-12-22 18:07:21 +01:00
giomfo
6c8a36bae3 Trigger back pagination asynchronously to prevent UI freeze 2014-12-22 16:50:45 +01:00
ylecollen
841aa25fe4 1 - the room topic is animated when lon tapping on it
2 - the media picker used to close itself on IOS 8.
2014-12-22 15:45:43 +01:00
giomfo
9498145fe8 Add unread messages count in Recents title 2014-12-22 14:19:33 +01:00
ylecollen
6a7b809d98 Add a preview from a picked picture
Can capture a video/picture
2014-12-22 11:55:28 +01:00
ylecollen
544f139256 Add a preview from a picked picture
Can capture a video/picture
2014-12-22 11:54:49 +01:00
giomfo
3676c58142 Back pagination: cancel operation when it becomes useless 2014-12-22 11:13:23 +01:00
manuroe
e19cd1f00d Renamed postXXX methods to sendXXX to avoid confusion with HTTP POST 2014-12-22 10:23:26 +01:00
giomfo
1703573334 Fix SYIOS-14: Switch to using new media repo for sending attachments/avatars 2014-12-19 17:16:24 +01:00
ylecollen
7fefb5cbef The keyboard closed itself on iphone 4 2014-12-19 16:01:26 +01:00
ylecollen
d165798140 Chan update the power level of other members 2014-12-19 16:01:26 +01:00
giomfo
7fbb768369 Home: Improve handling of room alias text input 2014-12-19 15:54:01 +01:00
giomfo
42ce740b20 Bug Fix SYIOS-23: With multiple devices, a message sent from one device does not appear on another 2014-12-19 14:16:22 +01:00
ylecollen
45be269b5e Add the cache size to the "clear cache" button 2014-12-19 11:03:09 +01:00
ylecollen
22e14cb50b The zoomed image was not properly scaled after screen rotation 2014-12-19 10:38:19 +01:00
Yannick Le Collen
6a67323caf Fix SYIOS-24 : Console : create a "Clear Cache" button 2014-12-19 10:02:09 +01:00
Yannick Le Collen
1e9d93be81 Animate the topic label if it is longer than the screen width 2014-12-19 08:03:39 +01:00
Yannick Le Collen
56ab12c7bb The room titleview frame was not refreshed after a screen rotation 2014-12-18 14:36:55 +01:00
giomfo
2a9b4528dd Room view: Add /op and /deop commands support. 2014-12-18 11:06:59 +01:00
Yannick Le Collen
551e7d9397 Fix a typo 2014-12-18 11:03:55 +01:00
Yannick Le Collen
b72713d743 Move getRoomStartedWithMember from RoomViewCrontroller to MatrixHandler 2014-12-18 11:01:04 +01:00
Yannick Le Collen
d1035861d9 fixed SYIOS-21 - All ligin failures trigger 'Invalid username/password' 2014-12-18 10:54:00 +01:00
Yannick Le Collen
cd2bd55652 Iphone 6+ / Landscape orientation : The chat tableview was properly refreshed while enlarging/reducing it. 2014-12-18 10:50:31 +01:00
Yannick Le Collen
66ad9dc3b3 Fixed SYIOS-22 - Invalid Username/password dialog box disappears automatically about half a second after appearing. 2014-12-18 09:32:29 +01:00
Yannick Le Collen
e37d59c6ba Hide if the keyboard if the user scrolls the public rooms 2014-12-18 09:03:05 +01:00
Yannick Le Collen
a555cda053 Can start a chat with a room participant. 2014-12-17 16:25:17 +01:00
Yannick Le Collen
8a97f1f291 SIOS-20 : the left participants are not displayed by default (must be enabled in the device settings) 2014-12-17 14:40:39 +01:00
giomfo
feadfa3b40 Room details: Support /join command (join room by using room alias) 2014-12-17 10:55:33 +01:00
giomfo
3595e7b3ad Recents: trigger back pagination when last event description is empty in order to display the actual last event. 2014-12-17 09:56:25 +01:00
giomfo
0cc435a436 Settings - Bug fix: "accidental erasing of the user's displayName during initial sync". 2014-12-17 00:59:57 +01:00
giomfo
ce406497ec Update default configuration (see matrixConsole-Defaults.plist)
-hide unsupported/unexpected events
-sort room members by last seen time
2014-12-16 22:54:26 +01:00
giomfo
ec3687779c Bug Fix SYIOS-15: Entering a room should show all cached history from global initialsync until the room initialsync completes 2014-12-16 21:33:45 +01:00
Yannick Le Collen
e96be64909 IPad issue when sliding the keyboard to hide it 2014-12-16 18:56:25 +01:00
Yannick Le Collen
ea5c74b3e9 Fix a crash on IOS 7.X ipads 2014-12-16 18:30:49 +01:00
Yannick Le Collen
8d15b3746b Iphone 6+ : fix some landscape issues while dismissing the keyboard 2014-12-16 17:22:47 +01:00
Yannick Le Collen
1577313154 Merge remote-tracking branch 'origin/develop' into develop 2014-12-16 16:11:47 +01:00
Yannick Le Collen
392c7f9af1 Fix an issue with IOS 6 devices 2014-12-16 16:11:37 +01:00
giomfo
dba918ea45 Room details: update members icon position in navigation bar 2014-12-16 15:51:35 +01:00
Yannick Le Collen
a552d1338b Merge remote-tracking branch 'origin/develop' into develop 2014-12-16 15:01:48 +01:00
Yannick Le Collen
680ed4ede8 Add interactive keyboard dismiss 2014-12-16 15:01:31 +01:00
giomfo
d1aa492f3d Finalize SYIOS-17 fix: handle correctly cell composed by only one hidden message.
+ handle correctly local echo deletion
2014-12-16 14:00:37 +01:00
giomfo
dd79c2d26c Finalize SYIOS-17 by scrolling to the bottom the refreshed table if necessary 2014-12-16 11:09:07 +01:00
giomfo
391b016029 Room details: Fix SYIOS-17 - Fudge around flickering during echos 2014-12-16 10:23:14 +01:00
Yannick Le Collen
9b0f66966d scrollToBottomAnimated body is not anymore dispatched. 2014-12-16 10:05:37 +01:00
Yannick Le Collen
81f4fddec9 The user avatar did not keep its aspect ratio 2014-12-16 08:52:40 +01:00
Yannick Le Collen
1945b25fa4 The user avatar did not keep its aspect ratio. 2014-12-16 08:52:40 +01:00
Yannick Le Collen
f6344ac215 Fix SYIOS-18 - displaying keyboard has nasty animation artefacts 2014-12-16 08:25:27 +01:00
giomfo
20426959a5 Room details: Improve members list icon 2014-12-15 17:41:40 +01:00
giomfo
4882bba2f6 Room details: Display and Edit room topic 2014-12-15 16:54:31 +01:00
manuroe
3e17414b18 SDK renaming: event_id -> eventId 2014-12-15 16:15:05 +01:00
giomfo
7af33248bb Room Details: Fix minor UX issue in room name handling 2014-12-12 14:58:53 +01:00
giomfo
6614c69a34 Add APNS handling in settings screen (hidden by default) 2014-12-12 14:19:47 +01:00
manuroe
4db0d89f22 MXRestClient: need joinAlias method
Updated [MXRestClient joinRoom] to support both room id and room alias
2014-12-12 11:38:37 +01:00
manuroe
f4aec89fcc SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for room name & topic
2014-12-11 18:37:25 +01:00
manuroe
24fe42864b SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for events sending
2014-12-11 18:26:43 +01:00
manuroe
0969a23657 SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for membership ones
2014-12-11 18:10:15 +01:00
giomfo
86e596f3df Remove deprecated API use (MPMoviePlayerController thumbnailImageAtTime) 2014-12-11 16:41:21 +01:00
giomfo
9b59a02bed Recents: adjust activity indicator display 2014-12-11 15:24:35 +01:00
giomfo
63f6685e17 Settings: remove local storage for user's info (displayName, avatar), use now mxSession.myUser 2014-12-11 14:52:04 +01:00
giomfo
d8abbaa6af Bug Fix: Displayed recents may be corrupted after logout 2014-12-11 14:41:02 +01:00
giomfo
a17e4d9787 Room details: enlarge bubble width 2014-12-10 18:49:04 +01:00
giomfo
baf8083778 Room details: move unsent labels in dateTime labels container 2014-12-10 12:05:11 +01:00
giomfo
aa02a8d652 Room details: fix weird scrolling when viewing a room 2014-12-10 10:30:24 +01:00
giomfo
edcdfc1beb Recents: Bug fix recents getting stuck after fiddling 'show all events' and 'hide unsupported messages' in settings 2014-12-10 10:11:45 +01:00
manuroe
2a6c0b1fec Room details: Be less restrictive when deciding to autoscroll on live events.
The user is now considered at the bottom of the list with an approx of 30px
2014-12-09 17:29:53 +01:00
manuroe
7518f07fb5 Room details: On bunch of incoming live events, scroll up to the last event of this bunch 2014-12-09 17:14:00 +01:00
giomfo
48c18b210a Room details: run activity indicator on SDK resume 2014-12-09 17:09:51 +01:00
giomfo
673dbd70ee Room details: fix display name for new joined members. 2014-12-09 10:39:56 +01:00
giomfo
16ec008238 Room details: Improve room name edition 2014-12-08 15:48:35 +01:00
giomfo
8b2d746f78 Recents-Room details: Handle correctly left rooms 2014-12-08 15:22:26 +01:00
giomfo
f750cb0df5 Settings: Close the current room when user enables/disables all events display (Room details will be available at the end of initial sync). 2014-12-08 14:43:34 +01:00
giomfo
93aafe54bd Recents: Remove left rooms from recents list 2014-12-08 11:55:54 +01:00
giomfo
955ac3897b Room details: Fix App crash on app logout 2014-12-08 11:27:36 +01:00
giomfo
5548c00a80 Room members: check power levels before allowing user to kick, ban or invite room members 2014-12-08 10:49:23 +01:00
giomfo
60dbff4097 Home: Add search option in public rooms 2014-12-08 09:32:21 +01:00
giomfo
6bed500694 Recents: handle unread messages 2014-12-05 17:48:06 +01:00
giomfo
a539220950 Recents: improve activity indicator displayed during data sync 2014-12-05 13:50:14 +01:00
giomfo
aef0f46d86 Recents: Add sync feedback on App resume 2014-12-05 11:55:01 +01:00
giomfo
9c5e4d8aed Room details: fix back pagination size (paginate back until the defined size is reached) 2014-12-04 16:33:31 +01:00
giomfo
d153e989b7 Room details: fix flickering on outgoing messages + improve table refresh at the end of back pagination. 2014-12-04 11:43:43 +01:00
giomfo
d062ddc487 Room details, Bug Fix: check whether the view controller has not been released while back pagination was running 2014-12-03 11:30:15 +01:00
giomfo
0fc95f59f7 Room details: Fix scroll to bottom issues. 2014-12-02 21:42:48 +01:00