b6e18a83ec
feat(cms): sync site assets, revalidate webhook, and document download naming
2026-02-10 23:38:31 +08:00
c4969cd4d2
Split migrated document posts into guides and story
2026-02-10 20:26:57 +08:00
097e332608
Make document reclassify command revalidation optional
2026-02-10 20:04:21 +08:00
2a98d22740
Add command to reclassify document content
2026-02-10 20:03:47 +08:00
f0dbea1af5
Add Line ID field to member lifecycle
2026-02-10 15:31:29 +08:00
a30af8eaf7
Add headless CMS for official site content management
...
Integrate article and page management into the Laravel admin dashboard
to serve as a headless CMS for the Next.js frontend (usher-site).
Backend:
- 7 migrations: article_categories, article_tags, articles, pivots, attachments, pages
- 5 models with relationships: Article, ArticleCategory, ArticleTag, ArticleAttachment, Page
- 4 admin controllers: articles (with publish/archive/pin), categories, tags, pages
- Admin views with EasyMDE markdown editor, multi-select categories/tags
- Navigation section "官網管理" in admin sidebar
API (v1):
- GET /api/v1/articles (filtered by type, category, tag, search; paginated)
- GET /api/v1/articles/{slug} (with related articles)
- GET /api/v1/categories
- GET /api/v1/pages/{slug} (with children)
- GET /api/v1/homepage (aggregated homepage data)
- Attachment download endpoint
- CORS configured for usher.org.tw, vercel.app, localhost:3000
Content migration:
- ImportHugoContent command: imports Hugo markdown files as articles/pages
- Successfully imported 27 articles, 17 categories, 11 tags, 9 pages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-07 11:58:22 +08:00
ee35cd0ac3
Fix ROC date parsing for roster import
2026-01-25 06:41:42 +08:00
29c44f2dbe
Update roster import to sync existing members
2026-01-25 06:22:57 +08:00
c2f0047ed9
Add personal application fields to members
2026-01-25 05:52:40 +08:00
e27d3c0f72
Update membership types to match charter Article 7
...
- Add individual, sponsor, honorary_academic types (per charter)
- Keep legacy types (regular, honorary, lifetime, student) for compatibility
- Update labels to Chinese names
- Fix MembershipPayment import to include verification dates
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-25 03:43:08 +08:00
42099759e8
Add phone login support and member import functionality
...
Features:
- Support login via phone number or email (LoginRequest)
- Add members:import-roster command for Excel roster import
- Merge survey emails with roster data
Code Quality (Phase 1-4):
- Add database locking for balance calculation
- Add self-approval checks for finance workflow
- Create service layer (FinanceDocumentApprovalService, PaymentVerificationService)
- Add HasAccountingEntries and HasApprovalWorkflow traits
- Create FormRequest classes for validation
- Add status-badge component
- Define authorization gates in AuthServiceProvider
- Add accounting config file
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-25 03:08:06 +08:00
642b879dd4
Add membership fee system with disability discount and fix document permissions
...
Features:
- Implement two fee types: entrance fee and annual fee (both NT$1,000)
- Add 50% discount for disability certificate holders
- Add disability certificate upload in member profile
- Integrate disability verification into cashier approval workflow
- Add membership fee settings in system admin
Document permissions:
- Fix hard-coded role logic in Document model
- Use permission-based authorization instead of role checks
Additional features:
- Add announcements, general ledger, and trial balance modules
- Add income management and accounting entries
- Add comprehensive test suite with factories
- Update UI translations to Traditional Chinese
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-01 09:56:01 +08:00
13bc6db529
Initial commit
2025-11-20 23:21:05 +08:00