-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update core for next.js migration (#4)
* update jwt tokens for next auth * update user statistics schema for heatmap * update resources app * fix return code for delete endpoints * return all loa requests in admin * add query param to audit log * separate event positions by level * remove default profile generation * add requested fields to support request * store event scores in database * add staff flag to statistics endpoint * ruff linting + formatting * updated event editing responses * enable console emails for development * update return code for presets * gcap endorsements * feat: quarterly controlling hours * feat: sync visiting roster * fix: wrong function call * ruff fmt * update to django 5.0 * updated statistics aggregation * scheduled session count * replace all emails with vatusa links * changes for new loa management pages * remove obsolete envs * remove old workflow * ruff workflow * set up postgresql config * fix lint errors * went through fixing small things i found * more fixes * fix signal registration
- Loading branch information
Showing
140 changed files
with
2,066 additions
and
1,433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
DEV_ENV = | ||
ALLOWED_HOSTS = | ||
SECRET_KEY = | ||
SENTRY_DSN = | ||
DEV_ENV= | ||
ALLOWED_HOSTS= | ||
SECRET_KEY= | ||
SENTRY_DSN= | ||
|
||
STATIC_ROOT = | ||
MEDIA_ROOT = | ||
STATIC_ROOT= | ||
MEDIA_ROOT= | ||
|
||
VATSIM_CONNECT_CLIENT_ID = | ||
VATSIM_CONNECT_CLIENT_SECRET = | ||
VATSIM_CONNECT_REDIRECT_URI = | ||
DB_HOST= | ||
DB_PORT= | ||
DB_NAME= | ||
DB_USER= | ||
DB_PASSWORD= | ||
|
||
VATUSA_API_TOKEN = | ||
AVWX_API_TOKEN = | ||
EMAIL_HOST= | ||
EMAIL_PORT= | ||
EMAIL_HOST_USER= | ||
EMAIL_HOST_PASSWORD= | ||
EMAIL_USE_TLS= | ||
EMAIL_ADDRESS= | ||
|
||
FACILITY_NAME = | ||
FACILITY_IATA = | ||
MAVP_FACILTIY_IATA = | ||
POSITION_PREFIXES = | ||
VATSIM_CONNECT_CLIENT_ID= | ||
VATSIM_CONNECT_CLIENT_SECRET= | ||
VATSIM_CONNECT_REDIRECT_URI= | ||
|
||
EMAIL_HOST = | ||
EMAIL_PORT = | ||
EMAIL_HOST_USER = | ||
EMAIL_HOST_PASSWORD = | ||
EMAIL_USE_TLS = | ||
EMAIL_ADDRESS = | ||
VATUSA_API_TOKEN= | ||
AVWX_API_TOKEN= | ||
|
||
EVENTS_WEBHOOK_URL = | ||
POSITION_PREFIXES= | ||
|
||
EVENTS_WEBHOOK_URL= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Ruff | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
ruff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: chartboost/ruff-action@v1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM python:3.10-alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt /app | ||
RUN --mount=type=cache,target=/root/.cache/pip \ | ||
pip3 install -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.