Commit graph

5 commits

Author SHA1 Message Date
bengizmo
60369a212e test: Improve Event Summary authentication tests
- Add specific test for unauthorized access
- Simplify test assertions to be more reliable
- Make tests more resilient to different redirect behaviors
- Update .gitignore to include E2E test files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-20 09:28:49 -03:00
bengizmo
88c1cd1990 fix: Enhance Event Summary authentication checks
- Add robust authentication check in the template file
- Add WordPress hook at template_redirect to prevent unauthorized access
- Update Event Summary Data class with permission methods
- Modify E2E test to check for accessibility after login
- Fix potential errors in the plugin activation code for page creation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-20 09:14:22 -03:00
bengizmo
b54f544713 test: Update event summary security test to check for login prompt instead of redirect 2025-05-20 08:30:52 -03:00
bengizmo
e492f7fec3 test: Fix event summary redirect test with increased timeouts 2025-05-20 08:29:18 -03:00
bengizmo
1a563f3133 feat: Add Event Summary Page functionality
- Add event-summary page to required_pages array in main plugin file
- Update render_event_summary() method to handle event ID from URL
- Update template_include filter to load custom event summary template
- Update dashboard event links to point to new event summary page
- Create comprehensive event summary template with statistics and attendee info
- Add E2E tests for Event Summary Page
- Add documentation for Event Summary functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-20 08:23:40 -03:00