Commit Graph

  • 6d1b730ae7 Add _hasHydrated flag to authStore and update AuthGuard to wait for store hydration, ensuring stability during loading phases in tests and app. Felipe Cardoso 2025-11-02 14:16:56 +01:00
  • 29f98f059b **Add comprehensive backend documentation for FastAPI setup, configuration, and architecture** Felipe Cardoso 2025-11-02 14:11:34 +01:00
  • b181182c3b **Authentication Refactor:** Remove authStore and its associated tests, transitioning to the new authentication model. Add dynamic loading for PasswordResetConfirmForm to optimize performance. Include a theme initialization script in layout.tsx to prevent FOUC. Felipe Cardoso 2025-11-02 14:00:05 +01:00
  • 92b7de352c **Docs and Code Enhancements:** Add CodeBlock component with copy functionality and syntax highlighting. Introduce /docs page as the central hub for design system documentation. Update MarkdownContent to support improved heading styles, enhanced links, optimized images with Next.js Image, and upgraded table, blockquote, and list styling for better readability and usability. Felipe Cardoso 2025-11-02 13:47:26 +01:00
  • aff76e3a69 Update implementation plan to reflect Phase 2.5 completion, documenting design system integration, UI consistency, and enhanced test coverage (97.57%). Felipe Cardoso 2025-11-02 13:34:50 +01:00
  • 13771c5354 **Design System Enhancements:** Replace .md links with clean paths in /dev documentation. Migrate anchor tags (<a>) to Next.js <Link> components for internal navigation. Add dynamic [...slug] markdown route for rendering docs. Introduce MarkdownContent for styled markdown rendering with syntax highlighting. Perform general cleanup of unused imports and variables in design system files. Fix minor wording issues. Felipe Cardoso 2025-11-02 13:33:47 +01:00
  • c3c6a18dd1 **Test Documentation Update:** Simplify test coverage description and clarify security-focused testing features, including CVE-2015-9235 prevention, session hijacking, and privilege escalation. Felipe Cardoso 2025-11-02 13:28:49 +01:00
  • 68e7ebc4e0 - **Middleware & Security Enhancements:** Add request size limit middleware to prevent DoS attacks via large payloads (10MB max). - **Authentication Refactor:** Introduce _create_login_session utility to streamline session creation for login and OAuth flows. - **Configurations:** Dynamically set app name in PostgreSQL connection (application_name) and adjust token expiration settings (expires_in) based on system configuration. Felipe Cardoso 2025-11-02 13:25:53 +01:00
  • df299e3e45 Add pointer cursor style for interactive elements and exception for disabled states Felipe Cardoso 2025-11-02 13:21:57 +01:00
  • 8e497770c9 Add Dev Hub for interactive design system demos and /dev/forms with validation examples Felipe Cardoso 2025-11-02 13:21:53 +01:00
  • 58b761106b Add reusable Example, ExampleGrid, and ExampleSection components for live UI demonstrations with code previews. Refactor ComponentShowcase to use new components, improving structure, maintainability, and documentation coverage. Include semantic updates to labels and descriptions. Felipe Cardoso 2025-11-02 13:21:25 +01:00
  • e734acf31d **Design System Documentation:** Add comprehensive project progress documentation summarizing Phase 1 completion, including created files, cleanup, and review results. Outline Phase 2 interactive demo plans and next steps. Reflect structure, content philosophy, and AI optimization guidelines. Felipe Cardoso 2025-11-02 12:42:42 +01:00
  • 76d36e1b12 - **Authentication & Lifespan Updates:** Add @asynccontextmanager for application lifecycle management, including startup/shutdown handling and daily session cleanup scheduling. Reduce token expiration from 24 hours to 15 minutes for enhanced security. Streamline superuser field validation via schema, removing redundant defensive checks. Felipe Cardoso 2025-11-02 12:38:09 +01:00
  • 6e95469d99 Remove version file Felipe Cardoso 2025-11-02 12:34:47 +01:00
  • 6d9b98943c Update documentation and tests for coverage, email integration, and authentication Felipe Cardoso 2025-11-02 12:32:08 +01:00
  • 30cbaf8ad5 Add documentation for component creation and design system structure Felipe Cardoso 2025-11-02 12:32:01 +01:00
  • 13f830ed6d Remove E2E tests for authenticated navigation and theme toggle Felipe Cardoso 2025-11-02 12:30:57 +01:00
  • c051bbf0aa Add security tests for configurations, permissions, and authentication Felipe Cardoso 2025-11-02 11:55:58 +01:00
  • b39b7b4c94 Add E2E tests for authenticated navigation and theme toggle Felipe Cardoso 2025-11-02 07:56:31 +01:00
  • 9f88736d13 Add comprehensive tests for schemas, validators, and exception handlers Felipe Cardoso 2025-11-02 07:56:23 +01:00
  • ccd535cf0e Add # pragma: no cover to defensive code sections in validators and CRUD operations Felipe Cardoso 2025-11-02 07:42:24 +01:00
  • 30dca45097 Increase Jest coverage thresholds to enforce higher test quality Felipe Cardoso 2025-11-02 07:35:50 +01:00
  • a460e0e4f2 Add unit tests for core components and layouts Felipe Cardoso 2025-11-02 07:35:45 +01:00
  • 08511ae07b Add comprehensive tests for database utilities and operations Felipe Cardoso 2025-11-02 07:00:35 +01:00
  • 1439380126 Add Component Showcase and development preview page Felipe Cardoso 2025-11-02 06:58:27 +01:00
  • 378b04d505 Update semantic color tokens across components for improved consistency Felipe Cardoso 2025-11-02 06:55:18 +01:00
  • af260e4748 Add theme toggle with light, dark, and system support Felipe Cardoso 2025-11-02 06:53:46 +01:00
  • 30f0ec5a64 Document initial design system guidelines and implementation details Felipe Cardoso 2025-11-02 06:49:43 +01:00
  • 04110cbf1c Refactor Tailwind CSS setup and introduce OKLCH-based design system Felipe Cardoso 2025-11-02 06:49:34 +01:00
  • 461d3caf31 Add comprehensive tests for security headers, permissions, CRUD operations, and organizations Felipe Cardoso 2025-11-02 06:10:04 +01:00
  • 789a76071d Refactor auth store tests to use createMockUser helper for improved readability and reusability Felipe Cardoso 2025-11-02 05:59:30 +01:00
  • 4536c607eb Add settings layout and page structure for authenticated routes Felipe Cardoso 2025-11-02 05:59:20 +01:00
  • bf04c98408 Add Header and Footer components for authenticated page layouts. Felipe Cardoso 2025-11-02 05:59:08 +01:00
  • 4885df80a7 Integrate AuthInitializer component to restore authentication state on app load and enhance User type to align with OpenAPI spec. Felipe Cardoso 2025-11-02 05:59:00 +01:00
  • 29ff97f726 Suppress non-essential console output in tests unless VERBOSE=true; adjust Playwright config to respect verbosity settings and use appropriate reporter. Felipe Cardoso 2025-11-02 05:41:16 +01:00
  • 406c3bcc82 Update coverage report with resolved tracking issue and 88% overall coverage Felipe Cardoso 2025-11-02 05:27:24 +01:00
  • 1aab73cb72 Adjust .coveragerc to support concurrency options and skip test environment checks Felipe Cardoso 2025-11-02 05:27:13 +01:00
  • f77f2700f2 Simplify token response in authentication route by returning the entire Token object instead of manually formatting a subset. Felipe Cardoso 2025-11-02 04:53:09 +01:00
  • f354ec610b Add clean-slate target to Makefile for removing containers and volumes Felipe Cardoso 2025-11-02 04:36:35 +01:00
  • e25b010b57 Include user information and token expiration in authentication responses Felipe Cardoso 2025-11-02 04:36:29 +01:00
  • 0b0d1d2b06 Update POSTGRES_DB value in .env.template to use a lowercase name Felipe Cardoso 2025-11-02 04:11:59 +01:00
  • bc53504cbf Remove redundant /api/v1 suffix from API URL configuration and update related test Felipe Cardoso 2025-11-02 04:11:41 +01:00
  • d75a8de91b Add validation to prevent privilege escalation via is_superuser field and enhance related tests Felipe Cardoso 2025-11-01 16:15:03 +01:00
  • a82e5ea0e6 Add extensive tests for user, admin, and organization API endpoints Felipe Cardoso 2025-11-01 15:59:29 +01:00
  • 189ad948ac Mark dead code in users API related to is_superuser checks with # pragma: no cover Felipe Cardoso 2025-11-01 15:54:58 +01:00
  • e2a8656f81 Improve navigation and URL validation in Playwright authentication tests Felipe Cardoso 2025-11-01 15:49:28 +01:00
  • ce5ed70dd2 Adjust Playwright authentication tests for Firefox compatibility Felipe Cardoso 2025-11-01 14:31:10 +01:00
  • 230210f3db Add comprehensive tests for user API endpoints Felipe Cardoso 2025-11-01 14:31:03 +01:00
  • a9e972d583 Add extensive tests for handling CRUD and API error scenarios Felipe Cardoso 2025-11-01 13:12:36 +01:00
  • a95b25cab8 Enhance Playwright test coverage and refactor e2e authentication tests Felipe Cardoso 2025-11-01 13:12:15 +01:00
  • 976fd1d4ad Add extensive CRUD tests for session and user management; enhance cleanup logic Felipe Cardoso 2025-11-01 12:18:29 +01:00
  • 293fbcb27e Update default superuser password in init_db for improved security Felipe Cardoso 2025-11-01 12:14:55 +01:00
  • f117960323 Add Playwright end-to-end tests for authentication flows and configuration Felipe Cardoso 2025-11-01 06:30:28 +01:00
  • a1b11fadcb Add init_db script for async database initialization and extensive tests for session management Felipe Cardoso 2025-11-01 06:10:01 +01:00
  • b8d3248a48 Refactor password reset flow and improve ESLint integration Felipe Cardoso 2025-11-01 06:04:35 +01:00
  • a062daddc5 Remove CRUD test modules for unused and deprecated features Felipe Cardoso 2025-11-01 05:48:20 +01:00
  • efcf10f9aa Remove unused async database and CRUD modules Felipe Cardoso 2025-11-01 05:47:43 +01:00
  • ee938ce6a6 Add extensive form tests and enhanced error handling for auth components. Felipe Cardoso 2025-11-01 05:24:26 +01:00
  • 035e6af446 Add comprehensive tests for session cleanup and async CRUD operations; improve error handling and validation across schemas and API routes Felipe Cardoso 2025-11-01 05:22:45 +01:00
  • c79b76be41 Remove and reorder unused imports across the project for cleaner and more consistent code structure Felipe Cardoso 2025-11-01 04:50:43 +01:00
  • 61173d0dc1 Refactor authentication and session management for optimized performance, enhanced security, and improved error handling Felipe Cardoso 2025-11-01 04:50:01 +01:00
  • ea544ecbac Refactor useAuth hooks for improved type safety, error handling, and compliance with auto-generated API client Felipe Cardoso 2025-11-01 04:25:44 +01:00
  • 3ad48843e4 Update tests for security and validation improvements Felipe Cardoso 2025-11-01 04:00:51 +01:00
  • 544be2bea4 Remove deprecated authStore and update implementation plan progress tracking Felipe Cardoso 2025-11-01 03:53:45 +01:00
  • 3fe5d301f8 Refactor authentication services to async password handling; optimize bulk operations and queries Felipe Cardoso 2025-11-01 03:53:22 +01:00
  • 819f3ba963 Add tests for useAuth hooks and AuthGuard component; Update .gitignore Felipe Cardoso 2025-11-01 01:31:22 +01:00
  • 9ae89a20b3 Refactor error handling, validation, and schema logic; improve query performance and add shared validators Felipe Cardoso 2025-11-01 01:31:10 +01:00
  • c58cce358f Refactor form error handling with type guards, enhance API client configuration, and update implementation plan Felipe Cardoso 2025-11-01 01:29:17 +01:00
  • 38eb5313fc Improve error handling, logging, and security in authentication services and utilities Felipe Cardoso 2025-11-01 01:13:19 +01:00
  • 4de440ed2d Improve error handling, logging, and security in authentication services and utilities Felipe Cardoso 2025-11-01 01:13:02 +01:00
  • cc98a76e24 Add timeout cleanup to password reset confirm page and improve accessibility attributes Felipe Cardoso 2025-11-01 01:01:56 +01:00
  • 925950d58e Add password reset functionality with form components, pages, and tests Felipe Cardoso 2025-11-01 00:57:57 +01:00
  • dbb05289b2 Add pytest-xdist to requirements for parallel test execution Felipe Cardoso 2025-11-01 00:05:41 +01:00
  • f4be8b56f0 Remove legacy test files for auth, rate limiting, and users Felipe Cardoso 2025-11-01 00:02:17 +01:00
  • 31e2109278 Add auto-generated API client and update authStore tests Felipe Cardoso 2025-10-31 23:24:19 +01:00
  • b4866f9100 Remove old configuration, API client, and redundant crypto mocks Felipe Cardoso 2025-10-31 23:04:53 +01:00
  • 092a82ee07 Add async-safe polyfills, Jest custom config, and improved token validation Felipe Cardoso 2025-10-31 22:41:18 +01:00
  • 92a8699479 Convert password reset and auth dependencies tests to async Felipe Cardoso 2025-10-31 22:31:01 +01:00
  • 8a7a3b9521 Replace crypto tests with comprehensive unit tests for authStore, storage, and configuration modules Felipe Cardoso 2025-10-31 22:25:50 +01:00
  • 6d811747ee Enhance input validation and error handling in authStore Felipe Cardoso 2025-10-31 22:10:48 +01:00
  • 76023694f8 Add SSR-safe checks and improve error handling for token storage and encryption Felipe Cardoso 2025-10-31 22:09:20 +01:00
  • cf5bb41c17 Refactor config, auth, and storage modules with runtime validation and encryption Felipe Cardoso 2025-10-31 22:00:45 +01:00
  • 1f15ee6db3 Add async CRUD classes for organizations, sessions, and users Felipe Cardoso 2025-10-31 21:59:40 +01:00
  • 26ff08d9f9 Refactor backend to adopt async patterns across services, API routes, and CRUD operations Felipe Cardoso 2025-10-31 21:57:12 +01:00
  • 19ecd04a41 Add foundational API client, UI components, and state management setup Felipe Cardoso 2025-10-31 21:46:03 +01:00
  • 9554782202 Update dependencies in package-lock.json Felipe Cardoso 2025-10-31 21:33:06 +01:00
  • 59f8c8076b Add comprehensive frontend requirements document Felipe Cardoso 2025-10-31 21:26:33 +01:00
  • e8156b751e Add async coding standards and common pitfalls documentation Felipe Cardoso 2025-10-31 19:24:00 +01:00
  • 86f67a925c Add detailed backend architecture documentation Felipe Cardoso 2025-10-31 19:02:46 +01:00
  • 80c26c3df2 Enhance security headers middleware with configurable CSP modes Felipe Cardoso 2025-10-31 12:50:34 +01:00
  • 2d909774df Add organization management and admin-specific APIs Felipe Cardoso 2025-10-31 12:18:43 +01:00
  • e19026453f Add session management API, cleanup service, and session-specific tests Felipe Cardoso 2025-10-31 08:30:18 +01:00
  • b42a29faad Add user session tracking, schemas, utilities, and per-device session management Felipe Cardoso 2025-10-31 07:56:35 +01:00
  • e767920407 Add extensive tests for user routes, CRUD error paths, and coverage configuration Felipe Cardoso 2025-10-30 17:54:14 +01:00
  • defa33975f Add comprehensive test coverage for email service, password reset endpoints, and soft delete functionality Felipe Cardoso 2025-10-30 17:18:25 +01:00
  • 182b12b2d5 Add password reset functionality, email service, and related API endpoints Felipe Cardoso 2025-10-30 16:54:18 +01:00
  • 313e6691b5 Add async CRUD base, async database configuration, soft delete for users, and composite indexes Felipe Cardoso 2025-10-30 16:45:01 +01:00
  • c684f2ba95 Add UUID handling, sorting, filtering, and soft delete functionality to CRUD operations Felipe Cardoso 2025-10-30 16:44:15 +01:00
  • 2c600290a1 Enhance user management, improve API structure, add database optimizations, and update Docker setup Felipe Cardoso 2025-10-30 15:43:52 +01:00
  • d83959963b Add security headers middleware and tests; improve user model schema Felipe Cardoso 2025-10-30 08:30:21 +01:00