Commit graph

328 commits

Author SHA1 Message Date
manuroe
9e04de4c8e User directory: kill all strings referring to known contacts 2017-07-28 15:04:28 +02:00
manuroe
4f3f3f089d User directory: Make sure a valid MXSession is provided to ContactsDataSource
https://github.com/vector-im/riot-meta/issues/95
2017-07-28 15:02:11 +02:00
manuroe
19847dbacc BF: E2E export did not work anymore since the death of MXKAlert 2017-07-25 17:27:24 +02:00
manuroe
f7b705b6f2 Language picker: Force capitalisation of languages 2017-07-25 14:45:33 +02:00
manuroe
d8c057dc07 Language settings: Update comments 2017-07-25 11:34:41 +02:00
Aram Sargsyan
1de4c749ba Merge branch 'develop' of https://github.com/vector-im/riot-ios into share-extension 2017-07-25 02:14:19 +04:00
Aram Sargsyan
e1ede92f65 1st version 2017-07-24 16:56:31 +04:00
Giom Foret
887d9dee14 Prepare Dark Theme
Remove the [UIApplication statusBarHidden] use (deprecated since iOS 9).
Use the default UIViewController-based status bar system.

Hide the user interface theme option in Settings.

https://github.com/vector-im/riot-meta/issues/22
2017-07-21 17:22:34 +02:00
Giom Foret
40b8bba67b Merge branch 'develop' into meta_riot_22 2017-07-21 16:50:58 +02:00
manuroe
ee4c6d29bf Language settings: Report it in the bug report 2017-07-21 15:09:23 +02:00
manuroe
97f8d36e33 Language settings: Reload data softly after language change 2017-07-21 12:06:10 +02:00
Giom Foret
5f75c33137 Prepare Dark Theme
Observe user interface theme change.

https://github.com/vector-im/riot-meta/issues/22
2017-07-21 11:28:17 +02:00
manuroe
cdb2fe99a3 Language settings: Store it in NSUserDefaults (@"appLanguage") 2017-07-21 11:08:33 +02:00
manuroe
bcdea698d0 Settings: Add app language settings 2017-07-21 10:55:21 +02:00
Giom Foret
21513419b5 Prepare Dark theme
- Add User Interface section in settings

https://github.com/vector-im/riot-meta/issues/22
2017-07-19 15:26:09 +02:00
Giom Foret
69c84ded85 Translate the potential error observed during 3pid handling
https://github.com/vector-im/riot-meta/issues/85
2017-07-18 15:57:11 +02:00
Giom Foret
0545bee962 Bug Fix: Change API used to add email in order to check if the email is already used.
(idem for msisdn)

https://github.com/vector-im/riot-meta/issues/85
2017-07-18 13:57:15 +02:00
manuroe
3c7e3e3c1e MELS: Reset the event selection before collapsing
This fixes a crash
2017-07-17 16:15:49 +02:00
giomfo
1ab2e6ad29 Merge pull request #1391 from vector-im/remove_mxk_alert
Remove mxk alert
2017-07-17 14:33:17 +02:00
manuroe
ee1377d379 Merge pull request #1390 from vector-im/MELS
MELS
2017-07-17 10:41:28 +02:00
manuroe
ec701c5813 MELS: s/serie/series 2017-07-17 10:30:46 +02:00
Giom Foret
cc0478c4ec Remove MXKAlert class use.
UIAlertController is directly used.
2017-07-14 16:41:25 +02:00
Giom Foret
fafa40846e Prepare MXKAlert withdrawal 2017-07-14 00:36:11 +02:00
Giom Foret
98e5343a79 RoomTableViewCell: Replace the direct chat icon with a green ring 2017-07-12 15:51:28 +02:00
Giom Foret
12db2a443f Bug Fix: Camera preview is broken after a second try
The camera preview was set up with a wrong frame value. We wait for the first `viewDidLayoutSubviews` call before setting up the preview.
#686

+ fix the wrong preview layout on iPad described in PR #1372 MediaPicker xib layout fix.
2017-07-11 17:48:18 +02:00
manuroe
71ef89170c MELS: Remove attributedTextMessageBackup and let MXKRoomBubleCellDataStoring implementation display attributedTextMessage or collapsedAttributedTextMessage 2017-07-11 15:35:11 +02:00
Giom Foret
4f06940698 Bug Fix - Home: Fix the flickering effects observed when user edits a room on iOS < 10
https://github.com/vector-im/riot-meta/issues/75
2017-07-10 18:33:27 +02:00
Giom Foret
1d4b875c15 Bug Fix - Home: On iOS <= 9.0, the rooms collection scrolls to the left on room edition.
https://github.com/vector-im/riot-meta/issues/75
2017-07-10 17:18:11 +02:00
manuroe
7472d45da5 MELS: Add RoomMembershipExpandedWithPaginationTitleBubbleCell 2017-07-10 15:05:21 +02:00
manuroe
cee4115452 MELS: Add RoomMembershipCollapsedWithPaginationTitleBubbleCell 2017-07-10 14:30:53 +02:00
manuroe
3dd2b4a811 MELS: Rename RoomMembershipBubbleCellWithPaginationTitleBubbleCell to RoomMembershipWithPaginationTitleBubbleCell 2017-07-10 10:25:06 +02:00
Giom Foret
e7e6944a75 UX Rework: Add home page
- Add edition mode support.

https://github.com/vector-im/riot-meta/issues/75
2017-07-09 18:32:40 +02:00
manuroe
b859d64174 MELS: Use normal membership cell for single membership event 2017-07-07 17:47:58 +02:00
manuroe
e2d8cc8d87 MELS: Implement onCollapseButtonTap with matrix-kitty way 2017-07-07 11:53:49 +02:00
manuroe
54b8ba2399 MELS: Add RoomMembershipExpandedBubbleCell that displays the first membership event of serie that can be collapsable. 2017-07-07 11:11:42 +02:00
manuroe
6fe1cf4910 MELS: Add RoomMembershipCollapsedBubbleCell to display collapsed membership cells. 2017-07-07 08:21:53 +02:00
manuroe
9e8aa9c125 RoomVC: Use the condition on bubbleData.hasNoDisplay to display RoomEmptyBubbleCell 2017-07-06 17:55:13 +02:00
manuroe
42979e7972 Merge remote-tracking branch 'origin/master' into smaller_membership 2017-07-05 14:57:31 +02:00
manuroe
bc08148183 RoomVC: Make membership events use less screen
Add RoomMembershipBubbleCellWithPaginationTitleBubbleCell
2017-07-05 12:29:54 +02:00
Giom Foret
2f183ce73b Update the bundle display name with "Riot.im"
Update Riot logo in Authentication screen
2017-07-05 11:58:18 +02:00
manuroe
8e0bc6ef68 RoomVC: Make membership events use less screen
Use MXKRoomBubbleCellDataStoring.tag to identify membership cells
2017-07-05 09:05:23 +02:00
manuroe
c496901eb2 RoomVC: Make membership events use less screen
Add RoomMembershipBubbleCell to display a single membership event
2017-07-05 07:38:07 +02:00
Giom Foret
0a8f837617 Read Receipts Details - Add close button 2017-06-30 14:57:11 +02:00
giomfo
3fac2a0b63 Merge pull request #1341 from aramsargsyan/read-receipts-details
Read receipts details
2017-06-30 10:33:06 +02:00
Aram Sargsyan
f287dc453e Brought the key receipt_status_read to app level + some minor changes. Signed-off-by: Aram Sargsyan aram.sargsyan.1997@gmail.com 2017-06-29 19:40:07 +04:00
manuroe
1bf88ca95e Bug report: Fix a crash when rotating + debackgrounding the app (#1362) 2017-06-29 17:23:57 +02:00
Aram Sargsyan
e17622bd71 Decreased the parameter cound for ReadReceiptsViewController opening, now sending the container itself 2017-06-29 17:04:34 +04:00
Aram Sargsyan
9bb18971f1 Handled the creation of the attributed receipt description, added in Vector.strings for translation 2017-06-29 15:05:12 +04:00
Giom Foret
b706db6187 Bug Fix: blank pages with random "unread msgs" bars whilst they load. 2017-06-29 12:03:39 +02:00
Aram Sargsyan
6f08b148b1 Using Attributed string for read label 2017-06-26 20:51:13 +04:00
Aram Sargsyan
e688c61715 Removed the ReceiptsContainerDelegate, used didRecognizeAction: instead 2017-06-26 19:33:53 +04:00
manuroe
f06b9e3381 Fix: Crash when scrolling in the public rooms from Unified Search (#1355)
Make pagination UI update of DirectoryViewController simpler.

The issue is that the same PublicRoomsDirectoryDataSource instance is shared between DirectoryViewController and RoomsViewController. We can have parallel paginations which makes hard to count the exact number of added cells.
2017-06-26 15:33:45 +02:00
giomfo
cf01921b24 Merge pull request #1356 from vector-im/riot_1338
Bug Fix - Read marker: when being kicked, the "Jump to first unread m…
2017-06-23 15:16:08 +02:00
Giom Foret
b22687ea7a Bug Fix - Read marker: when being kicked, the "Jump to first unread message" shouldn't be displayed
#1338

+ Remove the link to the room settings in the title view after leaving the room
2017-06-23 15:09:43 +02:00
Aram Sargsyan
f32ccaef38 Review changes 2017-06-23 16:40:09 +04:00
manuroe
0138a56e22 Fix: Room directory: stuck after the 20 first items
https://github.com/vector-im/riot-ios/issues/1329#issuecomment-310361132
2017-06-23 11:44:13 +02:00
giomfo
1eed78a09f Merge pull request #1348 from vector-im/riot_1304_bis
Bug Fix - Home: tapping on an unread room on home page takes you to the wrong room
2017-06-22 15:23:01 +02:00
manuroe
2e89dede70 Merge pull request #1347 from vector-im/riot_1342
Fix: Crash when hitting room from unified search/browse directory
2017-06-22 15:22:14 +02:00
Giom Foret
6a84a04cfa Bug Fix - Home: tapping on an unread room on home page takes you to the wrong room
#1304
2017-06-22 15:17:24 +02:00
manuroe
d485ee35d3 Fix: Crash when hitting room from unified search/browse directory
#1342
2017-06-22 11:09:17 +02:00
Giom Foret
4c7013680b Bug Fix - Chat screen: the search icon is missing after switching in live from a non live timeline
#1344
2017-06-22 10:51:40 +02:00
manuroe
589d7e7d4a Merge pull request #1339 from vector-im/riot_1336
Room directory: "No public rooms available" bug fixes
2017-06-22 10:01:35 +02:00
Aram Sargsyan
6b9465f095 Minor changes 2017-06-22 02:03:03 +04:00
Aram Sargsyan
ee47992c8e Merge branch 'develop' of https://github.com/aramsargsyan/riot-ios into read-receipts-details 2017-06-22 01:58:48 +04:00
Aram Sargsyan
ab5c0e6dd9 Modified ReadReceiptsViewController to download resized avatars of users. If the user doesn't have an avatar, the placeholder is placed. 2017-06-22 01:45:11 +04:00
Aram Sargsyan
6243eecd5c Created ReadReceiptsViewController 2017-06-21 22:28:16 +04:00
manuroe
7e546d88f0 Fix crash: Room directory: Clicking on "No public rooms available" make the app crash 2017-06-21 16:00:05 +02:00
manuroe
3ae29bc720 Fix: Room directory: stuck after the 20 first items
#1329
2017-06-21 14:45:43 +02:00
manuroe
751544181d Merge pull request #1331 from morozkin/cleanup
Remove unnecessary construction methods from CallViewController
2017-06-21 09:10:43 +02:00
Denis Morozov
85bb79f132 Remove unnecessary construction methods from CallViewController 2017-06-20 21:38:57 +03:00
giomfo
02ff23ab34 Merge pull request #1328 from vector-im/riot_1316
Bug Fix - tap-on-tab should include the top-of-page location in its c…
2017-06-20 18:09:44 +02:00
giomfo
d460f57ad9 Merge pull request #1324 from vector-im/riot_meta76
Enhancement - UX Rework: Update the buttons of the room expanded header.
2017-06-20 17:15:47 +02:00
Giom Foret
7e4f6c48df Add sanity check 2017-06-20 17:13:55 +02:00
Giom Foret
7a831cfeee Bug Fix - tap-on-tab should include the top-of-page location in its cycle of options
#1316
2017-06-20 17:06:12 +02:00
Giom Foret
7f561e27bc Enhancement - UX Rework: Update the buttons of the room expanded header.
- Add a contact list button on the left of the members info to open contact list.
- Add a add members button on the right to open the contacts picker.

https://github.com/vector-im/riot-meta/issues/76
2017-06-20 11:32:54 +02:00
manuroe
9eef397eb3 BugReportViewController: Remove *Could not load the “” image referenced from a nib* warning at runtime. 2017-06-19 15:47:25 +02:00
Giom Foret
6e2e7b5248 Enhancement - Room Chat: Scrolling manually to the bottom of the no live timeline doesn't flip it to read/write view.
#1312
2017-06-19 10:32:22 +02:00
giomfo
c9e759d051 Merge pull request #1311 from vector-im/riot_1306
Bug Fix - Repeatedly tapping on tab jumps through rooms in wrong order
2017-06-16 17:08:25 +02:00
Giom Foret
65ea460587 Bug Fix - Repeatedly tapping on tab jumps through rooms in wrong order
#1306
2017-06-16 16:55:54 +02:00
Giom Foret
0a982f6a37 UX Rework - Home: Put the new ordering behind a setting.
Add 2 settings: Pin rooms with missed notif and pin rooms with unread messages
this will pin the rooms at the beginning of the list on your home page
2017-06-16 15:18:33 +02:00
Giom Foret
877d7bd3fa Bug Fix: "Jump to first unread" banner disappeared during back pagination.
We have to wait for the end of table transition before refreshing the banner visibility.
2017-06-16 11:57:19 +02:00
Giom Foret
d840ea79c6 Bug Fix: Read marker: preview mode interferes with typing indicator
#1294
2017-06-15 11:15:47 +02:00
Giom Foret
bf06ed3aef Bug Fix - Read marker: no "Jump to first message" on landscape mode for devices with left and right panels
RoomViewController: Override exposed method used to reload the bubbles table.

vector-im/riot-ios#1291
2017-06-15 10:28:57 +02:00
Giom Foret
a2c7ebecfa RoomViewController: Do not display the banner "jump to last unread message"
when the timeline is not in live.
2017-06-14 23:09:56 +02:00
Giom Foret
5a3628a607 Bug Fix: Home View sometimes is empty
#1268
2017-06-14 17:30:01 +02:00
giomfo
fceaabdc1f Merge pull request #1288 from vector-im/unnumbered_badge_on_fav
Unnumbered badge on favourite
2017-06-14 10:36:03 +02:00
Giom Foret
e662834854 Unnumbered badge on favourite 2017-06-14 10:06:36 +02:00
Giom Foret
d50414b308 UX Rework - Rooms tab: Tap on the current tab's icon jumps to next unread. 2017-06-14 09:41:15 +02:00
giomfo
5faa405663 Merge pull request #1285 from vector-im/read_marker
Read marker
2017-06-13 19:51:43 +02:00
Giom Foret
b4bb39f051 Read markers should be synchronised across clients
Improve "jump to last unread message" banner handling

https://github.com/vector-im/riot-meta/issues/8
2017-06-13 17:46:13 +02:00
Giom Foret
51f0d977e5 Read markers should be synchronised across clients
The read marker may be defined on an event which is not displayed in the room history.
The MatrixKit has been updated to handle this kind of event in the MXKRoomBubbleCellData object.
Previously these events were ignored during the bubbles rendering. Now a bubble component is created even if the event has no actual display.
This component is useful to display the read marker in the room history, and to allow the user to jump on this read marker.

vector-im/riot-meta#8
2017-06-13 17:43:32 +02:00
giomfo
926525bd20 Merge pull request #1279 from vector-im/read_marker
Read Marker: Fix wrong room header display
2017-06-09 19:27:31 +02:00
Giom Foret
28ff344b04 Read Marker: Fix wrong room header display 2017-06-09 15:58:27 +02:00
giomfo
3e0e4234b4 Merge pull request #1278 from vector-im/read_marker
Read marker: Fix issues on marker handling
2017-06-09 15:47:02 +02:00
manuroe
4737e051f8 Merge pull request #1277 from vector-im/locales_in_bug_report
Bug report: add "locale", the device language and "app_language", the…
2017-06-09 14:54:00 +02:00
Giom Foret
aad63466c8 Read marker: Fix issues on marker handling
https://github.com/vector-im/riot-meta/issues/8
2017-06-09 14:20:00 +02:00
manuroe
4a403955c9 Bug report: add "locale", the device language and "app_language", the lang used within the app 2017-06-09 12:11:18 +02:00
manuroe
c759f9f9da Fix crash in global search (https://github.com/matrix-org/riot-ios-rageshakes/issues/32)
I was able to reproduce the bug by using bad network conditioner.
2017-06-09 12:09:20 +02:00
giomfo
67173d714e Merge pull request #1272 from vector-im/read_marker
RoomViewController:  The unread messages label is displayed whereas t…
2017-06-09 09:45:59 +02:00
Giom Foret
1350169404 Read marker:
- Initialize the read marker if it does not exist yet, except for the room preview.
- Disable the events acknowledgement in case of room preview.
2017-06-09 09:40:22 +02:00