Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantelis Giazitsis committed Jan 19, 2024
0 parents commit ae93b49
Show file tree
Hide file tree
Showing 850 changed files with 70,437 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/ask_a_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Ask a question
about: Ask a question about the app.
labels: question, needs-attention
assignees: ''

---

## **Your Question**

A clear and concise description of your question regarding the app.

### **Additional context**

Add any other context about the problem here.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug, needs-attention
assignees: ''

---

## **Describe the bug**

A clear and concise description of what the bug is.

### **How To Reproduce**

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### **Expected behavior**

A clear and concise description of what you expected to happen.

### **Screenshots**

If applicable, add screenshots to help explain your problem.

### **If Applicable: Smartphone (please complete the following information that are needed for this

bug):**

- Device: [e.g. iPhone 13 Pro Max]
- iOS Version [e.g. iOS 17.0.1]
- iOS App Version [e.g. 1.9.0], you can find it on the in-app Settings

### **Additional context**

Add any other context about the problem here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest a new feature for the iOS App
labels: needs-attention, enhancement
assignees: ''

---

### **Is your feature request related to a problem? Please describe.**

A clear and concise description of what the requested feature is.

### **Describe the solution you'd like**

A clear and concise description of what you want to happen.

### **Describe alternatives you've considered**

A clear and concise description of any alternative solutions you've considered.

### **Additional context**

Add any other context or screenshots about the feature request here.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## **Why?**
A clear and concise description of what is this PR about.
### **How?**
A clear and concise description of how you managed to tackle the issue.
### **Testing**
Describe the testing process or steps taken to verify the changes made in this pull request.
### **Screenshots (if applicable)**
If your changes include visual updates, please provide screenshots or gifs.
### **Additional context**
Add any other context about the PR here.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Xcode Project
**/*.xcodeproj/xcuserdata/
**/*.xcworkspace/xcuserdata/
**/.swiftpm/xcode/xcuserdata/
**/*.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
**/*.xcworkspace/xcshareddata/*.xccheckout
**/*.xcworkspace/xcshareddata/*.xcscmblueprint
**/*.playground/**/timeline.xctimeline
.idea/

# Build
Scripts/build/
build/
DerivedData/
*.ipa

# CSV
*.orig
.svn

# Other
*~
.DS_Store
*.swp
*.save
._*
*.bak
BuildTools/.build/*
BuildTools/.build
BuildTools/.swiftpm
*.xcconfig
*GoogleService-Info.plist
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.0.0
38 changes: 38 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
disabled_rules:
- void_function_in_ternary
- vertical_parameter_alignment
trailing_whitespace:
ignores_empty_lines: true
line_length: 180
file_length:
warning: 500
error: 700
type_name:
allowed_symbols: "_"
min_length: 3 # only warning
max_length: # warning and error
warning: 40
error: 50
identifier_name:
min_length: 2
allowed_symbols: "_"
switch_case_alignment:
indented_cases: true
function_body_length:
error: 150
cyclomatic_complexity:
ignores_case_statements: true
nesting:
type_level:
warning: 2
force_try:
severity: warning
force_cast:
severity: warning
large_tuple:
warning: 3
error: 4
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
- R.generated.swift
- .build # Where Swift Package Manager checks out dependency sources
1 change: 1 addition & 0 deletions BuildTools/Empty.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions BuildTools/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// swift-tools-version:5.1
import PackageDescription

let package = Package(
name: "BuildTools",
platforms: [.macOS(.v10_11)],
dependencies: [
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.49.0"),
],
targets: [.target(name: "BuildTools", path: "")]
)
69 changes: 69 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is
officially representing the community in public spaces. Examples of representing our community
include using an official e-mail address, posting via an official social media account, or acting as
an appointed representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at
support@weatherxm.com.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Loading

0 comments on commit ae93b49

Please sign in to comment.