Commit graph

536 commits

Author SHA1 Message Date
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
ylecollen
27d1544c47 Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-23 11:14:31 +01:00
ylecollen
fbc69f24b1 Should fix SYIOS-65 IOS8 : in case of search in recents, keyboard is not dismisssed when user selects a room.
-> Replace the header section by tableHeaderView
-> With IPhone 6+ and in landscape orientation, the search bar is not removed but the keyboard is dismissed.
2015-01-23 11:01:38 +01:00
ylecollen
33aa3cc4f7 Remove a weird messages animation when setting a text message. 2015-01-22 18:09:33 +01:00
ylecollen
8d6f44b011 Remove a growingTextView flickering when a message is sent with a dismissed keyboard. 2015-01-22 17:43:57 +01:00
ylecollen
721a715045 Add sanityy check 2015-01-22 17:40:23 +01:00
ylecollen
ea7991c6f4 1 - Should fix SYIOS-64 Chat room : unexpected blank lines are added into history when user types in growing textview
2 - do not scroll anymore to the bottom when the device orientation is updated

3 - do not resize the growing textview height when the keyboard is dismissed : it provides weird UX.
2015-01-22 17:31:44 +01:00
giomfo
37c1a4859c Console BugFix - SYIOS-44 - Credentials persist across logout. 2015-01-22 17:26:51 +01:00
giomfo
959d56a3a0 Console BugFix: Open correctly new created room. 2015-01-22 13:56:25 +01:00
giomfo
3db0f9f0de Console BugFix: handle correctly left room in splitViewController 2015-01-22 13:01:01 +01:00
ylecollen
e515bf7578 -> 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
giomfo
ff7725a689 Console BugFix: adjust Room details UI when no room is selected 2015-01-22 11:09:14 +01:00
giomfo
5ae38d1520 update Podfile (Mantle version) 2015-01-22 10:02:46 +01:00
ylecollen
8cf196ba5d Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-22 08:16:51 +01:00
ylecollen
57e65a72a6 Should fix SYIOS-61 - Chat room : cannot scroll to bottom when keyboard is opened whereas the growing textview contains multi-lines text. 2015-01-21 16:52:36 +01:00
ylecollen
6b0a60979f -> Increase the max Cache size cell height to improve the UX
-> The max/min values were not checked each time the user updated them.
2015-01-21 15:08:29 +01:00
ylecollen
5e1f5ce11d The clear cache button did not recompute the true cache size. 2015-01-21 14:11:58 +01:00
ylecollen
639b76e43f Merge from Delevop branch 2015-01-21 13:35:19 +01:00
ylecollen
15e779de9f Remove useless property definitions + synthesize 2015-01-21 13:26:29 +01:00
ylecollen
48335a64c2 Offer to send invitation to non Matrix user (by email or SMS). 2015-01-21 13:25:13 +01:00
giomfo
434f46b910 Console BugFix: hide pieChart on complete upload in case of table refresh 2015-01-21 12:27:51 +01:00
giomfo
f69cb16858 Code cleaning 2015-01-21 11:56:00 +01:00
giomfo
2c70dfa3b2 Room members list: refresh the member's last seen info (every 5 sec) 2015-01-21 11:18:03 +01:00
ylecollen
cbc66ea11c -> 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
954da2936b Manage the presence ring in the contacts list 2015-01-21 09:15:28 +01:00
ylecollen
521c1bc6e4 Tap on a contact invite you to start a chat with 2015-01-20 18:40:55 +01:00
ylecollen
51a1ed81e1 Load the matrix thumbnail to replace the native contact book one. 2015-01-20 18:03:03 +01:00
giomfo
de63a0b6be BugFix: fix wrong pagination on joined room 2015-01-20 17:54:57 +01:00
ylecollen
899603a193 -> 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
giomfo
6e1189bbc5 BugFix: restore timestamp display in messages with unsent components. 2015-01-20 16:29:07 +01:00
ylecollen
3681bb03bd Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-20 13:44:24 +01:00
ylecollen
b180d94182 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
0ad5127e82 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
ylecollen
40fb4757ee Add addressBook framework 2015-01-19 17:34:10 +01:00
ylecollen
7a77e28b92 Fix a compilation warnings 2015-01-19 17:33:23 +01:00
ylecollen
5c3b26e3a3 Should fix SYIOS-56 : add cache size handling in settings 2015-01-19 16:53:29 +01:00
ylecollen
1c388b44c2 1 - the uploads are cancellable
2 - delete a room also cancelled epnding uploads/downloads
2015-01-19 15:30:45 +01:00
ylecollen
5d2e3862bf --> The media folder has a new dirtree : each media are stored in
1 - its related room folder
2 - or the thumbnails folder

--> the medias downloads/uploads are cancelled when the mediaManager cache is cleared.
2015-01-19 14:33:57 +01:00
ylecollen
ed4dc310aa Add the max cache size slider in the settings page.
The value is stored but not yet used by the media manager.
2015-01-19 08:58:45 +01:00
giomfo
e7d58c72f6 Remove a useless refresh on messages display 2015-01-16 18:23:21 +01:00
giomfo
e71e6cf792 Fix regression introduced since multithreading
+ Refactor messages handling
2015-01-16 16:39:58 +01:00
David Baker
84237cccda Send the device preferred language. 2015-01-16 11:25:35 +00:00
David Baker
30c6b22beb D'oh, semicolons. 2015-01-16 11:25:19 +00:00
David Baker
bda7c9211e Merge branch 'develop' into apns 2015-01-16 10:48:31 +00:00
David Baker
4e2e6b2ded Add Localizable.strings with loc-keys for APNS. 2015-01-16 10:47:25 +00:00
giomfo
94ed811b9e Move an Action in Actions section 2015-01-16 11:40:38 +01:00
giomfo
20d69b0ee5 FixRegression: typing badge was stretched 2015-01-16 11:27:01 +01:00
manuroe
7aed9a67e1 Console: Fixed UITextView creation on non UI thread 2015-01-16 11:07:25 +01:00
ylecollen
0c0c0fd880 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
5320650381 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
5cfab525da -> Add ConsoleTools::fileExtensionFromContentType
-> Update cachePathForMediaURL with this new method
2015-01-16 09:54:37 +01:00
ylecollen
ec9ff719b5 ConsoleTools update
-> move folderSize to it
-> add listFiles:timeSorted:largeFilesFirst
2015-01-16 09:01:59 +01:00
ylecollen
69904e3474 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
David Baker
05c5c16b30 Merge branch 'develop' into apns 2015-01-15 17:05:20 +00:00
ylecollen
0242170d86 Useless variable 2015-01-15 17:17:25 +01:00
ylecollen
2bec17f0f7 Remove dead code 2015-01-15 17:13:36 +01:00
ylecollen
b7aebbbf57 Missing project update 2015-01-15 16:23:00 +01:00
ylecollen
7c5ad70897 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
380872b2ac BugFix SYIOS-57 - Back pagination does not work well for self chat 2015-01-15 13:17:00 +01:00
giomfo
d1dbc12b2f 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
a73d46f82e Fix SYSIOS-53 - multilines text input that expands as you type mutiplines would be nice 2015-01-14 18:15:12 +01:00
ylecollen
917f463448 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
manuroe
ee96c9963e Podfile.lock has been updated due to new sdk version and new dependency 2015-01-14 17:12:15 +01:00
ylecollen
0552d6df93 First implementation of multiLines textInput (SYIOS-53). 2015-01-14 15:17:20 +01:00
giomfo
070af1a85c typing notification: hide typing badge for the current user in room members list 2015-01-14 15:01:10 +01:00
giomfo
90ad72475e Feature SYIOS-25 - Console: display app version in settings 2015-01-14 14:22:07 +01:00
giomfo
793be6c8aa BugFix SYIOS-50: When you post a multiline message, the bubble vertical spacing gets confused. 2015-01-14 14:05:45 +01:00
manuroe
6f622b07c4 Prepare 0.2.1 release 2015-01-14 13:26:49 +01:00
manuroe
fbb60ee651 Do not embed external codes in the project. CocoaPods is our friend for that. 2015-01-14 11:52:51 +01:00
giomfo
9f4ee183c4 BugFix: loading wheel stuck on room when user opens the room during initial sync. 2015-01-14 10:16:17 +01:00
giomfo
35a643059b 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
ylecollen
0fa3130ee2 - Add an "External" folder to manage other open sources component
- GrowingTextView is the first component
2015-01-14 09:32:30 +01:00
ylecollen
2ed7690c62 Add GrowingTextView to the project 2015-01-14 09:29:52 +01:00
giomfo
686000e9fc 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
be96ed57ef -> 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
manuroe
d2cb17f3d2 MatrixConsole: use SDK to resolce mxc:// 2015-01-13 17:39:56 +01:00
manuroe
87c5c80e91 CustomImageView: Fixed crash when the image URL is not valid 2015-01-13 17:11:15 +01:00
giomfo
8ab7d8c869 Typing notification: update typing notification sending 2015-01-13 16:07:34 +01:00
David Baker
5ac50879d4 Omit platform if it's production to be a bit terser. 2015-01-13 14:34:17 +00:00
David Baker
53e80c5706 Merge branch 'develop' into apns 2015-01-13 14:28:47 +00:00
ylecollen
4965056d04 An uploaded video is stored in the media cache to avoid downloading it later again 2015-01-13 13:22:20 +01:00
ylecollen
2971eb0fd9 Do not remove anymore the download rate during a download (it flickers too much). 2015-01-13 12:58:18 +01:00
ylecollen
d263a1ba9b 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
ylecollen
ef8b4656d0 The settings configuration & Commands were displayed lorem ipsum... 2015-01-13 08:08:39 +01:00
ylecollen
71b9f74569 Replace " " by nil when a room displayname is empty 2015-01-13 07:44:57 +01:00
ylecollen
8f1a3de88d Empty room displayname was not properly displayed. 2015-01-12 18:51:39 +01:00
giomfo
f1d00b6aa6 Fix regression: restore pie-chart during attachment uploading 2015-01-12 18:28:43 +01:00
giomfo
c664813838 MediaManager refactoring: handle upload with mediaLoader (remove UploadManager). 2015-01-12 18:07:39 +01:00
ylecollen
64431f1297 - 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
3fb3486626 Can resend unsent text messages (tap on the "unsent" text") 2015-01-12 17:13:40 +01:00
ylecollen
7406878996 Some "unsent" statuses were irrelevant : Some UILabels were not dismissedw while reusing an UITableViewCell. 2015-01-12 15:00:35 +01:00
ylecollen
07d554b992 Fixe SYIOS-51 - spinner appears when backgrounding recents page 2015-01-12 14:19:23 +01:00
ylecollen
c6049967f8 - 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
ebceed3290 add consoleTools 2015-01-12 11:07:13 +01:00
giomfo
05062121a0 Media Manager: refactoring (download video/image with a unique API) 2015-01-12 11:00:53 +01:00
ylecollen
b88e85daf6 Remove irrelevant files 2015-01-12 10:47:44 +01:00
ylecollen
c39fc8064a Should fix SYIOS-43 : Recents tab on an iPad mini always show a room view.
On iPad devices, the recents list will always be displayed (on IOS 8, the recents list can be hidden with the enlarge button).
2015-01-12 09:17:04 +01:00
Matthew Hodgson
a78a45a88c 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
2a97155f44 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
c0abd65b0d Manage words filtering on In App Alert 2015-01-09 15:58:15 +01:00
giomfo
8ee82edd6b Image Attachment: fix image flickering at the end of uploading 2015-01-09 14:13:03 +01:00
giomfo
92fedf031e Update comment and remove useless code 2015-01-09 12:10:34 +01:00
ylecollen
9f9a36a1f9 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
1e870e48b6 Add the upload statistic 2015-01-09 09:54:31 +01:00
giomfo
93f2a343c1 Move MediaManager to /API dir 2015-01-08 21:29:31 +01:00
giomfo
c6b7f9d763 Media Manager refactoring: split the existing file in 2 parts: MediaManager/MediaLoader 2015-01-08 21:23:49 +01:00
giomfo
44e3a723c6 Remove undesirable file 2015-01-08 21:06:30 +01:00
ylecollen
08fb42af48 uploading media displays a pie chart (need to add the statistic) 2015-01-08 18:25:43 +01:00
giomfo
40cc6bfcc0 Media Manager refactoring (in progress) 2015-01-08 18:20:34 +01:00
ylecollen
c35c908d0d IOS8 : dismissViewControllerAnimated is only called if _alert is displayed 2015-01-08 17:41:43 +01:00
ylecollen
67695d8207 Do not display alert when a media picker is displayed. 2015-01-08 17:30:46 +01:00
giomfo
bc7f4245f4 MediaManager refactoring (in progress) 2015-01-08 16:01:25 +01:00
ylecollen
7750ca6516 Long tap on pie chart let the user cancels the media download. 2015-01-08 15:40:05 +01:00
ylecollen
1eede63523 Fix a compilation warning for devices < IOS 8 2015-01-08 13:19:47 +01:00