Skip to content

Commit

Permalink
Sync develop branch with main (#491)
Browse files Browse the repository at this point in the history
* Bump version to 4.2.0

* Update sample CocoaPods projects

* Move Checkout.podspec

* Remove Carthage references from README

* Update pods on CI

* Fix the recommended usage in  README

* Rename PaymentViewController

* Fix a failing test

* Add CodeQL GitHub Actions workflow

* Fix Checkout tests

* Bump version to 4.2.1

* Update sample project versions to exact versions

* Add workflow

* Remove PR checks from Bitrise in favour of GitHub Actions

* Add regression tests workflow

* Update snapshots

* PIMOB-XXXX: Using recommended resource_bundles in podspec to fix static linking (#452)

Co-authored-by: Ehab Alsharkawy <[email protected]>

* Add checkout logo (#462)

* Remove regression tests from bitrise.yml (#463)

* Add codeowners file (#464)

* PIMOB-2041 Add app store validation (#465)

This allows us to see if we cause any disruptions
by our SDK that will prevent our merchants' builds
to be uploaded to App Store successfully

* Remove bitrise.yml since we now use GitHub Actions (#466)

* Update README.md (#460)

* Update README (#467)

* Add workflows to publish Checkout and Frames pods (#468)

* Add SwiftLint as a blocker pre-check for all the other checks (#469)

SwiftLint comes pre-installed on runner images of GitHub.
SwiftLint will run before all the other checks.
If SwiftLint fails, then all the other checks don't run.
SwiftLint only runs for the new files to avoid a big PR.
It also parses errors and warnings for the new files and shows them on GitHub UI.

* Fix the fixable SwiftLint issues (#471)

* Fix the fixable SwiftLint issues

* Remove --strict flag from SwiftLint step under check-pr workflow

* Produce a line length linter error after 210 characters

* Move some folders around and update README (#473)

Move some folders around and update README

* Add lint edited files script (#475)

* Create deploy-github-pages.yml (#476)

* Create deploy-github-pages.yml

* Rename the workflow

* Add generate-jazzy-docs.yml (#474)

* Add only docs diff (#478)

* Update jazzy docs (#477)

* Remove docs from root folder (#479)

* Update SnapshotTesting framework version (#480)

We needed to define an exact version since they stopped supporting iOS 12
in a minor version release. This broke our CI/CD pipeline.

* Trigger regression and validation workflows via labels (#481)

* Update the PR template (#483)

* Feature/partial readmes (#482)

* Create sub README files

* Set README refs to main branch

* Update jazzy docs (#484)

Co-authored-by: runner <[email protected]>

* Update README (#488)

---------

Co-authored-by: cko-developer-portal[bot] <89167155+cko-developer-portal[bot]@users.noreply.github.com>
Co-authored-by: bartlomiejswierad-vodeno <[email protected]>
Co-authored-by: Ehab Alsharkawy <[email protected]>
Co-authored-by: runner <[email protected]>
  • Loading branch information
5 people authored Oct 26, 2023
1 parent b99570e commit 76d9940
Show file tree
Hide file tree
Showing 402 changed files with 6,192 additions and 6,773 deletions.
5 changes: 0 additions & 5 deletions .codebeatignore

This file was deleted.

28 changes: 28 additions & 0 deletions CHANGELOG.md → .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.

#### 4.x Releases

## [4.2.1](https://github.com/checkout/frames-ios/releases/tag/4.2.1)

Released on 2023-08-25

Updates:

- Renames the internal data type PaymentViewController to FramesPaymentViewController. No breaking changes.

## [4.2.0](https://github.com/checkout/frames-ios/releases/tag/4.2.0)

Released on 2023-08-15

Updates:

- Structural non-breaking changes to the project
- Carthage support and sample projects are removed
- Sample projects for SPM and Cocoapods are removed from the SPM distribution
- Automated regression tests and snapshot tests are added


## [4.1.1](https://github.com/checkout/frames-ios/releases/tag/4.1.1)

Released on 2023-08-10

Updates:

- Fixes an error that validates expiry date when the date input is in the same year but on a previous month

## [4.1.0](https://github.com/checkout/frames-ios/releases/tag/4.1.0)

Released on 2023-06-27
Expand Down
2 changes: 2 additions & 0 deletions .github/CODEOWNERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The iOS mobile team owns and maintains this project.
* @checkout/mobile-ios
File renamed without changes.
24 changes: 15 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
## Issue

_Issue ticket number and link._

## Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
_Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue._

## Types of changes
## Test Steps

What types of changes does your code introduce to Frames Ios?
_Put an `x` in the boxes that apply_
_If there's any functionality change, please list a step by step guide of how to verify the changes, and/or upload a screen recording for any visible changes._

* [ ] Bugfix (non-breaking change which fixes an issue)
* [ ] New feature (non-breaking change which adds functionality)
* [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
> For instance:
> 1. Go to the main screen
> 2. Tap on primary button
> 3. Verify the image is shown on the screen
## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._

* [ ] Reviewers assigned
* [ ] I have performed a self-review of my code and manual testing
* [ ] Lint and unit tests pass locally with my changes
* [ ] I have added tests that prove my fix is effective or that my feature works
* [ ] I have added necessary documentation (if appropriate)
* [ ] I have added necessary documentation (if applicable)

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
_If this is a relatively large or complex change, kick off the discussion by explaining why you choose the solution you did and what alternatives you considered, etc..._
30 changes: 15 additions & 15 deletions docs/Classes.html → .github/docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<header class="header">
<p class="header-col header-col--primary">
<a class="header-link" href="index.html">
Frames 4.1.0 Docs
Frames 4.2.1 Docs
</a>
(23% documented)
</p>
Expand Down Expand Up @@ -545,7 +545,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/Core/CheckoutAPIService.swift#L19-L38">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/Core/CheckoutAPIService.swift#L19-L38">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -577,7 +577,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/3DS/ThreedsWebViewController.swift#L7-L82">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/3DS/ThreedsWebViewController.swift#L7-L82">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -608,7 +608,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/CommonUI/View/Core/SecureDisplayView.swift#L14-L102">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/CommonUI/View/Core/SecureDisplayView.swift#L14-L102">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -642,7 +642,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/CountrySelection/CountrySelectionViewController.swift#L5-L152">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/CountrySelection/CountrySelectionViewController.swift#L5-L152">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -673,7 +673,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/PaymentForm/Default Implementation/BillingFormSummary/Summary/Button/DefaultAddBillingDetailsButtonStyle.swift#L3-L55">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/PaymentForm/Default Implementation/BillingFormSummary/Summary/Button/DefaultAddBillingDetailsButtonStyle.swift#L3-L55">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -704,7 +704,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/PaymentForm/Default Implementation/BillingFormSummary/Summary/Button/DefaultEditBillingDetailsButtonStyle.swift#L3-L55">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/PaymentForm/Default Implementation/BillingFormSummary/Summary/Button/DefaultEditBillingDetailsButtonStyle.swift#L3-L55">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -734,7 +734,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/PaymentForm/View/PaymentHeaderView.swift#L12-L88">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/PaymentForm/View/PaymentHeaderView.swift#L12-L88">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -764,7 +764,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Source/UI/PaymentForm/View/SecurityCodeView.swift#L15-L58">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/iOS Example Frame/Pods/Frames/Source/UI/PaymentForm/View/SecurityCodeView.swift#L15-L58">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -796,7 +796,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Checkout/Source/3DSHandling/ThreeDSWKNavigationHelper.swift#L16-L36">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Samples/CocoapodsSample/Pods/Checkout/Checkout/Source/3DSHandling/ThreeDSWKNavigationHelper.swift#L16-L36">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -826,7 +826,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Checkout/Source/Tokenisation/CheckoutAPIService.swift#L17-L172">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Samples/CocoapodsSample/Pods/Checkout/Checkout/Source/Tokenisation/CheckoutAPIService.swift#L17-L172">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -857,7 +857,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Checkout/Source/Validation/Validators/CardValidator.swift#L22-L277">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Samples/CocoapodsSample/Pods/Checkout/Checkout/Source/Validation/Validators/CardValidator.swift#L22-L277">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -887,7 +887,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Checkout/Source/Validation/Validators/PhoneValidator.swift#L16-L34">Show on GitHub</a>
<a href="https://github.com/checkout/frames-ios/tree/main/Checkout/Samples/CocoapodsSample/Pods/Checkout/Checkout/Source/Validation/Validators/PhoneValidator.swift#L16-L34">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -900,8 +900,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2023 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external noopener">Checkout.com</a>. All rights reserved. (Last updated: 2023-07-03)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="noopener" rel="external">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="noopener" rel="external">Realm</a> project.</p>
<p>&copy; 2023 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external noopener">Checkout.com</a>. All rights reserved. (Last updated: 2023-09-21)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="noopener" rel="external">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="noopener" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Loading

0 comments on commit 76d9940

Please sign in to comment.