Commit Graph

14 Commits

Author SHA1 Message Date
user
851bab49eb 🔒 Add Nostr authentication login calls across association views 2025-11-20 23:13:35 +01:00
user
9c1cea5868 🔒 Add Nostr authentication support with custom guard and user provider
🛠️ Integrate Nostr auth across relevant components and views
📦 Update config, routes, and service provider for Nostr auth
2025-11-20 23:10:20 +01:00
fsociety
0b5b6cc9ad 🎉 update(deps): bump dependencies for email-validator, pretty-package-versions, and others to latest versions
🔒 refactor(auth): streamline access control logic in election and project support forms

 add(styles): include partial styles for better layout management

🚀 feat(layout): integrate new styles partial into main layout for consistent design

🆕 create(partials): add styles partial to manage CSS styles more effectively
2025-03-23 23:28:02 +01:00
fsociety
e8f31c750e 🎉 chore(composer): update dependencies and version numbers in composer.lock file. 2024-12-17 15:23:54 +01:00
fsociety
421d60e42b feat(election): add access control for election details and voting options based on user permissions. 2024-10-25 13:30:39 +02:00
fsociety
c7c744d626 🆕 feat(pages): change x-if to x-show for conditional rendering in admin and project support views 2024-10-25 13:06:44 +02:00
fsociety
77c4f0158e 🎨 refactor: update x-show to x-if for conditionally rendering elements in Blade templates. 2024-10-25 11:34:25 +02:00
fsociety
5113954ba7 🛠️ refactor: group function imports for better readability in multiple Blade files 2024-10-24 21:19:06 +02:00
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
ccf4b7abeb feat: add multiple allowed public keys for admin access
This commit introduces a change in the authorization mechanism for the admin sections of the association members and election pages. Instead of checking for a single allowed public key, the system now checks for an array of allowed public keys, enhancing the flexibility of the admin access control.
2024-10-01 20:55:07 +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
c2f0014a8e add members table 2024-09-29 18:21:09 +02:00