Commit graph

3 commits

Author SHA1 Message Date
90c7e0cddb feat(i18n,drupal): consolidate locale codes and add Drupal infrastructure
Some checks failed
Deploy to Production / deploy (push) Failing after 33s
i18n changes:
- Remove qpv locale code, standardize on vp-VL for Viossa
- Remove wp-VL duplicate, keep locale structure clean
- Update langcode types in DrupalService from 'qpv' to 'vp-VL'

Drupal integration additions:
- Add PreviewDrupalService for viewing unpublished content
- Add authentication system with Pinia store and composables
- Add meta tag management system (SEO, OpenGraph, Twitter)
- Add route guards for protected admin routes
- Add login/preview/admin pages

Locale file changes:
- Deleted: qpv.ftl (duplicate of vp-VL.ftl)
- Kept: en_US.ftl, es_LA.ftl, vp_VL.ftl, wp_VL.ftl
2026-05-15 07:07:28 +00:00
22636f025f feat(i18n): add qpv locale for Viossa translations
- Add qpv (pidgin viossa) as ISO-friendly locale code
- Create qpv.ftl based on vp-VL.ftl for Viossa UI strings
- Update LOCALE_IDS and locale loading to include qpv
- Add langcode parameter to DrupalService for content filtering
- Support 'en' and 'qpv' language codes for Drupal translations
2026-05-14 20:13:42 +00:00
68792b9cf5 feat: add Drupal JSON:API service layer
- Create TypeScript interfaces for JSON:API responses (types/drupal.ts)
- Implement DrupalService class with getNodes(), getNode(), getTaxonomyTerms()
- Support pagination via getNextPage()
- Configure base URL via VITE_DRUPAL_API_URL environment variable
- Default uses CORS proxy at /api/drupal-proxy
- Add .env.example with configuration options

Phase1 tasks completed:
- Drupal instance with JSON:API verified working
- CORS proxy configured in nginx
- Content types created: article, page, learning_resource
- Taxonomies created: tags, categories
2026-05-14 19:40:54 +00:00