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 x ios 1.8.4 #13

Merged
merged 138 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
5eda85a
Fixes #3144 - Stop showing filters when the room list is not in the `…
stefanceriu Aug 12, 2024
2fa7934
Bump the SDK to v1.0.37
stefanceriu Aug 13, 2024
4519275
Prepare next release
Aug 13, 2024
1ad361a
RoomScreenViewModel is now TimelineViewModel (#3157)
Velin92 Aug 13, 2024
1384a72
Add a danger check for PR titles that contain a "Fixes #1234" prefix.…
pixlwave Aug 13, 2024
9f665d2
Update the SDK (with latest tweaks for Element Call).
pixlwave Aug 14, 2024
c71da91
PinnedBanner is now managed by the RoomScreenViewModel (#3163)
Velin92 Aug 14, 2024
e3c4b37
Update package acknowledgements (after resetting the packages). (#3167)
pixlwave Aug 14, 2024
0bbdb05
RoomScreenViewModel refactor part 2 (#3169)
Velin92 Aug 14, 2024
cf35056
removing dead code
Velin92 Aug 14, 2024
f89c3e5
Automatically try reloading failed images on network changes (#3170)
stefanceriu Aug 15, 2024
ad13f64
Bump the SDK to v1.0.39
stefanceriu Aug 15, 2024
4f5b652
Translations update (#3172)
RiotRobot Aug 15, 2024
ebf7c00
Navigation support for upcoming Element Call Picture in Picture mode.…
pixlwave Aug 16, 2024
4e66788
Translations update (#3179)
RiotRobot Aug 19, 2024
6616d17
Remove encryption authenticity feature flag. (#3180)
pixlwave Aug 19, 2024
e0ba992
Remove GenericCallLinkCoordinator, merging it into CallScreen. (#3181)
pixlwave Aug 19, 2024
e281a3f
Introduce a new RoomProxyType and treat rooms differently based on th…
stefanceriu Aug 20, 2024
404b78e
Fixes problems processing invites, build rooms differently based on t…
stefanceriu Aug 21, 2024
4e3ab9c
Bump the SDK to v1.0.40
stefanceriu Aug 21, 2024
304070e
Use native video call picture in picture! (#3190)
pixlwave Aug 21, 2024
a1cb6bd
Clarify the mention copy in notifications. (#3142)
pixlwave Aug 22, 2024
d54e08e
Remove delivered notifications if their event gets redacted. (#3191)
pixlwave Aug 22, 2024
4eb1ed5
Pinned Events Timeline actions and differentiation (#3182)
Velin92 Aug 22, 2024
8c07397
Fix the call URL input field in Developer Options (#3192)
pixlwave Aug 22, 2024
993fe8c
`TimelineKind` refactor (#3193)
Velin92 Aug 22, 2024
ebef0d1
Update CONTRIBUTING.md
stefanceriu Aug 27, 2024
812c5d5
Update the SDK (#3196)
pixlwave Aug 27, 2024
61df1dd
Remove the Element Call Picture in Picture feature flag. (#3204)
pixlwave Aug 27, 2024
6bd9d25
Translations update (#3201)
RiotRobot Aug 27, 2024
ea9ae61
Update the default timeout to match the SDK as the value kills downlo…
pixlwave Aug 27, 2024
e439689
Prepare next release
Aug 27, 2024
02f868c
Make sure reactions go through the timeline controller. (#3209)
pixlwave Aug 29, 2024
2021e3b
Fix LoadableImage randomly deciding not to load images (revert back t…
stefanceriu Aug 29, 2024
b1af4af
Fixes #3110 - Manually populate profiles when displaying the timeline.
stefanceriu Aug 29, 2024
c9603dc
Adopt sliding sync versions for client Restoration.
pixlwave Aug 29, 2024
4925884
Adopt sliding sync discovery for authentication.
pixlwave Aug 29, 2024
342ad57
Update the SDK.
pixlwave Aug 29, 2024
015e32d
SonarCloud: Remove redundant rethrow.
pixlwave Aug 29, 2024
904045f
Default to native sliding sync discovery.
pixlwave Aug 30, 2024
32e1e1a
Add a logout option on the root of IdentityVerification screen.
stefanceriu Aug 29, 2024
302df18
Tweak the EncryptionReset root screen copy.
stefanceriu Aug 29, 2024
062811c
Accept current autocorrection/suggestion before sending a message (#3…
stefanceriu Sep 2, 2024
288b1e7
Update subscriptions if visible range rooms change without the range …
stefanceriu Sep 2, 2024
6b2928a
Translations update
Velin92 Sep 2, 2024
3c4e9e0
Fixes #3126 - Prevent verification state changes other than `verified…
stefanceriu Sep 3, 2024
a6cdbc3
Update GitHub Actions
renovate[bot] Sep 3, 2024
c73a60d
Revert "Update GitHub Actions"
stefanceriu Sep 3, 2024
c132f67
Update GitHub Actions
renovate[bot] Sep 3, 2024
3b0f02d
Make pinned events required state in SlidingSync
jmartinesp Sep 3, 2024
bf127f4
Fixes #3217 - Force room title headers to layout on one single line
stefanceriu Sep 4, 2024
7b03c23
Bump the RustSDK to v1.0.44
stefanceriu Sep 4, 2024
fbca83b
Prepare next release
Sep 4, 2024
dc85cb1
Stop running and publishing performance metrics to gh-pages
stefanceriu Sep 5, 2024
b43797f
Delay setting up subscriptions until the RoomListService is running i…
stefanceriu Sep 5, 2024
2da4059
Fixes #3231 - Rewrite how out of band verification changes are handle…
stefanceriu Sep 5, 2024
0f3b33c
Fix unfinished comment about onboarding flow verification state liste…
stefanceriu Sep 6, 2024
664e87f
Switch license to AGPL (#3237)
stefanceriu Sep 6, 2024
0d5f249
Make SwiftFormat 0.54.4 happy.
stefanceriu Sep 9, 2024
cce42a7
Translations update
Velin92 Sep 9, 2024
6759a66
Fixes #3146 - Remove the account migration screen
stefanceriu Aug 12, 2024
a0eafe2
Fixes #3147 - Remove the sliding sync proxy wait list
stefanceriu Aug 12, 2024
37ed7ad
Fixes #3197 - Allow voice message playback in the background
stefanceriu Sep 6, 2024
a5fe629
Fix message composer `presendCallback` warnings
stefanceriu Sep 6, 2024
d0d24e2
Remove spammy logs
stefanceriu Sep 6, 2024
a4166de
Add support for showing media playback controls on the lock screen
stefanceriu Sep 6, 2024
2f6fea2
Replace Prefire with a very similar but simpler and more direct appro…
stefanceriu Sep 9, 2024
d88440d
Fix post-merge snapshots tests.
stefanceriu Sep 9, 2024
1a3378f
tweaks for the RC
Velin92 Sep 9, 2024
c2b9a7f
Fix wrong durations for uploaded media
stefanceriu Sep 10, 2024
f6c8aae
Switch codecov-action back to v3 as 4 significantly decreases coverage
stefanceriu Sep 10, 2024
cc4942f
Require acknowledgement to send to verified users who have unsigned d…
pixlwave Sep 10, 2024
c8cb65c
Update bug.yml
stefanceriu Sep 10, 2024
5394523
Add iOS 18 to the Introspect supported versions. (#3248)
pixlwave Sep 10, 2024
4ec6098
Allow redacted messages to be viewed and unpinned (#3251)
Velin92 Sep 10, 2024
f264c25
Free up CI runner disk space before running UI tests.
stefanceriu Sep 9, 2024
bef8924
Add a banner that offers the user to transition to native sliding syn…
stefanceriu Sep 11, 2024
ff5b22c
Bring back default controls for QuickLook based media viewers (#3254)
stefanceriu Sep 11, 2024
ed67a29
Added a pin icon (#3257)
Velin92 Sep 11, 2024
eb60a8d
Fixes #3249 - Converge on the same max height for both text composers.
stefanceriu Sep 10, 2024
10fcb55
version bump to 1.8.0
Velin92 Sep 11, 2024
65bacfa
Fixes #3173 - Force frame sizes for timeline items that are missing s…
stefanceriu Sep 11, 2024
84a3ffc
Require a specific snapshotting device minor OS version when running …
stefanceriu Sep 11, 2024
af3a6cc
Make the SessionDirectories type responsible for cleaning up data. (#…
pixlwave Sep 11, 2024
b85bd60
Tidy-up useless directories at the end of a test run.
pixlwave Sep 11, 2024
0d9d8f9
Sdk v1.0.47 (#3265)
Velin92 Sep 11, 2024
0e6a259
Prepare next release
Sep 11, 2024
022cc59
Try uploading test results to Codecov. (#3266)
pixlwave Sep 12, 2024
d24214c
Make sure we don't reuse an old NSEUserSession after logging out and …
pixlwave Sep 12, 2024
a1c47ad
Make sure we reset the feature flag when upgrading to SSS. (#3272)
pixlwave Sep 12, 2024
47a093e
Fix interactive dismissal of our QLPreviewController on iOS 18. (#3274)
pixlwave Sep 12, 2024
d53e185
Replace client side room awaiting with the SDKs new `awaitRoomRemoteE…
stefanceriu Sep 13, 2024
feaaeb5
Remove redundant `versions.contains(.native)` check
stefanceriu Sep 13, 2024
16d3cb6
Log where the user's state and caches folders were setup on startup.
stefanceriu Sep 13, 2024
ce83aec
Bump the RustSDK to v1.0.48
stefanceriu Sep 13, 2024
93daaf5
Handle notifications properly when a call is happening. (#3276)
pixlwave Sep 13, 2024
7536771
Prepare next release
Sep 13, 2024
2745eab
Translations update
Velin92 Sep 16, 2024
6cfe09b
Add a WebRegistrationScreen (not included in the flow yet). (#3281)
pixlwave Sep 16, 2024
6efbf61
Allow registration on matrix.org using a custom helper URL. (#3282)
pixlwave Sep 16, 2024
20f4a43
fix license text in README.md
ara4n Sep 16, 2024
efe352c
Added analytics for message pinning (#3284)
Velin92 Sep 17, 2024
8660a22
Bump the RustSDK to v1.0.50
stefanceriu Sep 17, 2024
5625e78
Add support for account deactivation when not using OIDC. (#3295)
pixlwave Sep 17, 2024
5078f57
Push the deactivate account screen. (#3297)
pixlwave Sep 18, 2024
16812e2
Bump SDK to 1.0.51 (#3298)
Velin92 Sep 18, 2024
63a0a99
Use the new strings for send failures when the unsigned devices are y…
pixlwave Sep 18, 2024
9b6470d
Stop delaying subscriptions until after startup (#3294)
stefanceriu Sep 18, 2024
ac27951
Prepare next release
Sep 18, 2024
5acfb5d
Try to stop random codecov test result action failures from failing t…
stefanceriu Sep 18, 2024
f7d878b
crypto: Add configuration flag to enable invisible crypto (#3247)
BillCarsonFr Sep 18, 2024
5d678ab
Various Danger fixes (#3304)
stefanceriu Sep 18, 2024
943f33b
Await for room sync only for push notification invites (#3307)
Velin92 Sep 19, 2024
78fb64c
quick and dirty /join command (#3288)
ara4n Sep 19, 2024
da6487e
Prepare next release
Sep 19, 2024
adfd41a
Enable message pinning (#3308)
Velin92 Sep 23, 2024
d48214a
Translations update (#3315)
RiotRobot Sep 23, 2024
e4736b1
A bunch of random tweaks. (#3317)
pixlwave Sep 23, 2024
6818be1
Update UI tests for Xcode 16.
pixlwave Sep 18, 2024
6e83ecb
Don't reset the simulator contents on GitHub.
pixlwave Sep 19, 2024
7b42df8
Update Integration tests for Xcode 16.
pixlwave Sep 18, 2024
7bfd73d
Update Unit tests for Xcode 16.
pixlwave Sep 18, 2024
3514eba
Split up the generated tests from the snapshotting code.
pixlwave Sep 18, 2024
d41dd47
Update Preview tests for Xcode 16.
pixlwave Sep 18, 2024
d2d3b28
Use an environment variable to record failures.
pixlwave Sep 19, 2024
4996137
Fix various flakey tests.
pixlwave Sep 19, 2024
69009a8
Fix: confusion of lab flags for invisible crypto (#3319)
BillCarsonFr Sep 23, 2024
83b0670
Fix a regression where you can't scroll the timeline on iOS 17 (#3320)
pixlwave Sep 23, 2024
d736812
Update the SDK. (#3323)
pixlwave Sep 24, 2024
c264e9e
Use the UIColors directly instead of wrapping the SwiftUI Colors. (#3…
pixlwave Sep 24, 2024
f772849
Don't use the new iPad modal presentation mode for the timeline item …
pixlwave Sep 24, 2024
e4713e2
Merge element-hq/element-x-ios 1.8.4 into element-x-rebase
Sep 30, 2024
735d6fe
Resolve conflicts on Rebase/Element-1.8.4 into Tchap
Sep 30, 2024
7778e02
Don't check for iOS 18 while not using Xcode 16
Oct 1, 2024
73053b8
Adapt TchapX xcodegen build files
Oct 1, 2024
d22b23b
Update version to 0.1.1
Oct 1, 2024
1de3e51
Update git hooks (via 'git-lfs install --force')
Oct 1, 2024
b1e7069
typo in build files and lint
Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UITests/Sources/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
UnitTests/Resources/** filter=lfs diff=lfs merge=lfs -text
UnitTests/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
PreviewTests/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
PreviewTests/Sources/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
8 changes: 1 addition & 7 deletions .githooks/post-checkout
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-checkout'.\n"; exit 2; }
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-checkout "$@"

#!/bin/bash
export PATH="$PATH:/opt/homebrew/bin"

# ignores updates of 'secrets.xcconfig' to avoid pushing sensitive data by mistake
git update-index --assume-unchanged ElementX/SupportingFiles/secrets.xcconfig
2 changes: 1 addition & 1 deletion .githooks/post-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-commit'.\n"; exit 2; }
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-commit "$@"
2 changes: 1 addition & 1 deletion .githooks/post-merge
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-merge'.\n"; exit 2; }
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-merge "$@"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ body:
attributes:
label: Will you send logs?
description: |
Did you know that you can shake your phone to submit logs for this issue? Trigger the defect, then shake your phone and you will see a popup asking if you would like to open the bug report screen. Click YES, and describe the issue, mentioning that you have also filed a bug (it's helpful if you can include a link to the bug). Send the report to submit anonymous logs to the developers.
You can submit logs for this issue from the login screen or the application settings by chosing `Report a problem`. Describe the issue, mentioning that you have also filed a bug (it's helpful if you can include a link to the bug). Send the report to submit anonymous logs to the developers.
options:
- 'Yes'
- 'No'
Expand Down
29 changes: 12 additions & 17 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,6 @@ jobs:
path: ~/Library/Logs/scan/IntegrationTests-IntegrationTests.log
retention-days: 2
if-no-files-found: ignore

- name: Checkout gh-pages branch (for perf stats)
if: always()
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages

- name: Post-process archive to obtain performance metrics and upload to gh-pages
if: always()
run: |
./Tools/Scripts/parsePerformanceMetrics.sh ~/Library/Logs/scan/IntegrationTests-IntegrationTests.log $GITHUB_SHA | tee perf-results.csv
cat perf-results.csv >> $GITHUB_WORKSPACE/gh-pages/performance/perf-data.csv
cd $GITHUB_WORKSPACE/gh-pages/performance/
git add .
git commit -m "Results for $GITHUB_SHA"
git push

- name: Collect coverage
run: xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/IntegrationTests.xcresult > fastlane/test_output/integration-cobertura.xml
Expand All @@ -87,3 +70,15 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
flags: integrationtests

- name: Collect test results
if: ${{ !cancelled() }}
run: xcresultparser -q -o junit -p $(pwd) fastlane/test_output/IntegrationTests.xcresult > fastlane/test_output/integration-junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
continue-on-error: true
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
flags: integrationtests
2 changes: 1 addition & 1 deletion .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: swift run tools generate-sas

- name: Create PR for Translations
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
commit-message: Translations update
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-

- name: Free disk space
run: ci_scripts/free_space.sh

- name: Setup environment
run: source ci_scripts/ci_common.sh && setup_github_actions_environment

Expand Down Expand Up @@ -64,4 +67,16 @@ jobs:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
flags: uitests


- name: Collect test results
if: ${{ !cancelled() }}
run: xcresultparser -q -o junit -p $(pwd) fastlane/test_output/UITests.xcresult > fastlane/test_output/ui-junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
continue-on-error: true
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
flags: uitests
15 changes: 15 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,18 @@ jobs:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests

- name: Collect test results
if: ${{ !cancelled() }}
run: |
xcresultparser -q -o junit -p $(pwd) fastlane/test_output/UnitTests.xcresult > fastlane/test_output/unit-junit.xml
xcresultparser -q -o junit -p $(pwd) fastlane/test_output/PreviewTests.xcresult > fastlane/test_output/preview-junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
continue-on-error: true
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
6 changes: 6 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ custom_rules:
message: "Please use explicit spacing in HStacks."
severity: warning

compound_color_conversion:
regex: "UIColor\\(\\.compound"
match_kinds: identifier
message: "Please use the UIColor token directly to ensure the colour scheme is honoured."
severity: warning

print_deprecation:
regex: "\\b(print)\\b"
match_kinds: identifier
Expand Down
Loading
Loading