Files
TimeTracker/docs
Dries Peeters 3b564f83d7 feat: Remove license server and add multi-tenant SaaS infrastructure
BREAKING CHANGE: Removed legacy license server in favor of Stripe billing

Major changes:
- Remove license server system (563 lines removed from license_server.py)
- Add multi-tenant support with organizations and memberships
- Integrate Stripe billing and subscription management
- Enhance authentication with 2FA, password reset, and JWT tokens
- Add provisioning and onboarding flows for new customers
- Implement row-level security (RLS) for data isolation
- Add GDPR compliance features and data retention policies
- Enhance admin dashboard with billing reconciliation and customer management
- Add security scanning tools (Bandit, Gitleaks, GitHub Actions workflow)
- Implement rate limiting and enhanced password policies
- Update all routes to support organization context
- Enhance user model with billing and security fields
- Add promo code system for marketing campaigns
- Update Docker initialization for better database setup

Modified files:
- Core: app.py, app/__init__.py, app/config.py
- Models: Enhanced user model (+175 lines), updated all models for multi-tenancy
- Routes: Enhanced admin routes (+479 lines), updated all routes for org context
- Templates: Updated login, admin dashboard, and settings
- Docker: Enhanced database initialization scripts
- Dependencies: Added stripe, pyotp, pyjwt, and security packages

Deleted files:
- app/utils/license_server.py
- docs/LICENSE_SERVER_*.md (3 files)
- templates/admin/license_status.html
- test_license_server.py

New features:
- Organizations and membership management
- Stripe billing integration with webhook handling
- Enhanced authentication (2FA, password reset, refresh tokens)
- GDPR compliance and data export/deletion
- Onboarding checklist for new customers
- Promo code system
- Security enhancements (rate limiting, password policies)
- Admin tools for customer and billing management

Net change: 46 files changed, 1490 insertions(+), 1968 deletions(-)
2025-10-07 22:06:19 +02:00
..
2025-09-05 15:00:08 +02:00

TimeTracker Documentation

Welcome to the TimeTracker documentation. This directory contains comprehensive documentation for all aspects of the application.

📚 Documentation Index

🚀 Getting Started

🐳 Docker & Deployment

🔧 Features

🛠️ Technical Details

📋 Project Guidelines

🔍 Quick Navigation

For New Users

  1. Start with the main README.md
  2. Check REQUIREMENTS.md for system requirements
  3. Review PROJECT_STRUCTURE.md for architecture overview

For Developers

  1. Read CONTRIBUTING.md for contribution guidelines
  2. Review feature-specific documentation for areas you're working on
  3. Check SOLUTION_GUIDE.md for common issues

For Deployment

  1. Review DOCKER_PUBLIC_SETUP.md for Docker deployment
  2. Check DOCKER_STARTUP_TROUBLESHOOTING.md if you encounter issues
  3. See SOLUTION_GUIDE.md for deployment solutions

📝 Documentation Structure

All documentation files are organized by category and purpose:

  • Feature Documentation: Explains specific application features
  • Technical Guides: Implementation details and technical information
  • Deployment Guides: Setup and deployment instructions
  • Troubleshooting: Common issues and their solutions
  • Project Guidelines: Community and contribution guidelines

🤝 Contributing to Documentation

If you find errors or want to improve the documentation:

  1. Check the CONTRIBUTING.md guidelines
  2. Make your changes
  3. Submit a pull request

Good documentation helps everyone use and contribute to the project effectively!