Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7db579b
Adds display name system & nearest airport API
AussieScorcher Aug 10, 2025
8a35605
Rename 'Support' to 'Generation' in OpenAPI documentation and related…
AussieScorcher Aug 10, 2025
9381ddd
Refactor code structure for improved readability and maintainability
AussieScorcher Aug 10, 2025
1bc1f65
Update stopbar light positioning and state handling in BARS processing
AussieScorcher Aug 11, 2025
61caa27
Add GET_STATE and STATE_SNAPSHOT packet types; enhance state handling…
AussieScorcher Aug 11, 2025
9948c2f
Update BARS map endpoint to include package parameter and enhance con…
AussieScorcher Aug 11, 2025
9310a6e
Add XML sanitization for contribution submissions to enhance security
AussieScorcher Aug 12, 2025
b106ee9
Merge remote-tracking branch 'origin/main' into v2-improvements
AussieScorcher Aug 12, 2025
6571e1b
Add FAQ management endpoints and database schema
AussieScorcher Aug 12, 2025
25f87b4
Add installer releases management endpoints and database schema
AussieScorcher Aug 12, 2025
571e628
Add staff management endpoints and update release schema to include i…
AussieScorcher Aug 14, 2025
2d304bf
Refactor index.ts by removing commented-out code and unnecessary comm…
AussieScorcher Aug 14, 2025
f415633
Remove unused PostHogService import for cleaner code
AussieScorcher Aug 14, 2025
af44b91
Add contact form endpoints and service for message handling
AussieScorcher Aug 16, 2025
6df1544
Add endpoints for updating and deleting contact messages, and enhance…
AussieScorcher Aug 16, 2025
5f097e2
Update CORS middleware to allow PATCH method for enhanced API flexibi…
AussieScorcher Aug 17, 2025
7155ce4
Enhance product support in API and database schema by adding 'Install…
AussieScorcher Aug 17, 2025
060b876
chore: update openapi spec
openapi-bot Aug 19, 2025
514abf2
Merge branch 'main' into v2-improvements
AussieScorcher Aug 19, 2025
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
12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 🐛 Bug report
about: Report a problem or unexpected behavior
title: "[BUG] "
title: '[BUG] '
labels: ['bug']
assignees: []
---
Expand All @@ -11,6 +11,7 @@ A clear and concise description of what the bug is.

**How to reproduce**
Steps to reproduce the behavior (e.g.,):

1. Go to '...'
2. Click on '...'
3. Observe that '...' occurs
Expand All @@ -21,10 +22,11 @@ A clear and concise description of what you expected to happen.
**Screenshots or logs (if applicable)**
If applicable, add screenshots or copy/paste logs to help explain your problem.

**Environment (if relevant)**
- OS / Platform: [e.g. Windows 10, Ubuntu 20.04, macOS 11]
- Version (if applicable): [e.g. 1.2.3]
**Environment (if relevant)**

- OS / Platform: [e.g. Windows 10, Ubuntu 20.04, macOS 11]
- Version (if applicable): [e.g. 1.2.3]
- Additional info: [e.g. browser, plugin version, external dependency versions]

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: false
blank_issues_enabled: false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: ✨ Feature request
about: Suggest a new feature or enhancement
title: "[FEATURE] "
title: '[FEATURE] '
labels: ['enhancement']
assignees: []
---
Expand Down
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/task_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: ✅ Task / chore
about: A general task or chore (e.g., “update docs,” “refactor code”)
title: "[TASK] "
title: '[TASK] '
labels: ['task']
assignees: []
---
Expand All @@ -12,9 +12,10 @@ What needs to be done? Briefly describe the scope of the work.
**Why is this task needed?**
Explain why it’s important (e.g., “fixes a bug,” “improves performance,” “updates documentation”).

**Acceptance criteria**
- [ ] Criterion 1
- [ ] Criterion 2
**Acceptance criteria**

- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3 (if any)

**Additional notes**
Expand Down
17 changes: 10 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
## Summary
<!-- Provide a brief description of what this PR does -->

<!-- Provide a brief description of what this PR does -->

## Changes Made

<!-- List the main changes in this pull request -->
-
-
-

-
-
-

## Additional Information
<!-- Any other relevant information, screenshots, or context -->

<!-- Any other relevant information, screenshots, or context -->

## Author Information

**Discord Username:** <!-- Your Discord username (if different from GitHub) -->
**VATSIM CID:** <!-- Your VATSIM Controller ID -->

---

### Checklist:

* [ ] Have you followed the guidelines in our Contributing document?
* [ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
- [ ] Have you followed the guidelines in our Contributing document?
- [ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
18 changes: 9 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
open-pull-requests-limit: 5
- package-ecosystem: "cargo"
directory: "/"
- package-ecosystem: 'cargo'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
open-pull-requests-limit: 5
- package-ecosystem: "nuget"
directory: "/"
- package-ecosystem: 'nuget'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
open-pull-requests-limit: 5
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
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,
- 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
- 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
- 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,
- 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
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -129,4 +129,4 @@ For answers to common questions about this code of conduct, see the FAQ at
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
[translations]: https://www.contributor-covenant.org/translations
5 changes: 1 addition & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Thank you for your interest in contributing to BARS Core! This guide will help y

cd Core
```

<br>

2. **Install Dependencies**
Expand All @@ -37,19 +38,16 @@ Thank you for your interest in contributing to BARS Core! This guide will help y
**Set up Cloudflare configuration:**

The `wrangler.toml` file is already configured and safe to use as-is. For local testing, you'll need to:

1. Create your own D1 SQL database in the [Cloudflare Dashboard](https://dash.cloudflare.com) (Storage & Databases > D1 SQL)

<br>

2. Edit `wrangler.toml` and update the database configuration (see comments in the file):
- `account_id`: Your Cloudflare account ID (found in dash.cloudflare.com/your-id/home)
- `VATSIM_CLIENT_ID`: Your VATSIM Connect application client ID
- `database_name`: Your D1 database name (e.g., "bars-dev")
- `database_id`: Your D1 database ID (found in your database page)

<br>

3. Update `package.json` scripts to use your database name:
- Replace `bars-db` with your database name in the `update-db-local` and `update-db` scripts
- Example: `"update-db": "wrangler d1 execute bars-dev-example --remote --file schema.sql",`
Expand All @@ -72,7 +70,6 @@ Thank you for your interest in contributing to BARS Core! This guide will help y
<br>

Edit `.dev.vars` and add your API credentials:

- `VATSIM_CLIENT_SECRET`: Your VATSIM Connect application secret
- `AIRPORTDB_API_KEY`: Your [AirportDB](https://airportdb.io/) API key (optional for basic testing)

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
![GitHub License](https://img.shields.io/github/license/stopbars/Core)
[![Discord](https://img.shields.io/discord/1323993176318414889.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://stopbars.com/discord)


Core is the foundational backend infrastructure that powers BARS. This service provides comprehensive APIs, backend systems, and real-time capabilities for all BARS services & applications across the product suite.

<br>
Expand All @@ -31,4 +30,4 @@ If you find a bug or have a feature suggestion, please submit an issue [on our G

## Disclaimer

BARS is an **independent third-party** software project. **We are not affiliated** with, endorsed by, or connected to VATSIM, vatSys, Microsoft Flight Simulator, or any other simulation, controller client supported by our software.
BARS is an **independent third-party** software project. **We are not affiliated** with, endorsed by, or connected to VATSIM, vatSys, Microsoft Flight Simulator, or any other simulation, controller client supported by our software.
8 changes: 4 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

We actively maintain and apply security patches to the latest stable version of this project.

| Version | Supported |
|---------|--------------------|
| Latest | ✅ Yes |
| Older | ❌ No |
| Version | Supported |
| ------- | --------- |
| Latest | ✅ Yes |
| Older | ❌ No |

## Reporting a Vulnerability

Expand Down
Loading