Commit Graph

11 Commits

Author SHA1 Message Date
fsociety
e8820d7c29 feat: add environment-specific relayUrl configuration in nostrZap.js 2024-10-02 14:26:49 +02:00
fsociety
c21a46a870 feat: add boardVotes and showLog functionalities
This commit includes the addition of a 'boardVotes' functionality in the electionAdminCharts.js file, and a 'showLog' functionality in the nostrApp.js file. This update provides enhanced interactivity and data handling for the charts and logs respectively.
2024-10-02 12:40:42 +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
241cc9659f feat: add permission checks for election views
- Add permission checks to the election index and election year views.
- Show election views only to users with a certain association status.
- Update nostrApp.js to entangle the 'isAllowed' state.
2024-09-30 17:09:25 +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
fsociety
ef0650f4d5 real-time-admin-dashboard added 2024-09-29 16:18:44 +02:00
fsociety
354680f702 voting system with nostr added 2024-09-29 01:02:04 +02:00
fsociety
a0ef037b2d first copies from portal 2024-09-04 19:37:46 +02:00
fsociety
0769adfba3 Set up a fresh Laravel app 2024-08-29 13:36:49 +02:00