Skip to content

Commit da9e739

Browse files
authored
Merge pull request #745 from lootlog/develop
Notifications rework
2 parents 2978e5a + 22cb4f8 commit da9e739

332 files changed

Lines changed: 22381 additions & 4771 deletions

File tree

Some content is hidden

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

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This is a pnpm monorepo managed with Turborepo. It contains multiple apps (`apps
1515
- Prefer `?.` for optional chaining.
1616
- Prefix unused variables with `_`.
1717
- Use `import type` for type-only imports.
18+
- Do not split imports from the same module into separate statements for values and types; prefer a single import using inline `type` specifiers when needed.
1819
- Avoid nested (chained) ternary expressions — use early returns or `if`/`else if` instead.
1920
- See `.oxlintrc.md` for the full linting configuration.
2021

@@ -43,3 +44,4 @@ This is a pnpm monorepo managed with Turborepo. It contains multiple apps (`apps
4344

4445
- Don't try to run the app, assume it's already running.
4546
- ABSOLUTELY DON'T assume I need backwards compatibility unless explicitely told.
47+
- If a sandbox restriction blocks a command needed for the task, immediately ask for approval to run it with elevated permissions instead of silently skipping it.

apps/activity/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
PORT=4027
33
ENV=local
44
SERVICE_NAME=activity-service
5+
APP_VERSION=0.0.1
56

67
# PostgreSQL Database
78
POSTGRESQL_CONNECTION_URI=postgresql://user:password@localhost:5435/activity_log
@@ -20,4 +21,4 @@ REDIS_HOST=localhost
2021
REDIS_PORT=6379
2122

2223
# API Service
23-
API_SERVICE_URL=http://localhost:4003
24+
API_SERVICE_URL=http://localhost:4003

apps/activity/src/config/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export const APP_CONFIG: ConfigModuleOptions = {
3434
APP_VERSION: Joi.string().required(),
3535
POSTGRESQL_CONNECTION_URI: Joi.string(),
3636
RABBITMQ_URI: Joi.string(),
37-
AXIOM_DATASET: Joi.string(),
38-
AXIOM_TOKEN: Joi.string(),
37+
AXIOM_DATASET: Joi.string().allow(""),
38+
AXIOM_TOKEN: Joi.string().allow(""),
3939
REDIS_HOST: Joi.string().required(),
4040
REDIS_PORT: Joi.number().required(),
4141
REDIS_PASSWORD: Joi.string().allow("").required(),

apps/api/.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ BATTLELOG_SERVICE_URL=http://localhost/api/battlelog
4141

4242
# Discord Bot Service
4343
DISCORD_BOT_SERVICE_URL=http://localhost:4008
44+
45+
# Cleanup Jobs
46+
TIMER_CLEANUP_ENABLED=true
47+
TIMER_RETENTION_DAYS=7
48+
RESERVATIONS_CLEANUP_ENABLED=true
49+
RESERVATIONS_RETENTION_DAYS=30

0 commit comments

Comments
 (0)