Skip to content

pre-deployment: flora mode, GPS, security hardening, open-source prep#5

Merged
teruselearning merged 2 commits into
mainfrom
pre-deployment
Jun 3, 2026
Merged

pre-deployment: flora mode, GPS, security hardening, open-source prep#5
teruselearning merged 2 commits into
mainfrom
pre-deployment

Conversation

@teruselearning

Copy link
Copy Markdown
Owner

See commit log for full details.

teruselearning and others added 2 commits June 3, 2026 15:56
Automated security infrastructure:
- .github/dependabot.yml: weekly dependency update PRs for frontend and backend
- .github/workflows/security.yml: npm audit (high+) + tsc type-check on every
  push to main/pre-deployment and weekly scheduled Monday scan
- scripts/backup-db.ps1: nightly MariaDB dump → compressed .sql.gz with
  30-day retention and pruning
- scripts/register-scheduled-tasks.ps1: one-click admin script to register
  the backup as a Windows Scheduled Task (daily 02:00)

Also in this commit:
- fix: installer now correctly shows on fresh DB — removed auto-seed from
  initDatabase(); install/status now checks for actual org rows not just
  table existence
- feat: GitHub button on landing page (Super Admin toggle + URL config)
- fix: npm audit fix --force on frontend and backend (0 vulnerabilities)
- .gitignore: added backups/ and *.log
- CLAUDE.md: documented full maintenance plan including quarterly checklist
  and known hardening items

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- README.md: full rewrite with install instructions, dev environment setup,
  production deployment (Nginx config, pm2, Let's Encrypt), AI features,
  tunnel options, security checklist, and contributing guide
- scripts/backup-db.ps1: remove hardcoded DB password — now reads
  DATABASE_PASSWORD from backend/.env at runtime
- backend/.env.example: clean template for new contributors with comments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@teruselearning teruselearning merged commit 4151269 into main Jun 3, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant