2718 Commits

Author SHA1 Message Date
Doug
3f6f055ea9 Add missing/updated snapshots. 2022-09-06 13:31:28 +01:00
Doug
8e46d0e3d6 #106: Add Analytics UI 2022-09-06 10:45:04 +01:00
Doug
df68174a32
#106: Begin adding the Analytics class from EI.
No UI or SDK support to enable/disable yet and no tracking is implemented.
2022-09-02 10:09:02 +01:00
Doug
7c37d2f143
Run SwiftFormat (non-lenient) separately on CI. (#167)
Make the lenient run into a post build step.
2022-08-30 16:45:40 +01:00
Stefan Ceriu
39be67cec6
Various logging fixes (#164)
Various logging fixes:
* imported the ObjCWrapper and updated the MXLogger. Also added back support for app containers
* updated MXLog.swift from El and fixed/improved its logging format
* updated most app log strings
* Remove unnecessary swiftlint rule
* Various tweaks following code review
* Added back type annoation on MXLogger logFiles method
* Fix generated Swift-ObjC header name
2022-08-30 18:05:21 +03:00
Stefan Ceriu
c92e6c2092 Attempt fixing github workflows and prevent homebrew from updating ruby 2022-08-30 12:31:42 +03:00
Stefan Ceriu
4158efb701 Fix incorrect integration test check 2022-08-23 09:41:13 +03:00
Stefan Ceriu
31a9307b3e Fix invalid XCTestMeasurementParserMetric 2022-08-23 09:10:15 +03:00
Stefan Ceriu
3e078e7bbf Allow integration tests to actually run every night 2022-08-22 11:48:12 +03:00
Stefan Ceriu
6aa1bd4c90 Remove UI tests from running on PRs and only let them run on a schedule 2022-08-19 17:43:09 +03:00
Stefan Ceriu
142180b1f3
Various CI fixes (#161)
* Update homebrew dependencies like on the other workflows. Fixes problems caused by buggy swiftformat prebundled on the github actions macos runner

* Removed UI tests from PR tests and running them on a schedule instead. Hopefuly fixed code coverage.

* Added back simulator versions as they need to match UI test snapshots

* Allow UI tests to run on this PR

* Added back skipped UI tests

* Fix danger sometimes not working on forks and disable integration tests on them
2022-08-19 17:42:03 +03:00
Stefan Ceriu
78df4abc7f
#49, #123 - Setup UI integration and performance testing (#148) 2022-08-18 16:32:29 +03:00
Doug
b6e1d6d1e5
Use a more robust detection for forks. (#160) 2022-08-12 14:45:56 +01:00
ismailgulek
2cb6dc1cd9
Screenshot tests (#130)
* #9 Add snapshot testing library

* #9 Create script to boot test simulators

* #9 Create the UI test plan

* #9 Create shared schemes for test targets

* #9 Disable split view for UI tests

* #9 Fix fastlane dependencies

* #9 Add snapshot testing to the application

* #9 assert screenshots

* #9 fix swipe gestures on iPad

* #9 Fix accessing items in session verification screen

* #9 Workaround for flaky unit test

* #9 Specify scheme for alpha build

* #9 Add reference screenshots

* Update python script path and check assets for png check

* Update script path

* Use static timezone for simulator time

* Fix build after SwiftFormat

* Add changelog

* Upload failed screenshots artifact

* Always upload artifacts

* Update boot simulator script

* Update simulator overridden time

* Install pytz before tests

* Get time from Ruby script

* Disable SwiftUI animation when running UI tests

* Update screenshots after animation setting

* Include reference images in the artifact

* Update matching precision

* Update image matching precision & revert artifact content

* Include Xcode result in the artifact

* Update test output directory

* Disable gradient on splash screen for tests

* Tap next button explicitly

* Wait a bit before checking alert

* Wait 1 second

* Run SwiftFormat on project

* Ignore temporary screenshots

* Fix most of the PR remarks

* Fix conflicts

* Bump Python version to 3

* Update reference screenshots for authentication screens

* Update SwiftFormat

* Fix flakey session verification test.

* Update scheme.

Co-authored-by: Doug <douglase@element.io>
2022-08-11 15:02:47 +03:00
Hugh Nimmo-Smith
207cbdebfd
Request all required OIDC scopes + grant_types (#154)
* Request all required OIDC scopes on auth
* User real TOS and Policy URLs for OIDC
* Request refresh_token grant type when registering client
* Use unstable OIDC scope prefixes
2022-08-11 11:47:10 +01:00
Doug
4349b8fc03
#150: Use standard file headers everywhere.
* Add default header in IDETemplateMacros.plist.
* Use the standard header everywhere.
2022-08-11 08:54:24 +01:00
Doug
bb284a62e6 Create pr-156.misc 2022-08-04 08:51:24 +01:00
Doug
018f3d844b Create PULL_REQUEST_TEMPLATE.md 2022-08-04 08:51:24 +01:00
Doug
b4caaa6ae7 Run SwiftFormat as a prebuild script to fail early on CI. 2022-08-04 08:50:43 +01:00
Doug
087b25b6ab Don't run Danger for forks as secrets are missing.
Simplify the check for the alpha release to reduce number of jobs.
2022-08-04 08:50:43 +01:00
Doug
a3d2fc40ae
Rename x-nolink-0001.doc to pr-153.doc 2022-08-02 12:22:28 +01:00
vollkorntomate
f70c8b1164 Fix broken link in CONTRIBUTING.md
Signed-off-by: Thomas Völkl thomas@vollkorntomate.de
2022-08-02 12:21:55 +01:00
Stefan Ceriu
7400f89f9f Remove view background colors as they cause glitches on the navigation bar background 2022-07-28 18:16:43 +03:00
Doug
839e759756 Fix release lane. 2022-07-28 14:45:04 +01:00
Doug
6c33b3fe7f Prepare next release 2022-07-28 14:39:43 +01:00
Doug
87b2a41a69
#93: Add a sync limit of 20 and prefill rooms when loading the last message.
Update the SDK to 1.0.13-alpha.
1.0.2
2022-07-28 12:46:48 +01:00
Doug
c20bc6bd1c
#42: Proof of concept login via OIDC.
Uses AppAuth library in the app, ignoring token refresh
2022-07-28 09:28:42 +01:00
Stefan Ceriu
f8c30a7341
Setup tracing through the RustSDK (#146) 2022-07-27 16:06:40 +03:00
Doug
1878a16496
#40: Use the Rust AuthenticationService.
* Update SDK package to 1.0.12-alpha.
* Use an app group for storage and stop stripping the http from the homeserver when configuring the service.
* Rename access token to restore token.
* Remove matrix.org server description inline with latest FTUE changes.
2022-07-27 10:57:16 +01:00
Stefan Ceriu
03d6097c72 Exclude the ruby vendor folder from SwiftFormat 2022-07-25 14:48:24 +03:00
Stefan Ceriu
225fbd6ae0 Automatically bumping the app version and creating change commit for next release 2022-07-25 14:48:24 +03:00
Stefan Ceriu
2bb3dac803 Bump fastlane and dependencies 2022-07-25 14:48:24 +03:00
Stefan Ceriu
0bb7f0e3f5 Revert "Re-enable animations to see if it fixes the tests"
This reverts commit d0013cae50431f2c8150a873cfedf80038a38ef6.
2022-07-25 14:48:15 +03:00
Stefan Ceriu
66fc4148db More tests 2022-07-25 14:48:15 +03:00
Stefan Ceriu
cc6d08004a Re-enable animations to see if it fixes the tests 2022-07-25 14:48:15 +03:00
Stefan Ceriu
b0bbbfc1d7 Attempt fix for unreliable tests 2022-07-25 14:48:15 +03:00
Stefan Ceriu
2f69c99782 Improve release process
- remove towncrier logs from PR builds and move them to github releases
- set build version based on current time
- bump app version
2022-07-22 18:14:25 +03:00
Stefan Ceriu
5fa541ffb7 Remove .git suffix from certain dependencies 2022-07-22 18:14:25 +03:00
Stefan Ceriu
7d97257514 Fix SwiftFormat errors 2022-07-22 14:48:15 +03:00
Stefan Ceriu
922e037786 Switch SwiftFormat to lint mode and have it be lenient on local builds but fail on the CI 2022-07-22 13:12:56 +03:00
Stefan Ceriu
65c35498bd Fix syntax error in triage-labelled workflow 2022-07-22 11:39:37 +03:00
Stefan Ceriu
e1eee9465e
Fix vector-im/element-x-ios/issues/134 - Prevent home screen room last message attributed string from being computed on every update
Add async/await methods to the AttributedStringBuilder and adopt them throughout the app
2022-07-22 10:25:17 +03:00
Stefan Ceriu
2f4fb81aa5 Update issue triage workflow. 2022-07-21 11:24:44 +03:00
Stefan Ceriu
6081a8fccf
Prevent images cached on disk from loading on the main queue 2022-07-19 09:14:27 +03:00
Doug
25d7ba55ad
Enable blank line rules. (#132) 2022-07-06 16:01:50 +01:00
Doug
02eb4b35e2
Add SwiftFormat to the project. (#129)
* Run swiftformat for whitespace.
* Run swiftformat with some rules.
2022-07-06 14:49:05 +01:00
Doug
26d8affaa8
#40: Add basic AuthenticationService and missing UI tests.
* Add MockAuthenticationService and ServerSelectionUITests.
* Add tests covering the Authentication flow.
2022-07-04 10:00:27 +01:00
Stefan Ceriu
0a199ee611 Drop Mac catalyst support, update app version and tag format, update fastlane plugins 1.0.1-202207011447 2022-07-01 14:46:04 +03:00
Stefan Ceriu
a6f9d1ba89
vector-im/element-x-ios/issues/31 - Implement simple SaS sesson verification
* vector-im/element-x-ios/issues/31 - Session verification unit and UI tests
* Fix ImageAnonymizer tests when running on Apple Silicon
* Rename SessionVerification to SessionVerificationScreen
2022-07-01 13:56:52 +03:00
Doug
266ca656fc
Add Screen suffix to all screens. (#125) 2022-06-30 16:48:46 +01:00