Commit graph

74 commits

Author SHA1 Message Date
giomfo
71ce09421f Console: Add tag in each log. 2015-02-24 13:49:05 +01:00
manuroe
879c323278 SYIOS-87 - Rageshake needs to report logs as well as screenshot
If the app crashed, ask the user to send the crash report next time the app starts
2015-02-23 17:05:14 +01:00
manuroe
039419a539 SYIOS-87 - Rageshake needs to report logs as well as screenshot
Enabled it in the app
2015-02-23 15:43:11 +01:00
giomfo
81ba622ee9 Console: Feature SYIOS-68 - Rageshake needs to include device info.
Add new pod dependence to GBDeviceInfo to handle device model.
2015-02-20 16:51:46 +01:00
giomfo
5bf7170d0b Console: Feature SYIOS-88 - Rageshake needs to be less sensitive by x2 or so 2015-02-20 11:11:14 +01:00
giomfo
80b9d9218b Console: Recents - Set blue the background cell for room with unread bing message(s). 2015-02-20 09:35:19 +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
c250b61e97 Console: Support attached images without width and height info. 2015-02-17 11:59:23 +01:00
giomfo
00f47680a9 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
manuroe
38c2124d74 Rollback: Removed MXContactManager component from the SDK.
Fixed Console code that started to use it.
2015-02-03 15:10:32 +01:00
manuroe
809d826f0f Fixed warning found by xCode Analyze 2015-02-03 13:36:32 +01:00
ylecollen
363a0bbd25 -> 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
e3fb0017b9 Add useful info in the bug report body. 2015-02-02 17:05:22 +01:00
ylecollen
6cbda9bad1 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
b31c935c7a Console: remove compilation warnings 2015-01-30 19:06:36 +01: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
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
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
giomfo
2bdf32e0bf Console Settings: User can now link emails to his account from settings screen. 2015-01-27 17:24:55 +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
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
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
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
4efa61228c Merge from Delevop branch 2015-01-21 13:35:19 +01:00
ylecollen
7af13a0b21 Remove useless property definitions + synthesize 2015-01-21 13:26:29 +01:00
giomfo
a84c4fc7ee Code cleaning 2015-01-21 11:56:00 +01:00
ylecollen
64d37212dd -> increase the contact row height to 50 (to match to the members list cell).
The thumbnail size is also the same so it should avoid downloading thumbnails if they are already cached

-> renamed some fieds

-> fix some refresh issues
2015-01-21 10:48:38 +01:00
ylecollen
c99134351a Manage the presence ring in the contacts list 2015-01-21 09:15:28 +01:00
ylecollen
590886a99a Load the matrix thumbnail to replace the native contact book one. 2015-01-20 18:03:03 +01:00
ylecollen
a1a5849881 -> Check if any contact contains a matrix email
-> display the Matrix icon at the right cell side.
2015-01-20 16:29:42 +01:00
ylecollen
dcb8badf91 Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-20 13:44:24 +01:00
ylecollen
c9f8958d5a Add a 4th sections : contacts
The contacts are displayed in a list.

There is no check if one of the field is a matrix identifier.
2015-01-20 13:33:01 +01:00
giomfo
8fb7e57e2c BugFix SYIOS-60 - In a self chat, Console takes ages to paginate back - even if messages are in cache
Optimize room message update (limit text content size measurement).
2015-01-20 12:41:27 +01:00
giomfo
689d9bbddb Remove a useless refresh on messages display 2015-01-16 18:23:21 +01:00
manuroe
d6dab31b5c Console: Fixed UITextView creation on non UI thread 2015-01-16 11:07:25 +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
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
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
manuroe
2dd7d21c85 MatrixConsole: use SDK to resolce mxc:// 2015-01-13 17:39:56 +01:00
giomfo
f02f82b066 MediaManager refactoring: handle upload with mediaLoader (remove UploadManager). 2015-01-12 18:07:39 +01:00
ylecollen
5d0895b588 Can resend unsent text messages (tap on the "unsent" text") 2015-01-12 17:13:40 +01:00