Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
af644bf2c9 feat(EinundzwanzigPlebTable): update payment calculation logic 2024-09-30 16:02:18 +02:00
fsociety
65fb920150 feat: add payment tracking to user profiles
- Added a check to update the 'paid' status of a user's paymentEvents if the current year's payment has been made
- Updated the user profile view to display past payments
- Added 'paymentEvents' to the query in EinundzwanzigPlebTable.php to fetch the current year's payments
- Added a 'payment' column to the table in EinundzwanzigPlebTable.php to display the amount of the user's current year's payment
2024-09-30 15:22:33 +02:00
fsociety
0bdd890dd3 feat: add multiple payment events to user profile
- Added logic to handle multiple payment events in a user's profile
- Created a new PaymentEvent model and associated it with the EinundzwanzigPleb model
- Added a new migration for creating the payment_events table in the database
- Updated the profile.blade.php view to display all payment events for a user
2024-09-30 15:14:50 +02:00
fsociety
bf9a5fbd39 feat(EinundzwanzigPlebTable): update columns and filters
This commit updates the column configuration and filters in the EinundzwanzigPlebTable component. The changes include making some columns visible in export, removing the searchable feature from some columns, and removing all filters. The WithExport trait has also been added to the component.
2024-09-29 23:24:08 +02:00
fsociety
07194f3c06 feat: add Impressum link to app layout and clean up imports in PlebTable 2024-09-29 22:53:28 +02:00
fsociety
242bb3ce9a feat: add logic to create EinundzwanzigPleb if not exists in GetProfile API 2024-09-29 22:36:12 +02:00
fsociety
4c4cef57b1 feat: update visibility rule for edit button in EinundzwanzigPlebTable 2024-09-29 20:42:49 +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
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