Commit Graph

156 Commits

Author SHA1 Message Date
Mauro Romito b2b2771ca8 replaced UIColor link with ThemeService links color everywhere it was used, and included the ThemeService in NSE and SiriIntents 2023-01-12 17:54:44 +01:00
Alfonso Grillo 43d4ceb101 Cleanup code 2023-01-10 12:20:34 +01:00
Yoan Pintas f6670ec5d0 Update the room description in the rooms list in case of live broadcast (incoming or outgoing) (#7160) 2022-12-19 19:26:55 +01:00
Philippe Loriaux 76936e0e7c Remove the voice broadcast chunks from the attachments list 2022-12-02 11:51:33 +01:00
Andy Uhnak 7578245268 CryptoV2 changes 2022-10-31 08:49:51 +00:00
Andy Uhnak 6fad57f0a5 Complete MXCryptoV2 implementation 2022-10-26 17:00:43 +01:00
Johannes Marbach 20d5f66d2e Include concrete device model in user agent (PSG-754)
Fixes: #6742
2022-09-26 10:24:35 +02:00
wtimme d87a213cae Target SiriIntents: Split IntentHandler into smaller files (#6203)
* Add protocol `ContactResolving`

* Let the `IntentHandler` implement `ContactResolving` (#6203)

Nothing has changed about the implementation itself; this prepares
the separation of this logic into a dedicated unit.

* Prepare the separation of the contact resolver from the intents handler (#6203)

* Move the implementation of `ContactResolving` to a dedicated class (#6203)

* Move `ContactResolver` to a dedicated file (#6203)

* Prepare the separation of the `StartAudioCallIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INStartAudioCallIntentHandling` to a dedicated class (#6203)

* Prepare the separation of the `StartVideoCallIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INStartVideoCallIntentHandling` to a dedicated class (#6203)

* Prepare the separation of the `SendMessageIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INSendMessageIntentHandling` to a dedicated class (#6203)

* Remove unused property (#6203)

* Return `nil` if the requested intent cannot be handled (#6203)

* Initialize the intent handlers _after_ everything else is configured (#6203)

In `init()`, there might be some configuration being done that is
required for the handlers.

* Add changelog entry

* Move curly braces in Objective-C to dedicated lines

This ensures that the code follows the style that is present in other Objective-C files.

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Inject the `ContactResolver` into the intent handlers during initialization

In #6365, @pixlwave pointed out that

> If the resolver ever gained a cache or stored properties it would
> help keep the memory usage down in the extension

* Prefer forward-declaration over import in Objective-C header files

Per @pixlwave, this helps prevent build failures:

> We had random cycle errors while building a while back and it was
> eventually solved by removing all imports of `GeneratedInterface-Swift.h`
> in every [Objective-C header] file.

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-07-06 09:39:38 +01:00
Doug 7ea4c156ff Exclude MXK views/controllers from NSE and Intents
And exclude all MXK authentication from the share extension.
2022-06-21 10:04:22 +01:00
Doug e32d6893a9 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
Doug 1a5a450866 Add ReCaptcha screen (#6135)
Support dark mode in MXKAuthenticationRecaptchaWebView.
Begin implementing the ReCaptcha coordinator.
2022-05-11 09:57:37 +01:00
Doug 16e64033c3 Add BuildSettings to SwiftUI targets.
Remove RTL change on UIAlertController.
2022-03-28 17:53:34 +01:00
Doug 158b2860ec Fix sending messages via the siri intent.
Fix a bug sending videos into unencrypted rooms.
2022-03-21 10:06:19 +00:00
Doug ec8e5e3c19 Remove unused NSBundle extension methods.
Fix compile errors and remove duplicate strings after rebase.
2022-03-03 10:04:20 +00:00
SBiOSoftWhare 8ebdb8349a Xcodegen: Fix RoomTimelineStyleIdentifier.swift location in all targets. 2022-02-16 09:46:17 +01:00
Doug d7e9cbf7c4 Add the Use Case selection screen to the onboarding flow. 2022-02-04 16:10:38 +00:00
David Langley 1e9fb6b625 Merge pull request #5293 from vector-im/langleyd/5292_refresh_tokens
App: Refresh Tokens Implementation
2022-01-31 08:59:19 +00:00
ismailgulek 7a74dc422f Merge branch 'develop' into ismail/5068_start_thread 2022-01-17 11:35:10 +03:00
David Langley 4dfa1706b7 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-14 11:43:09 +00:00
David Langley 1ca64b3bf6 Add analytics for Unauthenticated errors 2022-01-13 17:33:51 +00:00
ismailgulek ee285046cf Merge branch 'develop' into ismail/4384_summary_db 2022-01-13 12:20:41 +03:00
ismailgulek 4648a5878d Adapt summaries module name change 2022-01-07 18:30:30 +03:00
SBiOSoftWhare 608dd0c7a6 Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
SBiOSoftWhare be707a0ae9 Fix targets configuration. 2022-01-04 11:11:02 +01:00
SBiOSoftWhare a76629744c Update targets for new BuildSettings properties. 2022-01-03 18:18:37 +01:00
ismailgulek 4f0db984bd Adapt from summaries to rooms & little naming fixes 2021-12-29 17:40:09 +03:00
ismailgulek 174f855210 Merge branch 'develop' into ismail/4384_summary_db 2021-12-27 15:59:37 +03:00
ismailgulek a717f444da Merge branch 'develop' into ismail/5068_start_thread 2021-12-09 15:25:14 +03:00
SBiOSoftWhare e6ef1be7b6 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare 751e7aac74 SiriIntents target: Handle new MatrixKit location. 2021-11-29 17:24:03 +01:00
SBiOSoftWhare fee09050cb SiriIntents: Add bridging header. 2021-11-29 17:22:33 +01:00
ismailgulek f6ae6afc81 Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek 01f7a7b243 Adapt to send event api changes 2021-11-04 02:07:09 +03:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
ismailgulek efe9041f5c Adapt to store api changes 2021-10-20 02:35:22 +03:00
ismailgulek 6e6f14b246 Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
ismailgulek e10d1c69bc Adapt store method changes 2021-09-23 16:55:58 +03:00
Stefan Ceriu f9a4178f2a Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Stefan Ceriu 00ff7d9a03 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
SBiOSoftWhare 16cd74717c Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
Stefan Ceriu b00d07ffca Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
manuroe a5dac32976 EncryptionKeyManager: Update Xcodegen yml to use it 2021-02-18 16:02:07 +01:00
manuroe 15597c38b2 XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe ac7cf9f1ce XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00
manuroe 9d00143721 XcodeGen: Fix xcconfig 2021-02-09 21:02:20 +01:00
manuroe ffd0f2865f XcodeGen: Move yml files into their sub folder 2021-02-09 19:29:17 +01:00
manuroe dc7cd467cd Xcodegen: No more build settings in yml files 2021-02-09 18:57:06 +01:00
manuroe 19a8eb42e2 XcodeGen: Common.xcconfig does not need to be included by targets anymore
It is loaded by the project (project.yml)
2021-02-09 18:10:56 +01:00
manuroe 275f960b22 XcodeGen: Move all base settings from yml to xcconfig 2021-02-09 17:37:14 +01:00
manuroe 699cd828c5 XcodeGen: Create AppIdentifiers.xcconfig
To centralise app id, profiles, etc in one place
2021-02-09 09:51:39 +01:00