Commit Graph

218 Commits

Author SHA1 Message Date
41156a87d1 fix: Ensure bcrypt and passlib are included in requirements.txt
Some checks failed
Run Tests / e2e tests (push) Failing after 1m26s
Run Tests / lint tests (push) Failing after 6s
Run Tests / unit tests (push) Failing after 7s
2025-10-27 10:46:34 +01:00
3fc6a2a9d3 feat: Add detailed component diagrams and architecture overviews to Building Block View documentation 2025-10-27 10:43:58 +01:00
f3da80885f fix: Remove duplicate playwright entry and reorder dependencies in requirements-test.txt
Some checks failed
Run Tests / e2e tests (push) Failing after 1m23s
Run Tests / lint tests (push) Failing after 5s
Run Tests / unit tests (push) Failing after 5s
2025-10-27 10:37:45 +01:00
97b1c0360b Refactor test cases for improved readability and consistency
Some checks failed
Run Tests / e2e tests (push) Failing after 1m27s
Run Tests / lint tests (push) Failing after 6s
Run Tests / unit tests (push) Failing after 7s
- Updated test functions in various test files to enhance code clarity by formatting long lines and improving indentation.
- Adjusted assertions to use multi-line formatting for better readability.
- Added new test cases for theme settings API to ensure proper functionality.
- Ensured consistent use of line breaks and spacing across test files for uniformity.
2025-10-27 10:32:55 +01:00
e8a86b15e4 feat: Enhance CI workflows by adding linting step, updating documentation, and configuring development dependencies 2025-10-27 08:54:11 +01:00
300ecebe23 Merge pull request 'fest/ci-improvement' (#3) from fest/ci-improvement into main
All checks were successful
Run Tests / e2e tests (push) Successful in 1m48s
Run Tests / unit tests (push) Successful in 10s
Reviewed-on: #3
2025-10-25 22:03:20 +02:00
70db34d088 feat: Implement composite action for Python environment setup and refactor test workflow to utilize it
All checks were successful
Run Tests / e2e tests (push) Successful in 1m48s
Run Tests / unit tests (push) Successful in 10s
2025-10-25 22:00:28 +02:00
0550928a2f feat: Update CI workflows for Docker image build and deployment, enhance test configurations, and add testing documentation
All checks were successful
Run Tests / e2e tests (push) Successful in 1m49s
Run Tests / unit tests (push) Successful in 11s
2025-10-25 21:28:49 +02:00
ec56099e2a Merge pull request 'feat/app-settings' (#2) from feat/app-settings into main
Some checks failed
Run Tests / test (push) Successful in 1m56s
Deploy to Server / deploy (push) Failing after 2s
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
Reviewed-on: #2
2025-10-25 19:36:36 +02:00
c71908c8d9 Merge branch 'main' into feat/app-settings
All checks were successful
Run Tests / test (push) Successful in 1m51s
2025-10-25 19:34:10 +02:00
75f533b87b fix: Update HTTP status code for unprocessable entity and improve test database setup
All checks were successful
Run Tests / test (push) Successful in 1m51s
2025-10-25 19:26:43 +02:00
5b1322ddbc feat: Add application-level settings for CSS color management
Some checks failed
Run Tests / test (push) Failing after 1m51s
- Introduced a new table `application_setting` to store configurable application options.
- Implemented functions to manage CSS color settings, including loading, updating, and reading environment overrides.
- Added a new settings view to render and manage theme colors.
- Updated UI to include a settings page with theme color management and environment overrides display.
- Enhanced CSS styles for the settings page and sidebar navigation.
- Created unit and end-to-end tests for the new settings functionality and CSS management.
2025-10-25 19:20:52 +02:00
713c9feebb Merge pull request 'feat/database-setup' (#1) from feat/database-setup into main
Some checks failed
Build and Push Docker Image / build-and-push (push) Successful in 1m38s
Deploy to Server / deploy (push) Failing after 3s
Run Tests / test (push) Successful in 1m48s
Reviewed-on: #1
2025-10-25 18:16:57 +02:00
e74ec79cc9 feat: Add staging environment setup guide and configuration files; update .gitignore
All checks were successful
Run Tests / test (push) Successful in 1m49s
2025-10-25 18:01:46 +02:00
f3ce095b71 docs: Add summary for Postgres container setup in quickstart guide 2025-10-25 17:05:49 +02:00
4e1658a638 refactor: Update CI configuration and local setup documentation; remove obsolete currency migration scripts 2025-10-25 16:59:35 +02:00
bff75a722e fix: Disable trust_env for httpx requests in live server and currency seeding fixtures
All checks were successful
Run Tests / test (push) Successful in 1m49s
2025-10-25 16:40:55 +02:00
d455320eea fix: Update CI workflow to configure APT proxy and improve currency workflow tests
Some checks failed
Run Tests / test (push) Failing after 2m5s
2025-10-25 16:34:10 +02:00
2182f723f7 feat: Add step to install Playwright browsers in CI workflow
Some checks failed
Run Tests / test (push) Failing after 2m15s
2025-10-25 16:23:47 +02:00
b3e6546bb9 fix: Comment out pip caching step in CI workflow
Some checks failed
Run Tests / test (push) Failing after 16s
2025-10-25 16:22:02 +02:00
5c66bf7899 fix: Update import statement for client in currency workflow tests
Some checks failed
Run Tests / test (push) Has been cancelled
2025-10-25 16:21:26 +02:00
9bd5b60d7a fix: Update cache key to include requirements-test.txt for better dependency management
Some checks failed
Run Tests / test (push) Failing after 4m48s
2025-10-25 16:11:32 +02:00
01a702847d fix: Update database host in CI workflow to use service name instead of localhost
Some checks failed
Run Tests / test (push) Failing after 4m47s
2025-10-25 16:05:27 +02:00
1237902d55 feat: Add wait step for database service availability in CI workflow
Some checks failed
Run Tests / test (push) Failing after 5m46s
2025-10-25 15:57:03 +02:00
dd3f3141e3 feat: Add currency management feature with CRUD operations
Some checks failed
Run Tests / test (push) Failing after 5m2s
- Introduced a new template for currency overview and management (`currencies.html`).
- Updated footer to include attribution to AllYouCanGET.
- Added "Currencies" link to the main navigation header.
- Implemented end-to-end tests for currency creation, update, and activation toggling.
- Created unit tests for currency API endpoints, including creation, updating, and activation toggling.
- Added a fixture to seed default currencies for testing.
- Enhanced database setup tests to ensure proper seeding and migration handling.
2025-10-25 15:44:57 +02:00
659b66cc28 style: Update color variables in CSS and improve scenario prompts in templates
Some checks failed
Build and Push Docker Image / build-and-push (push) Successful in 1m51s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Failing after 4m44s
2025-10-25 11:16:24 +02:00
2b1771af86 fix: Update .gitignore to match test database naming pattern 2025-10-25 11:16:14 +02:00
9b0c29bade refactor: Simplify caching steps in CI workflow and remove redundant cache for test dependencies
Some checks failed
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Deploy to Server / deploy (push) Failing after 3s
Run Tests / test (push) Failing after 5m18s
2025-10-24 19:53:03 +02:00
f35607fedc feat: Add CI workflow for running tests and update database URL handling
Some checks failed
Build and Push Docker Image / build-and-push (push) Successful in 1m8s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Failing after 9m32s
2025-10-24 19:19:24 +02:00
28fea1f3fe docs: Update README and architecture documents with build instructions and detailed data models
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m59s
Deploy to Server / deploy (push) Failing after 3s
2025-10-24 13:49:04 +02:00
ae19cd67c4 fix: Downgrade docker/build-push-action to v4 and update deploy script to use environment variables
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2m10s
Deploy to Server / deploy (push) Failing after 2s
2025-10-23 21:18:25 +02:00
e2f11a1459 refactor: Remove hardcoded production environment variables from Dockerfile
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m9s
Deploy to Server / deploy (push) Failing after 3s
2025-10-23 19:41:13 +02:00
f864ad563a fix: Add proxy configuration in Dockerfile and remove hardcoded environment variables
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 12s
Deploy to Server / deploy (push) Failing after 3s
2025-10-23 19:38:22 +02:00
93a2f54f97 fix: build workflow variables
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4m10s
Deploy to Server / deploy (push) Failing after 2s
2025-10-23 19:28:41 +02:00
8dedfb8f26 feat: Refactor database configuration to use granular environment variables; update Docker and CI/CD workflows accordingly
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6s
Deploy to Server / deploy (push) Failing after 2s
2025-10-23 19:17:24 +02:00
8c3062fd80 chore: Update action versions in build workflow and add playwright to requirements 2025-10-23 17:55:06 +02:00
0acc2cb3fe fix: Correct registry URL variable in build and deploy workflows
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Failing after 4m43s
2025-10-23 17:44:15 +02:00
0e51a3883d fix: Update registry secrets in build and deploy workflows for consistency
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Has been cancelled
2025-10-23 17:39:47 +02:00
f228eac61f feat: Add Docker support and CI/CD workflows documentation; include setup instructions for Docker-based deployment
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m35s
Deploy to Server / deploy (push) Failing after 3s
Run Tests / test (push) Failing after 6m2s
2025-10-23 17:25:26 +02:00
119bbcc7a8 feat: Add Docker workflows for building, testing, and deploying the application; include Dockerfile for image creation 2025-10-23 17:06:14 +02:00
8aee7b0d74 refactor: Enhance architecture documentation with detailed sections on purpose, constraints, runtime view, deployment, and key concepts; add implementation plan and update quickstart reference 2025-10-23 16:59:15 +02:00
76f92f8a7d remove coverage xml 2025-10-21 19:25:16 +02:00
c6948bc954 fix: Update file list formatting in architecture documentation for consistency 2025-10-21 18:26:30 +02:00
bd36f46d30 fix: Update file list formatting in architecture documentation for consistency 2025-10-21 18:24:06 +02:00
9ed2a70521 refactor: Update documentation links for improved navigation; remove obsolete architecture file 2025-10-21 18:18:38 +02:00
4b3a15ed15 Add comprehensive architecture documentation and related scripts
- Introduced multiple architecture documentation files covering building block view, runtime view, deployment view, concepts, architecture decisions, quality requirements, technical risks, glossary, UI and styling, testing, CI, and development setup.
- Migrated existing content from `architecture_overview.md` and `implementation_plan.md` into structured documentation.
- Created scripts for checking broken links in documentation and formatting Markdown files for consistency.
- Updated quickstart guide to provide clearer setup instructions and usage overview.
- Removed outdated MVP features and testing strategy documents to streamline documentation.
2025-10-21 15:39:17 +02:00
2bae273d9e feat: Add currency normalization with migration and backfill tooling; update models and API for currency integration 2025-10-21 10:49:48 +02:00
672cafa5b9 feat: Implement currency management with models, routes, and UI updates; add backfill script for existing records 2025-10-21 10:33:08 +02:00
fcea39deb0 feat: Add currency and unit support across models, routes, and templates; enhance UI for consumption, costs, and production 2025-10-21 09:53:04 +02:00
139ae04538 Enhance UI rendering and add unit tests for simulation functionality
- Updated the `_render` function in `ui.py` to correctly pass the request object to `TemplateResponse`.
- Initialized `upcoming_maintenance` as a typed list in `_load_dashboard` for better type safety.
- Added new unit tests in `test_simulation.py` to cover triangular sampling and uniform distribution defaults.
- Implemented a test to ensure that running the simulation without parameters returns an empty result.
- Created a parameterized test in `test_ui_routes.py` to verify that additional UI routes render the correct templates and context.
2025-10-21 09:26:39 +02:00