diff --git a/Config/AppIdentifiers.xcconfig b/Config/AppIdentifiers.xcconfig index 12467ebbd4..b779271afd 100644 --- a/Config/AppIdentifiers.xcconfig +++ b/Config/AppIdentifiers.xcconfig @@ -1,5 +1,5 @@ // -// Copyright 2022 Vector Creations Ltd +// Copyright 2021 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,11 +18,11 @@ DEVELOPMENT_TEAM = NVMQD635C6 // Provisioning profiles -TCHAP_PROVISIONING_PROFILE_SPECIFIER = DevTchap App Store -TCHAP_PROVISIONING_PROFILE = 2e6b85aa-f6b6-4be0-b061-809b53f557df +TCHAP_PROVISIONING_PROFILE_SPECIFIER = Tchap App Store +TCHAP_PROVISIONING_PROFILE = ab6bd8d7-4490-470d-b76d-2b3744150e5a -NSE_PROVISIONING_PROFILE_SPECIFIER = DevTchap NSE App Store -NSE_PROVISIONING_PROFILE = e0ff349d-d05d-48f0-b2a2-c3314b1f074d +NSE_PROVISIONING_PROFILE_SPECIFIER = Tchap NSE App Store +NSE_PROVISIONING_PROFILE = fbf70dfb-92e7-4eee-9098-d6c798074fff -SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER = DevTchap Share Extension App Store -SHARE_EXTENSION_PROVISIONING_PROFILE = 180b64b6-bc93-46e7-b531-65f3f8363ba7 +SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER = Tchap Share Extension App Store +SHARE_EXTENSION_PROVISIONING_PROFILE = 9419786e-8533-468d-99fe-5e46101af01a diff --git a/DevTchap/Config/BuildSettings.swift b/DevTchap/Config/BuildSettings.swift index 910ed0057b..ca2e6bdfda 100644 --- a/DevTchap/Config/BuildSettings.swift +++ b/DevTchap/Config/BuildSettings.swift @@ -97,7 +97,7 @@ final class BuildSettings: NSObject { static let serverUrlPrefix = "https://matrix." static let preferredIdentityServerNames = [ "dev01.tchap.incubateur.net", -// "dev02.tchap.incubateur.net" + "dev02.tchap.incubateur.net" ] static let otherIdentityServerNames: [String] = [ "ext01.tchap.incubateur.net" diff --git a/Podfile.lock b/Podfile.lock index 96ede696a1..3ea7cb1e53 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -20,7 +20,7 @@ PODS: - Down (0.11.0) - DSBottomSheet (0.3.0) - DSWaveformImage (6.1.1) - - FLEX (5.22.10) + - FLEX (4.5.0) - FlowCommoniOS (1.12.2) - GBDeviceInfo (7.1.0): - GBDeviceInfo/Core (= 7.1.0) @@ -39,9 +39,9 @@ PODS: - LoggerAPI (1.9.200): - Logging (~> 1.1) - Logging (1.4.0) - - MatrixSDK (0.27.11): - - MatrixSDK/Core (= 0.27.11) - - MatrixSDK/Core (0.27.11): + - MatrixSDK (0.27.10): + - MatrixSDK/Core (= 0.27.10) + - MatrixSDK/Core (0.27.10): - AFNetworking (~> 4.0.0) - GZIP (~> 1.3.0) - libbase58 (~> 0.1.4) @@ -49,7 +49,7 @@ PODS: - OLMKit (~> 3.2.5) - Realm (= 10.27.0) - SwiftyBeaver (= 1.9.5) - - MatrixSDK/JingleCallStack (0.27.11): + - MatrixSDK/JingleCallStack (0.27.10): - JitsiMeetSDKLite (= 8.1.2-lite) - MatrixSDK/Core - MatrixSDKCrypto (0.4.2) @@ -96,7 +96,7 @@ DEPENDENCIES: - Down (~> 0.11.0) - DSBottomSheet (~> 0.3) - DSWaveformImage (~> 6.1.1) - - FLEX (~> 5.22.10) + - FLEX (~> 4.5.0) - FlowCommoniOS (~> 1.12.0) - GBDeviceInfo (~> 7.1.0) - Introspect (~> 0.1) @@ -179,7 +179,7 @@ SPEC CHECKSUMS: Down: b6ba1bc985c9d2f4e15e3b293d2207766fa12612 DSBottomSheet: ca0ac37eb5af2dd54663f86b84382ed90a59be2a DSWaveformImage: 3c718a0cf99291887ee70d1d0c18d80101d3d9ce - FLEX: f21ee4f498eed3f8a1eded66b21939fd3b7a22ce + FLEX: e51461dd6f0bfb00643c262acdfea5d5d12c596b FlowCommoniOS: ca92071ab526dc89905495a37844fd7e78d1a7f2 GBDeviceInfo: 5d62fa85bdcce3ed288d83c28789adf1173e4376 GZIP: 3c0abf794bfce8c7cb34ea05a1837752416c8868 @@ -193,7 +193,7 @@ SPEC CHECKSUMS: libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75 LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d Logging: beeb016c9c80cf77042d62e83495816847ef108b - MatrixSDK: 7c29e5cc8934cfc1f81f83fcfa17cd652612086d + MatrixSDK: c805f9306d60955215f4b15043ed0f96fd4867b3 MatrixSDKCrypto: 736069ee0a5ec12852ab3498bf2242acecc443fc OLMKit: da115f16582e47626616874e20f7bb92222c7a51 PostHog: 660ec6c9d80cec17b685e148f17f6785a88b597d @@ -215,6 +215,6 @@ SPEC CHECKSUMS: zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5 -PODFILE CHECKSUM: 4c754458cc7f3e4e8d97c36fe5692f5b82807db2 +PODFILE CHECKSUM: 971cd7529e2d127b237469afa2c18e6dced151ec COCOAPODS: 1.14.3 diff --git a/Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000000..c90d47d46f --- /dev/null +++ b/Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,104 @@ +{ + "pins" : [ + { + "identity" : "devicekit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/devicekit/DeviceKit", + "state" : { + "revision" : "d37e70cb2646666dcf276d7d3d4a9760a41ff8a6", + "version" : "4.9.0" + } + }, + { + "identity" : "dtcoretext", + "kind" : "remoteSourceControl", + "location" : "https://github.com/Cocoanetics/DTCoreText", + "state" : { + "revision" : "b664664825da565b4c2b7a17dbe2369f68ae43d9", + "version" : "1.6.26" + } + }, + { + "identity" : "dtfoundation", + "kind" : "remoteSourceControl", + "location" : "https://github.com/Cocoanetics/DTFoundation.git", + "state" : { + "revision" : "76062513434421cb6c8a1ae1d4f8368a7ebc2da3", + "version" : "1.7.18" + } + }, + { + "identity" : "maplibre-gl-native-distribution", + "kind" : "remoteSourceControl", + "location" : "https://github.com/maplibre/maplibre-gl-native-distribution", + "state" : { + "revision" : "d761956e81e74d8bdbfba31e0ec3a75616190658", + "version" : "5.12.2" + } + }, + { + "identity" : "matrix-analytics-events", + "kind" : "remoteSourceControl", + "location" : "https://github.com/matrix-org/matrix-analytics-events", + "state" : { + "revision" : "de0cac487e5e7f607ee17045882204c91585461f", + "version" : "0.23.1" + } + }, + { + "identity" : "matrix-rich-text-editor-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/matrix-org/matrix-rich-text-editor-swift", + "state" : { + "revision" : "21c0dd6e9c0b38d19d97af8e3e99fe01df56825d", + "version" : "2.37.3" + } + }, + { + "identity" : "ogg-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/vector-im/ogg-swift.git", + "state" : { + "revision" : "9d82ed838404f10b607a1a1689f404563e9115c3", + "version" : "0.8.3" + } + }, + { + "identity" : "opus-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/vector-im/opus-swift", + "state" : { + "revision" : "11f1887767cbc87c4b64b789ee830b779cc744cb", + "version" : "0.8.4" + } + }, + { + "identity" : "posthog-ios", + "kind" : "remoteSourceControl", + "location" : "https://github.com/PostHog/posthog-ios", + "state" : { + "revision" : "8b2508444962d67aa5f8770074f32d493383dafd", + "version" : "3.2.5" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections", + "state" : { + "revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb", + "version" : "1.1.0" + } + }, + { + "identity" : "swift-ogg", + "kind" : "remoteSourceControl", + "location" : "https://github.com/element-hq/swift-ogg", + "state" : { + "branch" : "0.0.1", + "revision" : "e9a9e7601da662fd8b97d93781ff5c60b4becf88" + } + } + ], + "version" : 2 +} diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Contents.json b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Contents.json index 8cae15f226..70e75fd61b 100755 --- a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Contents.json +++ b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Contents.json @@ -1,158 +1,158 @@ { - "images":[ - { - "idiom":"iphone", - "size":"20x20", - "scale":"2x", - "filename":"Icon-App-20x20@2x.png" - }, - { - "idiom":"iphone", - "size":"20x20", - "scale":"3x", - "filename":"Icon-App-20x20@3x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"1x", - "filename":"Icon-App-29x29@1x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"2x", - "filename":"Icon-App-29x29@2x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"3x", - "filename":"Icon-App-29x29@3x.png" - }, - { - "idiom":"iphone", - "size":"40x40", - "scale":"2x", - "filename":"Icon-App-40x40@2x.png" - }, - { - "idiom":"iphone", - "size":"40x40", - "scale":"3x", - "filename":"Icon-App-40x40@3x.png" - }, - { - "idiom":"iphone", - "size":"57x57", - "scale":"1x", - "filename":"Icon-App-57x57@1x.png" - }, - { - "idiom":"iphone", - "size":"57x57", - "scale":"2x", - "filename":"Icon-App-57x57@2x.png" - }, - { - "idiom":"iphone", - "size":"60x60", - "scale":"2x", - "filename":"Icon-App-60x60@2x.png" - }, - { - "idiom":"iphone", - "size":"60x60", - "scale":"3x", - "filename":"Icon-App-60x60@3x.png" - }, - { - "idiom":"ipad", - "size":"20x20", - "scale":"1x", - "filename":"Icon-App-20x20@1x.png" - }, - { - "idiom":"ipad", - "size":"20x20", - "scale":"2x", - "filename":"Icon-App-20x20@2x.png" - }, - { - "idiom":"ipad", - "size":"29x29", - "scale":"1x", - "filename":"Icon-App-29x29@1x.png" - }, - { - "idiom":"ipad", - "size":"29x29", - "scale":"2x", - "filename":"Icon-App-29x29@2x.png" - }, - { - "idiom":"ipad", - "size":"40x40", - "scale":"1x", - "filename":"Icon-App-40x40@1x.png" - }, - { - "idiom":"ipad", - "size":"40x40", - "scale":"2x", - "filename":"Icon-App-40x40@2x.png" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-Small-50x50@1x.png", - "scale" : "1x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-Small-50x50@2x.png", - "scale" : "2x" - }, - { - "idiom":"ipad", - "size":"72x72", - "scale":"1x", - "filename":"Icon-App-72x72@1x.png" - }, - { - "idiom":"ipad", - "size":"72x72", - "scale":"2x", - "filename":"Icon-App-72x72@2x.png" - }, - { - "idiom":"ipad", - "size":"76x76", - "scale":"1x", - "filename":"Icon-App-76x76@1x.png" - }, - { - "idiom":"ipad", - "size":"76x76", - "scale":"2x", - "filename":"Icon-App-76x76@2x.png" - }, - { - "idiom":"ipad", - "size":"83.5x83.5", - "scale":"2x", - "filename":"Icon-App-83.5x83.5@2x.png" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "ItunesArtwork@2x.png", - "scale" : "1x" - } - ], - "info":{ - "version":1, - "author":"makeappicon" + "images" : [ + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-57x57@1x.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "57x57" + }, + { + "filename" : "Icon-App-57x57@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "57x57" + }, + { + "filename" : "Icon-App-60x60@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-60x60@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-20x20@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-Small-50x50@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "50x50" + }, + { + "filename" : "Icon-Small-50x50@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "50x50" + }, + { + "filename" : "Icon-App-72x72@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "72x72" + }, + { + "filename" : "Icon-App-72x72@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "72x72" + }, + { + "filename" : "Icon-App-76x76@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-76x76@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-83.5x83.5@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "filename" : "ItunesArtwork@2x.png", + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } } diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png index c100b8d9c4..cb7b524192 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png index f8313b5403..9fc1fae03d 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png index e84f9b420a..e6afff4f61 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png index 3e70abf952..418c89e883 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png index 259a9f2c35..c8ebd7a93b 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png index 0f22418f3c..5cbf47956b 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png index f8313b5403..9fc1fae03d 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png index 4ed8d1c787..1b67e22da7 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png index f196b7a48e..df491ba114 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png index c5d7d1dcae..a09e7bfe0c 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png index ea9b8abdd2..b05c5e9d08 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png index f196b7a48e..df491ba114 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png index b6714dca95..00874fbcf6 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png index 78f8e0f9ba..0ebcf86a83 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png index 4ef08bc3ef..8621cc4a50 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png index 08a0e10cb0..ee09c6b19c 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png index c8a54a002b..c1bf9e18a6 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png index 8169a5880b..73270176f2 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png index 1b4fe5bd94..76dcd79646 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png index 0f8081781e..b8ce80e160 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png index 19ea05e2f4..fbbd99cb7d 100644 Binary files a/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png and b/Riot/Assets/SharedImages.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo.png b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo.png index 258ce54114..ad91b62fbb 100644 Binary files a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo.png and b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo.png differ diff --git a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@2x.png b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@2x.png index 1d26c83d7c..bc67dd5f30 100644 Binary files a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@2x.png and b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@2x.png differ diff --git a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@3x.png b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@3x.png index 0b01f38e68..158b53d010 100644 Binary files a/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@3x.png and b/Riot/Assets/SharedImages.xcassets/TchapLogo.imageset/tchap_logo@3x.png differ diff --git a/RiotNSE/BuildSettings.swift b/RiotNSE/BuildSettings.swift index fcbc3c92ba..2b3b90bab5 100644 --- a/RiotNSE/BuildSettings.swift +++ b/RiotNSE/BuildSettings.swift @@ -1,5 +1,5 @@ // -// Copyright 2022 Vector Creations Ltd +// Copyright 2020 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -96,31 +96,45 @@ final class BuildSettings: NSObject { // Tchap servers static let serverUrlPrefix = "https://matrix." static let preferredIdentityServerNames = [ - "dev01.tchap.incubateur.net", -// "dev02.tchap.incubateur.net" - ] - static let otherIdentityServerNames: [String] = [ - "ext01.tchap.incubateur.net" + "agent.externe.tchap.gouv.fr", + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", + "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" ] + static let otherIdentityServerNames: [String] = [] // Tchap-Web instance for the app - static let applicationWebAppUrlString = "https://www.tchap.incubateur.net" + static let applicationWebAppUrlString = "https://www.tchap.gouv.fr" /// Whether to allow the app to use a right to left layout or force left to right for all languages static let disableRightToLeftLayout = true // MARK: - Server configuration // Tchap sygnal server url - static let serverConfigSygnalAPIUrlString = "https://sygnal.tchap.incubateur.net/_matrix/push/v1/notify" + static let serverConfigSygnalAPIUrlString = "https://sygnal.tchap.gouv.fr/_matrix/push/v1/notify" /// Force the user to set a homeserver instead of using the default one static let forceHomeserverSelection = false + // MARK: - Legal URLs // Note: Set empty strings to hide the related entry in application settings - static let applicationTermsConditionsUrlString = "https://www.tchap.incubateur.net/tac.html" - static let clientConfigURL = "https://www.tchap.incubateur.net/client/config/agent/ios" - static let applicationHelpUrlString = "https://www.tchap.incubateur.net/faq" + static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html" + static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/agent/ios" + static let applicationHelpUrlString = "https://www.tchap.gouv.fr/faq" static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/" static let applicationAcceptableUsePolicyUrlString = "" @@ -128,10 +142,11 @@ final class BuildSettings: NSObject { // MARK: - Matrix permalinks // Hosts/Paths for URLs that will considered as valid permalinks. Those permalinks are opened within the app. static let permalinkSupportedHosts: [String: [String]] = [ - "tchap.incubateur.net": ["/"], - "www.tchap.incubateur.net": ["/"], + "matrix.to": ["/"], + "tchap.gouv.fr": ["/"], + "www.tchap.gouv.fr": ["/"] ] - static let clientPermalinkBaseUrl: String? = "https://www.tchap.incubateur.net" + static let clientPermalinkBaseUrl: String? = "https://tchap.gouv.fr" // MARK: - VoIP @@ -148,15 +163,29 @@ final class BuildSettings: NSObject { // MARK: - Public rooms Directory // List of homeservers for the public rooms directory static let publicRoomsDirectoryServers = [ - "dev01.tchap.incubateur.net", - "dev02.tchap.incubateur.net" + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", + "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" ] // MARK: - Rooms Screen static let roomsAllowToJoinPublicRooms: Bool = true // MARK: - Analytics - + /// A type that represents how to set up the analytics module in the app. /// /// **Note:** Analytics are disabled by default for forks. @@ -174,24 +203,24 @@ final class BuildSettings: NSObject { #if DEBUG /// The configuration to use for analytics during development. Set `isEnabled` to false to disable analytics in debug builds. - static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG - host: "https://us.i.posthog.com", // Tchap: dev posthog, - apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, + static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, + host: "", + apiKey: "", + termsURL: URL(string: "https://")!) #else /// The configuration to use for analytics. Set `isEnabled` to false to disable analytics. static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, host: "", apiKey: "", - termsURL: URL(string: "")!) + termsURL: URL(string: "https://")!) #endif // MARK: - Bug report static let bugReportEndpointUrlString = "" - static let bugReportDefaultHost = "dev01.tchap.incubateur.net" + static let bugReportDefaultHost = "agent.tchap.gouv.fr" static let bugReportEndpointUrlSuffix = "/bugreports" // Use the name allocated by the bug report server - static let bugReportApplicationId = "devtchap-ios" + static let bugReportApplicationId = "tchap-ios" // MARK: - Integrations @@ -237,12 +266,41 @@ final class BuildSettings: NSObject { // "" : [ tchapFeatureAnyHomeServer ] to allow a feature to any instance static let tchapFeatureNotificationByEmail = "tchapFeatureNotificationByEmail" static let tchapFeatureVoiceOverIP = "tchapFeatureVoiceOverIP" - static let tchapFeatureVideoOverIP = "tchapFeatureVideoOverIP" // Tchap: in Dev, allow any feature to any instance. + static let tchapFeatureVideoOverIP = "tchapFeatureVideoOverIP" static let tchapFeatureGeolocationSharing = "tchapFeatureGeolocationSharing" // linked to `locationSharingEnabled` property (see above) static var tchapFeaturesAllowedHomeServersForFeature: [String: [String]] = [ - tchapFeatureAnyFeature: [ tchapFeatureAnyHomeServer ] + tchapFeatureNotificationByEmail: [ + tchapFeatureAnyHomeServer + ], + // Audio calls for all in Tchap Production. + tchapFeatureVoiceOverIP: [ + "agent.externe.tchap.gouv.fr", + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", + "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" + ], + // No activation of video calls actually in Tchap Production. +// tchapFeatureVideoOverIP: [ +// "agent.dinum.tchap.gouv.fr" +// ], + tchapFeatureGeolocationSharing: [ + tchapFeatureAnyHomeServer + ] ] - + // MARK: - Side Menu static let enableSideMenu: Bool = true && !newAppLayoutEnabled static let sideMenuShowInviteFriends: Bool = true @@ -280,14 +338,14 @@ final class BuildSettings: NSObject { static let settingsScreenShowUserFirstName: Bool = false static let settingsScreenShowUserSurname: Bool = false - static let settingsScreenAllowAddingEmailThreepids: Bool = true - static let settingsScreenAllowAddingPhoneThreepids: Bool = true - static let settingsScreenShowThreepidExplanatory: Bool = true - static let settingsScreenShowDiscoverySettings: Bool = true - static let settingsScreenAllowIdentityServerConfig: Bool = true + static let settingsScreenAllowAddingEmailThreepids: Bool = false + static let settingsScreenAllowAddingPhoneThreepids: Bool = false + static let settingsScreenShowThreepidExplanatory: Bool = false + static let settingsScreenShowDiscoverySettings: Bool = false + static let settingsScreenAllowIdentityServerConfig: Bool = false static let settingsScreenShowConfirmMediaSize: Bool = true static let settingsScreenShowAdvancedSettings: Bool = true - static let settingsScreenShowLabSettings: Bool = true + static let settingsScreenShowLabSettings: Bool = false static let settingsScreenAllowChangingRageshakeSettings: Bool = true static let settingsScreenAllowChangingCrashUsageDataSettings: Bool = true static let settingsScreenAllowBugReportingManually: Bool = true @@ -295,14 +353,14 @@ final class BuildSettings: NSObject { static let settingsScreenShowChangePassword: Bool = true static let settingsScreenShowEnableStunServerFallback: Bool = true static let settingsScreenShowNotificationDecodedContentOption: Bool = true - static let settingsScreenShowNsfwRoomsOption: Bool = true + static let settingsScreenShowNsfwRoomsOption: Bool = false static let settingsSecurityScreenShowSessions: Bool = true static let settingsSecurityScreenShowSetupBackup: Bool = true static let settingsSecurityScreenShowRestoreBackup: Bool = true static let settingsSecurityScreenShowDeleteBackup: Bool = true static let settingsSecurityScreenShowCryptographyInfo: Bool = true static let settingsSecurityScreenShowCryptographyExport: Bool = true - static let settingsSecurityScreenShowAdvancedUnverifiedDevices: Bool = true + static let settingsSecurityScreenShowAdvancedUnverifiedDevices: Bool = false /// A setting to enable the presence configuration settings section. static let settingsScreenPresenceAllowConfiguration: Bool = false @@ -310,8 +368,8 @@ final class BuildSettings: NSObject { static let roomInputToolbarCompressionMode: MediaCompressionMode = .prompt enum MediaCompressionMode { - case prompt, small, medium, large, none - } + case prompt, small, medium, large, none + } // MARK: - Room Creation Screen diff --git a/RiotNSE/Common.xcconfig b/RiotNSE/Common.xcconfig index 8b7652642d..19b42ed0c8 100644 --- a/RiotNSE/Common.xcconfig +++ b/RiotNSE/Common.xcconfig @@ -1,5 +1,5 @@ // -// Copyright 2022 Vector Creations Ltd +// Copyright 2020 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,12 @@ // Configuration settings file format documentation can be found at: // https://help.apple.com/xcode/#/dev745c5c974 -#include "DevTchap/SupportingFiles/DevTchap-App-Common.xcconfig" +#include "Tchap/SupportingFiles/App-Common.xcconfig" -PRODUCT_NAME = RiotNSE + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// PRODUCT_NAME = RiotNSE +PRODUCT_NAME = TchapNSE PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_IDENTIFIER).nse INFOPLIST_FILE = RiotNSE/Info.plist @@ -27,5 +30,8 @@ INFOPLIST_FILE = RiotNSE/Info.plist CODE_SIGN_ENTITLEMENTS = RiotNSE/RiotNSE.entitlements SKIP_INSTALL = YES -SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h +SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/RiotNSE/SupportingFiles/RiotNSE-Bridging-Header.h diff --git a/RiotShareExtension/BuildSettings.swift b/RiotShareExtension/BuildSettings.swift index fcbc3c92ba..2911cd2259 100644 --- a/RiotShareExtension/BuildSettings.swift +++ b/RiotShareExtension/BuildSettings.swift @@ -1,5 +1,5 @@ // -// Copyright 2022 Vector Creations Ltd +// Copyright 2020 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -96,31 +96,45 @@ final class BuildSettings: NSObject { // Tchap servers static let serverUrlPrefix = "https://matrix." static let preferredIdentityServerNames = [ - "dev01.tchap.incubateur.net", -// "dev02.tchap.incubateur.net" - ] - static let otherIdentityServerNames: [String] = [ - "ext01.tchap.incubateur.net" + "agent.externe.tchap.gouv.fr", + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", + "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" ] + static let otherIdentityServerNames: [String] = [] // Tchap-Web instance for the app - static let applicationWebAppUrlString = "https://www.tchap.incubateur.net" + static let applicationWebAppUrlString = "https://www.tchap.gouv.fr" /// Whether to allow the app to use a right to left layout or force left to right for all languages static let disableRightToLeftLayout = true // MARK: - Server configuration // Tchap sygnal server url - static let serverConfigSygnalAPIUrlString = "https://sygnal.tchap.incubateur.net/_matrix/push/v1/notify" + static let serverConfigSygnalAPIUrlString = "https://sygnal.tchap.gouv.fr/_matrix/push/v1/notify" /// Force the user to set a homeserver instead of using the default one static let forceHomeserverSelection = false + // MARK: - Legal URLs // Note: Set empty strings to hide the related entry in application settings - static let applicationTermsConditionsUrlString = "https://www.tchap.incubateur.net/tac.html" - static let clientConfigURL = "https://www.tchap.incubateur.net/client/config/agent/ios" - static let applicationHelpUrlString = "https://www.tchap.incubateur.net/faq" + static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html" + static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/agent/ios" + static let applicationHelpUrlString = "https://www.tchap.gouv.fr/faq" static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/" static let applicationAcceptableUsePolicyUrlString = "" @@ -128,10 +142,11 @@ final class BuildSettings: NSObject { // MARK: - Matrix permalinks // Hosts/Paths for URLs that will considered as valid permalinks. Those permalinks are opened within the app. static let permalinkSupportedHosts: [String: [String]] = [ - "tchap.incubateur.net": ["/"], - "www.tchap.incubateur.net": ["/"], + "matrix.to": ["/"], + "tchap.gouv.fr": ["/"], + "www.tchap.gouv.fr": ["/"] ] - static let clientPermalinkBaseUrl: String? = "https://www.tchap.incubateur.net" + static let clientPermalinkBaseUrl: String? = "https://tchap.gouv.fr" // MARK: - VoIP @@ -148,15 +163,29 @@ final class BuildSettings: NSObject { // MARK: - Public rooms Directory // List of homeservers for the public rooms directory static let publicRoomsDirectoryServers = [ - "dev01.tchap.incubateur.net", - "dev02.tchap.incubateur.net" + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", + "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" ] // MARK: - Rooms Screen static let roomsAllowToJoinPublicRooms: Bool = true // MARK: - Analytics - + /// A type that represents how to set up the analytics module in the app. /// /// **Note:** Analytics are disabled by default for forks. @@ -174,24 +203,24 @@ final class BuildSettings: NSObject { #if DEBUG /// The configuration to use for analytics during development. Set `isEnabled` to false to disable analytics in debug builds. - static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG - host: "https://us.i.posthog.com", // Tchap: dev posthog, - apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, + static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, + host: "", + apiKey: "", + termsURL: URL(string: "https://")!) #else /// The configuration to use for analytics. Set `isEnabled` to false to disable analytics. static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, host: "", apiKey: "", - termsURL: URL(string: "")!) + termsURL: URL(string: "https://")!) #endif // MARK: - Bug report static let bugReportEndpointUrlString = "" - static let bugReportDefaultHost = "dev01.tchap.incubateur.net" + static let bugReportDefaultHost = "agent.tchap.gouv.fr" static let bugReportEndpointUrlSuffix = "/bugreports" // Use the name allocated by the bug report server - static let bugReportApplicationId = "devtchap-ios" + static let bugReportApplicationId = "tchap-ios" // MARK: - Integrations @@ -237,12 +266,41 @@ final class BuildSettings: NSObject { // "" : [ tchapFeatureAnyHomeServer ] to allow a feature to any instance static let tchapFeatureNotificationByEmail = "tchapFeatureNotificationByEmail" static let tchapFeatureVoiceOverIP = "tchapFeatureVoiceOverIP" - static let tchapFeatureVideoOverIP = "tchapFeatureVideoOverIP" // Tchap: in Dev, allow any feature to any instance. + static let tchapFeatureVideoOverIP = "tchapFeatureVideoOverIP" static let tchapFeatureGeolocationSharing = "tchapFeatureGeolocationSharing" // linked to `locationSharingEnabled` property (see above) static var tchapFeaturesAllowedHomeServersForFeature: [String: [String]] = [ - tchapFeatureAnyFeature: [ tchapFeatureAnyHomeServer ] + tchapFeatureNotificationByEmail: [ + tchapFeatureAnyHomeServer + ], + // Audio calls for all except Finances in Tchap Production. + tchapFeatureVoiceOverIP: [ + "agent.externe.tchap.gouv.fr", + "agent.collectivites.tchap.gouv.fr", + "agent.tchap.gouv.fr", + "agent.elysee.tchap.gouv.fr", + "agent.pm.tchap.gouv.fr", + "agent.ssi.tchap.gouv.fr", +// "agent.finances.tchap.gouv.fr", + "agent.social.tchap.gouv.fr", + "agent.interieur.tchap.gouv.fr", + "agent.agriculture.tchap.gouv.fr", + "agent.justice.tchap.gouv.fr", + "agent.diplomatie.tchap.gouv.fr", + "agent.intradef.tchap.gouv.fr", + "agent.dinum.tchap.gouv.fr", + "agent.culture.tchap.gouv.fr", + "agent.dev-durable.tchap.gouv.fr", + "agent.education.tchap.gouv.fr" + ], + // No activation of video calls actually in Tchap Production. +// tchapFeatureVideoOverIP: [ +// "agent.dinum.tchap.gouv.fr" +// ], + tchapFeatureGeolocationSharing: [ + tchapFeatureAnyHomeServer + ] ] - + // MARK: - Side Menu static let enableSideMenu: Bool = true && !newAppLayoutEnabled static let sideMenuShowInviteFriends: Bool = true @@ -280,14 +338,14 @@ final class BuildSettings: NSObject { static let settingsScreenShowUserFirstName: Bool = false static let settingsScreenShowUserSurname: Bool = false - static let settingsScreenAllowAddingEmailThreepids: Bool = true - static let settingsScreenAllowAddingPhoneThreepids: Bool = true - static let settingsScreenShowThreepidExplanatory: Bool = true - static let settingsScreenShowDiscoverySettings: Bool = true - static let settingsScreenAllowIdentityServerConfig: Bool = true + static let settingsScreenAllowAddingEmailThreepids: Bool = false + static let settingsScreenAllowAddingPhoneThreepids: Bool = false + static let settingsScreenShowThreepidExplanatory: Bool = false + static let settingsScreenShowDiscoverySettings: Bool = false + static let settingsScreenAllowIdentityServerConfig: Bool = false static let settingsScreenShowConfirmMediaSize: Bool = true static let settingsScreenShowAdvancedSettings: Bool = true - static let settingsScreenShowLabSettings: Bool = true + static let settingsScreenShowLabSettings: Bool = false static let settingsScreenAllowChangingRageshakeSettings: Bool = true static let settingsScreenAllowChangingCrashUsageDataSettings: Bool = true static let settingsScreenAllowBugReportingManually: Bool = true @@ -295,14 +353,14 @@ final class BuildSettings: NSObject { static let settingsScreenShowChangePassword: Bool = true static let settingsScreenShowEnableStunServerFallback: Bool = true static let settingsScreenShowNotificationDecodedContentOption: Bool = true - static let settingsScreenShowNsfwRoomsOption: Bool = true + static let settingsScreenShowNsfwRoomsOption: Bool = false static let settingsSecurityScreenShowSessions: Bool = true static let settingsSecurityScreenShowSetupBackup: Bool = true static let settingsSecurityScreenShowRestoreBackup: Bool = true static let settingsSecurityScreenShowDeleteBackup: Bool = true static let settingsSecurityScreenShowCryptographyInfo: Bool = true static let settingsSecurityScreenShowCryptographyExport: Bool = true - static let settingsSecurityScreenShowAdvancedUnverifiedDevices: Bool = true + static let settingsSecurityScreenShowAdvancedUnverifiedDevices: Bool = false /// A setting to enable the presence configuration settings section. static let settingsScreenPresenceAllowConfiguration: Bool = false @@ -310,8 +368,8 @@ final class BuildSettings: NSObject { static let roomInputToolbarCompressionMode: MediaCompressionMode = .prompt enum MediaCompressionMode { - case prompt, small, medium, large, none - } + case prompt, small, medium, large, none + } // MARK: - Room Creation Screen diff --git a/RiotShareExtension/Common.xcconfig b/RiotShareExtension/Common.xcconfig index a225a4e61d..15139328d8 100644 --- a/RiotShareExtension/Common.xcconfig +++ b/RiotShareExtension/Common.xcconfig @@ -1,5 +1,5 @@ // -// Copyright 2022 Vector Creations Ltd +// Copyright 2020 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ // Configuration settings file format documentation can be found at: // https://help.apple.com/xcode/#/dev745c5c974 -#include "DevTchap/SupportingFiles/DevTchap-App-Common.xcconfig" +#include "Tchap/SupportingFiles/App-Common.xcconfig" PRODUCT_NAME = RiotShareExtension PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_IDENTIFIER).shareExtension diff --git a/Tchap/Assets/Images.xcassets/AgenConnect/Contents.json b/Tchap/Assets/Images.xcassets/AgenConnect/Contents.json deleted file mode 100644 index 73c00596a7..0000000000 --- a/Tchap/Assets/Images.xcassets/AgenConnect/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/Contents.json b/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/Contents.json deleted file mode 100644 index 21200b177a..0000000000 --- a/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "agent_connect_icon@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/agent_connect_icon@3x.png b/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/agent_connect_icon@3x.png deleted file mode 100644 index 8825e3ff82..0000000000 Binary files a/Tchap/Assets/Images.xcassets/AgenConnect/agent_connect_icon.imageset/agent_connect_icon@3x.png and /dev/null differ