Commit Graph

2 Commits

Author SHA1 Message Date
b37ec1390d fix: add setup_flash_manager function and fix secret_key handling
- Add setup_flash_manager async function to flash.py
- Fix secret_key handling to work with both str and SecretStr
- All tests passing (97 passed)
2026-05-02 16:26:00 +03:00
b1878e470f feat(ui): add error handling, flash messages and SEO optimization
- Add custom error pages (404, 403, 500) with user-friendly messages
- Add flash message system with signed cookies for security
- Add toast notifications with auto-dismiss and manual close
- Add comprehensive SEO meta tags (description, keywords, OG, Twitter)
- Add canonical URLs for SEO
- Update routes to use slug-based URLs (/posts/{slug} instead of /posts/{id})
- Add Open Graph and Twitter Card meta tags for social sharing
- Add favicon SVG
- Update all templates with proper meta tags and URLs
- Add error handlers registration in main.py
- Add flash middleware for request handling
- Install itsdangerous dependency
2026-05-02 16:23:57 +03:00