Commit graph

852 commits

Author SHA1 Message Date
Walter
ea530559a5 Translated using Weblate (German)
Currently translated at 94.2% (409 of 434 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/
2017-10-05 09:12:02 +00:00
manuroe
86d4765fd8 Log applicationDidReceiveMemoryWarning at AppDelegate level 2017-10-05 09:36:40 +02:00
manuroe
34056cefd3 EventFormatter: Improve updateRoomSummary:withStateEvents: to avoid to compute room avatar & displayname on almost every state events.
When initialsyncing with big rooms, the previous implementation leaded the app to out of memory because ARC did not have time to auto release objects (mainly objects returned by MXRoomState.members).
2017-10-05 09:34:17 +02:00
Giom Foret
7801cabe32 Merge branch 'master' into callkit
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/AppDelegate.m
#	Riot/ViewController/SettingsViewController.m
2017-10-04 13:04:21 +02:00
Giom Foret
6bc09c58e1 Add missing marketing icon 2017-10-04 12:25:49 +02:00
Giom Foret
08b2d39aeb version ++ 2017-10-04 11:23:05 +02:00
manuroe
d7ee7dbf79 Rageshake: Add a setting to enable (disable) it.
https://github.com/vector-im/riot-ios/issues/1387
https://github.com/vector-im/riot-ios/issues/535

There is also a new "Do not ask again" button in the rageshake popup as a shortcut for this setting.
2017-10-04 11:09:02 +02:00
Giom Foret
c338553e2c Bug Fix - Some rooms have gone nameless after upgrade
https://github.com/matrix-org/riot-ios-rageshakes/issues/388
2017-10-03 18:53:05 +02:00
Giom Foret
6a99afeb02 version ++ 2017-10-03 16:11:21 +02:00
manuroe
2cd8bc8b89 RoomVC: Add the ability to cancel the sending of a room message and improve the cancellation of a media upload 2017-10-03 14:57:32 +02:00
manuroe
7e9c4c0356 Merge pull request #1549 from vector-im/enable_jitsi_by_default
Jitsi: Enable the "Create conference calls with jitsi" settings by default
2017-10-03 13:48:47 +02:00
manuroe
78d4d55f8b Jitsi: Enable the "Create conference calls with jitsi" settings by default 2017-10-03 13:17:07 +02:00
Giom Foret
0e30b13b78 Language: Enable Basque and Chinese (Simplified). 2017-10-03 13:04:54 +02:00
giomfo
6f468e6fb1 Merge pull request #1548 from RiotTranslateBot/weblate-riot-ios-riot-ios-push
Update from Weblate.
2017-10-03 12:43:36 +02:00
giomfo
4bfa7d1309 Merge pull request #1547 from RiotTranslateBot/weblate-riot-ios-riot-ios-dialogs
Update from Weblate.
2017-10-03 12:43:11 +02:00
Giom
941e4eefc8 Translated using Weblate (Basque)
Currently translated at 100.0% (24 of 24 strings)

Translation: Riot iOS/Riot iOS (Push)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-push/eu/
2017-10-03 10:38:21 +00:00
Giom
fea6a7a12e Translated using Weblate (Basque)
Currently translated at 100.0% (24 of 24 strings)

Translation: Riot iOS/Riot iOS (Push)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-push/eu/
2017-10-03 10:30:50 +00:00
Weblate
8b254d82cc Merge remote-tracking branch 'origin/develop' into develop 2017-10-03 10:21:16 +00:00
Kévin C
2322ec0eff Translated using Weblate (French)
Currently translated at 100.0% (24 of 24 strings)

Translation: Riot iOS/Riot iOS (Push)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-push/fr/
2017-10-03 10:21:08 +00:00
Weblate
66685b2deb Merge remote-tracking branch 'origin/develop' into develop 2017-10-03 10:20:35 +00:00
Kévin C
29e83fda1d Translated using Weblate (French)
Currently translated at 100.0% (4 of 4 strings)

Translation: Riot iOS/Riot iOS (Dialogs)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-dialogs/fr/
2017-10-03 10:20:30 +00:00
Weblate
d382dba0d6 Merge remote-tracking branch 'origin/develop' into develop 2017-10-03 10:18:13 +00:00
giomfo
b893bc2003 Merge pull request #1478 from aramsargsyan/share-extesion-mxstore-rework
Share extesion mxstore rework
+ multiple images support
2017-09-29 16:05:07 +02:00
Giom Foret
038d4d50da Share extension mxstore rework
- Create the MXRoom instance only when the room is selected.
2017-09-29 10:37:54 +02:00
manuroe
39423bab97 Merge pull request #1536 from vector-im/format_widgets
Widgets: add notices for widgets events
2017-09-28 14:33:10 +02:00
manuroe
3ab1863a49 Merge pull request #1535 from vector-im/list_widgets
Widgets: list active widgets in a room
2017-09-28 10:01:43 +02:00
giomfo
a5816a78db Merge pull request #1537 from vector-im/fix_ios_11
Fix ios 11 disruption
2017-09-28 09:57:00 +02:00
Giom Foret
0ab8530778 RoomViewController: Fix the position of the missed discussion badge 2017-09-27 22:41:51 +02:00
manuroe
31051d145b Widgets: add notices for widgets events 2017-09-27 17:15:09 +02:00
manuroe
2633988563 Widgets: Use the original "apps-icon" when there is no more widgets 2017-09-27 15:40:21 +02:00
manuroe
4b2a5a7e18 Widgets: list active widgets in a room
List them into an alertVC for the moment
2017-09-27 15:21:38 +02:00
Giom Foret
8be8c8b1fd Fix iOS11 disruption
- RoomViewController, RoomDetailsVC, ContactDetailsVC: fix header layout.
- Use UIScrollView+MatrixKit category to handle the adjusted content inset which is not defined before iOS 11.
2017-09-27 09:26:34 +02:00
manuroe
2a51c94c20 Fixed warnings now detected by Xcode 9 2017-09-26 16:10:42 +02:00
manuroe
02df6d54c4 Merge pull request #1533 from vector-im/rageshake_290
RoomsViewController: Crash in [RoomsViewController prepareForSegue:se…
2017-09-26 14:52:53 +02:00
manuroe
633abccce1 RoomsViewController: Crash in [RoomsViewController prepareForSegue:sender:]_block_invoke_2 (in Riot) (RoomsViewController.m:182)
https://github.com/matrix-org/riot-ios-rageshakes/issues/290
2017-09-26 09:56:25 +02:00
manuroe
c88d773922 MediaPickerViewController: Add sanity checks to avoid crashes
- [MediaPickerViewController setupAVCapture] (in Riot) (MediaPickerViewController.m:1158) (https://github.com/matrix-org/riot-ios-rageshakes/issues/312)
- [MediaPickerViewController tearDownAVCapture] (in Riot) (MediaPickerViewController.m:1198) (https://github.com/matrix-org/riot-ios-rageshakes/issues/314)
2017-09-25 18:13:14 +02:00
Giom Foret
ef31a8a465 Fix - Room member details: the member's avatar is cropped in the header
Define directly the navigation titleView with the custom title view instance. Do not use anymore a container.
We had to add some constraints  to keep the custom title at the right position.
2017-09-25 16:56:18 +02:00
Kévin C
f5777dbf38 Translated using Weblate (French)
Currently translated at 100.0% (427 of 427 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/
2017-09-25 12:49:29 +00:00
Bruno Bigras
b72609c683 Translated using Weblate (French)
Currently translated at 97.1% (415 of 427 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/
2017-09-25 11:37:37 +00:00
giomfo
39bcb1729c Merge pull request #1513 from vivlim/hardware-keyboard-return
Return key on hardware keyboards now sends messages
2017-09-25 10:36:40 +02:00
Jeff Huang
a615e8cbc3 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (24 of 24 strings)

Translation: Riot iOS/Riot iOS (Push)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-push/zh_Hant/
2017-09-23 01:50:23 +00:00
Vivian Lim
e84ade3afd Return key to send: use delegate instead of traversing view hierarchy
Signed-off-by: Vivian Lim <vivvnlim@gmail.com>
2017-09-22 17:49:53 -07:00
Giom Foret
ea4b4ef856 @available(iOS 11.0, *) use requires Xcode 9 2017-09-22 16:48:49 +02:00
Giom Foret
f8e9f24617 Fix compilation error
@available(iOS 11.0, *))  requires Xcode 9
2017-09-22 10:39:50 +02:00
manuroe
e48c0435c7 BF: [iOS11] "Smart [colors] Invert" renders badly in the app
Take into account Giom's review
2017-09-21 17:03:43 +02:00
manuroe
f4f8b66671 Widget: code cleaning 2017-09-21 15:36:09 +02:00
Andrey
0d4213a3da Translated using Weblate (Russian)
Currently translated at 100.0% (427 of 427 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/ru/
2017-09-21 13:29:57 +00:00
manuroe
819f407ae1 BF: [iOS11] "Smart [colors] Invert" renders badly in the app
https://github.com/vector-im/riot-ios/issues/1524

- the app does its own dark theme and prevents the OS from automatically revert the colors in the app
- there are 3 choices on iOS11 for the Riot theme: "auto", "light", "dark". "auto" uses the system settings
2017-09-21 15:29:46 +02:00
manuroe
ff4786d7df Merge pull request #1527 from RiotTranslateBot/weblate-riot-ios-riot-ios-push
Update from Weblate.
2017-09-21 15:11:49 +02:00
manuroe
e0c5cdf05d Merge pull request #1526 from RiotTranslateBot/weblate-riot-ios-riot-ios-dialogs
Update from Weblate.
2017-09-21 15:11:34 +02:00
Weblate
4a6d1292bc Merge remote-tracking branch 'origin/develop' into develop 2017-09-21 13:09:13 +00:00
Weblate
0854424921 Merge remote-tracking branch 'origin/develop' into develop 2017-09-21 13:09:02 +00:00
Weblate
a8d90fa640 Merge remote-tracking branch 'origin/develop' into develop 2017-09-21 13:08:32 +00:00
Andrey
d6d23651f0 Translated using Weblate (Russian)
Currently translated at 100.0% (24 of 24 strings)

Translation: Riot iOS/Riot iOS (Push)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-push/ru/
2017-09-21 13:08:14 +00:00
Andrey
c794f9359d Translated using Weblate (Russian)
Currently translated at 100.0% (4 of 4 strings)

Translation: Riot iOS/Riot iOS (Dialogs)
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios-dialogs/ru/
2017-09-21 13:08:14 +00:00
cafade
e1057a270e Translated using Weblate (Spanish)
Currently translated at 10.5% (43 of 406 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/es/
2017-09-21 13:08:13 +00:00
Tong Hui
d0b6bd8583 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.5% (400 of 406 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/zh_Hans/
2017-09-21 13:08:13 +00:00
Vivian Lim
f701e3fcbc Revert RoomInputToolbarView systemVersion
Didn’t mean to change the systemVersion property, and am reverting it. 

Signed-off-by: Vivian Lim <vivvnlim@gmail.com>
2017-09-20 15:57:46 -07:00
Giom Foret
f53b1f8c2a Merge branch 'develop' into callkit 2017-09-20 17:28:25 +02:00
Giom Foret
8ee6e6f8f0 Improvement: Alter DMness from Room Settings.
https://github.com/vector-im/riot-ios/issues/1370
2017-09-20 15:08:25 +02:00
manuroe
10b746eec4 BugReportVC: Force users to add a description in crash reports.
This makes github happier and will help us on triaging.
2017-09-20 09:10:29 +02:00
Giom Foret
3ff23f83ae Pushkit: Remove APNS use.
Use new MXKAccount API to handle push token and settings.
- add format: 'event_id_only' to the data dict when you add the pusher
- use the following app ID: im.vector.app.ios.voip.prod
2017-09-19 16:06:44 +02:00
manuroe
30f51177b1 Merge pull request #1517 from vector-im/widget_manager_bf_2
Widget manager: bug fixes
2017-09-19 14:57:37 +02:00
manuroe
c7796068f0 Modular integrations Manager: Improve dark theme management 2017-09-19 13:36:43 +02:00
manuroe
e3cfd7df3f Modular integrations Manager: Manage dark theme 2017-09-19 10:24:28 +02:00
manuroe
5664eb2cfd Widget: Fix crash. Handle the case where a scalar token is not required (jitsi). 2017-09-19 10:04:19 +02:00
manuroe
978159a3a7 Modular integrations Manager: Manage lack of network 2017-09-19 09:59:04 +02:00
Giom Foret
6c5c162aba Merge branch 'develop' into callkit 2017-09-19 09:50:21 +02:00
Giom Foret
e9b95b7e14 Improvement: Broaden back icon 2017-09-19 09:35:49 +02:00
manuroe
9ee3b6f769 Modular integrations Manager: Open URL in safari not within the webview 2017-09-19 09:00:44 +02:00
manuroe
4819de6981 Modular integrations Manager: Fix invite and listing of bots.
Use scalar-staging.riot.im for the moment
2017-09-18 17:12:31 +02:00
manuroe
6e818bc502 Add WidgetViewController
Not yet use
2017-09-18 16:22:59 +02:00
Vivian Lim
d69a83e2c5 Return key on hardware keyboards now sends messages
Create a class KeyboardGrowingTextView which inherits from HPGrowingTextView, but defines keyCommands. keyCommands defined at any other view or controller layer weren’t being picked up by the OS, but they did work when added to HPGrowingTextView.

Signed-off-by: Vivian Lim <vivvnlim@gmail.com>
2017-09-18 00:29:57 -07:00
manuroe
dea81dadf4 Merge pull request #1511 from vector-im/widget_manager_2
Show the "Integrations Manager" into a webview
2017-09-15 16:55:28 +02:00
manuroe
0facbaec9e Modular integrations UI: Clear Modular data on logout 2017-09-15 15:35:27 +02:00
Giom Foret
6c3feef81f Improvement - Create DM with Riot-bot on new account creation.
https://github.com/vector-im/riot-meta/issues/94
2017-09-15 15:19:36 +02:00
manuroe
a2f5ec4475 Modular integrations UI: Do not bounce for all the page 2017-09-15 14:57:40 +02:00
manuroe
98cdd503b3 Modular integrations UI: Display the webpage in fullscreen 2017-09-15 14:03:49 +02:00
manuroe
a065b23da0 Modular integrations UI: Display the webpage in fullscreen 2017-09-15 13:55:33 +02:00
manuroe
1a14078ff4 Modular integrations UI: Make the integrations icon open the main "Manage integrations" page 2017-09-15 13:36:26 +02:00
manuroe
a1d72a36d1 Modular integrations UI: Add the integrations icon to the RoomVC navigation header 2017-09-15 13:27:13 +02:00
manuroe
fa0c5a80c5 Modular integrations UI: Add Settings > Labs > Matrix Apps 2017-09-15 13:24:01 +02:00
manuroe
ed50951c51 Modular integrations UI: Clean i18n strings for modular 2017-09-14 17:52:21 +02:00
manuroe
6f8ff46751 Modular integrations UI: Did all modular requests but not tested 2017-09-14 17:48:11 +02:00
Giom Foret
e4bf4f7dfa Handle the room display name and its avatar at the room summary level.
- Update the room display name and its avatar url when the Room Summary is updated on state events change (see `[session: updateRoomSummary: withStateEvents:]`).
- Store the riot display room name and its avatar url in the Room Summary.
- Add a new category `MXRoomSummary+Riot` to handle avatar display.

TODO: Increase file store version in `MXFileStore.h`.
2017-09-14 16:00:50 +02:00
giomfo
5fb73e1903 Merge pull request #1508 from vector-im/riot_1354
Bug Fix - Settings: The "Sign out" button and other buttons of this p…
2017-09-14 12:56:17 +02:00
Giom Foret
bdb386ac5f Bug Fix - Settings: The "Sign out" button and other buttons of this page sometimes blinks
#1354
2017-09-14 11:58:02 +02:00
Giom Foret
3e9630cff4 Bug Fix - Settings: some of the labels push the switch controls off screen.
#1506
2017-09-14 11:33:59 +02:00
manuroe
5a0d25c54e Modular integrations UI: Stubbed all modular requests. 2017-09-14 09:53:07 +02:00
Giom Foret
0cc96dbbbd Pushkit: unregister for all remote notifications received via Apple Push Notification service. 2017-09-13 15:15:57 +02:00
Giom Foret
8f3736c403 Dark theme - Improvements
- the keyboard bubble should be darker too
2017-09-11 22:37:00 +02:00
manuroe
548d9d42b8 WidgetManager: createWidget did not call the success block 2017-09-11 16:35:42 +02:00
manuroe
5a74ddaade Modular integrations UI: File renaming 2017-09-11 16:34:05 +02:00
manuroe
6a8ff41457 Modular integrations UI: Better seperate "Modular postMessage API" code from UIWebview cooking. Manage error sending 2017-09-11 16:22:28 +02:00
Giom Foret
4a7930be15 Dark theme - Improvements
- spinner bg being white
2017-09-11 14:49:06 +02:00
Giom Foret
0ad5b737a3 Dark theme - Improvements
- some hairlines being too bright
- fading behind dialog modals being white rather than dark
- grey highlight bar in room list being too light (i think)?
2017-09-11 11:27:47 +02:00
Giom Foret
1f6a3d0d66 Bug Fix: Dark theme - Improvements
- padlock being unthemed
2017-09-11 11:01:47 +02:00
Denis Morozov
8eb3204679 Fix push registration process 2017-09-10 16:41:50 +03:00
manuroe
9af4c044e8 Modular integrations UI: Plumbed all modular requests. But it does not work 2017-09-08 16:27:14 +02:00
Giom Foret
b0c4bcd02a PushKit: local notifications handling
Support the account settings: `showDecryptedContentInNotifications` value.
2017-09-08 15:32:55 +02:00