Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase/element ios 1.11.15 #1066

Merged
merged 59 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9fbda13
Merge branch 'master' into develop
pixlwave May 30, 2024
208ea79
Prepare for new sprint
pixlwave May 30, 2024
67efa74
Bump posthog version to 3.25
BillCarsonFr May 21, 2024
b664de4
Review: use optout for isrunning
BillCarsonFr May 27, 2024
e1b9bbb
post rebase fix
BillCarsonFr May 31, 2024
fddd6e2
Merge pull request #7793 from element-hq/valere/bump_posthog_version_3
BillCarsonFr May 31, 2024
a4a73b1
Analytics | Add support for super properties and appPlatform
BillCarsonFr Jun 1, 2024
4f960fa
Add changelog
BillCarsonFr Jun 3, 2024
adc486d
Review: doc fix typo
BillCarsonFr Jun 3, 2024
657e18c
Review: quick format
BillCarsonFr Jun 3, 2024
07d4c83
Review: cleaning
BillCarsonFr Jun 3, 2024
fb60f87
Review: quick format
BillCarsonFr Jun 3, 2024
f38a422
Merge pull request #7801 from element-hq/valere/super_properties
BillCarsonFr Jun 5, 2024
72d7ca7
Remove NSFW advanced settings option
stefanceriu Jun 10, 2024
ae271f2
Adopt the EXA forbidden terms list when searching for public rooms
stefanceriu Jun 10, 2024
de993c2
Make the `matrix-ios-sdk` a submodule and use it as a local pod inste…
stefanceriu Jun 10, 2024
0a0c866
Merge pull request #7804 from element-hq/stefan/sdkAsSubmodule
stefanceriu Jun 11, 2024
7e71a84
Merge pull request #7803 from element-hq/stefan/decency
stefanceriu Jun 12, 2024
94f187f
Add support for reporting rooms on the room preview screen
stefanceriu Jun 12, 2024
249478e
Add support for reporting rooms on the room details screen too
stefanceriu Jun 12, 2024
09f75af
Merge pull request #7805 from element-hq/stefan/reportRooms
stefanceriu Jun 12, 2024
4fc1d4c
version++
stefanceriu Jun 12, 2024
06906fa
Merge pull request #7806 from element-hq/release/1.11.13/release
stefanceriu Jun 13, 2024
0fbb745
finish version++
stefanceriu Jun 13, 2024
91b1691
Merge branch 'release/1.11.13/master'
stefanceriu Jun 13, 2024
6d70145
Merge branch 'master' into develop
stefanceriu Jun 13, 2024
f3e09fa
Prepare for new sprint
stefanceriu Jun 13, 2024
9e24aff
Fix the release script after making the SDK a submodule
stefanceriu Jun 13, 2024
80147d4
added functions to remove messages
Velin92 Jun 14, 2024
55ec6f1
Revert "added functions to remove messages"
Velin92 Jun 14, 2024
25c77b6
added functions to remove messages
Velin92 Jun 14, 2024
ddd97be
added functions to listen to
Velin92 Jun 14, 2024
05f5519
updating SDK
Velin92 Jun 14, 2024
3b776f3
Merge pull request #7809 from element-hq/mauroromito/room_retention_i…
Velin92 Jun 14, 2024
098cf97
Translated using Weblate (Portuguese (Brazil))
lucasmz-dev May 10, 2024
f82788b
Translated using Weblate (Hungarian)
May 13, 2024
ff468e9
Translated using Weblate (Norwegian Nynorsk)
May 29, 2024
3b8f4d7
Translated using Weblate (Norwegian Nynorsk)
Jun 12, 2024
2e3ef78
Added translation using Weblate (Norwegian Nynorsk)
Jun 12, 2024
9de9b62
Translated using Weblate (Norwegian Nynorsk)
Jun 12, 2024
aa86f39
Added translation using Weblate (Norwegian Nynorsk)
May 29, 2024
d1082cd
Merge pull request #7810 from RiotTranslateBot/weblate-riot-ios-riot-ios
pixlwave Jun 17, 2024
6becc91
Merge pull request #7812 from RiotTranslateBot/weblate-riot-ios-riot-…
pixlwave Jun 17, 2024
96a9507
Merge pull request #7811 from RiotTranslateBot/weblate-riot-ios-riot-…
pixlwave Jun 17, 2024
31468bc
version++
pixlwave Jun 17, 2024
9287de9
Merge pull request #7814 from element-hq/release/1.11.14/release
pixlwave Jun 17, 2024
d07aa71
finish version++
pixlwave Jun 17, 2024
cd1b5a5
Merge branch 'release/1.11.14/master'
pixlwave Jun 17, 2024
796de49
Merge branch 'master' into develop
pixlwave Jun 17, 2024
5e473bf
Prepare for new sprint
pixlwave Jun 17, 2024
43de3ec
Changelog.
pixlwave Jun 17, 2024
412f8c9
fix
Velin92 Jun 18, 2024
652b0f4
Merge pull request #7816 from element-hq/mauroromito/fix_store_issue_…
Velin92 Jun 18, 2024
ca90f36
version++
Velin92 Jun 18, 2024
4e45bbc
Merge pull request #7817 from element-hq/release/1.11.15/release
Velin92 Jun 18, 2024
0c07ae2
finish version++
Velin92 Jun 18, 2024
942c85e
Merge branch 'release/1.11.15/master'
Velin92 Jun 18, 2024
e1e649c
Merge vector-im/element-ios v1.11.15 into element-rebase
NicolasBuquet Jun 25, 2024
8534e41
Resolve conflicts on Rebase/Element-v1.11.15 into Tchap
NicolasBuquet Jun 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'

# Common cache
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
Expand Down Expand Up @@ -49,8 +51,6 @@ jobs:
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Use right MatrixSDK versions
run: bundle exec fastlane point_dependencies_to_related_branches

# Main step
- name: UI tests
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'

# Common cache
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
Expand Down Expand Up @@ -57,8 +59,6 @@ jobs:
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Use right MatrixSDK versions
run: bundle exec fastlane point_dependencies_to_related_branches

# Import alpha release private signing certificate
- name: Import signing certificate
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "matrix-ios-sdk"]
path = matrix-ios-sdk
url = [email protected]:matrix-org/matrix-ios-sdk.git
19 changes: 19 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## Changes in 1.11.15 (2024-06-18)

No significant changes.


## Changes in 1.11.14 (2024-06-17)

🙌 Improvements

- Room retention event implementation ([#7809](https://github.com/element-hq/element-ios/pull/7809))


## Changes in 1.11.13 (2024-06-12)

Others

- Analytics | Add support for super properties and appPlatform ([#7801](https://github.com/element-hq/element-ios/issues/7801))


## Changes in 1.11.12 (2024-05-30)

🐛 Bugfixes
Expand Down
58 changes: 30 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GEM
base64
nkf
rexml
activesupport (7.1.3.2)
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -29,24 +29,24 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.899.0)
aws-sdk-core (3.191.4)
aws-partitions (1.941.0)
aws-sdk-core (3.197.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.78.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-kms (1.83.0)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.146.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-s3 (1.152.0)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
bigdecimal (3.1.7)
bigdecimal (3.1.8)
claide (1.1.0)
clamp (1.3.2)
cocoapods (1.14.3)
Expand Down Expand Up @@ -90,7 +90,7 @@ GEM
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
declarative (0.0.20)
digest-crc (0.6.5)
Expand Down Expand Up @@ -131,15 +131,15 @@ GEM
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.3.0)
fastlane (2.219.0)
fastimage (2.3.1)
fastlane (2.220.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
colored (~> 1.2)
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
Expand All @@ -160,10 +160,10 @@ GEM
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (>= 2.0.0, < 3.0.0)
naturally (~> 2.2)
optparse (>= 0.1.1)
optparse (>= 0.1.1, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
security (= 0.1.5)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (~> 3)
Expand All @@ -172,14 +172,14 @@ GEM
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-brew (0.1.1)
fastlane-plugin-sentry (1.20.0)
fastlane-plugin-sentry (1.23.0)
os (~> 1.1, >= 1.1.4)
fastlane-plugin-versioning (0.5.2)
fastlane-plugin-xcodegen (1.1.0)
fastlane-plugin-brew (~> 0.1.1)
ffi (1.16.3)
ffi (1.17.0)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
Expand Down Expand Up @@ -220,22 +220,22 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.5)
http-cookie (1.0.6)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.14.4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.7.1)
json (2.7.2)
jwt (2.8.1)
base64
mini_magick (4.12.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.22.3)
mini_portile2 (2.8.7)
minitest (5.23.1)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.4.0)
multipart-post (2.4.1)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
Expand All @@ -245,23 +245,24 @@ GEM
nokogiri (1.15.6)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
optparse (0.4.0)
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (4.0.7)
racc (1.7.3)
rake (13.1.0)
racc (1.8.0)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.6)
rexml (3.2.9)
strscan
rouge (2.0.7)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
security (0.1.5)
signet (0.19.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
Expand All @@ -276,6 +277,7 @@ GEM
clamp (~> 1.3)
nokogiri (>= 1.14.3)
xcodeproj (~> 1.21)
strscan (3.1.0)
terminal-notifier (2.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand Down
39 changes: 3 additions & 36 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,10 @@ inhibit_all_warnings!
# Use frameworks to allow usage of pods written in Swift
use_frameworks!

# Different flavours of pods to MatrixSDK. Can be one of:
# - a String indicating an official MatrixSDK released version number
# - `:local` (to use Development Pods)
# - `{ :branch => 'sdk branch name'}` to depend on specific branch of MatrixSDK repo
# - `{ :specHash => {sdk spec hash}` to depend on specific pod options (:git => …, :podspec => …) for MatrixSDK repo. Used by Fastfile during CI
#
# Warning: our internal tooling depends on the name of this variable name, so be sure not to change it
$matrixSDKVersion = '= 0.27.8'
# $matrixSDKVersion = :local
# $matrixSDKVersion = { :branch => 'develop'}
# $matrixSDKVersion = { :specHash => { git: 'https://git.io/fork123', branch: 'fix' } }

########################################

case $matrixSDKVersion
when :local
$matrixSDKVersionSpec = { :path => '../matrix-ios-sdk/MatrixSDK.podspec' }
when Hash
spec_mode, sdk_spec = $matrixSDKVersion.first # extract first and only key/value pair; key is spec_mode, value is sdk_spec

case spec_mode
when :branch
# :branch => sdk branch name
sdk_spec = { :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => sdk_spec.to_s } unless sdk_spec.is_a?(Hash)
when :specHash
# :specHash => {sdk spec Hash}
sdk_spec = sdk_spec
end

$matrixSDKVersionSpec = sdk_spec
when String # specific MatrixSDK released version
$matrixSDKVersionSpec = $matrixSDKVersion
end

# Method to import the MatrixSDK
def import_MatrixSDK
pod 'MatrixSDK', $matrixSDKVersionSpec, :inhibit_warnings => false
pod 'MatrixSDK/JingleCallStack', $matrixSDKVersionSpec, :inhibit_warnings => false
pod 'MatrixSDK', :path => 'matrix-ios-sdk/MatrixSDK.podspec', :inhibit_warnings => false
pod 'MatrixSDK/JingleCallStack', :path => 'matrix-ios-sdk/MatrixSDK.podspec', :inhibit_warnings => false
end

########################################
Expand Down Expand Up @@ -95,6 +61,7 @@ abstract_target 'TchapPods' do
# Tools
pod 'SwiftGen', '~> 6.3'
pod 'SwiftLint', '~> 0.49.1'
pod 'SwiftFormat/CLI'

target "Tchap" do
import_MatrixSDK
Expand Down
31 changes: 19 additions & 12 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ PODS:
- LoggerAPI (1.9.200):
- Logging (~> 1.1)
- Logging (1.4.0)
- MatrixSDK (0.27.7):
- MatrixSDK/Core (= 0.27.7)
- MatrixSDK/Core (0.27.7):
- 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)
- MatrixSDKCrypto (= 0.3.13)
- MatrixSDKCrypto (= 0.4.2)
- OLMKit (~> 3.2.5)
- Realm (= 10.27.0)
- SwiftyBeaver (= 1.9.5)
- MatrixSDK/JingleCallStack (0.27.7):
- MatrixSDK/JingleCallStack (0.27.10):
- JitsiMeetSDKLite (= 8.1.2-lite)
- MatrixSDK/Core
- MatrixSDKCrypto (0.3.13)
- MatrixSDKCrypto (0.4.2)
- OLMKit (3.2.12):
- OLMKit/olmc (= 3.2.12)
- OLMKit/olmcpp (= 3.2.12)
Expand All @@ -74,6 +74,7 @@ PODS:
- Sentry/Core (7.15.0)
- SideMenu (6.5.0)
- SwiftBase32 (0.9.0)
- SwiftFormat/CLI (0.54.0)
- SwiftGen (6.6.2)
- SwiftJWT (3.6.200):
- BlueCryptor (~> 1.0)
Expand Down Expand Up @@ -102,8 +103,8 @@ DEPENDENCIES:
- KeychainAccess (~> 4.2.2)
- KTCenterFlowLayout (~> 1.3.1)
- libPhoneNumber-iOS (~> 0.9.13)
- MatrixSDK (= 0.27.7)
- MatrixSDK/JingleCallStack (= 0.27.7)
- MatrixSDK (from `matrix-ios-sdk/MatrixSDK.podspec`)
- MatrixSDK/JingleCallStack (from `matrix-ios-sdk/MatrixSDK.podspec`)
- OLMKit
- PostHog (~> 2.0.0)
- ReadMoreTextView (~> 3.0.1)
Expand All @@ -112,6 +113,7 @@ DEPENDENCIES:
- Sentry (~> 7.15.0)
- SideMenu (~> 6.5)
- SwiftBase32 (~> 0.9.0)
- SwiftFormat/CLI
- SwiftGen (~> 6.3)
- SwiftJWT (~> 3.6.200)
- SwiftLint (~> 0.49.1)
Expand Down Expand Up @@ -144,7 +146,6 @@ SPEC REPOS:
- libPhoneNumber-iOS
- LoggerAPI
- Logging
- MatrixSDK
- MatrixSDKCrypto
- OLMKit
- PostHog
Expand All @@ -155,6 +156,7 @@ SPEC REPOS:
- Sentry
- SideMenu
- SwiftBase32
- SwiftFormat
- SwiftGen
- SwiftJWT
- SwiftLint
Expand All @@ -165,6 +167,10 @@ SPEC REPOS:
- zxcvbn-ios
- ZXingObjC

EXTERNAL SOURCES:
MatrixSDK:
:path: matrix-ios-sdk/MatrixSDK.podspec

SPEC CHECKSUMS:
AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58
BlueCryptor: b0aee3d9b8f367b49b30de11cda90e1735571c24
Expand All @@ -187,8 +193,8 @@ SPEC CHECKSUMS:
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MatrixSDK: e07b2309f3c6498c1df987441da7006d099c47a4
MatrixSDKCrypto: bf08b72f2cd015d8749420a2b8b92fc0536bedf4
MatrixSDK: c805f9306d60955215f4b15043ed0f96fd4867b3
MatrixSDKCrypto: 736069ee0a5ec12852ab3498bf2242acecc443fc
OLMKit: da115f16582e47626616874e20f7bb92222c7a51
PostHog: 660ec6c9d80cec17b685e148f17f6785a88b597d
ReadMoreTextView: 19147adf93abce6d7271e14031a00303fe28720d
Expand All @@ -198,6 +204,7 @@ SPEC CHECKSUMS:
Sentry: 63ca44f5e0c8cea0ee5a07686b02e56104f41ef7
SideMenu: f583187d21c5b1dd04c72002be544b555a2627a2
SwiftBase32: 9399c25a80666dc66b51e10076bf591e3bbb8f17
SwiftFormat: 0e0b577434e6aa63bc82a8905b40d9597b8452d4
SwiftGen: 1366a7f71aeef49954ca5a63ba4bef6b0f24138c
SwiftJWT: 88c412708f58c169d431d344c87bc79a87c830ae
SwiftLint: 32ee33ded0636d0905ef6911b2b67bbaeeedafa5
Expand All @@ -208,6 +215,6 @@ SPEC CHECKSUMS:
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5

PODFILE CHECKSUM: 3db384be27ed06c11b15ee9abc4616afd45428c1
PODFILE CHECKSUM: 971cd7529e2d127b237469afa2c18e6dced151ec

COCOAPODS: 1.14.3
Loading
Loading