Skip to content

auth, WS, mailing, files, migrations, docker optimizations, tests #6

Merged
tryb3l merged 288 commits intomainfrom
BT/unstable
Apr 6, 2026
Merged

auth, WS, mailing, files, migrations, docker optimizations, tests #6
tryb3l merged 288 commits intomainfrom
BT/unstable

Conversation

@tryb3l
Copy link
Copy Markdown
Owner

@tryb3l tryb3l commented Apr 6, 2026

List of changes:

  • Added password reset endpoints for request initiation, validation, and confirmation.
  • Integrated email-based password reset with verification using nodemailer for SMTP support.
  • Enhanced validation constraints for password reset tokens, including cooldown suppression and failure tracking.
  • Updated the database schema to include a credentialsVersion for password validity tracking.
  • Implemented migrations for sparse indexes and backfills credentialsVersion.
  • Added integration tests to cover various password reset scenarios.
  • Updated dotenv configuration to incorporate new SMTP settings.

tryb3l and others added 30 commits January 7, 2025 15:52
…rties; refactor test paths and add run-tests script
…lement basic smoke tests and user detail retrieval tests
…update CORS and rate limit plugins. improved user management methods
tryb3l added 29 commits April 6, 2026 18:09
… performance optimizations with new database indices and resource management.
…ve `note ID` retrieval from query parameters. add filtering utility for note queries
…d route, and enhance user profile update and deletion functionality
…uthentication and refresh token verification
…mation endpoints. including related schemas and integration tests
…ods in users plugin. update register schema and setup utility to include email
…d outcomes for access tokens in cookies and Authorization headers.

- Introduced utility functions for  refresh cookies and CSRF context in login and logout tests.
- Enhanced password reset tests with additional scenarios for cooldown suppression and token reuse validation.
- Improved refresh token tests to ensure proper rotation and rejection of stale tokens.
- Streamlined user registration tests by creating a helper function for user registration.
- Added file upload utility functions to simplify file handling in notes tests.
- Refactored webSocket tests for notes to improve readability and maintainability, including user creation and message handling.
- Consolidated user deletion tests to verify token invalidation after self deletion.
…down, and failure tracking; update dotenv schema for new configuration properties.
…ate live notes route to use socket instead of connection object for websocket handling.
…refactor helper functions for better modularity.
…les for mongo url and JWT secrets. update registration tests to use dynamic mongo urls
@tryb3l tryb3l merged commit 652ba58 into main Apr 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant