Commit graph

273 commits

Author SHA1 Message Date
ylecollen
a88da4dd0c Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-23 11:14:31 +01:00
ylecollen
8f821582f3 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
bc5b0ce01f Remove a weird messages animation when setting a text message. 2015-01-22 18:09:33 +01:00
ylecollen
21a687e7de Remove a growingTextView flickering when a message is sent with a dismissed keyboard. 2015-01-22 17:43:57 +01:00
ylecollen
679d206bc2 Add sanityy check 2015-01-22 17:40:23 +01:00
ylecollen
cb56308395 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
8788c41483 Console BugFix - SYIOS-44 - Credentials persist across logout. 2015-01-22 17:26:51 +01:00
giomfo
7b8bac3c68 Console BugFix: Open correctly new created room. 2015-01-22 13:56:25 +01:00
giomfo
9e08f73091 Console BugFix: handle correctly left room in splitViewController 2015-01-22 13:01:01 +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
giomfo
c46778697e Console BugFix: adjust Room details UI when no room is selected 2015-01-22 11:09:14 +01:00
ylecollen
9aa4dcd5a6 Merge remote-tracking branch 'origin/develop' into with-contacts 2015-01-22 08:16:51 +01:00
ylecollen
03922c5f53 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
7ffcd500f2 -> 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
ea52e71cae The clear cache button did not recompute the true cache size. 2015-01-21 14:11:58 +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
ylecollen
2ae84ad0b9 Offer to send invitation to non Matrix user (by email or SMS). 2015-01-21 13:25:13 +01:00
giomfo
178029133e Console BugFix: hide pieChart on complete upload in case of table refresh 2015-01-21 12:27:51 +01:00
giomfo
a84c4fc7ee Code cleaning 2015-01-21 11:56:00 +01:00
giomfo
d87fda44b5 Room members list: refresh the member's last seen info (every 5 sec) 2015-01-21 11:18:03 +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
3baa245871 Tap on a contact invite you to start a chat with 2015-01-20 18:40:55 +01:00
ylecollen
590886a99a Load the matrix thumbnail to replace the native contact book one. 2015-01-20 18:03:03 +01:00
giomfo
eee71e1672 BugFix: fix wrong pagination on joined room 2015-01-20 17:54:57 +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
giomfo
5dfbd850dd BugFix: restore timestamp display in messages with unsent components. 2015-01-20 16:29:07 +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
ylecollen
c035142a18 Fix a compilation warnings 2015-01-19 17:33:23 +01:00
ylecollen
d9cda2faa9 Should fix SYIOS-56 : add cache size handling in settings 2015-01-19 16:53:29 +01:00
ylecollen
5672b385c0 1 - the uploads are cancellable
2 - delete a room also cancelled epnding uploads/downloads
2015-01-19 15:30:45 +01:00
ylecollen
7b84bb2320 --> 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
1fe4959b5b 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
689d9bbddb Remove a useless refresh on messages display 2015-01-16 18:23:21 +01:00
giomfo
569bf47cf5 Fix regression introduced since multithreading
+ Refactor messages handling
2015-01-16 16:39:58 +01:00
giomfo
410c49e0b4 Move an Action in Actions section 2015-01-16 11:40:38 +01:00
giomfo
09c316da53 FixRegression: typing badge was stretched 2015-01-16 11:27:01 +01:00
manuroe
d6dab31b5c Console: Fixed UITextView creation on non UI thread 2015-01-16 11:07:25 +01:00
ylecollen
6ebbc6ebc2 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
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
213f162e93 -> Add ConsoleTools::fileExtensionFromContentType
-> Update cachePathForMediaURL with this new method
2015-01-16 09:54:37 +01:00
ylecollen
a4d25edae0 ConsoleTools update
-> move folderSize to it
-> add listFiles:timeSorted:largeFilesFirst
2015-01-16 09:01:59 +01:00
ylecollen
45ea190d56 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
ylecollen
3475039a1a Useless variable 2015-01-15 17:17:25 +01:00
ylecollen
645560b4fb Remove dead code 2015-01-15 17:13: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
f710c047bb BugFix SYIOS-57 - Back pagination does not work well for self chat 2015-01-15 13:17:00 +01:00