Commit graph

255 commits

Author SHA1 Message Date
ismailgulek
dfa9dc8ff2
Merge branch 'develop' into voip_2746 2020-12-03 12:26:26 +03:00
ismailgulek
70204abd53 Introduce CallService 2020-12-01 13:41:31 +03:00
SBiOSoftWhare
3696f63890 Add Base32Coder class. 2020-10-27 15:27:27 +01:00
ismailgulek
e909c05faa Add dots to attributed texts programatically 2020-09-15 16:16:38 +03:00
ismailgulek
eafe99601f Localize more 2020-09-14 14:47:40 +03:00
ismailgulek
4839f6bbce Configure attributed text for room creation event and for multiple events 2020-09-14 14:12:14 +03:00
SBiOSoftWhare
e109d82860 AvatarGenerator: Remove a warning. 2020-09-01 11:57:54 +02:00
SBiOSoftWhare
f7c8ab564f Remove some Swift warnings. 2020-09-01 11:57:30 +02:00
ismailgulek
877c72fb91 Refactor remove call notifications method 2020-08-11 12:53:51 +03:00
ismailgulek
b25c0710db Category identifier for call invites 2020-08-10 18:17:46 +03:00
ismailgulek
8e9806da65 Use new variables 2020-08-05 17:11:46 +03:00
manuroe
8a57df8b18 BuidSettings: Integrate all possible permalink paths
and make [Tools isUniversalLink:] actually work
2020-07-31 12:08:15 +02:00
manuroe
78fdd2b274 BuildSettings: Integrate applicationWebAppUrlString 2020-07-31 11:44:26 +02:00
ismailgulek
ad548644ff
Add keychain access group 2020-07-22 17:06:39 +03:00
ismailgulek
10ab22556f
Update Riot/Utils/FormattedBodyParser.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-07-16 18:41:25 +03:00
ismailgulek
88df490608
Update Riot/Utils/FormattedBodyParser.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-07-16 18:41:17 +03:00
ismailgulek
645eea1c82
Update Riot/Utils/FormattedBodyParser.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-07-16 18:41:08 +03:00
ismailgulek
7ff531873e Merge branch 'develop' into riot_3137 2020-07-16 10:37:30 +03:00
SBiOSoftWhare
68d403c3fe
Merge pull request #3404 from vector-im/rebranding
Rebranding
2020-07-15 18:30:21 +02:00
ismailgulek
1c88b4b4da
Make regex private 2020-07-14 15:40:42 +03:00
ismailgulek
c9f4b2a27c
Update parser to use regex and retain it in RoomViewController 2020-07-14 15:39:04 +03:00
SBiOSoftWhare
0bef96e0dd Tools: Update universal link detection. 2020-07-07 23:46:36 +02:00
Ismail Gulek
66896741e5 Replace beta with staging 2020-07-03 15:12:18 +03:00
ismailgulek
1501fb22f2
Introduce FormattedBodyParser 2020-07-03 14:22:08 +03:00
ismailgulek
7d701048f4
Use new keys when detected current user 2020-07-02 20:11:46 +03:00
Ismail Gulek
9ad599f4d3 Update app urls 2020-07-01 14:17:42 +03:00
ismailgulek
df8d91fcec
Refactoring and some docs to DataProtectionHelper 2020-06-23 11:36:25 +03:00
ismailgulek
28405f3577
Fix rebooted and not unlocked case for extension 2020-06-23 11:19:13 +03:00
ismailgulek
63d4a16d51
Update Riot/Utils/Constants.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 17:51:15 +03:00
ismailgulek
f85aee0a56
Implement a workaround to delete some notifications afterwards
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 17:52:29 +03:00
SBiOSoftWhare
5642132b45 EventFormatter: Fix text HTML rendering with DTCoreText (Fix #3241). 2020-05-22 12:14:03 +03:00
ismailgulek
09c1e9cff9
Update Riot/Utils/UniversalLink.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2020-04-28 20:21:51 +03:00
ismailgulek
91f6d724c8
Update Riot/Utils/UniversalLink.h
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2020-04-28 20:21:40 +03:00
ismailgulek
f47e929ea7
Prefill email field on registrations
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 19:55:02 +03:00
manuroe
71b3e167ef Jitsi: Support v1 and v2 widget types 2020-04-24 09:04:49 +02:00
manuroe
020fbc4ed6 Rename UserEncryptionTrustLevelNormal to UserEncryptionTrustLevelNotVerified 2020-04-23 15:25:43 +02:00
manuroe
38fd4fd831 Cross-signing: Allow to verify each device of users with no cross-signing
Fix #3138
This is implemented by adding a new `UserEncryptionTrustLevel` value: `UserEncryptionTrustLevelNoCrossSigning`
2020-04-23 15:10:41 +02:00
SBiOSoftWhare
106f5fdb9c Add an helper class for encryption trust level badge generation. 2020-04-08 15:05:11 +02:00
SBiOSoftWhare
05d0ab7ff4 EventFormatter: Make key verification cancel and done event types visible in timeline. 2020-01-14 19:58:16 +01:00
manuroe
097698c222 Edits: "(Edited)" -> "(edited)" 2019-07-12 13:18:39 +02:00
manuroe
4c7a652fd9 EventFormatter: add showEditionMention setting 2019-07-01 12:42:42 +02:00
SBiOSoftWhare
b6d7a14e75 EventFormatter: Add edit mention suffix for edited messages. 2019-06-12 16:05:34 +02:00
SBiOSoftWhare
c2be2b5af9 EventFormatter: Fix 24 hour time format. 2019-05-23 18:26:38 +02:00
SBiOSoftWhare
f271a08be2 EventFormatter: Use a 24 hour date format for time. 2019-05-22 16:39:11 +02:00
SBiOSoftWhare
24d7c087fb Remove check for +[UIFont systemFontOfSize:weight:] availability. 2019-04-25 12:27:31 +02:00
SBiOSoftWhare
fb3804e5f4 Create UserNameColorGenerator used to generate a user name color from user id 2019-03-07 17:36:40 +01:00
manuroe
338fa64bd4 Reskin: Use same color names as in https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75 2019-02-12 19:06:22 +01:00
SBiOSoftWhare
6a175d4838 Enhance tap on room predecessor cell used to go back to the old version of the room (Fix issue #2179) 2019-02-04 15:49:49 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
c61144cf78 reskin: Theme: rename colors as it is in the palette now 2019-01-11 13:13:31 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
ac08e7670a Reskin: Change the 2 notifications colors 2018-11-30 16:36:34 +01:00
manuroe
791f0bb2f3 Reskin: New avatar bg colors when no room avatar 2018-11-30 16:17:12 +01:00
manuroe
523ed24950 BF: Weird text color when selecting a message
#2046
2018-09-24 14:23:48 +02:00
manuroe
03f88ec542 Room names: Matrix has now room summaries that define how to compute names
Let MatrixSDK and MatrixKit do it for us
2018-09-20 10:48:01 +02:00
manuroe
0556ef2ee2 Merge remote-tracking branch 'origin/develop' into lazy_loading
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Room/RoomViewController.m
2018-08-07 18:06:58 +02:00
SBiOSoftWhare
eb9892704f [EventFormatter] Update room create event type processing when content has room predecessor info. 2018-08-07 11:23:03 +02:00
SBiOSoftWhare
56672d604e [EventFormatter] Handle room create predecessor string building 2018-07-27 18:45:23 +02:00
manuroe
2f90842345 New async [MXRoom state:]: Make Riot build 2018-07-20 10:40:42 +02:00
manuroe
e7deec57a5 Fix regression with new MXRoomMembers 2018-07-17 18:41:28 +02:00
manuroe
977dd5cb0b Make use of state.membersCount 2018-07-17 17:28:26 +02:00
manuroe
7af86d9f9d MXRoomState: Apply new MXRoomMembers property 2018-07-12 00:19:48 +02:00
SBiOSoftWhare
bc5773d9eb Move RiotDesignValues to Constants folder 2018-07-10 10:21:21 +02:00
SBiOSoftWhare
94c08785da Create managers folder 2018-07-10 10:21:20 +02:00
SBiOSoftWhare
1ad1ec0a6e Fix showDecryptedContentInNotifications settings option not migrated correctly from MXKAccount 2018-07-03 10:31:14 +02:00
SBiOSoftWhare
1deb71e10a Handle correct target Swift module import in RiotDesignValues 2018-07-02 18:01:33 +02:00
SBiOSoftWhare
e007a51b78 Add comments to RiotSettings. 2018-07-02 16:49:36 +02:00
SBiOSoftWhare
474f1b5b94 Use RiotSettings instead of direct access to UserDefault where needed 2018-07-02 14:51:47 +02:00
SBiOSoftWhare
43017dfb30 Enable Swift support for Riot target. Create first Swift class, RiotSettings for handling specific Riot app settings. 2018-07-02 14:37:44 +02:00
manuroe
b08e83ec84 extra \n 2018-06-29 07:51:09 +02:00
manuroe
b6ce79303a Crypto: Add telemetry for events unable to decrypt (UTDs)
#1894
2018-06-29 07:36:35 +02:00
manuroe
fc5e0395f8 RoomVC: Add a re-request keys button on message unable to decrypt
#1879
2018-06-08 17:21:52 +02:00
manuroe
6f893c9522 Send sticker: WidgetManager: add userWidgets:ofTypes method
https://github.com/vector-im/riot-ios/issues/1860
2018-05-24 14:36:09 +02:00
giomfo
9de45bd7a1
Merge pull request #1865 from pixlwave/develop
Fix timezone interval bug
thx @pixlwave
2018-05-22 10:15:03 +02:00
Doug
207c7a5488 Don't set GMT on calendar - the date formatter wasn't fixed to GMT anyway. 2018-05-11 01:44:05 -07:00
Doug
d0f5c25194 Fix timezone interval bug 2018-05-10 17:35:42 +01:00
manuroe
b7b0884821 WidgetManager: Patch: Modular uses a malformed key: "stateKey" instead of "state_key" 2018-05-07 17:34:54 +02:00
manuroe
5e1144f11e Send Stickers: WidgetManager: add userWidgets
and show them in the widget picker and within the list of installed widgets of the integration manager

#1860
2018-05-07 11:15:18 +02:00
manuroe
5ab475cf35 Send Stickers: Pass widget id to widgets urls
#1860
This is mandatory for the sticker picker widget
2018-05-07 10:46:33 +02:00
manuroe
7a0afe157d Widget: Support new "m.widget" state event type but keep using "im.vector.modular.widgets" for operations
while the move is not fully done (https://docs.google.com/document/d/1uPF7XWY_dXTKVKV7jZQ2KmsI19wn9-kFRgQ1tFQP7wQ/edit?usp=sharing)
2018-05-07 10:12:02 +02:00
manuroe
4cb68c7619 Widgets: Make sure we have a scalar token before opening one (#1723).
Make the build of the true widget URL asynchronous and build it only when necessary.
2018-01-04 12:25:32 +01:00
giomfo
e3ff84c53e
Merge pull request #1710 from vector-im/groups
Groups enhancements
2017-12-28 13:42:30 +01:00
Giom Foret
30be79959d Group Details: Home page
- Add the number of members and rooms in the home screens.

vector-im/riot-meta#115
2017-12-28 12:00:46 +01:00
manuroe
d4ff908025 Merge remote-tracking branch 'origin/release-v0.6.7' into develop
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-12-27 16:23:42 +01:00
manuroe
c353ea6979 Widget: Fix crash when widget JSON data contains a number value instead of an expected string (https://github.com/matrix-org/riot-ios-rageshakes/issues/765) 2017-12-27 08:57:14 +01:00
manuroe
c65edecef3 Widget: Integrate widget data into widget URL (https://github.com/vector-im/riot-meta/issues/125) 2017-12-21 09:28:21 +01:00
Giom Foret
255f2fc726 Groups: self-management of membership of groups
- Prepare Group Details screen

vector-im/riot-meta#114
2017-12-14 16:05:11 +01:00
manuroe
16ff65f745 Widget: Integrate widget data into widget URL (https://github.com/vector-im/riot-meta/issues/125) 2017-12-08 16:46:46 +01:00
giomfo
ed81ea13ba
Merge pull request #1665 from aaronraimist/oled-black
Add basic OLED black theme
2017-11-27 09:59:35 +01:00
Aaron Raimist
4cb667181a Remove kRiotKeyboard initialization 2017-11-23 11:15:51 -06:00
manuroe
45f07ab466 Make code compatible with !use_frameworks in Podfile 2017-11-23 16:09:19 +01:00
Aaron Raimist
2c1d87b032 Add basic OLED black theme 2017-11-21 20:55:11 -06:00
manuroe
95dd8eb724 BF: Jitsi: Crash if the user display name has several components (#1616) 2017-10-25 16:46:03 +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
manuroe
78d4d55f8b Jitsi: Enable the "Create conference calls with jitsi" settings by default 2017-10-03 13:17:07 +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
31051d145b Widgets: add notices for widgets events 2017-09-27 17:15:09 +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
manuroe
f4f8b66671 Widget: code cleaning 2017-09-21 15:36:09 +02: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
5664eb2cfd Widget: Fix crash. Handle the case where a scalar token is not required (jitsi). 2017-09-19 10:04:19 +02:00
manuroe
6e818bc502 Add WidgetViewController
Not yet use
2017-09-18 16:22:59 +02: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
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
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
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
manuroe
3c99550f0c Modular integrations UI: Show the Modular integrations webapp into a webview 2017-09-07 11:32:40 +02:00
manuroe
653ae7f925 Widget: Define same app settings for modular as in https://riot.im/app/config.json
And use it
2017-09-06 16:05:36 +02:00
manuroe
2886daf4c6 Jitsi widget: Add notices for jitsi widget in rooms histories 2017-08-30 17:37:14 +02:00
manuroe
4d3c30cf9b Widget: In comments, replace scalar by modular, the official public name that replaces the codename 2017-08-30 11:28:51 +02:00
Giom Foret
b278f7d4b3 Re-enable the display of jitsi conference widget on develop 2017-08-25 20:08:23 +02:00
Giom Foret
8a06f8e8bf Disable the display of jitsi conference widget. 2017-08-25 14:04:26 +02:00
manuroe
eb2455e360 Jitsi widget: add display or creation of jitsi conference under USE_JITSI_WIDGET compilation flag 2017-08-18 11:56:32 +02:00
manuroe
32a996beb4 Jitsi widget: naming sanitisation 2017-08-18 09:49:14 +02:00
manuroe
191e449337 Jitsi widget: WidgetManager: add WidgetManagerErrorCodeCreationFailed 2017-08-17 18:45:49 +02:00
manuroe
b2a27145bc Jitsi widget: WidgetManage add createWidget and createJitsiWidget methods 2017-08-17 18:28:24 +02:00
manuroe
9e02006abd Jitsi widget: Add [WidgetManager closeWidget] and use it for jitsi conference 2017-08-17 12:17:07 +02:00
manuroe
f13baec441 Merge remote-tracking branch 'origin/develop' into jitsi_widget
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-08-16 17:14:20 +02:00
manuroe
43f9a278a2 Jitsi widget: Fix in [WidgetManager widgetsOfTypes:inRoom:] 2017-08-16 17:05:14 +02:00
manuroe
40995c9663 Jitsi widget: Remove WidgetManager.enabled settings. Let's user check what they want with [WidgetManager widgetsOfTypes:inRoom:] 2017-08-16 11:49:01 +02:00
manuroe
c50ecaf571 Jitsi widget: Implement [Widget description] 2017-08-16 11:47:03 +02:00
Giom Foret
193c0566bc Dark Theme - Fix Manu's remarks 2017-08-16 09:40:47 +02:00
Giom Foret
b521962db1 Dark Theme - Improvement
HTML string rendering: Use the grayscale component of the secondary bg color to set the background color in the default CSS
2017-08-14 15:43:50 +02:00
Giom Foret
e9bc00959d Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
manuroe
c7e2ca6de2 Jitsi widget: Add Settings > LABS > Use jitsi for conference calls 2017-08-10 15:43:25 +02:00
manuroe
e73cea2892 Jitsi widget: Make [WidgetManager removeMatrixSession] work 2017-08-09 18:06:33 +02:00
manuroe
bd956855c5 Jitsi widget: Dedup widgets - full algo that trusts on-one 2017-08-09 17:59:10 +02:00
manuroe
506ace40cf Jitsi widget: Show/hide the widget presence in RoomVC at runtime 2017-08-09 17:31:15 +02:00
manuroe
f76ed0cd82 Jitsi widget: Dedup widgets 2017-08-09 16:48:05 +02:00
manuroe
a4e85e844d Merge remote-tracking branch 'origin/master' into jitsi_widget 2017-08-08 17:35:12 +02:00
manuroe
f7f2f70bbe Emojis: Boost size of messages containing only emojis (not only one) 2017-08-08 14:14:00 +02:00
manuroe
c0c951365d Jitsi widget: Use new [MXRoomState stateEventsWithType:] method 2017-08-08 11:56:11 +02:00
manuroe
87546112da Jitsi widget: Add WidgetManager and Widget, generic classes to manage scalar widgets 2017-08-04 13:07:04 +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
6eb65f4ff0 MXKEventFormatter: Add singleEmojiTextFont property to special case the display of message with a single emoji.
https://github.com/vector-im/riot-ios/issues/1157: optionally boost size of lone emoji like on riot-web
2017-07-18 14:43:46 +02:00
manuroe
ec701c5813 MELS: s/serie/series 2017-07-17 10:30:46 +02:00
manuroe
c093c34b1f MELS: some i18n 2017-07-07 17:58:39 +02:00