Commit graph

72 commits

Author SHA1 Message Date
giomfo
0027765753 Console: Update inApp Notification handling. 2015-02-19 18:10:15 +01:00
giomfo
2f011a2b11 Console: Fix uploaded image orientation. Now all uploaded image orientation is UP (attachments and avatar). 2015-02-19 16:58:17 +01:00
giomfo
155d8458d6 Console: typo 2015-02-18 17:41:29 +01:00
manuroe
f308f5bbb7 Added more log (including in app) to track app startup timing 2015-02-18 09:16:59 +01:00
manuroe
4645406052 SYIOS-40: Any HTTP request can fail due to rate-limiting on the server, and need to be retried.
SDK: Introduced MXHTTPOperation. It replaces NSOperation objects returned by all MXRestClient methods. MXHTTPOperation will help to manage request retries.
2015-02-17 12:00:34 +01:00
giomfo
d846f393bb Console: BugFix SYIOS-79 - Partial text input should be remembered per-room 2015-02-16 10:37:17 +01:00
giomfo
06bc9e4866 Console: BugFix - "Start chat with one of my contact opened an existing one to one room with this contact, but the contact had left the room".
--> We check now member's status before reusing existing room.
2015-02-13 15:16:30 +01:00
giomfo
daa90ca05c Console: BugFix in Settings - Restore correctly user's display name after cache clearing. 2015-02-12 14:39:08 +01:00
giomfo
4b76c6b24d Console: Improve offline mode:
- remove loading wheel when network is unreachable.
- color in red the navigation bar when the app is offline.

Buf Fix SYIOS- 66 - Console: last outgoing message is stuck as local echo whereas the message has been delivered.
2015-02-12 11:16:28 +01:00
giomfo
75e1a606ac Console: Improve Authentication screen to support multiple kinds of flow during login and registration. 2015-02-10 16:12:58 +01:00
manuroe
204267f4f3 SYIOS-62 - MXSession: The 2 initial steps (MXStore loading and events stream resume) should be performed separately
Update Console to use the 2 new methods to load MXStore cache and to sync with HS separately
2015-02-09 15:20:51 +01:00
giomfo
d14eadf929 Console - Settings: Handle correctly failure during APNS token submission. 2015-02-04 10:19:08 +01:00
giomfo
48fbd7e092 Console - Display Event JSON: enable Redact option when user's power level is high enough (Reminder: event JSON is displayed in case of long press on event). 2015-02-03 21:43:33 +01:00
David Baker
a2c7049398 s/instance_handle/profile_tag/ 2015-02-03 16:30:00 +00:00
David Baker
94cb1de4a7 Don't send platform in data dict: just use a different app_id. 2015-02-03 15:16:13 +00:00
giomfo
f4187bf6d6 Console: support m.room.redaction event in live event stream.
TODO: add the option to redact event from iOS console.
2015-01-30 18:47:43 +01:00
ylecollen
129f592ed4 The user country can now be set in the settings (it is already retrieved if there is a valid simcard)
The country is used to internationalize the phonenumbers (because they can defined 3PIDs)
2015-01-29 18:33:39 +01:00
David Baker
6868f7383f Make the push notifications switch work. Also document the API call. 2015-01-29 17:06:37 +00:00
ylecollen
a7a8d29f71 Remove the "cancel" notification warning 2015-01-29 17:07:11 +01:00
ylecollen
359e32c626 -> Add libphonenumber in pod file (pod update is required)
-> the phonenumbers are canonicalized with the default country Code (extracted from the SIM card)
A setting will be added to replaced/defined it.
The phonenumbers are also 3PID so the international format is unique.
2015-01-29 13:40:38 +01:00
ylecollen
7cf4b23092 viewing a room reenables its push notifications 2015-01-29 11:32:15 +01:00
ylecollen
239171fb83 Add an alert to be sure that the user will understand why there is no more alert from incoming message. 2015-01-29 11:19:11 +01:00
ylecollen
2738227683 Tapping on "Cancel" on a notification alert disables any notification for this room until the application is backgrounded / restarted 2015-01-29 11:06:01 +01:00
giomfo
1159a3e2b1 Console: Handle redacted events in room history.
TODO: support m.room.redaction events.
2015-01-28 18:39:23 +01:00
ylecollen
5371dcea35 1 - The contacts are now cached in the filesystem : it should improve the behaviour at could start
2 - the contact updates are now managed since the last sync so it should also improve the contact book
2015-01-28 17:37:51 +01:00
David Baker
574c340d3e Merge branch 'develop' into apns 2015-01-28 15:29:04 +00:00
David Baker
036092a619 Change URL to the live one 2015-01-28 15:28:03 +00:00
ylecollen
81f7fae056 -> start chat with an user tries first to resume existing room before creating a new one. 2015-01-27 16:27:13 +01:00
ylecollen
9134daa2c7 1 - add the contacts search
It searches patterns in emails (contain patterns), phone numbers (starts with patterns), display name (contains)

2 - the contactViewController was not resetted when the application was logged out.
2015-01-27 15:43:57 +01:00
David Baker
0a5bd94799 Merge branch 'develop' into apns
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-27 10:35:56 +00:00
ylecollen
b41fe608c1 Fix a compilation warning on Iphone 6+ 2015-01-27 10:37:15 +01:00
ylecollen
30c0e2b58a 1 - add MatrixSDKHandler::createPrivateOneToOneRoomWith
2 - can start chat with any matrix ID contained in a contact.
2015-01-27 10:15:26 +01:00
ylecollen
2f10552406 The local contacts section does not contain anymore the "unknown" matrix users 2015-01-27 08:36:21 +01:00
ylecollen
8f3074fcc9 Matrix Users section : display only the 1:1 chat members 2015-01-27 08:26:46 +01:00
David Baker
f5ab271ec9 Merge branch 'develop' into apns
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-26 17:35:42 +00:00
ylecollen
c16028d633 -> the contacts list are sectioned in 2 lists
1 - matrix users
2 - local contacts

The user must validate the local contacts sync to trigger them.
2015-01-26 18:06:13 +01:00
ylecollen
b16e6e35c4 The dictionary 3PID -> matrixID is now cached.
We can assume that only few users would become matrix users between two syncs.
2015-01-26 11:55:04 +01:00
ylecollen
bbd890780e The contactManager has now two matrix user check mode
1 - when CONTACTS_3PIDS_SYNC is set
the client looks up for ALL the known 3PIDs even if the linked contacts are not displayed
2 - when CONTACTS_3PIDS_SYNC is NOT set
the client looks up to the PIDS on demand i.e. the displayed contacts request their PIDs refresh.
2015-01-26 11:05:53 +01:00
ylecollen
072e00d309 Update to MXCContact to manage Matrix only Contact 2015-01-26 09:08:18 +01:00
ylecollen
51c3c4ff66 The matrix Users are displayed if the user did not give access to his local contacts book. 2015-01-23 16:08:54 +01:00
ylecollen
f0e9580df9 -> the MXUsers were not always displayed at cold start : the mxSession was not yet initilized
-> application background/debackground management : do not remove the MXUsers before triggering the 3PIDs lookup. It avoid useless flickerings.
2015-01-23 16:04:11 +01:00
giomfo
4051cf4fdb Merge remote-tracking branch 'origin/develop' into with-contacts
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
	samples/matrixConsole/matrixConsole/AppDelegate.m
2015-01-23 15:53:39 +01:00
giomfo
a5fc4380d9 Rename MatrixHandler to MatrixSDKHandler 2015-01-23 15:36:05 +01:00
giomfo
89abac538e Merge remote-tracking branch 'origin/develop' into with-contacts
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-23 14:57:50 +01:00
giomfo
c7afc09b21 Move source files 2015-01-23 14:42:04 +01:00
giomfo
4ce33b1500 Replace Console prefix with MXC 2015-01-23 14:22:02 +01:00
giomfo
5c3baf0180 Merge remote-tracking branch 'origin/develop' into with-contacts
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-23 14:10:47 +01:00
giomfo
40f2fb1e62 Renaming:
ConsoleTools -> MXCTools
ConsoleGrowingTextView -> MXCGrowingTextView
CustomImageView -> MXCImageView
CustomAlert -> MXCAlert
MemberActionsCell -> RoomMemberActionsCell
2015-01-23 13:46:27 +01:00
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