Commit Graph
42 Commits
Author SHA1 Message Date
nmemmert eb6cbcc3d4 Merge main into master, bring in Gitea workflow 2026-08-26 14:35:19 -04:00
nmemmertandClaude Sonnet 4.6 4426b0a380 Migrate workflow to Gitea Actions
Build & Publish Docker Image / build-and-push (push) Successful in 5m42s
Move .github/workflows/ → .gitea/workflows/ and update secrets
to use REGISTRY_USER/REGISTRY_TOKEN with git.necloud.us registry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-26 14:31:55 -04:00
nmemmertandClaude Sonnet 4.6 13c00e9322 Remove VOLUME instruction from Dockerfile
VOLUME ["/data"] was causing Docker to create an anonymous volume for
/data that shadowed the bind mount defined in docker-compose.yml,
leaving the container with an empty /data instead of the host data.
The bind mount in docker-compose.yml is sufficient; no Dockerfile
VOLUME needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 10:33:20 -04:00
nmemmertandClaude Sonnet 4.6 a35ba756ca Fix prod image: move build deps to devDependencies, restore proper npm install
The production stage was using an ad-hoc npm install without package.json,
which could pull unexpected package versions and lost the lockfile guarantee.
Moved all React/build/test/type packages to devDependencies so the production
stage can use npm install --omit=dev cleanly, installing only express, cors,
and docx — exactly what server.js needs. Regenerated lockfile to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 10:01:38 -04:00
nmemmertandClaude Sonnet 4.6 c2459c000e Fix build stage: use npm install instead of npm ci
npm ci fails when the lockfile was generated on a different platform
or npm version than what runs inside the container. npm install is
more forgiving and resolves the exit code 1 in the build stage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 09:07:34 -04:00
nmemmertandClaude Sonnet 4.6 daa7eb1a0d Fix Docker build: upgrade to node:22-alpine, install only server deps
The production stage was running npm ci --omit=dev against a macOS-
generated lockfile on linux/alpine, which caused exit code 1. Switch
to installing only the three packages the server actually needs
(express, cors, docx) so the lockfile is irrelevant in that stage.
Also upgrades to node:22-alpine (current LTS) to clear the Node 20
deprecation warning on GitHub Actions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 09:04:39 -04:00
nmemmertandClaude Sonnet 4.6 96c4b541f9 Add color-coded calendar dots, prayer notes, and export prayer log
- Each prayer gets a consistent color derived from its ID; calendar
  dots now use those colors so you can see which prayers were covered
  at a glance, and the day-detail panel color-codes each entry too
- New Notes field on every prayer card for scripture, updates, and
  mid-prayer thoughts — separate from the answer field, freely editable
- Word export now includes Notes and Prayer Log sections for each prayer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 08:39:16 -04:00
nmemmertandClaude Sonnet 4.6 57937d986d Add prayer log and calendar view
Each prayer card now has a "Prayer Log" section where you can record
when you prayed, with an optional note per session. A Calendar tab
shows a monthly view with dots on days you prayed; clicking a day
reveals which prayers were covered and any notes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 08:32:06 -04:00
nmemmert 7293dbdc34 Fix Docker deployment issues and add CasaOS configuration
- Add missing Firebase Admin environment variables to docker-compose.yml
- Update CasaOS configuration with gracious_eldan naming
- Fix Firebase admin initialization for build-time compatibility
- Add missing component imports in main page
- Fix TypeScript compilation errors in API routes
- Update port mapping to 3050 for CasaOS deployment
2025-12-18 08:06:05 -05:00
nmemmert 27d02596d1 docs: Add Docker deployment instructions and build script
- Add build-and-push-docker.ps1 PowerShell script for automated Docker builds
- Update README.md with comprehensive Docker deployment guide
- Include environment variable configuration
- Document automated email scheduling in containers
- Add GitHub Container Registry push instructions
2025-12-17 13:51:52 -05:00
nmemmert d9784738e4 feat: Add prayer chains, social sharing, and testimony wall
- Add PrayerChain component for visualizing linked prayers
- Add SharePrayer component with social media integration (Twitter, Facebook, WhatsApp, copy link)
- Create /testimonies page for public answered prayer stories
- Update Firestore rules for public testimony access
- Enhance Organization tab with prayer chains
- Add Testimonies navigation tab
- Fix Firebase Admin SDK integration for server-side operations
- Improve email system with proper server-side authentication
- Update prayer form to handle optional fields correctly
- Deploy updated Firestore security rules
2025-12-17 13:50:21 -05:00
nmemmert 7214fdb89a Update firebase.json to remove problematic lint predeploy hook 2025-11-03 08:52:43 -05:00
nmemmert a2ff235dcc Add Firebase Functions for automated prayer reminders 2025-11-03 08:30:53 -05:00
nmemmert 5ea16bba66 Add FCM VAPID key setup and update .gitignore 2025-11-03 08:08:38 -05:00
nmemmert 1a160135d7 Add enhanced search/filtering and push notifications for prayer reminders 2025-11-03 08:04:19 -05:00
nmemmert aa3f42479f Add edit functionality for prayers and praises 2025-10-23 16:51:11 -04:00
nmemmert fdfc4f5f3d Add PWA icons to metadata and manifest for better iOS/Android support 2025-10-23 11:49:47 -04:00
nmemmert 9bb50b115d Fix theming, profile image, and add app icons 2025-10-23 11:40:39 -04:00
nmemmert 5ba808966e Add admin functionality to clear all community prayers from sharedPrayers collection 2025-10-23 09:02:57 -04:00
nmemmert b7a1eab925 Add Firestore rules for sharedPrayers collection to enable community sharing functionality 2025-10-23 08:44:28 -04:00
nmemmert 39d621a0be Fix build error: create custom next-pwa declaration file to resolve TypeScript conflicts with Next.js 16 2025-10-23 08:26:53 -04:00
nmemmert 6a997d9931 Fix remaining ESLint errors: replace img with Next.js Image, fix useEffect dependency, correct nodemailer method 2025-10-23 08:19:18 -04:00
nmemmert 8b189f4caa Fix ESLint errors: replace any types, escape HTML entities, convert require to imports, ignore config files 2025-10-23 08:13:39 -04:00
nmemmert 3d8ba5b8f0 Implement comprehensive enhancements: push notifications, export functionality, user profiles, community sharing, offline improvements, analytics, accessibility, testing, and documentation 2025-10-23 08:08:20 -04:00
nmemmert 1932dbe1fc Update docker-compose.yml for production deployment
- Use GitHub Container Registry image instead of local build
- Add EmailJS environment variables for email functionality
- Configure proper networking and health checks
2025-10-22 15:15:54 -04:00
nmemmert 9f31fd3e79 Update PWA service worker and workbox files
- Update service worker for latest build
- Update workbox cache files
- EmailJS integration ready for deployment
2025-10-22 15:13:46 -04:00
nmemmert 45207b5851 Add EmailJS integration for free email sending
- Install @emailjs/browser for client-side email
- Update prayer submission to send immediate emails via EmailJS
- Add EmailJS configuration to environment variables
- Update README with EmailJS setup instructions
- Keep server-side scheduled emails for cron jobs
2025-10-22 15:00:24 -04:00
nmemmert bc4dec65b3 Fix cron daemon startup in Docker container
- Install su-exec for user switching
- Modify startup script to run cron as root and app as nextjs user
- Remove USER directive to allow proper service management
- Cron daemon now starts successfully alongside Next.js app
2025-10-22 14:38:03 -04:00
nmemmert 5131740727 Fix Docker cron permissions
- Move cron file and startup script creation before USER directive
- Set proper ownership for cron files and startup script
- Fix permission denied errors in Docker build
2025-10-22 14:33:22 -04:00
nmemmert 9f799397c8 Implement cross-device prayer synchronization
- Replace localStorage with Firestore for prayer persistence
- Prayers now sync across all devices when logged in
- Add userId to prayers for proper user association
- Update archive/unarchive to work with Firestore
- Update Firestore rules for user-specific prayer access
- Remove localStorage dependencies
2025-10-22 14:27:39 -04:00
nmemmert 6b0713612d Implement scheduled email reminders
- Add cron service to Docker container for automated email sending
- Create /api/send-scheduled-emails endpoint for cron job calls
- Modify prayer submission to store user reminder preferences instead of sending immediate emails
- Update Firestore rules to allow server-side API access for scheduled emails
- Add userId to prayers for proper user association
- Cron runs every 5 minutes to check and send scheduled reminders
2025-10-22 14:20:21 -04:00
nmemmert 220788ef70 Complete Firebase setup with Data Connect and security rules
- Initialize Firebase Data Connect
- Deploy Firestore security rules for SMTP config
- Update firebase.json with Firestore configuration
- Add generated Data Connect SDKs
2025-10-22 14:10:28 -04:00
nmemmert 0f1e8774d7 Add Firestore security rules and deployment scripts
- Add firestore.rules for SMTP config permissions
- Add deployment scripts for Firestore rules
- Update Admin component with better error handling
- Update README with deployment instructions
2025-10-22 13:33:42 -04:00
nmemmert bd6e1eea7c Fix Node.js version requirement
- Update Dockerfile to use Node.js 20 (required for Next.js 16)
- Next.js 16 requires Node.js >=20.9.0, was using 18.20.8
2025-10-22 13:18:26 -04:00
nmemmert 08ca9ed7da Fix Docker build issues
- Fix ENV format warnings in Dockerfile
- Set NODE_ENV=production during build
- Enable PWA plugin for all environments to ensure consistent builds
- Add debugging for build failures
2025-10-22 13:10:27 -04:00
nmemmert aa2c28d444 Simplify Dockerfile build process
- Remove problematic multi-stage deps optimization
- Install all dependencies directly in builder stage
- Ensure reliable builds by avoiding dependency conflicts
2025-10-22 13:05:49 -04:00
nmemmert c054fbc404 Fix Dockerfile build dependencies
- Install all dependencies (including dev dependencies) in builder stage
- Ensure TypeScript, Tailwind, and other build tools are available during build
2025-10-22 13:02:44 -04:00
nmemmert 16a2a19d26 Fix GitHub Actions Docker workflow
- Remove problematic cache configuration that was causing build failures
- Simplify workflow for reliable Docker image building
2025-10-22 12:59:47 -04:00
nmemmert 29a50dcc9b Update README with Docker instructions 2025-10-22 12:44:23 -04:00
nmemmert af8b346ff6 Add GitHub Actions workflow for Docker image building
- Add CI/CD pipeline to build and push Docker images
- Configure GitHub Container Registry integration
- Enable caching for faster builds
2025-10-22 12:43:44 -04:00
nmemmert fba1097380 Add Docker support and containerization
- Add Dockerfile for Next.js application
- Configure standalone output for Docker
- Add .dockerignore file
- Add docker-compose.yml for easy deployment
- Update next.config.ts for Docker compatibility
2025-10-22 12:42:41 -04:00
nmemmert 91d417159d Initial commit from Create Next App 2025-10-22 10:49:14 -04:00