Commit graph

195 commits

Author SHA1 Message Date
0cc0bf3555 feat: Enhance authentication and user management with detailed logging
- Add console logging for authentication initialization, login attempts, and user retrieval to improve debugging and traceability.
- Introduce a new getCurrentUser function in useAuth for better user data management.
- Update useTicketPurchase to include detailed logging for user wallets and balance checks, enhancing visibility into wallet states.
- Refactor LNBits API request and response logging for clearer error handling and debugging.
2025-08-03 11:20:58 +02:00
217ca70334 refactor: Clean up imports and unused variables in ticket-related components
- Remove unused imports from PurchaseTicketDialog.vue and useUserTickets.ts for improved code clarity.
- Update events.ts to eliminate the unused paymentRequest parameter in payInvoiceWithWallet function.
- Simplify MyTickets.vue by removing the unused unregisteredTickets variable and related QR code generation logic, enhancing maintainability.
2025-08-03 11:20:58 +02:00
deabf9464a feat: Enhance QR code generation and ticket navigation in MyTickets
- Implement functionality to always generate QR codes for all tickets, improving accessibility.
- Refactor ticket navigation to automatically generate QR codes for the next and previous tickets when cycling through them.
- Update layout for better visibility of ticket details and QR codes, ensuring a consistent user experience across different ticket statuses.
- Introduce a watcher to generate QR codes when grouped tickets change, enhancing real-time updates.
2025-08-03 11:20:58 +02:00
774df2757d feat: Implement ticket cycling functionality in MyTickets
- Add navigation buttons for cycling through tickets within each event group, enhancing user experience.
- Introduce state management for current ticket index, allowing users to view tickets sequentially.
- Update ticket display logic to reflect the currently selected ticket, ensuring accurate information presentation.
- Refactor layout to accommodate new ticket navigation features while maintaining a cohesive design.
2025-08-03 11:20:58 +02:00
67e4c0db87 feat: Implement ticket grouping in MyTickets for improved organization
- Enhance useUserTickets composable to group tickets by event, providing counts for paid, pending, and registered tickets.
- Update MyTickets.vue to display tickets in organized groups, improving user experience with clear event headers and ticket summaries.
- Refactor ticket display logic to accommodate grouped ticket views, ensuring a cohesive layout across different ticket statuses.
2025-08-03 11:20:58 +02:00
a6a65800a4 feat: Update PurchaseTicketDialog to enhance ticket purchase confirmation
- Modify PurchaseTicketDialog.vue to improve the ticket purchase success message and display a ticket icon.
- Add a button for users to easily navigate to their tickets area.
- Refactor the layout for better visual presentation of ticket information.
2025-08-03 11:20:58 +02:00
72e51ea10c refactor: Improve ticket ID display in PurchaseTicketDialog and MyTickets
- Update PurchaseTicketDialog.vue and MyTickets.vue to enhance the presentation of ticket IDs.
- Wrap ticket ID text in a styled container for better visibility and formatting.
- Ensure consistent styling across components for a unified user experience.
2025-08-03 11:20:58 +02:00
de8db6a12b feat: Enhance ticket purchasing and management with QR code support
- Update PurchaseTicketDialog.vue to display a ticket QR code after successful purchase and manage its visibility.
- Refactor useTicketPurchase composable to include ticket QR code generation and state management.
- Introduce QR code functionality in MyTickets.vue for displaying ticket QR codes, allowing users to toggle visibility.
- Improve user experience by providing clear feedback on ticket purchase status and QR code availability.
2025-08-03 11:20:58 +02:00
63d636a8a0 feat: Add My Tickets feature with ticket management
- Introduce MyTickets.vue page to display user tickets with filtering options for paid, pending, and registered tickets.
- Implement useUserTickets composable for fetching and managing user ticket data.
- Update Navbar.vue to include a link to the My Tickets page.
- Enhance events API to support fetching user tickets.
- Define Ticket type in event.ts for better type safety.
2025-08-03 11:20:57 +02:00
f7450627bc refactor: Revamp PurchaseTicketDialog and introduce useTicketPurchase composable
- Update PurchaseTicketDialog.vue to integrate authentication checks and enhance ticket purchasing flow with wallet support.
- Implement useTicketPurchase composable for managing ticket purchase logic, including payment handling and QR code generation.
- Improve user experience by displaying user information and wallet status during the ticket purchase process.
- Refactor API interactions in events.ts to streamline ticket purchasing and payment status checks.
2025-08-03 11:20:57 +02:00
ed51c95799 fix 2025-08-03 11:20:57 +02:00
332ae91fb7 refactor: Update Login component to improve conditional rendering of login and registration cards
- Modify Login.vue to use v-if and v-else directives for better control over the display of the login and registration cards based on the showRegister state.
2025-08-03 11:20:57 +02:00
0c337f5dc6 change bolt loader to tower 2025-08-03 11:20:57 +02:00
44b767a2e4 refactor: Remove unused icon imports in ProfileDialog component
- Update ProfileDialog.vue to eliminate unnecessary imports of Mail icon, streamlining the component and improving performance.
2025-08-03 11:20:57 +02:00
71379a02be refactor: Update color definitions in Tailwind configuration to use oklch color space
- Change color definitions in tailwind.config.js from hsl to oklch for improved color accuracy and consistency across the application.
2025-08-03 11:20:57 +02:00
5799f5fc28 refactor: Revise layout of Login component for improved responsiveness
- Update Login.vue to enhance the overall layout by adjusting the container's height and centering.
- Refine padding and width settings to ensure a more consistent appearance across different screen sizes.
2025-08-03 11:20:48 +02:00
017870b61a refactor: Update App component to conditionally display navbar based on route
- Import `computed` and `useRoute` from Vue and Vue Router.
- Add a computed property to control the visibility of the navbar based on the current route.
- Update the App.vue template to conditionally render the navbar and footer only when not on the login page.
2025-08-03 11:20:48 +02:00
2f4a65d522 refactor: Enhance layout and responsiveness of Login components
- Update LoginDialog.vue to improve maximum width settings for better adaptability across different screen sizes.
- Adjust Login.vue to refine container padding and centering, ensuring a more consistent layout on various devices.
2025-08-03 11:20:48 +02:00
62c52f0d7c refactor: Improve layout and responsiveness of NostrFeed and Home components
- Adjust NostrFeed.vue to enhance the scroll area height for better adaptability across screen sizes.
- Update Home.vue to refine the container's padding and width for improved layout consistency on various devices.
2025-08-03 11:20:48 +02:00
fd4e0ea8e6 refactor: Improve layout and responsiveness of Navbar and App components
- Update Navbar.vue to enhance spacing and responsiveness for logo and navigation items.
- Adjust App.vue to ensure consistent padding and layout for the header and navigation.
- Refine button sizes and text scaling for better usability across different screen sizes.
2025-08-03 11:20:35 +02:00
eb238ca380 feat: Add ProfileDialog component for user profile management
- Introduce ProfileDialog.vue to display user information and account settings.
- Integrate ProfileDialog into Navbar.vue for easy access to user profile.
- Implement logout functionality within the ProfileDialog, enhancing user experience.
2025-08-03 11:20:35 +02:00
82e8c230ab feat: Replace welcome section with NostrFeed component in Home.vue
- Remove the welcome message and user profile card to integrate the NostrFeed component for displaying announcements.
2025-08-03 11:20:35 +02:00
39d400f21e comment out debug 2025-08-03 11:20:35 +02:00
734122ad27 refactor: Simplify logout process and enhance routing in authentication components
- Remove unnecessary async handling in logout functions across UserProfile.vue and Navbar.vue.
- Integrate `useRouter` for consistent redirection to the login page after logout.
- Update `logout` method in useAuth.ts to clear local state without an API call.
2025-08-03 11:20:35 +02:00
412849b312 refactor: Remove unused router import in UserProfile.vue
- Eliminate the `useRouter` import from UserProfile.vue as it is no longer needed for the logout functionality.
2025-08-03 11:20:35 +02:00
6e653d584c feat: Enhance logout functionality and routing in authentication system
- Integrate `useRouter` in `UserProfile.vue` and `useAuth.ts` to manage navigation after logout.
- Update `handleLogout` in `Navbar.vue` to reflect that redirection is now handled within the `auth.logout()` function.
2025-08-03 11:20:35 +02:00
31fe244089 refactor: Adjust logo dimensions for improved responsiveness in Navbar and Login components
- Update logo sizes in Navbar.vue and Login.vue to enhance visual consistency and responsiveness across the application.
2025-08-03 11:20:35 +02:00
a461dd656e refactor: Update logo dimensions and enhance visual consistency in Navbar and Login components
- Replace logo image in Navbar.vue with a new asset and adjust dimensions for better responsiveness.
- Modify logo size in Login.vue to improve layout and maintain visual consistency across the application.
2025-08-03 11:20:35 +02:00
90c2b445bd feat: Add logo and enhance login functionality
- Introduce a new logo asset for branding.
- Update LoginDialog.vue to include routing for successful login and registration.
- Modify Navbar.vue to integrate LoginDialog and manage its visibility.
- Revise Login.vue to update the logo and welcome title, along with routing enhancements post-login and registration.
2025-08-03 11:20:35 +02:00
be4ab13b32 refactor: Transition to authentication system and remove identity management
- Replace identity management with a new authentication system across the application.
- Update App.vue to integrate LoginDialog and remove PasswordDialog.
- Modify Navbar.vue to handle user authentication state and logout functionality.
- Enhance Home.vue to display user information upon login.
- Implement routing changes in index.ts to enforce authentication requirements for protected routes.
2025-08-03 11:20:35 +02:00
5ceb12ca3b Squash merge nostrfeed-localStorage into ario 2025-08-03 11:09:42 +02:00
5e6bc32f02 update sonner; toast is still light 2025-08-01 14:11:17 +02:00
d5b762630c fix necessary import for sonner toast component
https://www.shadcn-vue.com/docs/components/sonner.html
2025-08-01 13:42:27 +02:00
f5e01c31f4 update logo icon; modify title 2025-07-29 21:38:54 +02:00
90b59dfe13 update 2025-07-29 21:25:53 +02:00
b20000c59c add .env.bak 2025-07-29 21:25:43 +02:00
25dde8b33e update pwa icons to cathar tower 2025-07-22 18:32:30 +02:00
ff5ae3f01d add nginx.conf example 2025-07-12 19:06:09 +02:00
0c90af01b1 feat: Enhance admin announcement functionality and introduce PWA installation prompt
- Update sendAdminAnnouncement to support multiple configured admin pubkeys and improve console output for clarity.
- Add new script send_posts_from_configured_admins.js to send posts from multiple admins for testing purposes.
- Implement PWAInstallPrompt component to guide users in installing the app, including handling installation status and browser compatibility.
- Integrate PWAInstallPrompt into Home.vue for improved user experience.
2025-07-12 18:10:33 +02:00
8a9ffc5918 feat: Implement secure VAPID key generation for push notifications
- Replace random key generation with the web-push library for generating cryptographically secure VAPID keys.
- Update console output to guide users on adding keys to their environment configuration.
- Enhance error handling for VAPID key generation issues.
- Add web-push dependency to package.json and package-lock.json for proper functionality.
2025-07-12 18:10:33 +02:00
cc6ba2612d feat: Update app configuration and enhance identity management
- Change app manifest details to reflect new branding for "Ario - Nostr Community Hub".
- Add new properties to the manifest, including categories and language support.
- Refactor identity handling in IdentityDialog and PasswordDialog components for improved profile initialization.
- Update event creation functions in events.ts to use the correct event type from nostr-tools.
2025-07-12 18:10:33 +02:00
c05f40f1ec feat: Implement push notification system for admin announcements
- Add a notification manager to handle push notifications and integrate with Nostr events.
- Create a push notification service to manage subscription and permission requests.
- Introduce components for notification settings and permission prompts in the UI.
- Update Nostr store to manage push notification state and enable/disable functionality.
- Enhance NostrFeed to send notifications for new admin announcements.
- Implement test notification functionality for development purposes.
2025-07-12 18:10:33 +02:00
6c1caac84b add certs folder 2025-07-12 18:10:33 +02:00
cf7d288e50 feat: Enhance Navbar and IdentityDialog components with improved functionality and logging
- Update Navbar to close the mobile menu when opening the identity dialog.
- Add debug logging to IdentityDialog to track changes in the dialog's open state.
- Adjust styling for mobile menu and dialog content for better responsiveness.
2025-07-12 18:10:33 +02:00
5788b76000 fix vue-sonner Toast implementation
if there are ever issues with dialogs and toasts together, you may want
to add `pointer-events-auto` to the Toaster class
https://github.com/unovue/shadcn-vue/blob/dev/apps/www/src/content/docs/components/sonner.md#sonner-with-dialog
2025-07-12 18:10:26 +02:00
6ffcc759cf feat: Update Vite configuration for PWA support
- Add PWA metadata including app ID, categories, and language settings.
- Enhance configuration for better integration with social and utility features.
2025-07-07 01:53:03 +02:00
5175c20d82 feat: Enhance Navbar and IdentityDialog components with improved functionality and logging
- Update Navbar to close the mobile menu when opening the identity dialog.
- Add debug logging to IdentityDialog to track changes in the dialog's open state.
- Adjust styling for mobile menu and dialog content for better responsiveness.
2025-07-07 01:12:01 +02:00
236a8a59b9 refactor: Simplify Nostr connection management and enhance store integration
- Refactor useNostr composable to utilize a centralized Pinia store for connection state and client management.
- Update NostrFeed and App components to leverage the new store-based approach for relay configuration and client instantiation.
- Remove direct relay URL handling from components, improving maintainability and consistency across the application.
2025-07-02 19:49:06 +02:00
0324cf8ec5 feat: Centralize configuration management for Nostr and API settings
- Introduce a new config module to manage Nostr relays, admin pubkeys, and API settings.
- Update components to utilize the centralized config instead of environment variables directly.
- Refactor relevant files to improve maintainability and reduce reliance on environment variables.
2025-07-02 19:47:55 +02:00
17a1504771 feat: Enhance logging in send_test_note.js for better debugging
- Add logging of the hex public key to provide more context during note sending.
- Include instructions for making a note an admin post by adding the hex pubkey to the .env file.
2025-07-02 19:29:19 +02:00