Commit Graph

11 Commits

Author SHA1 Message Date
Danilo Reyes
f85ae4d417 feat: add core application constants, ownership verification, and repository utilities
- Introduced application-wide constants for file uploads, image processing, pagination, and authentication in `constants.py`.
- Implemented synchronous and asynchronous board ownership verification functions in `ownership.py`.
- Created a base repository class with common CRUD operations in `repository.py`.
- Added standard response utilities for error and success messages in `responses.py`.
- Refactored image validation to utilize constants for file size and MIME types.
- Enhanced frontend components with consistent styling and validation utilities for forms.
- Established global styles for buttons, forms, loading indicators, and messages to ensure a cohesive UI experience.
2025-11-02 13:44:10 -06:00
Danilo Reyes
010df31455 phase 5 2025-11-02 11:07:42 -06:00
Danilo Reyes
48020b6f42 phase 4 2025-11-02 01:01:38 -06:00
Danilo Reyes
4a2f3f5fdc chore: update psycopg2 dependency in pyproject.toml
- Changed the dependency from `psycopg2-binary` to `psycopg2` in `pyproject.toml` for better compatibility and performance.
2025-11-02 00:47:17 -06:00
Danilo Reyes
2ebeb7e748 chore: update pyproject.toml to include package configuration for setuptools
- Added package configuration for the 'app' module in `pyproject.toml`.
- Included `py.typed` in package data to support type checking.
2025-11-02 00:45:09 -06:00
Danilo Reyes
d40139822d phase 3.2 & 4.1 2025-11-02 00:36:32 -06:00
Danilo Reyes
37b25689ff chore: disable coverage requirement and update pre-push hook template
- Commented out the coverage failure threshold in `pyproject.toml` until tests are written.
- Updated `install-hooks.sh` to create a pre-push hook template that is disabled by default, with instructions for enabling it when tests are ready.
2025-11-02 00:12:27 -06:00
Danilo Reyes
b55ac51fe2 feat: add unified linting scripts and git hooks for code quality enforcement
- Introduced `lint` and `lint-fix` applications in `flake.nix` for unified linting of backend (Python) and frontend (TypeScript/Svelte) code.
- Added `scripts/lint.sh` for manual linting execution.
- Created `scripts/install-hooks.sh` to set up git hooks for automatic linting before commits and optional tests before pushes.
- Updated `README.md` with instructions for using the new linting features and git hooks.
2025-11-02 00:08:37 -06:00
Danilo Reyes
011204188d Update project configuration and documentation for Reference Board Viewer. Add .direnv support for environment management, enhance README with quick start instructions, and update flake.nix with additional dependencies including pydantic-settings and bcrypt. Introduce quick-start.sh and test-auth.sh scripts for streamlined setup and authentication testing. Remove obsolete planning and task documents to clean up the repository. 2025-11-01 23:55:07 -06:00
Danilo Reyes
a95a4c091a phase 3.1 2025-11-01 23:33:52 -06:00
Danilo Reyes
1bc657e0fd Add initial project configuration and setup for Reference Board Viewer application. Include EditorConfig for consistent coding styles, pre-commit hooks for linting and formatting, Docker Compose for local development with PostgreSQL and MinIO, and a Nix flake for development environment management. Establish CI/CD pipeline for automated testing and deployment. 2025-11-01 22:28:46 -06:00