Commit Graph

8 Commits

Author SHA1 Message Date
user
81adc50fc5 Update relay URLs in nostrZap.js configuration 2025-11-16 18:35:48 +01:00
fsociety
22e0151be4 🚀 feat(migration): add zap endpoint field to payment events table
🎨 refactor(profile): update payment logic and button display
🔧 fix(nostrZap): change relay URL to secure WebSocket protocol
2024-10-22 17:11:32 +02:00
fsociety
259c012657 feat: dynamic zap endpoint from callback URL in nostrZap.js
This commit fetches the callback URL dynamically instead of using a hardcoded value. This improves the flexibility of the system as the callback URL can now be changed without needing to modify the code.
2024-10-02 14:31:42 +02:00
fsociety
e8820d7c29 feat: add environment-specific relayUrl configuration in nostrZap.js 2024-10-02 14:26:49 +02:00
fsociety
3e271e932a feat: update zapEndpoint URL and remove unused function
Updated the zapEndpoint URL in the nostrZap.js file to direct towards the updated URL. Additionally, removed an unused function from the profile.blade.php file for cleaner code.
2024-10-01 18:28:50 +02:00
fsociety
e0bb99fc4f feat: update production relayUrl in nostrZap.js 2024-10-01 14:38:34 +02:00
fsociety
fb2c315c10 feat: add dynamic relay url based on environment 2024-10-01 14:21:06 +02:00
fsociety
e0a34d9376 feat: add QR code generator and Nostr event handling
- Added the `simplesoftwareio/simple-qrcode` package to the project
- Created a new JavaScript file `nostrZap.js` to handle Nostr events
- Added the `nostrZap` function to the Alpine.js data property in `app.js`
- Updated the `services.php` configuration file to include the `nostr` environment variable
- Created a new database migration to add a `payment_event` field to the `einundzwanzig_plebs` table
- Made adjustments in the `Election:year.blade.php` view file to handle potential null values
- Updated `composer.lock` and `package.json` with the new dependencies
2024-09-30 14:46:30 +02:00