Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
6a0047f
feat(routes): added health route and openapi specs
ValDesign22 Feb 20, 2026
894232e
refactor(routes): use ServiceConfig instead of Scope for routes
ValDesign22 Feb 20, 2026
a439f67
refactor(routes): simplified configure functions
ValDesign22 Feb 20, 2026
291a13c
chore(routes): removed unused imports
ValDesign22 Feb 20, 2026
f240a6d
refactor(config): replaced hardcoded default api_url with dynamic one
ValDesign22 Feb 21, 2026
2f2d9ab
fix(logs): tracing-actix-web logs now appearing
ValDesign22 Feb 21, 2026
cd214bb
feat(routes): added /api/bots route and extractors for authentication
ValDesign22 Feb 21, 2026
af8647f
feat(routes): add GET /api/bots/:id route
ValDesign22 Feb 21, 2026
994f167
fix(auth): add is_admin check with auth service to Authenticated
ValDesign22 Feb 21, 2026
b90c963
refactor: domain models, repositories, and services
ValDesign22 Feb 22, 2026
d5a112f
fix(routes): add skip to `/api/bots` OpenApi route document
ValDesign22 Feb 22, 2026
262f4f4
refactor: use camelCase for database and api responses and calls instead
ValDesign22 Feb 22, 2026
634068f
feat(routes): add /api/achievements route
ValDesign22 Feb 22, 2026
4c2ea8c
feat(routes): add /api/invitations route
ValDesign22 Feb 22, 2026
a36cb4d
feat(routes): add users route
ValDesign22 Feb 23, 2026
02cebea
fix(auth): use u64 instead of i64 for Discord snowflake parsing
ValDesign22 Feb 26, 2026
e01028e
refactor(webhooks): make manager async and schedule webhooks on arrival
ValDesign22 Feb 26, 2026
b8b3ee7
feat(websocket): add lost page websocket
ValDesign22 Feb 26, 2026
3cb0b35
feat(routes): add /api/stats route for global platform statistics
ValDesign22 Feb 26, 2026
ebf6d00
refactor: remove PUT method from CORS config
ValDesign22 Feb 26, 2026
17fd272
fix: moved back the path to /openapi.json
ValDesign22 Feb 26, 2026
a197fab
refactor(openapi): Always use configured API URL for OpenAPI server
ValDesign22 Feb 26, 2026
2c00c5e
refactor(openapi): removed unused tag
ValDesign22 Feb 26, 2026
7e8abae
feat(routes): add auth routes and handlers
ValDesign22 Feb 27, 2026
059886b
feat(config): add ENABLE_REGISTRATIONS variable to enable or disable
ValDesign22 Feb 27, 2026
442d60d
fix(auth): added a 1000 multiplier to avoid adding seconds to
ValDesign22 Feb 27, 2026
1e32c95
feat: add remove expired sessions task
ValDesign22 Feb 27, 2026
afede6a
feat(repositories): added repos health check on health route
ValDesign22 Feb 27, 2026
e9410cf
refactor: remove self imports to replace them with better import
ValDesign22 Feb 27, 2026
618a98a
feat(routes): add user route
ValDesign22 Feb 27, 2026
1648e6f
fix(repositories): fixed changed name for the user delete service
ValDesign22 Feb 27, 2026
7a4cbcc
feat(routes): added missing configure for the user route
ValDesign22 Feb 27, 2026
df618c5
feat(routes): add user bots route
ValDesign22 Feb 27, 2026
07b9714
feat(routes): add user suspend route
ValDesign22 Feb 27, 2026
ade8c55
refactor(config): enabled user registrations by default
ValDesign22 Feb 27, 2026
7c584fc
feat: Add feature flags for otel, mails and reports
ValDesign22 Feb 27, 2026
9bd20ce
refactor(config): simplified the cfg feature checking in env.rs
ValDesign22 Feb 27, 2026
e152f08
feat(routes): add bot suspend route
ValDesign22 Feb 27, 2026
7abe91c
fix(routes): replaced summary and description of bot unsuspend openapi
ValDesign22 Feb 27, 2026
3aeda8c
feat: Enable full default feature and fix OTEL logging
ValDesign22 Feb 27, 2026
5a29761
fix: replace build by run in .cargo/config.toml
ValDesign22 Feb 27, 2026
e374840
fix: added no default features flag to run aliases
ValDesign22 Feb 27, 2026
a066911
feat(routes): add bot refresh token route
ValDesign22 Feb 27, 2026
4acd3fd
feat(routes): add expiresIn query to auth response
ValDesign22 Feb 28, 2026
d703e20
feat(routes): add bot custom events route
ValDesign22 Feb 28, 2026
df6b1fc
fix(routes): refactor BotResponse to follow Bot model
ValDesign22 Feb 28, 2026
9499400
feat(routes): add get bot token route
ValDesign22 Feb 28, 2026
b243eff
fix(routes): returns 404 on bot not found when refresh bot token
ValDesign22 Feb 28, 2026
218365e
fix(routes): FORBID code on routes
ValDesign22 Feb 28, 2026
bfd654f
fix(routes): FORBID code on invitations routes
ValDesign22 Feb 28, 2026
61266fb
feat(routes): add bot stats route
ValDesign22 Mar 1, 2026
86073ee
fix: clippy warnings
ValDesign22 Mar 1, 2026
6bb728e
feat(routes): add bot team route
ValDesign22 Mar 1, 2026
758a082
feat(routes): add articles routes
ValDesign22 Mar 1, 2026
ff0b07e
fix: all Github PR review responses
ValDesign22 Mar 2, 2026
0c837b4
fix(routes): handle both old and new structures of the bodies
ValDesign22 Mar 2, 2026
f89fa94
refactor(routes): remove OpenAPI specs for the old POST stats route
ValDesign22 Mar 2, 2026
491f003
fix: cargo clippy
ValDesign22 Mar 2, 2026
14d0ec9
refactor(routes): use of `$or` mongodb condition instead of making 2
ValDesign22 Mar 2, 2026
2108d05
refactor(routes): use a Snowflake extractor to avoid doing a
ValDesign22 Mar 2, 2026
ffb1326
refactor(models): remove the Option wrapper
ValDesign22 Mar 2, 2026
da94370
feat(routes): normalized the POST bot stats route
ValDesign22 Mar 2, 2026
685e2e1
feat(models): add default_value field to custom events
ValDesign22 Mar 2, 2026
4af39db
refactor(models): made the find clearer
ValDesign22 Mar 2, 2026
203dfd4
feat(routes): add better custom events handling
ValDesign22 Mar 2, 2026
15f0404
feat(routes): added date range validation error responses
ValDesign22 Mar 2, 2026
140f528
feat(config): add MAX_DATE_RANGE to avoid making too big requests to the
ValDesign22 Mar 2, 2026
fcd527e
refactor(models): simplify NormalizedStatsBody construction
ValDesign22 Mar 2, 2026
1bdc2eb
fix(routes): inverted incorrect datetime diff check
ValDesign22 Mar 2, 2026
5591b73
feat(routes): add linked roles route
ValDesign22 Mar 3, 2026
075a676
feat(routes): add GET invitations route
ValDesign22 Mar 3, 2026
756554d
feat(route): add GET auth config routes
ValDesign22 Mar 3, 2026
cf1e899
fix(openapi): add missing rename all to camel case
ValDesign22 Mar 3, 2026
6ba0fd9
feat(routes): add debug infos refresh route
ValDesign22 Mar 3, 2026
38aba5f
fix(auth): different session id in database and in jwt
Nonolanlan1007 Mar 3, 2026
961044a
feat(routes): add bot vote webhooks support
ValDesign22 Mar 3, 2026
a397561
fix(webhooks): use bot webhook secret from config instead of env one
ValDesign22 Mar 4, 2026
f40767a
feat(routes): add topgg webhook integration support
ValDesign22 Mar 4, 2026
913356b
fix(integrations): add connection_id verification when deleting a
ValDesign22 Mar 4, 2026
0ae4f8a
fix(routes): change integrations route OpenAPI summary and description
ValDesign22 Mar 4, 2026
0335cb7
refactor(config): remove TOPGG_WEBHOOK_SECRET env variable
ValDesign22 Mar 4, 2026
b163de6
fix(webhooks): topgg integration now working without issues
ValDesign22 Mar 5, 2026
7907bcb
feat(routes): add PATCH bot settings route
ValDesign22 Mar 6, 2026
dcecadd
chore Reorder imports and relocate MessageResponse
ValDesign22 Mar 6, 2026
9708335
feat(routes): add bot achievements route
ValDesign22 Mar 6, 2026
7c1c447
fix(webhooks): achievement id missing
ValDesign22 Mar 6, 2026
4abe8b4
feat(achievements): make achievements achievable
ValDesign22 Mar 6, 2026
23a7a9c
feat(achievements): add default achievements and reset achievements
ValDesign22 Mar 6, 2026
e1f5811
fix: add allow duplicated attributes for apistos config
ValDesign22 Mar 6, 2026
80f47d1
fix: rustfmt error
ValDesign22 Mar 6, 2026
9182ecf
refactor: remove tests (will be added back in a later PR)
ValDesign22 Mar 6, 2026
cf1549b
chore(deps): bump version
ValDesign22 Mar 6, 2026
c7a2ab0
feat(repositories): add meta_field to timeseries
ValDesign22 Mar 6, 2026
b1f260c
fix(routes): extractor returnin bad request instead of forbidden
ValDesign22 Mar 7, 2026
c8e662f
fix(routes): remove bot permission to reset achievements and modified
ValDesign22 Mar 7, 2026
10b2434
fix(routes): only allow bot owner to reset achievements
ValDesign22 Mar 7, 2026
abf88b2
fix(routes): only allow bot owner to create achievement
ValDesign22 Mar 7, 2026
547fed0
fix(routes): only allow bot owner to update achievement
ValDesign22 Mar 7, 2026
5ba9a3a
fix(routes): only allow bot owner to delete achievement
ValDesign22 Mar 7, 2026
f713859
fix(routes): invalid log message
ValDesign22 Mar 7, 2026
406afbc
fix(routes): only bot owner should update bot settings
ValDesign22 Mar 7, 2026
257f23b
fix(routes): only bot owner should manage team
ValDesign22 Mar 7, 2026
222af5b
fix(routes): only bot owner should manage bot token
ValDesign22 Mar 7, 2026
5e35e93
fix(routes): remove unnecessary auth context check
ValDesign22 Mar 7, 2026
68be3fb
fix(routes): create bot if doesn't exist one when adding webhook
ValDesign22 Mar 7, 2026
e6a2abf
fix(routes): simplified Option checking
ValDesign22 Mar 7, 2026
23795d5
feat(routes): added article author to article responses
ValDesign22 Mar 7, 2026
12b5718
refactor(webhooks): new format for webhook configuration
ValDesign22 Mar 7, 2026
c8e8a94
refactor(repositories): use a better struct for votes
ValDesign22 Mar 7, 2026
c011e75
fix(routes): made all achievements displayable using admin permission
ValDesign22 Mar 7, 2026
920dad5
fix(routes): display only original achievements
ValDesign22 Mar 7, 2026
b94568f
refactor(routes): rolled back the changes
ValDesign22 Mar 7, 2026
c34b835
refactor(repositories): cleaned up the code
ValDesign22 Mar 7, 2026
6f83d29
chore: Enhance CI configuration and repository setup (#8)
ValDesign22 Mar 7, 2026
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
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[alias]
minimal = "run --no-default-features"
mails = "run --no-default-features --features mails"
otel = "run --no-default-features --features otel"
reports = "run --no-default-features --features reports"
mails-otel = "run --no-default-features --features mails,otel"
full = "run --no-default-features --features full"
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ OTLP_STREAM=discord-analytics
#Tokens
DISCORD_TOKEN=ASUPERSECRETTOKEN
JWT_SECRET=ASUPERSECRETSECRET
ENABLE_REGISTRATIONS=true

# Linked Roles
CLIENT_SECRET=ASUPERSECRETSECRET
Expand Down
Loading