chore: Major repository cleanup - remove 273+ obsolete files
Some checks failed
CI/CD Pipeline / Backend Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Tests (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled

This commit removes obsolete, duplicate, and legacy files that have accumulated
over the course of development. The repository is now focused on the current
Auth0-based, NestJS/React implementation.

Files Removed:

1. Old Backup Directories (150+ files)
   - backend-old-20260125/ (entire directory)
   - frontend-old-20260125/ (entire directory)
   These should never have been committed to version control.

2. Obsolete Authentication Documentation (12 files)
   - KEYCLOAK_INTEGRATION_COMPLETE.md
   - KEYCLOAK_SETUP.md
   - SUPABASE_MIGRATION.md
   - GOOGLE_OAUTH_*.md (4 files)
   - OAUTH_*.md (3 files)
   - auth0-action.js
   - auth0-signup-form.json
   We are using Auth0 only - these docs are no longer relevant.

3. Legacy Deployment Files (15 files)
   - DOCKER_HUB_*.md (3 files)
   - STANDALONE_INSTALL.md
   - UBUNTU_INSTALL.md
   - SIMPLE_DEPLOY.md
   - deploy.sh, simple-deploy.sh, standalone-setup.sh
   - setup.sh, setup.ps1
   - docker-compose.{hub,prod,test}.yml
   - Dockerfile.e2e
   - install.md
   These deployment approaches were abandoned.

4. Legacy Populate Scripts (12 files)
   - populate-events*.{js,sh} (4 files)
   - populate-test-data.{js,sh}
   - populate-vips.js
   - quick-populate-events.sh
   - update-departments.js
   - reset-database.ps1
   - test-*.js (2 files)
   All replaced by Prisma seed (backend/prisma/seed.ts).

5. Implementation Status Docs (16 files)
   - BUILD_STATUS.md
   - NAVIGATION_UX_IMPROVEMENTS.md
   - NOTIFICATION_BADGE_IMPLEMENTATION.md
   - DATABASE_MIGRATION_SUMMARY.md
   - DOCUMENTATION_CLEANUP_SUMMARY.md
   - PERMISSION_ISSUES_FIXED.md
   Historical implementation notes - no longer needed.

6. Duplicate/Outdated Documentation (10 files)
   - PORT_3000_SETUP_GUIDE.md
   - POSTGRESQL_USER_MANAGEMENT.md
   - REVERSE_PROXY_OAUTH_SETUP.md
   - WEB_SERVER_PROXY_SETUP.md
   - SIMPLE_USER_MANAGEMENT.md
   - USER_MANAGEMENT_RECOMMENDATIONS.md
   - ROLE_BASED_ACCESS_CONTROL.md
   - README-API.md
   Information already covered in main README.md and CLAUDE.md.

7. Old API Documentation (2 files)
   - api-docs.html
   - api-documentation.yaml
   Outdated - API has changed significantly.

8. Environment File Duplicates (2 files)
   - .env.prod
   - .env.production
   Redundant with .env.example.

Updated .gitignore:
- Added patterns to prevent future backup directory commits
- Added *-old-*, backend-old*, frontend-old*

Impact:
- Removed 273 files
- Reduced repository size significantly
- Cleaner, more navigable codebase
- Easier onboarding for new developers

Current Documentation:
- README.md - Main documentation
- CLAUDE.md - AI context and development guide
- REQUIREMENTS.md - Requirements
- CASL_AUTHORIZATION.md - Current auth system
- ERROR_HANDLING.md - Error handling patterns
- QUICKSTART.md - Quick start guide
- DEPLOYMENT.md - Deployment guide
- TESTING*.md - Testing guides
- SETUP_GUIDE.md - Setup instructions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 17:00:12 +01:00
parent ba5aa4731a
commit d3e08cd04c
274 changed files with 5 additions and 51829 deletions

3
.gitignore vendored
View File

@@ -76,6 +76,9 @@ Thumbs.db
*backup*
*.bak
*.tmp
*-old-*
backend-old*
frontend-old*
# Database files
*.sqlite