98 lines
2.5 KiB
Batchfile
98 lines
2.5 KiB
Batchfile
@echo off
|
|
echo ================================================
|
|
echo Phase 3.1: FORCE PUSH to Gitea
|
|
echo ================================================
|
|
echo.
|
|
echo This will OVERWRITE the remote repository with your
|
|
echo complete local version. This is SAFE because:
|
|
echo - Your local version has ALL Phase 3.1 files
|
|
echo - Remote only has partial files from API commits
|
|
echo - No important history will be lost
|
|
echo.
|
|
pause
|
|
|
|
cd /d D:\Hosted\familyhub
|
|
|
|
echo.
|
|
echo [1/4] Aborting any pending merge...
|
|
git merge --abort 2>nul
|
|
|
|
echo.
|
|
echo [2/4] Adding all files...
|
|
git add .
|
|
|
|
echo.
|
|
echo [3/4] Creating commit...
|
|
git commit -m "Phase 3.1: Enhanced Chore Logging and Reporting System - Complete
|
|
|
|
Features:
|
|
- Historical chore completion tracking
|
|
- Weekly reports dashboard with charts and leaderboards
|
|
- User statistics page with personal metrics
|
|
- Enhanced public API for kiosk completion logging
|
|
- Verification system for completions
|
|
|
|
Backend (9 files):
|
|
- chore_completion_logs table with indexes
|
|
- Complete API endpoints for reporting
|
|
- Weekly reports and user statistics
|
|
- Verification and deletion endpoints
|
|
|
|
Frontend (8 files):
|
|
- Reports page with visual analytics
|
|
- User Stats page with performance tracking
|
|
- Enhanced components and navigation
|
|
- Modern responsive UI
|
|
|
|
Documentation (15+ files):
|
|
- Implementation guides
|
|
- Testing instructions
|
|
- API reference
|
|
- Enhancement roadmap
|
|
|
|
Total: ~3,500 lines of code
|
|
Status: Complete and Tested
|
|
Date: February 4, 2026"
|
|
|
|
echo.
|
|
echo [4/4] Force pushing to Gitea...
|
|
echo.
|
|
echo You will be prompted for credentials:
|
|
echo Username: jessikitty
|
|
echo Password: [your password or token]
|
|
echo.
|
|
|
|
git push origin main --force
|
|
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo ================================================
|
|
echo Authentication Failed!
|
|
echo ================================================
|
|
echo.
|
|
echo Generate a Personal Access Token:
|
|
echo 1. Go to: https://gitea.hideawaygaming.com.au/user/settings/applications
|
|
echo 2. Click "Generate New Token"
|
|
echo 3. Name: "Family Hub CLI"
|
|
echo 4. Click "Generate Token"
|
|
echo 5. Copy the token and use it as your password
|
|
echo.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo ================================================
|
|
echo SUCCESS! Repository pushed to Gitea!
|
|
echo ================================================
|
|
echo.
|
|
echo View at: https://gitea.hideawaygaming.com.au/jessikitty/family-hub
|
|
echo.
|
|
echo Phase 3.1 is now complete in Gitea!
|
|
echo.
|
|
echo Next: Choose your enhancement to build!
|
|
echo See: PHASE_3_1_ENHANCEMENTS_ROADMAP.md
|
|
echo.
|
|
|
|
pause
|