Commit Graph

49 Commits

Author SHA1 Message Date
kbe
74f8350abe feat: enhance header component with complete navigation structure
- Add responsive header with mobile hamburger menu
- Implement user authentication state handling
- Style with primary color scheme using neutral/primary variants
- Add proper navigation links for events and concerts sections
- Include user dropdown menu with profile and logout options

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-28 15:31:19 +02:00
Kevin BATAILLE
f6675bd5e4 clean header 2025-08-28 14:33:34 +02:00
Kevin BATAILLE
a8a8c55041 working on header 2025-08-28 14:27:06 +02:00
kb6e
9513867614 refactor 2025-08-28 13:43:05 +02:00
Kevin BATAILLE
30f3ecc6ad refactor(events): replace parties concept with events throughout the application
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
2025-08-28 13:20:51 +02:00
kbe
2f80fe8321 set all as executable 2025-08-28 01:00:21 +02:00
kb6e
e084839289 Trying to work on new theme 2025-08-28 00:53:35 +02:00
kbe
81bd30a7af Improved design system 2025-08-27 20:00:39 +02:00
kbe
a66f3dd17a Add new themes from Claude 2025-08-27 19:46:49 +02:00
kbe
7c7db939a2 feat(show parties): prepare to use ticket cart components 2025-08-27 02:31:20 +02:00
kbe
1806c875b5 refactor: dashboard views by extracting metric card and party item partials, and fix metric card rendering issue 2025-08-27 01:12:00 +02:00
kbe
70ad65707e chore(dashboard): translation to french 2025-08-27 00:58:36 +02:00
kbe
b9b7ac4ba1 Add flash message support and localization updates 2025-08-26 19:08:23 +02:00
kbe
cc7d71ad69 add compose file? 2025-08-26 18:53:18 +02:00
Kevin BATAILLE
062820873f fix: update header and layout structure for flash messages 2025-08-26 18:34:03 +02:00
Kevin BATAILLE
c226adc36c feat: implement flash messages system with auto-dismiss notifications
- Add flash message helper and styles for consistent notifications
- Replace Devise error messages with flash-based notifications
- Add dashboard page with event statistics
- Configure SMTP settings for development and production
- Update authentication controllers to use flash messages
- Add JavaScript controller for auto-dismiss functionality
2025-08-26 18:29:56 +02:00
Kevin BATAILLE
0879b3c924 fix(test): Slug was missing in ticket tests 2025-08-26 17:24:20 +02:00
Kevin BATAILLE
884c6a8262 feat(auth): enhance user registration with names and improve UI
- Add first_name and last_name fields to User model with validations
- Configure Devise registrations controller to accept name parameters
- Update registration form with name fields and improved styling
- Replace Twitter Bootstrap pagination with custom Tailwind components
- Add French locale translations for pagination and models
- Update header styling with responsive design improvements
- Add EditorConfig for consistent code formatting
- Fix logout controller URL handling and improve JavaScript
- Update seed data and test fixtures with name attributes
- Add comprehensive model tests for name validations
- Add test.sh script for easier test execution

💘 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
2025-08-26 17:17:50 +02:00
Kevin BATAILLE
6b37c67b47 wip: Kaminari pagination 2025-08-26 02:57:17 +02:00
Kevin BATAILLE
a43c47a5db docs: Add QWEN.md file to customize Qwen Code interactions
Add a QWEN.md file to establish project context, preferences,
and behavior guidelines for Qwen Code interactions with the
aperonight Ruby on Rails project. This helps ensure consistent
and appropriate responses tailored to this specific project setup.

This change follows the convention of using a QWEN.md file to
customize AI assistant behavior in development environments.
2025-08-26 02:41:28 +02:00
Kevin BATAILLE
a0f008bbd4 fix: Add slug column to parties table and update seed data
- Added slug column to parties table via migration
- Updated seed data to properly assign slug values to Party records
- Fixed NoMethodError when assigning slug attribute in seed file

This resolves the ActiveModel::UnknownAttributeError that occurred
when trying to set the slug attribute on Party model instances.
2025-08-26 02:30:34 +02:00
kb6e
6385c39c10 new modes 2025-08-25 20:17:44 +02:00
kbe
6fbd24e36e feat: implement dynamic event display with party images and seed data
• Files changed: app/controllers/pages_controller.rb, app/models/party.rb, app/views/pages/home.html.erb, db/migrate/20250823145902_create_parties.rb, db/schema.rb, db/seeds.rb
• Nature of changes: Added image support to parties, updated homepage to dynamically display parties, enhanced seed data with parties and ticket types, schema updates for foreign keys
• Purpose: Enable dynamic event display on homepage with real data instead of static placeholders, add image support for parties, improve database relationships
• Impact: Homepage now shows real party data from database, parties can have images, database schema improved with proper foreign keys
• Commit message: feat: implement dynamic event display with party images and seed data
2025-08-25 03:41:15 +02:00
kbe
632055c44d chore: linting stuff 2025-08-25 00:43:03 +02:00
kbe
03717dc95b feat(test): Add comprehensive unit tests for all Rails models
- Create detailed unit tests for Party, TicketType, Ticket, User, and ApplicationRecord models
- Add fixture files for all models with valid test data
- Fix enum syntax in Party model for Rails 8 compatibility
- Add 60 total model tests covering validations, associations, and business logic
- Ensure all tests pass successfully

This provides full test coverage for the application's data models.
2025-08-25 00:40:07 +02:00
kbe
7f4aded5aa refactor: move index definitions to create migrations for tickets and ticket_types 2025-08-24 23:58:10 +02:00
kbe
74484597d9 feat: update party model with promoter and time tracking
- Add promoter_id reference to parties table
- Add start_time and end_time datetime fields
- Replace venue fields with single location string
- Update database schema and migration files
- Add port configuration to database.yml
- Update architecture documentation

This commit enhances the party model to support better event tracking and management, including promoter information
and precise timing.
2025-08-24 23:22:03 +02:00
kbe
a558f7fc9a docs: add comprehensive technical architecture documentation
- Replace placeholder content with detailed architecture documentation
- Document core models, controllers, and database schema
- Include implementation recommendations for authentication, payments, and security
- Add frontend considerations for mobile ticket scanning
- Define routes configuration for the application

This provides a solid technical foundation for the Aperonight platform development.

💘 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
2025-08-24 22:33:27 +02:00
kbe
1c7a62acde refactor: clean up controller before_action definitions and routes
- Standardize before_action syntax in controllers by removing extraneous spaces
- Comment out unused bundles routes in API v1 namespace
- Clean up whitespace in routes file

These changes improve code consistency and maintainability while preparing for future feature development.

💘 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
2025-08-24 22:31:42 +02:00
kbe
98efdb44ac Modify theme for light one 2025-08-23 22:04:31 +02:00
kbe
5454e23220 New light theme 2025-08-23 21:28:35 +02:00
kbe
71b5d43e89 Add old theme rules 2025-08-23 20:43:41 +02:00
kbe
c7d28dca71 Add comprehensive theme rules and update authentication UI
- Create complete design system with color palette, typography, and component rules
- Update authentication pages with consistent styling
- Add footer component for better layout structure
- Remove deprecated architecture documentation

💘 Generated with Crush
Co-Authored-By: 💘 Crush <crush@charm.land>
2025-08-23 20:43:00 +02:00
kbe
b5b5ca1cc0 Add TicketType model with validations and fix dropdown menu
- Create TicketType model with Party association and Ticket relationship
- Add comprehensive validations for name, description, pricing, and date ranges
- Generate migration for ticket_types table with all required fields
- Add Alpine.js import to fix dropdown menu functionality
- Update ticket model with validations for qr_code, price, and status
2025-08-23 19:31:17 +02:00
kbe
ef9cfd6cdf feat: add Party management API with RESTful endpoints and comprehensive documentation
- Introduce Party model with lifecycle states (draft, published, canceled, sold_out)
- Add RESTful API endpoints under /api/v1/parties for CRUD operations
- Create ApiController base with API key authentication
- Implement comprehensive code comments across models and controllers
- Add database migration for parties table with proper indexes
- Configure API routes with namespaced versioning
2025-08-23 18:03:32 +02:00
kbe
74a1c446c4 New Party model 2025-08-23 17:41:29 +02:00
kbe
1324463c2f add .env 2025-08-21 16:09:10 +02:00
kbe
3c6389c6e2 feat: Use application name from .env 2025-08-18 00:25:14 +02:00
kbe
2927a8344f chore: New js transpiler for dev and for production
The old system weren't minifying javascriptt to assets dir.
Now there is a command line for production (build) and dev (build:dev).
2025-08-18 00:13:25 +02:00
kbe
ad97a36650 Rename some doc files 2025-08-18 00:03:42 +02:00
kbe
07a6694883 chore: Counter now embedded with Stimulus
Before this commit, Counter js was autonomous. Now it's registered
like a controller in Stimulus.
2025-08-17 23:47:07 +02:00
kbe
ba3f36a5e8 feat: Add metrics on homepage 2025-08-17 23:39:24 +02:00
kbe
17e6711299 Wip on homepage.
Add documentation how to optimize code size in production.
2025-08-16 22:45:27 +02:00
kbe
31534b2c0c New homepage 2025-08-16 22:28:41 +02:00
kbe
87af76f078 Prepare working with authentication and Tailwind 2025-08-16 21:28:49 +02:00
kbe
9ec13c7d3d chore: Add authentications controller from Devise 2025-08-16 21:03:25 +02:00
kbe
6a1f1cca9a Prepare to use Devise as auth Gem 2025-08-16 17:03:14 +02:00
kbe
ed659c423e Prepare dev instructure 2025-08-16 09:00:38 +02:00
kbe
d96fb4be95 first commit
Some checks failed
CI / scan_ruby (push) Successful in 2m46s
CI / lint (push) Successful in 31s
CI / test (push) Failing after 10s
2025-08-16 08:04:22 +02:00