Commit Graph

12 Commits

Author SHA1 Message Date
Michelle 4aea069295 fix: resolve server bugs and unify app-name handling
Build & Push Docker Image / build (push) Successful in 4m6s
Bug fixes:
- bbb.js: replace undefined t('defaultWelcome') call that threw a
  ReferenceError when a room had an empty welcome message, breaking
  meeting creation. Default welcome and the guest-invite hint are now
  localised via the i18n system (new "bbb" namespace in de/en).
- auth.js: app name was read from the never-written 'branding' settings
  key, so custom names never appeared in verification emails or the TOTP
  issuer. Now resolved through a shared getAppName() helper.
- auth.js: lowercase the email in the registration duplicate check so
  case-variant duplicates return a clean 409 instead of a 500 (UNIQUE
  violation).
- federation.js: select the user's "language" column so federation
  invite emails respect the recipient's language instead of always
  defaulting to English.
- calendar.js: a set reminder could not be cleared. COALESCE treated an
  explicit reminder_minutes: null as "keep existing"; use a direct
  assignment that distinguishes "omitted" (keep) from "null" (clear).
- index.js / analytics.js: exclude the BBB learning-analytics callback
  from the global 100kb body limit and give it its own 5mb limit, since
  analytics payloads for large meetings can be several MB.

Cleanup:
- Add server/config/appName.js as the single source of truth for the
  app name (admin setting -> APP_NAME env -> 'Redlight') and use it in
  auth, admin, rooms, calendar and federation, replacing the previous
  mix of wrong DB key, direct app_name reads and bare process.env reads.
- Localise the BBB default welcome message in the room owner's language.
- Remove two unused safeAppName variables in mailer.js.
2026-06-02 09:19:21 +02:00
Michelle d8c52aae4e feat(database): make token column nullable in caldav_tokens table for improved flexibility
Build & Push Docker Image / build (push) Successful in 6m36s
2026-03-04 22:24:11 +01:00
Michelle 8edcb7d3df feat(calendar): store only token hash in database to enhance security
Build & Push Docker Image / build (push) Successful in 6m25s
feat(federation): escape LIKE special characters in originDomain to prevent wildcard injection

feat(oauth): redirect with token in hash fragment to avoid exposure in logs

feat(OAuthCallback): retrieve token from hash fragment for improved security
2026-03-04 13:41:40 +01:00
Michelle 8823f8789e feat(calendar): add reminder functionality for events with notifications
Build & Push Docker Image / build (push) Has been cancelled
2026-03-04 10:18:43 +01:00
Michelle 43d94181f9 feat: add getBaseUrl function for consistent base URL generation across routes
Build & Push Docker Image / build (push) Successful in 6m28s
feat(calendar): display local timezone in calendar view
feat(i18n): add timezone label to German and English translations
2026-03-04 09:44:02 +01:00
Michelle 2d919cdc67 feat(caldav): add token_hash column and store SHA-256 hashed tokens
Build & Push Docker Image / build (push) Successful in 6m27s
2026-03-04 09:17:31 +01:00
Michelle e22a895672 feat(security): enhance input validation and security measures across various routes
Build & Push Docker Image / build (push) Successful in 6m38s
2026-03-04 08:39:29 +01:00
Michelle ddc0c684ec feat(caldav): implement CalDAV support with token management and calendar operations
Build & Push Docker Image / build (push) Successful in 6m5s
2026-03-03 11:41:35 +01:00
Michelle b5218046c9 Refactor code and improve internationalization support
Build & Push Docker Image / build (push) Has been cancelled
- Updated import statements to remove invisible characters.
- Standardized comments to use a consistent hyphen format.
- Adjusted username validation error messages for consistency.
- Enhanced email sending functions to include language support.
- Added email internationalization configuration for dynamic translations.
- Updated calendar and federation routes to include language in user queries.
- Improved user feedback messages in German and English for clarity.
2026-03-02 16:14:54 +01:00
Michelle c2c10f9a4b feat(calendar): implement local calendar invitations with email notifications
Build & Push Docker Image / build (push) Successful in 6m19s
- Added functionality to create, accept, decline, and delete local calendar invitations.
- Integrated email notifications for calendar event invitations and deletions.
- Updated database schema to support local invitations and outbound event tracking.
- Enhanced the calendar UI to display pending invitations and allow users to manage them.
- Localized new strings for invitations in English and German.
2026-03-02 14:37:54 +01:00
Michelle d989e1291d feat: implement calendar invitation system with creation, acceptance, and management features
Build & Push Docker Image / build (push) Successful in 6m26s
2026-03-02 13:57:56 +01:00
Michelle 13c60ba052 feat: add calendar component with event management features including create, edit, delete, and share functionalities
Build & Push Docker Image / build (push) Successful in 6m25s
2026-03-02 10:35:01 +01:00