Commit graph

57 commits

Author SHA1 Message Date
isUnknown
82eb8d88cc Implémentation complète du multilingue FR/EN
- Installation vue-i18n v11 et création des fichiers de traduction (fr.json, en.json)
- Création store locale avec détection hiérarchique (URL > localStorage > navigator)
- Modification des routes avec préfixe /:locale? optionnel
- Toggle FR/EN dans Menu.vue avec synchronisation immédiate
- Traduction de ~200 textes dans 27 composants Vue
- Suppression des labels hardcodés en français côté backend
- Ajout route Kirby catch-all en/(:all?) pour /en/ URLs
- Helper addLocalePrefix() pour préserver locale dans liens dialogs
- Traduction pseudo-élément CSS via data attribute

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 18:31:37 +01:00
isUnknown
89c1cb24c0 Fix persistance et format des projets masqués
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 29s
- Route toggle-hidden-project : utilisation collection Pages avec add/remove
  puis toArray() + encode YAML (pattern de toggle-favorite)
- Controller site.php : ->values() au lieu de ->data pour retourner
  un vrai tableau au lieu d'un objet

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 11:48:53 +01:00
isUnknown
30b7697c64 Ajout masquage de projets pour utilisateurs Pochet
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 28s
Backend :
- Blueprint pochet : champ hiddenProjects
- Route API toggle-hidden-project.php
- Controller site.php : retourne hiddenProjects + uuid dans projects

Frontend :
- Store user : hiddenProjects, visibleProjects, toggleHiddenProject()
- Store projects : filtrage automatique des projets masqués
- Store api : fonction toggleHiddenProject()
- Account.vue : section projets avec cartes horizontales + boutons toggle
  - Affichage pour Pochet (avec toggle) et Client (sans toggle)
  - Section client masquée pour Pochet

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 11:27:27 +01:00
isUnknown
6ff59e9b07 Fix : URL correcte pour notifications de brief validé depuis PDF + redirect briefs vides
Problème 1 : Les notifications de brief validé depuis un PDF renvoyaient vers
/projects/xxx/client-brief au lieu de l'URL complète avec dialog et fileIndex.

Problème 2 : Les URL /projects/xxx/client-brief pour des briefs non créés
affichaient une page vide au lieu de rediriger vers le kanban.

Solutions :
- Stocker validationDialogUri lors de la validation du brief
- Utiliser ce dialogUri dans ContentProvider et Notifications.vue
- Rediriger vers le projet parent si brief vide et non validé

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 10:44:30 +01:00
isUnknown
a7d315942a Refonte du système de notifications : passage aux notifications dérivées
Remplace le système de notifications stockées par un système de providers
qui dérivent les notifications des données existantes (commentaires, réponses,
demandes de projet, demandes de rendez-vous, validations de brief).

- Ajout du NotificationCollector et de l'interface NotificationProvider
- Création de 5 providers : Comment, Reply, ProjectRequest, AppointmentRequest, Content
- Métadonnées de notifications stockées directement sur les entités source
- Nouvelles routes mark-as-read et mark-all-read
- Mise à jour du frontend pour le nouveau système
- Route de migration pour les données existantes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 10:31:31 +01:00
isUnknown
28b99017fd update page after programmatic file remove (routes/remove-file.php) 2025-09-09 17:58:20 +02:00
isUnknown
0f911a7a93 custom login : long sessions 2025-09-09 08:21:11 +02:00
isUnknown
921eab5e7e update email working 2025-05-05 17:30:17 +02:00
isUnknown
074084f867 front > account : update password working 2025-05-05 17:23:55 +02:00
isUnknown
d15d4898c6 front > login : login page working 2025-05-02 17:02:13 +02:00
isUnknown
184ae580ba fix #123 2025-02-12 10:05:12 +01:00
isUnknown
85e3e7b2d4 appointment request notification working 2025-01-27 14:46:50 +01:00
isUnknown
54af78e32c DTL : optimization appointment request working 2025-01-27 14:40:14 +01:00
isUnknown
c75c5e1d8a project creation request notification working 2025-01-23 16:16:51 +01:00
isUnknown
c750001a2c project creation request form working 2025-01-23 15:31:28 +01:00
isUnknown
495e1c024e read content notification on click 2025-01-15 16:27:09 +01:00
isUnknown
cf0d4b7c6f fix #87 2025-01-07 11:33:32 +01:00
isUnknown
cdeebbf8c8 finish client brief step 2024-12-20 07:19:46 +01:00
isUnknown
c578538fe0 #59 2024-12-19 19:27:38 +01:00
isUnknown
94c5737245 content notification read working 2024-12-19 10:32:48 +01:00
isUnknown
fa36c9ef4a #68 - finish notification class. Content notification on validate brief working 2024-12-18 13:56:21 +01:00
isUnknown
f99e33f80e read notification on click working 2024-12-16 18:14:14 +01:00
isUnknown
24dbf5bf8d fix #32 2024-12-16 17:25:52 +01:00
isUnknown
62b2b8c617 notifications : fix sorting 2024-11-22 09:53:58 +01:00
isUnknown
c1d2c73118 new content notification working for client brief 2024-11-22 09:20:38 +01:00
isUnknown
ef6375f4cc users / notifications : temporary disabled notifications system 2024-11-21 19:44:02 +01:00
isUnknown
c3860d4a38 add notifications plugin + created reply comment route 2024-10-29 16:32:49 +01:00
isUnknown
fb36329556 refactor comment system into comments plugin 2024-10-29 11:12:57 +01:00
isUnknown
ed73b33234 add / readNotification working 2024-10-28 17:50:49 +01:00
isUnknown
722c6b198e send comment notification working 2024-10-28 17:50:49 +01:00
isUnknown
85537d3465 notifications seems to work but new comments erase previous ones 2024-10-28 17:50:49 +01:00
isUnknown
f132049948 fix send notification to users and create custom user method 2024-10-28 17:50:49 +01:00
isUnknown
65a2bbaa8d mark as unread if comment is in notifications working 2024-10-23 16:19:33 +02:00
isUnknown
b99f7c81dd refactor 2024-10-23 15:49:09 +02:00
isUnknown
ea48094bc7 pdf > comments > new comments : show email address if no name 2024-10-23 15:45:04 +02:00
isUnknown
6bffbc1707 add / show comments working 2024-10-23 11:33:56 +02:00
isUnknown
a7f01d66e8 clientBriefPdf => pdf 2024-10-16 15:04:15 +02:00
isUnknown
95064a39cd clientBriefImages => moodboard 2024-10-16 15:03:20 +02:00
isUnknown
514c4bd86b add images modal upload fully working (for images from banks and new images) 2024-10-15 15:56:53 +02:00
isUnknown
0e656e1920 update image data from bank working 2024-10-15 15:29:02 +02:00
isUnknown
4f808ba017 file upload from bank working 2024-10-15 15:13:46 +02:00
isUnknown
53ca51c154 simplify 2024-10-15 14:52:34 +02:00
isUnknown
97262303fc uploading image from bank working 2024-10-15 14:51:12 +02:00
isUnknown
d197447ad6 improve upload images script 2024-10-14 15:41:20 +02:00
isUnknown
a14f1d210f client brief pdf - upload : add file to field without uploading it if it already exist 2024-10-14 15:23:06 +02:00
isUnknown
ef2eeafa8d send blob ok 2024-10-10 16:58:34 +02:00
isUnknown
8c19269e48 client brief > my images : upload images working 2024-10-09 19:06:24 +02:00
isUnknown
e1e844d057 client brief image details - remove image working 2024-10-08 18:49:20 +02:00
isUnknown
d465fb3de7 resolve conflict 2024-10-08 17:31:18 +02:00
isUnknown
d4fe38e65a resolve conflict 2024-10-08 17:30:56 +02:00