Commit Graph

  • a807d97345 Merge pull request 'Merge to LOAF-PROD for Demo' (#27) from dev into loaf-prod loaf-prod andika 2026-02-02 11:11:36 +00:00
  • e7f6e9c20a Update Stripe publishable key storage in Stripe Settings 1. Updated UpdateStripeSettingsRequest - Added publishable_key field 2. Updated update_stripe_settings endpoint - Now validates and stores: - stripe_publishable_key (not encrypted - it's public) - stripe_secret_key (encrypted) - stripe_webhook_secret (encrypted) - Also validates that publishable and secret keys are from the same environment (both test or both live) 3. Added new public endpoint GET /api/config/stripe - Returns the publishable key to the frontend (no auth required since it's meant to be public) 4. Updated get_stripe_status endpoint - Now includes publishable_key_prefix and publishable_key_set in the response dev Andika 2026-02-02 17:52:25 +07:00
  • 0cd5350a7b no message Andika 2026-02-02 17:06:36 +07:00
  • dd41cf773b - Added DEFAULT_DIRECTORY_CONFIG constant with all directory fields - Added get_directory_config() and save_directory_config() helper functions - Created 4 new endpoints: - GET /api/directory/config - Public endpoint for frontend - GET /api/admin/directory/config - Admin view with metadata - PUT /api/admin/directory/config - Update configuration - POST /api/admin/directory/config/reset - Reset to defaults - Fixed a bug: Changed SystemSettings.key → SystemSettings.setting_key (correct column name) - Added JSON serialization/deserialization for storing config in Text column Andika 2026-02-02 17:05:27 +07:00
  • 1c262c4804 1. Database Migration (backend/alembic/versions/014_add_custom_registration_data.py)- Adds custom_registration_data JSON column to users table for storing dynamic field responses2. User Model (backend/models.py)- Added custom_registration_data = Column(JSON, default=dict, nullable=False) to User model3. New API Endpoints (backend/server.py)- GET /api/registration/schema - Public endpoint returning form schema- GET /api/admin/registration/schema - Admin view with metadata- PUT /api/admin/registration/schema - Update schema- POST /api/admin/registration/schema/validate - Validate schema structure- POST /api/admin/registration/schema/reset - Reset to default- GET /api/admin/registration/field-types - Get available field types4. Validation Functions- validate_dynamic_registration() - Validates form data against schema- split_registration_data() - Splits data between User columns and custom_registration_data- evaluate_conditional_rules() - Evaluates show/hide rules5. Permissions (backend/seed_permissions_rbac.py)- Added registration.view and registration.manage permissions Koncept Kit 2026-02-01 19:43:28 +07:00
  • a053075a30 Fix permission rbac Koncept Kit 2026-01-31 01:26:12 +07:00
  • 6f8ec1d254 make the migration idempotetnt Koncept Kit 2026-01-31 01:16:02 +07:00
  • 9754f2db6e 1. Models (backend/models.py)- Added PaymentMethodType enum (card, cash, bank_transfer, check)- Added stripe_customer_id column to User model- Created new PaymentMethod model with all fields specified in the plan2. Alembic Migration (backend/alembic/versions/add_payment_methods.py)- Creates payment_methods table- Adds stripe_customer_id to users table- Creates appropriate indexes3. API Endpoints (backend/server.py)Added 12 new endpoints:Member Endpoints:- GET /api/payment-methods - List user's payment methods- POST /api/payment-methods/setup-intent - Create Stripe SetupIntent- POST /api/payment-methods - Save payment method after setup- PUT /api/payment-methods/{id}/default - Set as default- DELETE /api/payment-methods/{id} - Remove payment methodAdmin Endpoints:- GET /api/admin/users/{user_id}/payment-methods - List user's methods (masked)- POST /api/admin/users/{user_id}/payment-methods/reveal - Reveal sensitive details (requires password)- POST /api/admin/users/{user_id}/payment-methods/setup-intent - Create SetupIntent for user- POST /api/admin/users/{user_id}/payment-methods - Save method on behalf- POST /api/admin/users/{user_id}/payment-methods/manual - Record manual method (cash/check)- PUT /api/admin/users/{user_id}/payment-methods/{id}/default - Set default- DELETE /api/admin/users/{user_id}/payment-methods/{id} - Delete method4. Permissions (backend/permissions_seed.py)Added 5 new permissions:- payment_methods.view- payment_methods.view_sensitive- payment_methods.create- payment_methods.delete- payment_methods.set_default Koncept Kit 2026-01-31 01:03:17 +07:00
  • 03e5dd8bda - 7 new API endpoints\ - Public theme config endpoint for frontend initialization (with 5-min cache)/- Admin CRUD for theme settings (get, update, reset)/- Logo and favicon upload/delete via Cloudflare R2 storage Koncept Kit 2026-01-27 21:31:17 +07:00
  • ab0f098f99 - Fix Member Directory to include staff- Implement Member Tiers settings endpoints Koncept Kit 2026-01-27 16:15:44 +07:00
  • 8695944ef8 Merge pull request '- Add Dockerfile and .dockerignore- Fix initial DB creation- Fix seed permission' (#26) from dev into dav-prod dav-prod andika 2026-01-26 13:07:56 +00:00
  • ea87b3f6ee - Add Dockerfile and .dockerignore- Fix initial DB creation- Fix seed permission Koncept Kit 2026-01-26 20:06:22 +07:00
  • 7d61eddcef Merge pull request 'dev' (#25) from dev into loaf-prod andika 2026-01-26 11:20:14 +00:00
  • b29bb641f5 Fixes Koncept Kit 2026-01-24 23:56:21 +07:00
  • d322d1334f 1. Added member_since to GET Response- - Endpoint: GET /api/admin/users/{user_id}- Now includes: member_since: 2024-03-15T10:30:00Z (or null)2. Created NEW PUT Endpoint for Admin User Profile Updates- Endpoint: PUT /api/admin/users/{user_id}- Permission Required: users.edit (admins and superadmins have this) Koncept Kit 2026-01-21 11:35:19 +07:00
  • ece1e62913 Was reading from .env only → NOW FIXED to read from database Koncept Kit 2026-01-21 00:10:02 +07:00
  • d3a0cabede - Details Column - Expandable chevron button for each row- Expandable Transaction Details - Click chevron to show/hide details- Payment Information Section:- Stripe Transaction IDs Section- Copy to Clipboard - One-click copy for all transaction IDs- Update Stripe webhook event permission on Stripe Config page. Koncept Kit 2026-01-20 23:51:38 +07:00
  • 5ab0038c0a Merge branch 'dev' into docker docker kayela 2026-01-17 13:37:04 -06:00
  • e938baa78e - Add Settings menu for Stripe configuration- In the Member Profile page, Superadmin can assign new Role to the member- Stripe Configuration is now stored with encryption in Database Koncept Kit 2026-01-16 19:07:58 +07:00
  • a5fc42b353 Merge pull request 'Database prevent dead connection errors and make login work on the first try' (#24) from dev into loaf-prod andika 2026-01-07 09:42:14 +00:00
  • 39324ba6f6 Database prevent dead connection errors and make login work on the first try Koncept Kit 2026-01-07 16:23:01 +07:00
  • 37b1ab75df Merge pull request 'Merge from Dev to LOAF Production' (#23) from dev into loaf-prod andika 2026-01-07 08:43:14 +00:00
  • adbfa7a3c8 - Fixed MutableHeaders bug- Disable API docs in production- CORS diagnostic endpoint- Security headers + CORS middlewareMust have ENVIRONMENT=production and CORS_ORIGINS=... in .env file Koncept Kit 2026-01-07 14:21:47 +07:00
  • a74f161efa Security Hardening #1 Koncept Kit 2026-01-07 14:15:50 +07:00
  • d818d847bc Security Hardening Koncept Kit 2026-01-07 14:03:38 +07:00
  • 1390e07500 Login and Session Fixes Koncept Kit 2026-01-07 13:37:28 +07:00
  • 38e5f5377a Merge branch 'dev' into docker kayela 2026-01-06 12:31:29 -06:00
  • e06f18ce17 Add start script for backend server initialization and update .gitignore kayela 2026-01-06 12:30:26 -06:00
  • f915976cb3 Merge pull request 'feat: Implement Option 3 - Proper RBAC with role-based staff invitations' (#22) from dev into loaf-prod andika 2026-01-06 08:35:09 +00:00
  • 810366d00f feat: Implement Option 3 - Proper RBAC with role-based staff invitations Koncept Kit 2026-01-06 14:42:25 +07:00
  • 84285861cc Merge branch 'dev' into docker kayela 2026-01-05 13:01:16 -06:00
  • 56d1b97261 docker deleted kayela 2026-01-05 12:58:22 -06:00
  • 9c5aafc57b Merge pull request 'Add missing endpoints, fix batch updates, and implement RSVP status' (#21) from dev into loaf-prod andika 2026-01-05 18:08:21 +00:00
  • 314380eec6 Add missing endpoints, fix batch updates, and implement RSVP status Koncept Kit 2026-01-06 01:03:01 +07:00
  • 3755a71ed8 Merge pull request 'Alembic migration for synchronize Database' (#20) from dev into loaf-prod andika 2026-01-05 14:16:21 +00:00
  • 2b82f4acd8 Alembic migration for synchronize Database Koncept Kit 2026-01-05 21:13:49 +07:00
  • b2293a5588 Merge pull request 'Alembic fix for PROD' (#19) from dev into loaf-prod andika 2026-01-05 10:31:38 +00:00
  • cca694766b Alembic fix for PROD Koncept Kit 2026-01-05 17:29:41 +07:00
  • 9f29bf05d8 Merge pull request 'Database Migration fix' (#18) from dev into loaf-prod andika 2026-01-05 10:26:08 +00:00
  • 0171546bba Database Migration fix Koncept Kit 2026-01-05 17:24:57 +07:00
  • b44d55919e Merge pull request 'Alembic Database fix' (#17) from dev into loaf-prod andika 2026-01-05 10:16:04 +00:00
  • 96aca7d39b Alembic Database fix Koncept Kit 2026-01-05 17:15:16 +07:00
  • 1a6341a94c Merge pull request 'Alembic Database Syncronization' (#16) from dev into loaf-prod andika 2026-01-05 10:09:27 +00:00
  • 82319509c3 Alembic Database fix Koncept Kit 2026-01-05 17:06:32 +07:00
  • 2547758864 Database fix Koncept Kit 2026-01-05 16:56:38 +07:00
  • 727cbf4b5c Merge pull request 'Merge from dev' (#15) from dev into loaf-prod andika 2026-01-05 08:49:16 +00:00
  • 669d78beb5 Fix migration 010: add column existence check for email_verification_expires Koncept Kit 2026-01-05 13:56:37 +07:00
  • df789612e8 Fix migrations 004-006: add column existence checks to prevent duplicate column errors Koncept Kit 2026-01-05 11:50:26 +07:00
  • 9266521bf1 Fix migration 003: add column existence checks to prevent duplicate column errors Koncept Kit 2026-01-05 02:43:15 +07:00
  • c8f4040244 Fix migration 002 - skip existing columns Koncept Kit 2026-01-05 02:30:54 +07:00
  • c848d4240a Add missing email_verification_expires column Koncept Kit 2026-01-05 02:28:47 +07:00
  • 6784148058 Fix timezone comparison error in invitation verification Koncept Kit 2026-01-05 02:26:11 +07:00
  • 9c3f3c88b8 Merge pull request 'Add comprehensive column check and migration 009' (#14) from dev into loaf-prod andika 2026-01-04 16:19:51 +00:00
  • 340f838925 Add comprehensive column check and migration 009 Koncept Kit 2026-01-04 23:19:05 +07:00
  • 849a6a32af Merge pull request 'Add missing donations table columns' (#13) from dev into loaf-prod andika 2026-01-04 16:10:27 +00:00
  • d967d1934e Add missing donations table columns Koncept Kit 2026-01-04 23:09:28 +07:00
  • 69b8185414 Merge pull request 'Fix migration 007 - skip existing columns' (#12) from dev into loaf-prod andika 2026-01-04 16:06:27 +00:00
  • 03ae921a5f Fix migration 007 - skip existing columns Koncept Kit 2026-01-04 23:05:32 +07:00
  • f5f8ca8dc6 Merge pull request 'Add missing subscription_plans columns' (#11) from dev into loaf-prod andika 2026-01-04 16:03:43 +00:00
  • d5f2373143 Add missing subscription_plans columns Koncept Kit 2026-01-04 23:01:20 +07:00
  • 661a4cbb7c Merge pull request 'Fix subscription_plans.is_active column name' (#10) from dev into loaf-prod andika 2026-01-04 15:58:05 +00:00
  • 7ad5bfb1e5 Fix subscription_plans.is_active column name Koncept Kit 2026-01-04 22:56:56 +07:00
  • a01a8b9915 Merge pull request 'Superadmin nullable fix' (#9) from dev into loaf-prod andika 2026-01-04 15:35:59 +00:00
  • f9bfdfa879 Superadmin nullable fix Koncept Kit 2026-01-04 22:33:48 +07:00
  • e126cb988c Merge pull request 'Subscription and Storage data mismatch' (#8) from dev into loaf-prod andika 2026-01-04 15:28:46 +00:00
  • 53bf84ba57 Subscription and Storage data mismatch Koncept Kit 2026-01-04 22:26:33 +07:00
  • fd988241a1 Merge pull request 'Subscription and Storage data mismatch' (#7) from dev into loaf-prod andika 2026-01-04 15:24:11 +00:00
  • 25b1cb916a Subscription and Storage data mismatch Koncept Kit 2026-01-04 22:22:37 +07:00
  • c28eddca67 Merge pull request 'Fix database mismatches' (#6) from dev into loaf-prod andika 2026-01-04 15:17:18 +00:00
  • cd8b4dcaa6 Fix database mismatches Koncept Kit 2026-01-04 22:16:35 +07:00
  • e20542ccdc Merge pull request 'Fix database mismatches' (#5) from dev into loaf-prod andika 2026-01-04 15:02:09 +00:00
  • efc2002a67 Fix database mismatches Koncept Kit 2026-01-04 22:01:26 +07:00
  • b3f1f5f789 Merge pull request 'Prod Deployment Preparation' (#4) from dev into loaf-prod andika 2026-01-04 12:10:12 +00:00
  • 6ec0745966 Prod Deployment Preparation Koncept Kit 2026-01-04 19:08:54 +07:00
  • 1da045f73f Merge pull request 'Update Gitignore' (#3) from dev into loaf-prod andika 2026-01-02 08:45:29 +00:00
  • 85199958bc Update Gitignore Koncept Kit 2026-01-02 15:44:34 +07:00
  • 6b6173bd5b Refactor docker-compose.yml by removing unnecessary lines and cleaning up formatting kayela 2025-12-26 17:33:40 -06:00
  • cf8d38a4a4 Remove database service configuration from docker-compose kayela 2025-12-26 16:50:21 -06:00
  • 09712e52bb Merge remote-tracking branch 'origin/dev' into docker kayela 2025-12-26 16:47:24 -06:00
  • 487481b322 Test Preparation Koncept Kit 2025-12-26 20:03:53 +07:00
  • 366245acc7 Add database service configuration to docker-compose kayela 2025-12-24 13:00:42 -06:00
  • a75bf743f4 Merge remote-tracking branch 'origin/dev' into docker kayela 2025-12-24 12:46:32 -06:00
  • fb369977d0 Update compiled Python bytecode for server module kayela 2025-12-24 12:30:09 -06:00
  • 1ed9aa0994 Merge remote-tracking branch 'origin' into docker kayela 2025-12-19 12:51:56 -06:00
  • fad23c6e57 Merge pull request 'Donation base URL fix' (#2) from main into dev andika 2025-12-18 11:04:08 +00:00
  • 91c7fc01e6 Donation base URL fix main Koncept Kit 2025-12-18 18:02:36 +07:00
  • 3bcc69f3a2 Merge pull request '- Profile Picture\' (#1) from main into dev andika 2025-12-18 10:30:00 +00:00
  • db13f0e9de - Profile Picture\ Donation Tracking\ Validation Rejection\ Subscription Data Export\ Admin Dashboard Logo\ Admin Navbar Reorganization Koncept Kit 2025-12-18 17:04:00 +07:00
  • b7ab1a897f Permission fix Koncept Kit 2025-12-17 01:41:29 +07:00
  • 1050abd830 Permission fix Koncept Kit 2025-12-17 01:38:10 +07:00
  • f1798ea922 Permission fix Koncept Kit 2025-12-17 01:33:47 +07:00
  • 050cccae8f Permission fix Koncept Kit 2025-12-17 01:29:17 +07:00
  • ed5526e27b RBAC, Permissions, and Export/Import Koncept Kit 2025-12-16 20:03:50 +07:00
  • 04783f66f1 docker set up kayela-c 2025-12-13 12:23:28 -06:00
  • b268c3fff8 Update Responsive and Contact Us page and function Koncept Kit 2025-12-13 00:58:30 +07:00
  • 834d65ec49 Donation page update and Subscription update on Admin Dashboard Koncept Kit 2025-12-11 23:14:13 +07:00
  • 7d55d29362 Stripe fix and email verification fix Koncept Kit 2025-12-11 22:18:58 +07:00
  • e875700b8e Update:- Membership Plan- Donation- Member detail for Member Directory Koncept Kit 2025-12-11 19:28:48 +07:00
  • f051976881 Update New Features Koncept Kit 2025-12-10 17:52:32 +07:00
  • 005c56b43d Email SMTP Fix Koncept Kit 2025-12-07 16:59:04 +07:00