Skip to content

Commit a50bc7c

Browse files
committed
Merge branch 'dev' into feat/api-delete-sensor-data
2 parents 153e83a + ab93e64 commit a50bc7c

File tree

120 files changed

+34377
-31236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+34377
-31236
lines changed

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ MYBADGES_SERVERADMIN_USERNAME = ""
2424
MYBADGES_SERVERADMIN_PASSWORD = ""
2525
MYBADGES_ISSUERID_OSEM = ""
2626
MYBADGES_CLIENT_ID = ""
27-
MYBADGES_CLIENT_SECRET = ""
27+
MYBADGES_CLIENT_SECRET = ""
28+
29+
SMTP_HOST = "localhost"
30+
SMTP_PORT = "1025"
31+
SMTP_SECURE = "false"
32+
SMTP_USERNAME = "ignored"
33+
SMTP_PASSWORD = "ignored"

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: ['https://www.betterplace.org/en/projects/89947-opensensemap-org-the-free-map-for-environmental-data'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
name: Bug Report
2+
description: Report a problem you are facing
3+
labels: ['bug']
4+
assignees: []
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for helping to improve openSenseMap! Please fill out the sections below. They help us to track down the issuer faster.
11+
12+
- type: checkboxes
13+
id: checklist
14+
attributes:
15+
label: Before You Proceed
16+
description: Please verify these items before submitting.
17+
options:
18+
- label: I have cleared my browsers cache and the issue still remains
19+
- label: I have tried a different browser to see if it is related
20+
- label: I have searched existing issues to avoid duplicates
21+
validations:
22+
required: false
23+
24+
- type: textarea
25+
id: description
26+
attributes:
27+
label: Description
28+
description:
29+
Please give us a detailed description of the issue you are seeing.
30+
Screenshots and videos help as well.
31+
placeholder: |
32+
What went wrong and where? Can you provide screenshots?
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected-behavior
38+
attributes:
39+
label: Expected Behavior
40+
description: What should have happened?
41+
placeholder: |
42+
Please describe the correct/desired outcome.
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: steps-to-reproduce
48+
attributes:
49+
label: Steps to reproduce
50+
description: Please provide a list of actions to trigger the bug.
51+
placeholder: |
52+
1. ...
53+
2. ...
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: environment
59+
attributes:
60+
label: Environment
61+
description: OS, browser, version, and any relevant extensions or plugins.
62+
placeholder: |
63+
e.g., Windows 11, Chrome 119.0.6045.105, no extensions
64+
validations:
65+
required: true
66+
67+
- type: textarea
68+
id: console-logs
69+
attributes:
70+
label: Console Output
71+
description:
72+
If you come across any error logs, e.g., in your browser console please
73+
provide them here.
74+
render: shell
75+
validations:
76+
required: false
77+
78+
- type: textarea
79+
id: workaround
80+
attributes:
81+
label: Workaround
82+
description: Did you find a workaround?
83+
validations:
84+
required: false
85+
86+
- type: textarea
87+
id: additional-info
88+
attributes:
89+
label: Additional Information
90+
description: Anything else that might help us investigate.
91+
validations:
92+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blank_issues_enabled: true
2+
contact_links: []

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Feature Request
2+
description: Suggest a new feature or improvement
3+
labels: ['enhancement']
4+
assignees: []
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for your interest in openSenseMap! Please fill out the sections below – clear requests make it easier for the team to evaluate and implement them!
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description:
17+
Summarize what you would like to be implemented. Focus on what this
18+
does, over the why you want it.
19+
placeholder: |
20+
A brief overview of the requested functionality.
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: use-case
26+
attributes:
27+
label: Use case
28+
description:
29+
Explain the scenario or workflow that would benefit from this feature.
30+
placeholder: |
31+
Describe who would use it and how it improves their experience.
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: implementation-ideas
37+
attributes:
38+
label: Implementation ideas (optional)
39+
description:
40+
If you already have an idea on how to implement this, this is the place
41+
to put your thoughts.
42+
placeholder: |
43+
Possible approaches, libraries, or design considerations.
44+
validations:
45+
required: false
46+
47+
- type: textarea
48+
id: additional-info
49+
attributes:
50+
label: Additional information (optional)
51+
description:
52+
Any other details, mockups, or links that help illustrate the request.
53+
validations:
54+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
THANK YOU FOR CONTRIBUTING!
3+
-->
4+
5+
## Type of Change
6+
7+
<!--
8+
Try sticking to one type of change per pull request for easier and faster code reviews.
9+
Just put an x between the [] to check the box.
10+
-->
11+
12+
- [ ] Dependency upgrade
13+
- [ ] Bug fix (non-breaking change)
14+
- [ ] Breaking change
15+
- e.g. a fixed bug or new feature that may break something else
16+
- [ ] New feature
17+
- [ ] Code quality improvements
18+
- e.g. refactoring, documentation, tests, tooling, ...
19+
20+
## Implementation
21+
22+
<!--
23+
What did you change and why? How does it work?
24+
Are there any trade-offs or limitations?
25+
-->
26+
27+
## Checklist
28+
29+
- [ ] I gave this pull request a meaningful title
30+
- [ ] My pull request is targeting the `dev` branch
31+
- [ ] I have added documentation to my code
32+
- [ ] I have deleted code that I have commented out
33+
34+
## Additional Information
35+
36+
<!--
37+
Please link any additional issue, discussion or pull request here.
38+
This helps us to keep everything tidy and managable.
39+
-->
40+
41+
- This PR closes #

.github/workflows/deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: ⬇️ Checkout repo
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: ⎔ Setup node
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
2828
with:
2929
cache: npm
3030
cache-dependency-path: ./package.json
@@ -41,10 +41,10 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: ⬇️ Checkout repo
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4545

4646
- name: ⎔ Setup node
47-
uses: actions/setup-node@v4
47+
uses: actions/setup-node@v6
4848
with:
4949
cache: npm
5050
cache-dependency-path: ./package.json
@@ -61,13 +61,13 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- name: ⬇️ Checkout repo
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v5
6565

6666
- name: 🏄 Copy test env vars
6767
run: cp .env.example .env
6868

6969
- name: ⎔ Setup node
70-
uses: actions/setup-node@v4
70+
uses: actions/setup-node@v6
7171
with:
7272
cache: npm
7373
cache-dependency-path: ./package.json
@@ -109,7 +109,7 @@ jobs:
109109
runs-on: ubuntu-latest
110110
steps:
111111
- name: ⬇️ Checkout repo
112-
uses: actions/checkout@v4
112+
uses: actions/checkout@v5
113113

114114
- name: 🐳 Set up Docker Buildx
115115
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)