Commit Graph

232 Commits

Author SHA1 Message Date
Stefan Ceriu
2ced1d1ffd Fixes vector-im/element-x-ios/issues/114 - Replying to timeline items 2022-09-14 16:21:23 +03:00
Doug
6db5dffa8a Fix build error. 2022-09-14 13:18:04 +01:00
Doug
d479eccbec Redact and event ID, not an item ID. 2022-09-14 13:18:04 +01:00
Stefan Ceriu
cb81178d49 Fix compilation issues 2022-09-14 13:18:04 +01:00
Doug
2451ba1474 Revert project.yml 2022-09-14 13:18:04 +01:00
Doug
4b7229e8f9 swiftformat 2022-09-14 13:18:04 +01:00
Doug
61c18b50e3 #178: Add redaction menu (disabled). 2022-09-14 13:18:04 +01:00
Doug
d46847f217 Add default values for timeline item properties. 2022-09-14 12:19:38 +01:00
Doug
255615aba4 Add timeline properties for edited and reactions.
Not yet visible, waiting for timeline API.
2022-09-14 12:19:38 +01:00
Doug
2b17c415fb Revert "Add redaction menu (disabled)."
This reverts commit 453408dbe9.
2022-09-14 09:44:15 +01:00
Doug
453408dbe9 Add redaction menu (disabled). 2022-09-14 09:40:00 +01:00
Stefan Ceriu
223dd45629 Fixes vector-im/element-x-ios/issues/117 - Event permalink timeline action
* moved NSRegularExpression outside of the AttributedString builder into the MatrixEntityRegex
* fixed eventId v3 regex
* added permalink builders for users, room identifiers and aliases, and events
* added timeline item permalink contextual menu actions and error alerts
* added an app wide ServiceLocator and moved the top level userIndicatorPresenter to it.
* added URL constructor that takes a StaticString and returns an non-optional
* Include Unit and UI tests in the swiftlint search paths
2022-09-12 21:34:53 +03:00
Stefan Ceriu
42d263eec0 Have Codecod ignore generated files 2022-09-07 17:21:41 +03:00
Doug
c619238a4a Add docs around Git LFS and include in Brewfile. 2022-09-06 13:37:19 +01:00
Doug
331ca5ccea Add missing/updated snapshots. 2022-09-06 13:31:28 +01:00
Doug
d62793403a #106: Add Analytics UI 2022-09-06 10:45:04 +01:00
Doug
eb21f72b22 #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
3e4b2442d0 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
a2fc70866f 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
c4822dd7fe Attempt fixing github workflows and prevent homebrew from updating ruby 2022-08-30 12:31:42 +03:00
Stefan Ceriu
750cb7c912 Fix incorrect integration test check 2022-08-23 09:41:13 +03:00
Stefan Ceriu
47b78385f0 Fix invalid XCTestMeasurementParserMetric 2022-08-23 09:10:15 +03:00
Stefan Ceriu
9ca68176d5 Allow integration tests to actually run every night 2022-08-22 11:48:12 +03:00
Stefan Ceriu
fa5435253f 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
702527aed6 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
09daf52750 #49, #123 - Setup UI integration and performance testing (#148) 2022-08-18 16:32:29 +03:00
Doug
f17d0c0cb1 Use a more robust detection for forks. (#160) 2022-08-12 14:45:56 +01:00
ismailgulek
fdbaa16c38 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
cecb132e7b 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
f20cf598a9 #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
6fa299fb30 Create pr-156.misc 2022-08-04 08:51:24 +01:00
Doug
0eb624ee4e Create PULL_REQUEST_TEMPLATE.md 2022-08-04 08:51:24 +01:00
Doug
91fc520a2e Run SwiftFormat as a prebuild script to fail early on CI. 2022-08-04 08:50:43 +01:00
Doug
a77f96478b 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
3cd4802cdd Rename x-nolink-0001.doc to pr-153.doc 2022-08-02 12:22:28 +01:00
vollkorntomate
405557983d 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
50c80f4727 Remove view background colors as they cause glitches on the navigation bar background 2022-07-28 18:16:43 +03:00
Doug
495726c787 Fix release lane. 2022-07-28 14:45:04 +01:00
Doug
d336cdda64 Prepare next release 2022-07-28 14:39:43 +01:00
Doug
19d92b452e #93: Add a sync limit of 20 and prefill rooms when loading the last message.
Update the SDK to 1.0.13-alpha.
2022-07-28 12:46:48 +01:00
Doug
653dc30b4a #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
b5bf60665f Setup tracing through the RustSDK (#146) 2022-07-27 16:06:40 +03:00
Doug
5a1b9463bc #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
9a56c95176 Exclude the ruby vendor folder from SwiftFormat 2022-07-25 14:48:24 +03:00
Stefan Ceriu
b4d9c92ebe Automatically bumping the app version and creating change commit for next release 2022-07-25 14:48:24 +03:00
Stefan Ceriu
4093d27459 Bump fastlane and dependencies 2022-07-25 14:48:24 +03:00
Stefan Ceriu
3d8d1bdd89 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
b83addc7b4 More tests 2022-07-25 14:48:15 +03:00
Stefan Ceriu
2fb3496c20 Re-enable animations to see if it fixes the tests 2022-07-25 14:48:15 +03:00
Stefan Ceriu
863f88500e Attempt fix for unreliable tests 2022-07-25 14:48:15 +03:00