Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6a6333e
Add migration guide [SDK-3393] (#127)
Widcket Jun 2, 2022
b7f6dbf
Remove license header from source files [SDK-3389] (#126)
Widcket Jun 2, 2022
99b17e8
Update year in license file (#128)
Widcket Jun 2, 2022
58c0ade
Add `.swiftpm` directory to `.gitignore` (#131)
Widcket Jun 4, 2022
4cb80a1
Add CONTRIBUTING.md (#130)
Widcket Jun 4, 2022
0d69f70
Drop old platform versions [SDK-3387] (#129)
Widcket Jun 6, 2022
504240e
Update README [SDK-3416] (#135)
Widcket Jun 8, 2022
ca0d24e
Remove deprecated method [SDK-3413] (#132)
Widcket Jun 8, 2022
d45ee08
Remove usage of deprecated properties [SDK-3414] (#133)
Widcket Jun 8, 2022
267e9d8
Add support policy [SDK-3420] (#138)
Widcket Jun 9, 2022
07ea82c
Fix typo in property name (#137)
Widcket Jun 9, 2022
4eec4de
Remove obsolete functionality [SDK-3419] (#136)
Widcket Jun 9, 2022
e0c45a7
[SDK-3434] Update issues templates (#140)
Jun 16, 2022
ad06e91
Migrate to Swift [SDK-3428] (#139)
Widcket Jun 16, 2022
2ece71b
Drop support for old Swift versions [SDK-3444] (#141)
Widcket Jun 16, 2022
5545060
Add missing unit tests (#142)
Widcket Jun 17, 2022
15b60b5
Apply recommended Xcode 14 settings (#143)
Widcket Jun 20, 2022
c211cab
[SDK-3450] API Documentation Generation (#144)
Jun 22, 2022
6cdf613
Add generated API documentation to repo (#145)
Jun 22, 2022
e3bb9fa
Add support for iCloud synchronization (#146)
Widcket Jun 22, 2022
2c8577f
Add unit tests for queries (#147)
Widcket Jun 23, 2022
ae521a7
Improve API docs generation (#148)
Widcket Jun 23, 2022
370da2e
Fix typos in tests (#149)
Widcket Jun 23, 2022
c9343de
Make `context` parameter optional (#151)
Widcket Jun 24, 2022
0589a8a
Re-generate API docs (#152)
Widcket Jun 24, 2022
2b5cc3e
Complete README and Migration Guide [SDK-3397] (#150)
Widcket Jun 24, 2022
5c15609
Add support for custom attributes (#153)
Widcket Jun 24, 2022
7523377
Replace OSX with macOS in schemes and targets (#154)
Widcket Jun 24, 2022
e452618
Release 1.0.0-fa.0 (#155)
Widcket Jun 24, 2022
a066671
Add fa to Podspec version (#156)
Widcket Jun 24, 2022
c7bda30
Fix 'access group' capitalization (#158)
Widcket Jun 29, 2022
235af9c
Update API docs (#159)
Widcket Jun 29, 2022
88fda7b
Use Codecov orb (#161)
Widcket Jul 6, 2022
d6adf7d
Create .semgrepignore
Jul 7, 2022
8f85e06
Add placeholders to issue forms (#162)
Widcket Jul 12, 2022
d4a5203
Update README for GA [SDK-3500] (#163)
Widcket Jul 18, 2022
ab90fc6
Merge `master` into `fa` (#164)
Widcket Jul 19, 2022
584ca4a
Merge branch 'master' into merge-fa
Widcket Jul 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
codecov: codecov/codecov@3

executors:
macos-executor:
parameters:
Expand Down Expand Up @@ -59,8 +62,10 @@ commands:
name: Run iOS tests
command: bundle exec fastlane ios ci
- run:
name: Upload coverage report
command: bash <(curl -s https://codecov.io/bash) -J '<< parameters.scheme >>'
name: Generate coverage report
command: bundle exec slather coverage -x --output-directory output --arch x86_64 --scheme << parameters.scheme >>-iOS << parameters.scheme >>.xcodeproj
- codecov/upload:
file: output/cobertura.xml
- run:
name: Run pod lib lint
command: bundle exec fastlane ios pod_lint
Expand All @@ -76,7 +81,7 @@ commands:
- run:
name: Run macOS tests
command: |
xcodebuild test -scheme << parameters.scheme >>-OSX -destination 'platform=macOS,arch=x86_64' | xcpretty
xcodebuild test -scheme << parameters.scheme >>-macOS -destination 'platform=macOS,arch=x86_64' | xcpretty
swift test
test-tvos:
parameters:
Expand Down Expand Up @@ -126,8 +131,8 @@ workflows:
build:
jobs:
- build-and-test:
scheme: "SimpleKeychain"
scheme: SimpleKeychain
matrix:
parameters:
platform: ["ios", "macos", "tvos"]
xcode: ["13.0.0", "12.5.1"]
platform: [ios, macos, tvos]
xcode: ["13.0.0"]
84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug Report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: 🐞 Report a bug
description: Have you found a bug or issue? Create a bug report for this library

body:
- type: markdown
attributes:
value: |
**Please do not report security vulnerabilities here**. The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.

- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have looked into the [README](https://github.com/auth0/SimpleKeychain#readme) and have not found a suitable solution or answer.
required: true
- label: I have searched the [issues](https://github.com/auth0/SimpleKeychain/issues) and have not found a suitable solution or answer.
required: true
- label: I have searched the [Auth0 Community](https://community.auth0.com/tags/c/sdks/5/ios) forums and have not found a suitable solution or answer.
required: true
- label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
required: true

- type: textarea
id: description
attributes:
label: Description
description: Provide a clear and concise description of the issue, including what you expected to happen.
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent.
placeholder: |
1. Step 1...
2. Step 2...
3. ...
validations:
required: true

- type: input
id: environment-version
attributes:
label: SimpleKeychain version
validations:
required: true

- type: dropdown
id: environment-platform
attributes:
label: Platform
multiple: true
options:
- iOS
- macOS
- tvOS
- watchOS
validations:
required: true

- type: input
id: environment-platform-version
attributes:
label: Platform version(s)
validations:
required: true

- type: input
id: environment-xcode-version
attributes:
label: Xcode version
validations:
required: true

- type: input
id: environment-package-manager
attributes:
label: Package manager
placeholder: SPM, Cocoapods, Carthage, etc.
validations:
required: true
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature Request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: 🧩 Feature request
description: Suggest an idea or a feature for this library
labels: ["feature request"]

body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have looked into the [README](https://github.com/auth0/SimpleKeychain#readme) and have not found a suitable solution or answer.
required: true
- label: I have searched the [issues](https://github.com/auth0/SimpleKeychain/issues) and have not found a suitable solution or answer.
required: true
- label: I have searched the [Auth0 Community](https://community.auth0.com/tags/c/sdks/5/ios) forums and have not found a suitable solution or answer.
required: true
- label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
required: true

- type: textarea
id: description
attributes:
label: Describe the problem you'd like to have solved
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when...
validations:
required: true

- type: textarea
id: ideal-solution
attributes:
label: Describe the ideal solution
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives-and-workarounds
attributes:
label: Alternatives and current workarounds
description: A clear and concise description of any alternatives you've considered or any workarounds that are currently in place.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Auth0 Community
- name: 🤔 Help & Questions
url: https://community.auth0.com/tags/c/sdks/5/ios
about: Discuss this library in the Auth0 Community forums
about: Ask general support or usage questions in the Auth0 Community forums
- name: 🚀 Usage
url: https://github.com/auth0/SimpleKeychain#usage
about: Check the Usage section of the README to get up to speed with SimpleKeychain
- name: 📖 API Documentation
url: https://auth0.github.io/SimpleKeychain/
about: Check the public API documentation for in-depth overview of all the available features
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/report-a-bug.md

This file was deleted.

50 changes: 28 additions & 22 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
### Changes
<!--
❗ For general support or usage questions, use the Auth0 Community forums or raise a support ticket.

Please describe both what is changing and why this is important. Include:
By submitting a Pull Request to this repository, you agree to the terms within the Auth0 Code of Conduct: https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md.
-->

- Endpoints added, deleted, deprecated, or changed
- Classes and methods added, deleted, deprecated, or changed
- Screenshots of new or changed UI, if applicable
- A summary of usage if this is a new feature or change to a public API (this should also be added to relevant documentation once released)
- Any alternative designs or architectures considered
- [ ] All new/changed/fixed functionality is covered by tests (or N/A)
- [ ] I have added documentation for all new/changed functionality (or N/A)

### References
<!--
❗ All the above items are required. Pull Requests with an incomplete or missing checklist will be unceremoniously closed.
-->

Please include relevant links supporting this change such as a:
### 📋 Changes

- support ticket
- community post
- StackOverflow post
- support forum thread
<!--
Describe both what is changing and why this is important. Include:

### Testing
- Types and methods added, deleted, deprecated, or changed
- A summary of usage if this is a new feature or a change to a public API
-->

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If helpful, please include manual testing steps as well.
### 📎 References

[ ] This change adds unit test coverage (or why not)
<!--
Add relevant links supporting this change, such as:

[ ] This change has been tested on the latest version of the platform/language or why not
- GitHub issue/PR number addressed or fixed
- Auth0 Community post
- StackOverflow answer
- Related pull requests/issues from other repositories

### Checklist
If there are no references, simply delete this section.
-->

[ ] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
### 🎯 Testing

[ ] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)

[ ] All existing and new tests complete without errors
<!--
Describe how this can be tested by reviewers. Be specific about anything not tested and why. Include any manual steps for testing end-to-end, or for testing functionality not covered by unit tests.
-->
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ fastlane/report.xml
fastlane/screenshots/

#SwiftPM
.build
Package.resolved
.swiftpm/
.build/
Package.resolved

# DocC
docs.archive/
2 changes: 2 additions & 0 deletions .semgrepignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docs/
SimpleKeychainTests/
12 changes: 6 additions & 6 deletions .shiprc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"SimpleKeychain/Info.plist": [],
"SimpleKeychain.podspec": []
},
"postbump": "bundle update",
"prefixVersion": false
"files": {
"SimpleKeychain/Info.plist": [],
"SimpleKeychain.podspec": []
},
"postbump": "bundle update && bundle exec fastlane ios build_docs",
"prefixVersion": false
}
23 changes: 23 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
opt_in_rules: # some rules are only opt-in
- empty_count
# Find all the available rules by running:
# swiftlint rules
included: # paths to include during linting. `--path` is ignored if present.
- SimpleKeychain
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
# configurable rules can be customized from this configuration file
# rules that have both warning and error levels, can set just the warning level
# implicitly
line_length: 500
# they can set both implicitly with an array
type_body_length:
- 300 # warning
- 400 # error
type_name:
min_length: 3 # only warning
identifier_name:
min_length: # only min_length
warning: 3 # only error
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit)
7 changes: 0 additions & 7 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

This file was deleted.

Loading