Commit Graph

6 Commits

Author SHA1 Message Date
fsociety
5b0f55ba95 🚫 fix(permissions): update unauthorized access alerts for member and election management pages 2024-10-07 14:26:49 +02:00
fsociety
1d5079bfa0 feat: handle logout events in nostr-login
This commit introduces handling for logout events in nostr-login across various pages. When a user logs out, the current public key and other related information are reset to null. The nostrLogin.js file has also been updated to dispatch a 'nostrLoggedOut' event when this occurs. Additionally, the nostr-login package has been added to the project dependencies.
2024-10-06 13:38:49 +02:00
fsociety
c0e4a4bb98 feat: change conditional checks for association status and public key
Swapped the conditional check for association status and public key in both admin.blade.php and index.blade.php. This change ensures that the correct condition is evaluated in the respective files.
2024-10-01 14:42:13 +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
5623671bad feat: update layout and fix bugs in election related pages
This commit includes various updates to improve the layout and user experience on election related pages. It includes changes in grid layout for better responsiveness, updates to text sizing and wrapping for better readability, and fixes bugs related to null values and unique key generation.
2024-09-29 22:27:07 +02:00
fsociety
354680f702 voting system with nostr added 2024-09-29 01:02:04 +02:00