Commit graph

449 commits

Author SHA1 Message Date
giomfo
041ede9ab0 Console: BugFix SYIOS-79 - Partial text input should be remembered per-room 2015-02-16 10:37:17 +01:00
giomfo
089c843202 Console: Improve UI enlarge action buttons in member details view. 2015-02-13 17:20:06 +01:00
giomfo
a93bd79256 Console: Prepare Bugfix SYIOS-75 - Tapping on APNS needs to take you to the right room.
Open the right room by considering the key "room_id", which should be provided in remote notification dictionary.
2015-02-13 16:16:27 +01:00
giomfo
4197e4ebca 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
2ba3d11d74 Console: BugFix SYIOS-71 - Current room should be highlighted in landscape mode 2015-02-13 14:07:03 +01:00
giomfo
eac26b0af6 Console: BugFix - SYIOS-73 - Text area input font should match that used in bubbles. 2015-02-12 17:07:24 +01:00
giomfo
110cb928d8 Console: BugFix SYIOS-76 - The 'Send' button hit area is too small and easy to miss. 2015-02-12 16:54:05 +01:00
giomfo
366340d8a1 Console: Rename RageShakableTableViewController to MXCTableViewController, and RageShakableViewController to MXCViewController. 2015-02-12 14:57:24 +01:00
giomfo
f5c1aa40e6 Console: Settings - Add identity server url in Configuration section. 2015-02-12 14:41:06 +01:00
giomfo
b810d71c89 Console: BugFix in Settings - Restore correctly user's display name after cache clearing. 2015-02-12 14:39:08 +01:00
giomfo
23f80689ff Console: BugFix - On iPhone 6+ (landscape mode), keep open the selected room when user changes application tabs. 2015-02-12 13:35:07 +01:00
giomfo
e5f6fe1014 Console: Enlarge "Send" and "Join" Buttons 2015-02-12 11:39:28 +01:00
giomfo
b8e12242a8 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
b965561d3f Console: Improve Authentication screen to support multiple kinds of flow during login and registration. 2015-02-10 16:12:58 +01:00
manuroe
da4a56b62b 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
manuroe
0da9fa87ce Update to v0.2.2 2015-02-05 17:01:57 +01:00
manuroe
48f539aeba Update to v0.2.2 2015-02-05 16:49:32 +01:00
giomfo
0a21728159 Console: Restore empty GCC_PREPROCESSOR_DEFINITIONS in Release config 2015-02-05 11:58:59 +01:00
giomfo
2782536f4f Console: rename LoginViewController to AuthenticationViewController 2015-02-05 11:43:06 +01:00
David Baker
8523246aea Hopefully actually fix git branch info 2015-02-04 23:16:11 +00:00
David Baker
db9d0b420f Fix GIT_BRANCH pulling-in. 2015-02-04 21:39:53 +00:00
David Baker
7faa89374a actually substitute 2015-02-04 18:35:56 +00:00
David Baker
0decefbd21 hopefully don't confuse the preprocessor 2015-02-04 18:30:50 +00:00
David Baker
aacf54ebe3 Hopefully pass jenkins build variables through 2015-02-04 17:42:43 +00:00
giomfo
9f702c383f Console: Add Build information in Settings (Configuration section).
The displayed information are GIT_BRANCH and BUILD_NUMBER.
2015-02-04 18:18:38 +01:00
David Baker
2559b85d64 Add strings for image messages and make action loc keys more consistent. 2015-02-04 11:06:06 +00:00
giomfo
1755fd6dd0 Console - Settings: Fix an issue observed on Settings table update (Configuration cell was missing). 2015-02-04 11:06:56 +01:00
giomfo
741c790253 Console - Settings: Handle correctly failure during APNS token submission. 2015-02-04 10:19:08 +01:00
giomfo
9a07444b5b 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
manuroe
15896d04c4 MXEvent: Implement setType in order to compute the eventType
Console: Fixed compilation
2015-02-03 18:09:03 +01:00
David Baker
0844e772b8 s/instance_handle/profile_tag/ 2015-02-03 16:30:00 +00:00
manuroe
4a27e21d18 Console: Removed HPGrowingTextView source code from our repository as we use CocoaPods 2015-02-03 17:26:12 +01:00
David Baker
f44f5ab882 Don't send platform in data dict: just use a different app_id. 2015-02-03 15:16:13 +00:00
giomfo
97c2d5fb75 Console - Display Event JSON: Fix issue during long press location handling. 2015-02-03 15:54:19 +01:00
giomfo
a965f22ad0 Console: Display Event JSON on long press.
TODO: Enable the Redact button
2015-02-03 15:34:32 +01:00
manuroe
12b76867f2 Rollback: Removed MXContactManager component from the SDK.
Fixed Console code that started to use it.
2015-02-03 15:10:32 +01:00
manuroe
68b8985d4e Fixed warning found by xCode Analyze 2015-02-03 13:36:32 +01:00
ylecollen
fe376c0ba8 -> Reduce the rageshake timeout
-> apply screen scale to the screenshot (avoid having ugly ones on iphone 6+)
2015-02-02 17:24:51 +01:00
ylecollen
80302f06e3 Add useful info in the bug report body. 2015-02-02 17:05:22 +01:00
ylecollen
b58f00f1ba Add rageskahe feature : when the user shakes his device > 1.5s, the client takes a screenshot and prepare an email to send to "rageshake@matrix.org".
Nothing is currently added to the body (to be done)
2015-02-02 16:43:47 +01:00
giomfo
921578a83a Console: Fix issue on landscape display during search in public rooms. 2015-02-02 14:52:29 +01:00
giomfo
ae790960f1 BugFix SYIOS-16 Add option in Console to join room thanks to its alias 2015-02-02 13:42:58 +01:00
giomfo
0e4dffbf47 Console - RoomMember picture: Keep in front typingBadge. 2015-01-30 19:14:59 +01:00
giomfo
a374f535b0 Console: remove compilation warnings 2015-01-30 19:06:36 +01:00
giomfo
6b7b381cc9 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
David Baker
fa086b0891 Action message strings. 2015-01-30 13:23:52 +00:00
giomfo
3538692f6f Console - Push Notif support: add UIBackgroundModes key in Info.plist with remote-notification value. 2015-01-30 09:48:33 +01:00
ylecollen
3783d8c23e Clear the notifications counter when the application is launched/debackgrounded 2015-01-30 09:05:15 +01:00
David Baker
13e3ce5a99 Add strings for messages where we have the content to display. 2015-01-29 19:00:53 +00:00
ylecollen
e359644716 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
7512cafa3b Make the push notifications switch work. Also document the API call. 2015-01-29 17:06:37 +00:00
ylecollen
ba13533e8d Remove the "cancel" notification warning 2015-01-29 17:07:11 +01:00
David Baker
6342c80ba5 IPA build script and script to check what it's built looks vaguely sane. 2015-01-29 15:15:46 +00:00
ylecollen
441770c136 -> 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
7c8de14202 viewing a room reenables its push notifications 2015-01-29 11:32:15 +01:00
ylecollen
c54b1fbaeb 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
41753d207f 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
d4868b5672 Console: Handle redacted events in room history.
TODO: support m.room.redaction events.
2015-01-28 18:39:23 +01:00
ylecollen
8b7f663a8f 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
7c56d1eaf4 Merge branch 'develop' into apns 2015-01-28 15:29:04 +00:00
David Baker
890c587209 Change URL to the live one 2015-01-28 15:28:03 +00:00
ylecollen
0ee4baed6e Chat Room ; tap on member thumbnail also opens his member sheet 2015-01-28 11:30:15 +01:00
ylecollen
8c8b5bb005 Display the matrix ID in the contact cell if there is only one. 2015-01-28 09:17:20 +01:00
ylecollen
8b600f8abf Add ContactDetailsViewController : tapping on a contact thumbnail will open this new viewController if it contains some matrixIDs.
So, the user will be able to see
- thumbnail
- display name
- list of matrix IDs + start a chat with one of them.
2015-01-28 08:25:34 +01:00
giomfo
3bee31b1ad Console Settings: User can now link emails to his account from settings screen. 2015-01-27 17:24:55 +01:00
ylecollen
c7a58eb263 -> 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
94b9706aeb The contact thumbnail did not keep the aspect ratio. 2015-01-27 16:01:22 +01:00
ylecollen
75da74cc99 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
ylecollen
922ffad02f UIKeyboardWillHideNotification event unregistration was missing 2015-01-27 15:42:04 +01:00
David Baker
3433350859 Merge branch 'develop' into apns
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-27 10:35:56 +00:00
ylecollen
0935f80fc1 Fix a typo 2015-01-27 11:12:52 +01:00
ylecollen
f6f521f464 The growingTextInput was resized at first character typing 2015-01-27 10:38:17 +01:00
ylecollen
f6d3943534 Fix a compilation warning on Iphone 6+ 2015-01-27 10:37:15 +01:00
giomfo
3b6b4e633b Merge remote-tracking branch 'origin/develop' into with-contacts
Conflicts:
	samples/matrixConsole/matrixConsole/ViewController/SettingsViewController.m
2015-01-27 10:29:34 +01:00
giomfo
19d7861700 Console Settings: BugFix Refresh correctly InApp notification rules. 2015-01-27 10:25:36 +01:00
ylecollen
2e4112d94b 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
0f045f0bf9 The media cache size slider max value was not properly initialized 2015-01-27 09:28:49 +01:00
ylecollen
8b9ea2efce The collation bar was not displayed in the contacts viewcontroller 2015-01-27 09:19:32 +01:00
ylecollen
ab08870677 The local contacts section does not contain anymore the "unknown" matrix users 2015-01-27 08:36:21 +01:00
ylecollen
cf32cd9cad Matrix Users section : display only the 1:1 chat members 2015-01-27 08:26:46 +01:00
David Baker
70dc7038ec Merge branch 'develop' into apns
Conflicts:
	samples/matrixConsole/matrixConsole.xcodeproj/project.pbxproj
2015-01-26 17:35:42 +00:00
David Baker
a8a40c1188 More messages for invites & things 2015-01-26 17:29:45 +00:00
ylecollen
a9be59fa44 -> 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
giomfo
c96175d234 Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-26 16:53:49 +01:00
giomfo
5aa6d7298b Console: Refactor saving process in Settings 2015-01-26 16:51:34 +01:00
ylecollen
cb76153d51 ContactsViewController is not anymore an UITableViewContrller : It is by now an UIViewController.
A segmented control has been added but it is not yet plugged.
2015-01-26 15:18:58 +01:00
David Baker
a38ffc3e63 Add instanceHandle param to pushers API and generate one in matrix console. 2015-01-26 14:15:11 +00:00
ylecollen
c6fd2231fa 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
b5394b25cb 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
4f36c782dc Update to MXCContact to manage Matrix only Contact 2015-01-26 09:08:18 +01:00
giomfo
04e5830ba7 Console: Prepare email linkage.
- Update settings UI (link email is not supported yet).
2015-01-23 18:45:13 +01:00
ylecollen
7a8c37738e 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
1fbd5103a5 -> 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
2cc41818d4 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
43bd9f606c Rename MatrixHandler to MatrixSDKHandler 2015-01-23 15:36:05 +01:00
giomfo
d05faa25a0 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
8cb294702c Move source files 2015-01-23 14:42:04 +01:00
giomfo
743ffa8909 Replace Console prefix with MXC 2015-01-23 14:22:02 +01:00
giomfo
9dd052748f 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
86d464a7f5 Renaming:
ConsoleTools -> MXCTools
ConsoleGrowingTextView -> MXCGrowingTextView
CustomImageView -> MXCImageView
CustomAlert -> MXCAlert
MemberActionsCell -> RoomMemberActionsCell
2015-01-23 13:46:27 +01:00