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
ismailgulek
83a25d5501
Flatten room list ( #121 )
...
* #121 Flatten the room list
* #121 Add changelog
* #121 UI tweaks for avatar and display name and preview
* #121 Make avatar and label one button
2022-06-30 12:56:36 +03:00
Doug
baeffd2121
#40 : Add server selection screen from EI.
2022-06-30 10:49:00 +01:00
Anderas
dd739d4766
Implement new ClientBuilder pattern for login ( #120 )
...
* Implement new ClientBuilder pattern for login
* Add changelog
2022-06-30 08:10:59 +01:00
ismailgulek
7bd4763662
Add localizations to UI tests target ( #118 )
2022-06-29 18:32:14 +03:00
ismailgulek
dbee1924eb
Background execution ( #100 )
...
* #99 Implement background tasks
* #99 Add changelog
* #99 Fix some code smells
* #99 Use background tasks in room timeline controller
* #99 Move background task service into room proxy and media provider
2022-06-29 13:03:28 +03:00
Doug
d74158ced1
#40 : Add the login screen from EI.
...
- Remove SSO and replace fallback with OIDC.
2022-06-28 12:23:35 +01:00
ismailgulek
cc14f1f567
Towncrier fixes ( #97 )
2022-06-27 20:41:00 +03:00
ismailgulek
36c34503fc
Plain timeline styler ( #94 )
...
* #92 Create `TimelineStyle` and store it in user defaults
* #92 Create `TimelineStyler` observable environment object
* #92 Use timeline list row insets from the styler
* #92 remove sender view, move header into the styler views
* #92 Add timeline style option in settings
* #92 Add changelog
* #92 refactor some code duplications
* #92 Fix `TimelineStyle`targets
* #92 Fix `TimelineStyle` targets
* #92 Fix PR remarks
* #92 Fix inline PR comments
* #92 Fix UI tests
* #92 Rename bubbled to bubbles
2022-06-27 13:27:09 +03:00
ismailgulek
b6b8b4be26
Room screen: timeline message bubbles ( #91 )
...
* #34 Create `TimelineItemStylerView`
* #34 Add styler view into different type of cells
* #34 Use placeholder avatar image on room list
* #34 Add `isOutgoing` param to event based timeline item
* #34 Compute `isOutgoing` for timeline items
* #34 Update sender info view in timeline
* #34 Update mock timeline items
* #34 Rename `EventBasedTimelineView` to `EventBasedTimelineSenderView`
* #34 Change padding on timeline cells
* #34 Create `TimelineItemStylerView` to move content into a bubble if needed
* #34 Use styler view in all of the timeline item views
* #34 Make timestamp more readable on images
* #34 Little layout tweaks
* #34 Add changelog
* #34 Fix code smells
* #34 Set text colors on timeline items
* #34 Fix background color of the timeline
* #34 Fix PR remarks
* #34 Set background colors explicitly on remaining screens
* #34 Reduce min bubble width and make it a scaled metric
* #34 Refactor `PlaceholderAvatarImage` to accept a text only
* #34 Fix code smell
* #34 Fix further comments
2022-06-23 14:54:29 +03:00