mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-06 11:40:52 -06:00
- UI/UX: Refine layouts and responsive styles; fix task and timer views; update
shared components and dashboard templates
- Updates across `app/templates/**`, `templates/**`, `app/static/base.css`,
and `app/static/mobile.css`
- Backend: Route cleanups and minor fixes for admin, auth, invoices, and timer
- Touches `app/routes/admin.py`, `app/routes/auth.py`, `app/routes/api.py`,
`app/routes/invoices.py`, `app/routes/timer.py`
- DevOps: Improve Docker setup and add local testing workflow
- Update `Dockerfile`, `docker/start-fixed.py`
- Add `docker-compose.local-test.yml`, `.env.local-test`, start scripts
- Docs: Update `README.md` and add `docs/LOCAL_TESTING_WITH_SQLITE.md`
- Utilities: Adjust CLI and PDF generator behavior
Database (Alembic) migrations:
- 005_add_missing_columns.py
- 006_add_logo_and_task_timestamps.py
- 007_add_invoice_and_more_settings_columns.py
- 008_align_invoices_and_settings_more.py
- 009_add_invoice_created_by.py
- 010_enforce_single_active_timer.py
BREAKING CHANGE: Only one active timer per user is now enforced.
Note: Apply database migrations after deploy (e.g., `alembic upgrade head`).
36 lines
800 B
Plaintext
36 lines
800 B
Plaintext
# Local Testing Environment Variables
|
|
# Copy this file to .env.local-test and modify as needed
|
|
|
|
# Timezone (default: Europe/Brussels)
|
|
TZ=Europe/Brussels
|
|
|
|
# Currency (default: EUR)
|
|
CURRENCY=EUR
|
|
|
|
# Timer settings
|
|
ROUNDING_MINUTES=1
|
|
SINGLE_ACTIVE_TIMER=true
|
|
IDLE_TIMEOUT_MINUTES=30
|
|
|
|
# User management
|
|
ALLOW_SELF_REGISTER=true
|
|
ADMIN_USERNAMES=admin
|
|
# Security (CHANGE THESE FOR PRODUCTION!)
|
|
SECRET_KEY=local-test-secret-key-change-this
|
|
|
|
# Database (SQLite for local testing)
|
|
DATABASE_URL=sqlite:///data/timetracker.db
|
|
|
|
# Logging
|
|
LOG_FILE=/app/logs/timetracker.log
|
|
|
|
# Cookie settings (disabled for local testing)
|
|
SESSION_COOKIE_SECURE=false
|
|
REMEMBER_COOKIE_SECURE=false
|
|
|
|
# Flask environment
|
|
FLASK_ENV=development
|
|
FLASK_DEBUG=true
|
|
|
|
# License server (disabled for local testing)
|
|
LICENSE_SERVER_ENABLED=false |