Commit Graph

88 Commits

Author SHA1 Message Date
fsociety
a16249f37a 🎉 feat(sentry): add Sentry Laravel SDK configuration for error monitoring and performance tracking. 2024-10-09 13:13:50 +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
ef109b87a3 🎨 style(association-status): update text color for default association status in Pleb table component 2024-10-07 14:18:10 +02:00
fsociety
e89265d447 🎨 feat(association): enhance association status formatting with dynamic CSS classes in PlebTable component 2024-10-07 14:16:11 +02:00
fsociety
9065719ca3 🎨 feat(footer): set per page option to 0 in EinundzwanzigPlebTable for pagination adjustments. 2024-10-07 14:08:23 +02:00
fsociety
c0040e3527 feat(tables): remove multiSort option and add association_status to PlebTable 2024-10-07 14:07:25 +02:00
fsociety
15f391cd47 feat(table): update default sort field to association_status in EinundzwanzigPlebTable component 2024-10-07 14:05:51 +02:00
fsociety
9fc010d262 🎨 style(EinundzwanzigPlebTable): change default sort direction from ascending to descending 2024-10-07 13:43:14 +02:00
fsociety
93d1372c13 🎨 feat(profile): update profile blade with new message and clean up payment function description 2024-10-07 13:28:01 +02:00
fsociety
5e830a83a7 🚀 feat(profile): update video visibility based on user login state in profile page
🎨 style(app): reorder script includes for better organization in app layout

 feat(plebTable): implement confirmation dialogs for accepting and deleting entries in Pleb table
2024-10-07 12:49:47 +02:00
fsociety
140809c142 🎥 feat(profile): add Nsec.app tutorial video for secure login instructions 2024-10-07 11:06:47 +02:00
fsociety
3cb0584e9c 🔧 refactor(changelog): streamline commit history parsing with improved output format and eliminate redundancy 2024-10-06 15:50:18 +02:00
fsociety
7f6766fbc7 🚀 update(dependencies): upgrade doctrine/sql-formatter to 1.5.0 and other packages 2024-10-06 15:43:32 +02:00
fsociety
c84f91e287 new yarn.lock 2024-10-06 13:46:04 +02:00
fsociety
7e2e806d8f new yarn.lock 2024-10-06 13:43:42 +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
a7716152d4 disable zap 2024-10-05 19:39:58 +02:00
fsociety
af0195ecd4 feat: update UI elements in election page
Updated the UI elements in the election page. Changed the header text and button styling for better readability and consistency.
2024-10-02 14:37:50 +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
1fb59bd1d6 feat: update payment amount based on environment
Update the amountToPay in the profile.blade.php file for the association. In the production environment, the amount will be 21000 while in other environments it will be 1 for testing purposes. Also, format the printed amount with thousands separator for better readability.
2024-10-02 14:13:11 +02:00
fsociety
adfeb365bf feat(config/reverb): update app credentials in reverb config file 2024-10-02 14:01:43 +02:00
fsociety
33b5c9068e feat(config): add test configuration to reverb.php 2024-10-02 13:56:19 +02:00
fsociety
75f11e3023 feat: add payment status filter in EinundzwanzigPlebTable query
This commit modifies the query in EinundzwanzigPlebTable.php to filter out the paymentEvents where 'paid' is false. It also includes minor refactoring and formatting changes to improve code readability.
2024-10-02 12:49:27 +02:00
fsociety
e937176d52 feat: update event ID in election blade files
The event ID for loading Nostr events in the election blade files for both admin and general user views have been updated to 32122.
2024-10-02 12:43: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
ee0598515a feat: Add presidency election feature to election view
This commit adds a new feature to the election view which allows users to vote for the presidency. It also modifies the confirmation message for board member candidates.
2024-10-02 11:05:05 +02:00
fsociety
633ea49002 feat: update amountToPay value from 21 to 21000
This commit updates the value of `amountToPay` from 21 to 21000 in the `profile.blade.php` view. This change is applied to both the initial state setup and the condition where the current association status is active. The description for active members is also updated to reflect this change.
2024-10-02 01:00:42 +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
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
661ff8bbc3 feat: update amountToPay in association profile view 2024-10-01 16:54:55 +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
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
0c7c55ac65 feat: add membership information to profile view
Added detailed information about passive and active membership on the profile view page. This includes information about rights, responsibilities, and annual fee.
2024-09-30 20:57:27 +02:00
fsociety
a1f7cef90f feat: add nostr.einundzwanzig.space to NostrFetcherTrait 2024-09-30 20:52:58 +02:00
fsociety
6ac364286d feat: add multiple relay URLs in NostrFetcherTrait
This commit introduces support for multiple relay URLs in the NostrFetcherTrait. The application will now attempt to fetch data from a list of relay URLs instead of just one. This change provides a better failover mechanism in case one of the relay servers is down or unresponsive. The application will now throw a RuntimeException if no data is received from any of the relays.
2024-09-30 20:52:20 +02:00
fsociety
883bd4d1e5 feat: update UI in profile.blade.php
Made several changes to the UI in the profile.blade.php file, including removing unnecessary comments, updating class attributes, and modifying the structure of certain divs and sections for improved readability and maintainability.
2024-09-30 20:28:55 +02:00
fsociety
4568d9e402 feat: add voting feature toggle
This commit introduces a new feature toggle 'voting' to enable/disable voting. It also includes minor formatting adjustments in election admin blade files.
2024-09-30 20:27:18 +02:00
fsociety
265ed40839 feat: add archived application text field to EinundzwanzigPleb model
This commit introduces a new field `archived_application_text` to the EinundzwanzigPleb model. The application text of a Pleb is now archived before the association status is updated and the application text is set to null. A migration file is also added to update the database schema.
2024-09-30 19:16:06 +02:00
fsociety
f91313b6f5 feat: add Nostr profile fetcher and update election admin view
- Added a new console command `nostr:profile` which fetches a Nostr profile given a public key.
- Updated the election admin view to fetch the profile if it doesn't exist in the database.
- Introduced a new state variable `isAllowed` to handle authorization in the election admin view.
- Redirect users with no admin access to the association profile page.
2024-09-30 18:47:42 +02:00
fsociety
290d8b3d78 feat: hide log events section in election page 2024-09-30 18:32:51 +02:00
fsociety
d32b13989d feat: hide log events on small screens in election view 2024-09-30 17:34: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
9b23a7f6e7 feat: Update payment amount and improve layout in profile page
This commit updates the payment amount to be dynamic and improves the layout in the profile page of the association.
2024-09-30 16:43:20 +02:00
fsociety
d3652138c8 feat: update profile view to show pubkey only to non-association members 2024-09-30 16:33:53 +02:00
fsociety
e604c94541 feat: update profile view to show pubkey only to non-association members 2024-09-30 16:30:49 +02:00
fsociety
7e3d95c78b feat(profile.blade.php): update user display and improve responsiveness
Improve the UI by changing the user display from 'nip05' to 'display_name' and 'name'. Update the display of event IDs for payment to be more responsive. Add labels for satoshis and year on smaller screens. Make other minor adjustments for better responsiveness on different screen sizes.
2024-09-30 16:24:16 +02:00
fsociety
1bf9265f21 feat: update layout and fix conditional rendering in detail.blade.php 2024-09-30 16:07:43 +02:00
fsociety
b470532007 feat: update layout and fix conditional rendering in detail.blade.php 2024-09-30 16:06:48 +02:00