Commit graph

462 commits

Author SHA1 Message Date
ylecollen
57d249bab9 Should avoid flickerings while updating the oneself avatar 2015-01-05 10:15:26 +01:00
ylecollen
c2dce15cbe Should fix SYIOS-42 - Avatar and displayname missing in the "More" tab. 2015-01-05 09:20:16 +01:00
Matthew Hodgson
06d66573c1 dummy commit 2014-12-24 16:26:27 +00:00
ylecollen
0d7b1a4844 The 1:1 room name was not refreshed when the member name is updated 2014-12-24 16:32:24 +01:00
ylecollen
84093a8d12 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
91a5fd9faa 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
7ec93672a2 It was required to tap twice to display members list 2014-12-24 11:10:41 +01:00
ylecollen
3cd151d00e 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
322b9d691a fix many issues in the member detail sheet 2014-12-24 11:07:06 +01:00
ylecollen
2d3e54463b First implementation (incomplete) 2014-12-24 11:07:05 +01:00
manuroe
8f7ed9b1a1 SYIOS-26 Make the app usable when starting the app offline.
Added another callback parameter to [MXSession start]: onStoreDataReady to indicate when the app can start to work offline
2014-12-23 19:02:03 +01:00
ylecollen
9e9f9b8517 the title used to be animatable once. 2014-12-23 16:44:20 +01:00
ylecollen
ab8c59f621 The "close" button was not always removed. 2014-12-23 16:38:04 +01:00
giomfo
4cc9578f0b Force back to Recents on clear cache 2014-12-23 16:06:08 +01:00
giomfo
5a2881e0e7 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
64b65c2642 The application user can update his own power level. 2014-12-23 08:30:07 +01:00
ylecollen
ec3c634909 Add a close button when zooming an image or Validating an image selection. 2014-12-22 18:07:21 +01:00
giomfo
06ccac4ed6 Trigger back pagination asynchronously to prevent UI freeze 2014-12-22 16:50:45 +01:00
giomfo
14a5bd58b1 Launch the app on Recents tab when user is already logged 2014-12-22 16:16:34 +01:00
ylecollen
6affb99296 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
5951cbf144 Add unread messages count in Recents title 2014-12-22 14:19:33 +01:00
ylecollen
acdceba5a7 The power leverl pie was not properly rendered when the cell was selected : the grey part was hidden. 2014-12-22 13:31:54 +01:00
ylecollen
c281f61bca Add a preview from a picked picture
Can capture a video/picture
2014-12-22 11:55:28 +01:00
ylecollen
e74ce12ea5 Add a preview from a picked picture
Can capture a video/picture
2014-12-22 11:54:49 +01:00
giomfo
37c2a1411b Back pagination: cancel operation when it becomes useless 2014-12-22 11:13:23 +01:00
manuroe
a01c392117 Lock Console on the Matrix 0.2.0 pod 2014-12-22 10:38:20 +01:00
manuroe
8879ab113a Renamed postXXX methods to sendXXX to avoid confusion with HTTP POST 2014-12-22 10:23:26 +01:00
manuroe
65e354afb9 Fixed build warning: %d -> %tu for NSUInteger 2014-12-22 08:38:39 +01:00
giomfo
6a5d24fa2f Fix SYIOS-14 Switch to using new media repo... 2014-12-19 18:55:42 +01:00
giomfo
29f973ed56 Fix SYIOS-14: Switch to using new media repo for sending attachments/avatars 2014-12-19 17:16:24 +01:00
manuroe
9929690dd6 Prepare 0.2.0 2014-12-19 16:38:36 +01:00
ylecollen
c4333ee73a The keyboard closed itself on iphone 4 2014-12-19 16:01:26 +01:00
ylecollen
31f93254a7 Use MatrixHandler::getPowerLevel 2014-12-19 16:01:26 +01:00
ylecollen
eece33e7e7 Chan update the power level of other members 2014-12-19 16:01:26 +01:00
giomfo
35b0b06c60 Home: Improve handling of room alias text input 2014-12-19 15:54:01 +01:00
giomfo
974d86e09f 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
b99d23ad46 The topic animation was not restarted when the application was debackgrounded 2014-12-19 11:45:30 +01:00
ylecollen
d72bca8929 Add the cache size to the "clear cache" button 2014-12-19 11:03:09 +01:00
ylecollen
0e75739d8d Merge remote-tracking branch 'origin/develop' into develop 2014-12-19 10:42:31 +01:00
ylecollen
126379b1b8 The zoomed image was not properly scaled after screen rotation 2014-12-19 10:38:19 +01:00
manuroe
682058841f Podfile.lock updated with last pod 2014-12-19 10:36:09 +01:00
Yannick Le Collen
09a0a3498e Fix SYIOS-24 : Console : create a "Clear Cache" button 2014-12-19 10:02:09 +01:00
Yannick Le Collen
5333589229 Remove useless code 2014-12-19 08:45:57 +01:00
Yannick Le Collen
8a271dfc18 Animate the topic label if it is longer than the screen width 2014-12-19 08:03:39 +01:00
Yannick Le Collen
9e21db9b56 Merge remote-tracking branch 'origin/develop' into develop 2014-12-19 08:02:17 +01:00
David Baker
90144e06b0 Add an API for registering for push notifications and make matrixconsole support it (pending a push gateway for matrixConsole). 2014-12-18 15:29:34 +00:00
manuroe
fdfce7b5db Merge remote-tracking branch 'origin/develop' into mxfilestore 2014-12-18 15:51:42 +01:00
manuroe
d2e0e33129 MXFileStore: added openWithCredentials:onComplete: to mount data from file system asynchronously 2014-12-18 14:57:34 +01:00
Yannick Le Collen
b116591389 The room titleview frame was not refreshed after a screen rotation 2014-12-18 14:36:55 +01:00
Yannick Le Collen
139fdffa52 The banned user thumbnails were not drawn with right border color. 2014-12-18 11:25:41 +01:00
giomfo
601e468469 Room view: Add /op and /deop commands support. 2014-12-18 11:06:59 +01:00
Yannick Le Collen
464dc8a8b4 Fix a typo 2014-12-18 11:03:55 +01:00
Yannick Le Collen
b2af8e8eeb Move getRoomStartedWithMember from RoomViewCrontroller to MatrixHandler 2014-12-18 11:01:04 +01:00
Yannick Le Collen
dac87e5d03 fixed SYIOS-21 - All ligin failures trigger 'Invalid username/password' 2014-12-18 10:54:00 +01:00
Yannick Le Collen
ca5c57e72e 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
30f4b0fcc4 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
a666ee5961 The keyboard dismiss is now interactive 2014-12-18 09:14:36 +01:00
Yannick Le Collen
51b7f818e2 Hide if the keyboard if the user scrolls the public rooms 2014-12-18 09:03:05 +01:00
Yannick Le Collen
6fc134ebf0 Improve the displayName udpate message to avoid having "(null)" 2014-12-18 08:59:48 +01:00
manuroe
6a63c37f26 Made Console use MXFileStore 2014-12-17 18:22:28 +01:00
manuroe
39f2bb0938 Updated Matrix console cocoapod 2014-12-17 18:21:50 +01:00
Yannick Le Collen
d6fb1d6266 Don't adjust participant text font : the text is not automatically resized while rotating the device. 2014-12-17 16:51:06 +01:00
Yannick Le Collen
f0457af4b5 Can start a chat with a room participant. 2014-12-17 16:25:17 +01:00
Yannick Le Collen
0cbdf48140 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
Yannick Le Collen
bce3302b27 SYIOS-20 part 2 -> update the chat participants list 2014-12-17 13:41:56 +01:00
Yannick Le Collen
1d371f346a Merge remote-tracking branch 'origin/develop' into develop 2014-12-17 13:40:43 +01:00
Yannick Le Collen
dcd7e35ca2 SYIOS-20 part 1
-> remove the progressbar
-> remove presence view
-> add the thumbnail border color
-> append the presence text to the user name.
2014-12-17 11:05:18 +01:00
giomfo
e4559eaafc Room details: Support /join command (join room by using room alias) 2014-12-17 10:55:33 +01:00
giomfo
68ef5bcf19 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
Yannick Le Collen
38156c0873 clickedButtonAtIndex callblack is dispatched to avoid application crashes 2014-12-17 09:20:18 +01:00
giomfo
8d8c5dcabd Settings - Bug fix: "accidental erasing of the user's displayName during initial sync". 2014-12-17 00:59:57 +01:00
giomfo
3833f20234 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
daec46b4ab 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
giomfo
e942b42710 Room details: Bug fix (sender name was displayed whereas his name appears at the beginning of the message) 2014-12-16 21:28:50 +01:00
Yannick Le Collen
3d2a3b159e IPad issue when sliding the keyboard to hide it 2014-12-16 18:56:25 +01:00
Yannick Le Collen
53504e58c1 Fix a crash on IOS 7.X ipads 2014-12-16 18:30:49 +01:00
Yannick Le Collen
22cf938fe7 Iphone 6+ : fix some landscape issues while dismissing the keyboard 2014-12-16 17:22:47 +01:00
Yannick Le Collen
c32ec3b7e6 Merge remote-tracking branch 'origin/develop' into develop 2014-12-16 16:11:47 +01:00
Yannick Le Collen
dfdc237c56 Fix an issue with IOS 6 devices 2014-12-16 16:11:37 +01:00
giomfo
d5968cdb57 SYIOS-20: fix the following point:
- the list doesn't take up the whole page and leaves a weird greyed out ugly space at the bottom.
2014-12-16 16:01:32 +01:00
giomfo
51849721fa Room details: update members icon position in navigation bar 2014-12-16 15:51:35 +01:00
Yannick Le Collen
9a724bb851 Merge remote-tracking branch 'origin/develop' into develop 2014-12-16 15:01:48 +01:00
Yannick Le Collen
553579b795 Add interactive keyboard dismiss 2014-12-16 15:01:31 +01:00
giomfo
4d9560347a 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
f1e8b24ff0 Finalize SYIOS-17 by scrolling to the bottom the refreshed table if necessary 2014-12-16 11:09:07 +01:00
giomfo
0d34683e4d Room details: Fix SYIOS-17 - Fudge around flickering during echos 2014-12-16 10:23:14 +01:00
Yannick Le Collen
ec900d3818 scrollToBottomAnimated body is not anymore dispatched. 2014-12-16 10:05:37 +01:00
Yannick Le Collen
419df123df The user avatar did not keep its aspect ratio 2014-12-16 08:52:40 +01:00
Yannick Le Collen
419a23260e The user avatar did not keep its aspect ratio. 2014-12-16 08:52:40 +01:00
Yannick Le Collen
ee056ccf4a Fix SYIOS-18 - displaying keyboard has nasty animation artefacts 2014-12-16 08:25:27 +01:00
giomfo
5a6a26af12 Room details: Improve members list icon 2014-12-15 17:41:40 +01:00
giomfo
64f274ac06 Room details: Display and Edit room topic 2014-12-15 16:54:31 +01:00
David Baker
218831b9f7 Merge branch 'master' into develop 2014-12-15 15:38:30 +00:00
manuroe
e6ccb1dfe6 SDK renaming: event_id -> eventId 2014-12-15 16:15:05 +01:00
giomfo
203b4212c5 Do not prompt user about remote notifications until APNS is actually available 2014-12-15 14:43:06 +01:00
giomfo
b034352373 Room Details: Fix minor UX issue in room name handling 2014-12-12 14:58:53 +01:00
giomfo
7f17a41e91 Add APNS handling in settings screen (hidden by default) 2014-12-12 14:19:47 +01:00
manuroe
f8473ca87b MXRestClient: need joinAlias method
Updated [MXRestClient joinRoom] to support both room id and room alias
2014-12-12 11:38:37 +01:00
giomfo
d780efc5c4 Prepare APNS registration 2014-12-12 10:49:15 +01:00
manuroe
e71f05e5a5 SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for room name & topic
2014-12-11 18:37:25 +01:00
manuroe
dd51e7872f SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for events sending
2014-12-11 18:26:43 +01:00
manuroe
e65793354a SYIOS-2 - MXRoom: add shortcut methods like inviteUser, postMessage, etc.
Done for membership ones
2014-12-11 18:10:15 +01:00
giomfo
66281902b4 Remove deprecated API use (MPMoviePlayerController thumbnailImageAtTime) 2014-12-11 16:41:21 +01:00
giomfo
3e928bf546 Recents: adjust activity indicator display 2014-12-11 15:24:35 +01:00
giomfo
cbc82594e3 Settings: remove local storage for user's info (displayName, avatar), use now mxSession.myUser 2014-12-11 14:52:04 +01:00
giomfo
f54ad51f0e Bug Fix: Displayed recents may be corrupted after logout 2014-12-11 14:41:02 +01:00
giomfo
2c8d823da5 Room details: enlarge bubble width 2014-12-10 18:49:04 +01:00
David Baker
3faa49021c set distribution code signing id to distribution 2014-12-10 17:15:13 +00:00
giomfo
984481323a Patch missing displayname in m.presence event (observed after joining a public room) 2014-12-10 17:07:27 +01:00
giomfo
90da3f549b Bug Fix: Recents getting stuck after settings changes 2014-12-10 12:07:00 +01:00
giomfo
fab14dc592 Room details: move unsent labels in dateTime labels container 2014-12-10 12:05:11 +01:00
giomfo
b17f6fdb75 Room details: fix weird scrolling when viewing a room 2014-12-10 10:30:24 +01:00
giomfo
16a3f411d7 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
giomfo
b20c5a2165 User's profile: listen only events related to user's presence to update user's information (displayName, avatar and presence) 2014-12-10 09:36:42 +01:00
giomfo
9c80c1cd1a Handle Matrix User presence as following:
- set Online when app is active.
- set Unavailable when app is suspended (inactive).
- set Offline when user logs out the app (this option is currently commented because the user is kept offline when he logs in again from web client).

Multidevice handling: the app compares the presence from server with the local value in order to keep the most pertinent.
2014-12-09 18:21:39 +01:00
manuroe
2a0655df1f Merge remote-tracking branch 'origin/develop' 2014-12-09 17:31:55 +01:00
manuroe
a7f4f49020 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
f4809a6183 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
6334613371 Room details: run activity indicator on SDK resume 2014-12-09 17:09:51 +01:00
manuroe
38ed485cd6 Start versioning from 0.1.0 2014-12-09 16:24:13 +01:00
manuroe
373e121fd9 BF: Keep milliseconds accuracy when converting MXEvent.originServerTs to NSDate in order to correctly events in the same seconds 2014-12-09 16:23:48 +01:00
manuroe
e4de36cfa1 Merge remote-tracking branch 'origin/develop' 2014-12-09 14:24:47 +01:00
David Baker
4f580c8511 Share scheme 2014-12-09 13:17:17 +00:00
giomfo
d6d8f49fda Room details: fix display name for new joined members. 2014-12-09 10:39:56 +01:00
giomfo
6e118dad6d Room Message: improve bing handling 2014-12-08 18:17:32 +01:00
giomfo
8b741725f4 Messages display: Use local part of userId (instead of full userId) to apply 'bing' style on incoming messages. 2014-12-08 17:41:56 +01:00
giomfo
94e0014bde Room details: Improve room name edition 2014-12-08 15:48:35 +01:00
giomfo
17aaf5e078 Recents-Room details: Handle correctly left rooms 2014-12-08 15:22:26 +01:00
giomfo
d8c3cf8de9 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
515a2aef30 Recents: Remove left rooms from recents list 2014-12-08 11:55:54 +01:00
giomfo
a36de54e3f Room details: Fix App crash on app logout 2014-12-08 11:27:36 +01:00
giomfo
cead14e5c4 Room members: check power levels before allowing user to kick, ban or invite room members 2014-12-08 10:49:23 +01:00
giomfo
d074931c3b Home: Add search option in public rooms 2014-12-08 09:32:21 +01:00
giomfo
322cecf42f Recents: handle unread messages 2014-12-05 17:48:06 +01:00
giomfo
9bbfb2efdd Recents: improve activity indicator displayed during data sync 2014-12-05 13:50:14 +01:00
giomfo
9284fda225 Recents: Add sync feedback on App resume 2014-12-05 11:55:01 +01:00
giomfo
3757f8a371 Room details: fix back pagination size (paginate back until the defined size is reached) 2014-12-04 16:33:31 +01:00
giomfo
e728d27a03 Prepare support of "invite" level to power level events (related to SYN-190) 2014-12-04 14:19:59 +01:00
giomfo
6bce0a11ef Update user's change listener 2014-12-04 13:23:38 +01:00
giomfo
984d2c1d1f Room details: fix flickering on outgoing messages + improve table refresh at the end of back pagination. 2014-12-04 11:43:43 +01:00
manuroe
13c76d47ea Updated MatrixConsole to use the new MXRoomPowerLevels class 2014-12-04 10:59:14 +01:00
giomfo
4e166bd991 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
e90f1a54fc Room details: Fix scroll to bottom issues. 2014-12-02 21:42:48 +01:00
giomfo
6f8e48c04a Room details: Bug fix: handle correctly scroll to bottom on new room 2014-12-02 18:26:50 +01:00
giomfo
04c5d68a41 Room details: use italic font for state events 2014-12-02 16:48:26 +01:00
giomfo
f3c6d73c82 Bug fix (App crash): Prevent insertion of existing rows at the end of back pagination. 2014-12-02 15:27:37 +01:00
giomfo
8adf17fd9e Recents: add search option 2014-12-02 15:25:00 +01:00
manuroe
778e024a00 Renaming: [MXSession room:] to [MXSession roomWithRoomId:]. [MXSession user:] to [MXSession userWithUserId:] 2014-12-02 11:19:51 +01:00
manuroe
06fe7a37eb Update the app with new MXStore and new recentsWithTypeIn 2014-12-02 10:27:26 +01:00
giomfo
39308a8d2e Upgrade iOS deployment target for matrix console: 7.0 (previous value was 6.0) 2014-12-01 16:26:57 +01:00
giomfo
d0d40fa60a Rename some views as containers 2014-11-28 19:33:40 +01:00
giomfo
7ef4c301cd Room details: reduce space displayed between text messages and attachments from the same sender 2014-11-28 19:23:51 +01:00
giomfo
b2c55fcfb7 Adjust attachment view layout 2014-11-28 18:36:57 +01:00
giomfo
3d1f578613 Room details: fix timestamp display on iOS > 8 2014-11-28 17:53:27 +01:00
giomfo
c724a72325 Handle correctly multiple loading wheels when user attachs media to room 2014-11-28 17:02:46 +01:00
giomfo
6422f1bb11 Bug fix: reset recents on logout 2014-11-28 15:06:53 +01:00
giomfo
bed78a0215 Room creation: Fix Alias and Participants handling in Home screen 2014-11-28 11:52:58 +01:00
giomfo
c0d2b71cd7 Room details: restore timestamp and unsent label display 2014-11-28 10:51:22 +01:00
giomfo
38b7b961bf Room details - change messages layout: successive text messages from the same sender are concatenated in only one textView. 2014-11-27 10:50:09 +01:00
manuroe
2625e390ef Created [MXCredentials initWithHomeServer...]. This is nicer than setting properties one by one after a [MXCredentials init] 2014-11-24 15:04:31 +01:00
giomfo
df49f5dd3e Update Xcode project after directory renaming 2014-11-24 11:06:13 +01:00
giomfo
6795f83ebd Rename directories of sample sources (matrixConsole) 2014-11-24 10:38:23 +01:00