Commit Graph

62 Commits

Author SHA1 Message Date
fsociety
2f8ef6c662 feat: update grid column configuration in election page
Changed the grid column configuration from 3 to 2 in the election page view. This will help in better alignment and spacing of the elements within the grid.
2024-09-29 21:32:54 +02:00
fsociety
cc53372fa5 feat: improve error handling for election event loading 2024-09-29 21:26:36 +02:00
fsociety
58f35bd8d6 feat: add additional error check in association election views
The association election admin and user views now perform an additional check to ensure the relay service is responding correctly. This should prevent unexpected crashes when the service is unavailable or returning errors.
2024-09-29 21:21:34 +02:00
fsociety
bfbcd11407 feat: improve error handling in election views
Update error checking in both admin and user election views. Now correctly checks the type of the response object rather than directly comparing with a string. This should provide more accurate error feedback.
2024-09-29 21:19:31 +02:00
fsociety
5ad40f8214 feat: update secretary role title in election pages
Update the title of the secretary role from 'Sekretär (Akurat)' to 'Revisionsstelle' in both election administration and election view pages.
2024-09-29 20:46:15 +02:00
fsociety
0dd577e9d5 feat: Add error handling for relay server response and custom error pages
This commit includes the following changes:
- Added error handling in the election views to check if the relay server responds with an error message
- Included custom error pages for different HTTP status codes (401, 402, 403, 404, 419, 429, 500, 503)
- Created a new layout for the error pages
2024-09-29 19:51:13 +02:00
fsociety
a4052b1ed5 feat: replace hardcoded relay URL with config variable
This commit replaces hardcoded relay server URL with a configuration variable in services.php. The relay URL is now fetched from the environment variable NOSTR_RELAY. This change has been made in the files Election:year.blade.php and admin/Election:year.blade.php under association/election directory.
2024-09-29 19:38:26 +02:00
fsociety
c2f0014a8e add members table 2024-09-29 18:21:09 +02:00
fsociety
e76a60c600 close election 2024-09-29 16:51:35 +02:00
fsociety
736dcbfe1b real-time-admin-dashboard added 2024-09-29 16:29:06 +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