Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial web api #41

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
672eee4
WIP
kekonn Jan 23, 2024
655eec8
Update dependencies and remove toolchain specification
kekonn Mar 19, 2024
bcff84b
chore: update cargo dist
kekonn Mar 19, 2024
cadd454
chore: Dependency updates (#29)
kekonn Jan 30, 2024
e274628
chore: Release
kekonn Jan 30, 2024
09a1e57
Dependency updates (#31)
kekonn Mar 19, 2024
9ce7075
Update changelogs (#33)
kekonn Mar 20, 2024
f24ebc7
chore: Release
kekonn Mar 20, 2024
d39d5e6
change trigger for docker build
kekonn Mar 20, 2024
e22011d
WIP
kekonn Jan 23, 2024
b95a519
Update dependencies and remove toolchain specification
kekonn Mar 19, 2024
98c0e72
Dependency updates (#31)
kekonn Mar 19, 2024
e5b4d8f
Merge remote-tracking branch 'origin/feature/web-api' into feature/we…
kekonn Mar 31, 2024
4419229
Convert any error to api error in healthcheck
kekonn May 22, 2024
c405ef5
Update .gitignore to ignore .data
kekonn May 23, 2024
695318b
WIP
kekonn Aug 28, 2024
c73a5db
Revert "WIP"
kekonn Oct 17, 2024
d662774
Regenerate cargo.lock
kekonn Oct 17, 2024
c6e80e5
Update dependencies
kekonn Oct 29, 2024
5e31562
Fix typo in log statement, add tracing to db::setup
kekonn Oct 29, 2024
b9369dd
Introduce fercord_common for common configuration
kekonn Oct 30, 2024
d5a8c29
Add justfile
kekonn Oct 30, 2024
c12092c
Format
kekonn Oct 30, 2024
a53cdd4
Discord oauth
kekonn Oct 30, 2024
23051c4
API docs and Identify are working
kekonn Nov 7, 2024
48c4eaf
Add /logout
kekonn Nov 14, 2024
9eee838
Add Discord token refresh
kekonn Nov 14, 2024
90f0351
Update readme
kekonn Nov 14, 2024
e25e48d
Merge remote-tracking branch 'origin/main' into feature/web-api
kekonn Nov 14, 2024
787ab54
Update cargo dist
kekonn Nov 14, 2024
6d69eb7
Update code-ql version in clippy github action
kekonn Nov 14, 2024
f791276
Attempt to fix binstall in clippy pr check
kekonn Nov 14, 2024
e3ad962
Fix detected code problems
kekonn Nov 14, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
fetch-depth: 1

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.21.1/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.23.0/cargo-dist-installer.sh | sh"
- name: Cache cargo-dist
uses: actions/upload-artifact@v4
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ jobs:

- uses: taiki-e/install-action@cargo-binstall
- name: Install required cargo
run: cargo binstall -y clippy-sarif sarif-fmt
run: cargo binstall -y --force clippy-sarif sarif-fmt

- name: Run rust-clippy
run:
cargo clippy
--message-format=json --locked | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
cargo clippy --message-format=json --locked | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
*.db
*.db-shm
*.db-wal
.run/
.run/
.data/
5 changes: 0 additions & 5 deletions .testdata/basic_config.toml

This file was deleted.

Loading
Loading