Commit Graph

165 Commits

Author SHA1 Message Date
cedric 4cd303a910 typo: message explicite pour une erreur lors d'un vote 2024-12-17 12:36:56 +04:00
cedric 7902537df1 refactor: versionData > versionCompare + Ajout de la date de création d'une version et de l'utilisateur qui l'a créée 2024-12-17 05:45:16 +04:00
cedric 9e78a32d8d fix: error when no titre or article 2024-12-16 13:34:05 +04:00
cedric e4a294dece docs: améliore la documentation avec le schéma de la base de données
- Ajoute un diagramme ERD en Mermaid montrant la structure de la BDD
- Généralise la description du projet (non spécifique à Haïti)
- Réorganise la section modèle de données
- Clarifie les relations entre les entités
2024-12-16 10:19:20 +04:00
Cédric Famibelle-Pronzola 7ce554068f Merge pull request 'Système de vote sur les versions de contenu' (#2) from feat-votes into master
Reviewed-on: https://codeberg.org/OKI/konstitisyon.la/pulls/2
2024-12-16 05:20:10 +00:00
cedric aa02a51a1b feat: Implémentation du système de vote sur les versions
- Ajout des fonctions de vote dans directus.js (handleVote, getUserVote)
- Intégration des boutons de vote dans version-comparison.js
- Support de l'annulation de vote par double-clic
- Gestion des retours visuels (succès/erreur)
- Passage des props nécessaires dans list-versions.js
2024-12-16 09:14:02 +04:00
cedric 3105327735 Add vote icons to current version 2024-12-16 03:32:33 +04:00
cedric 00472914c7 Typo for VersionComparison component 2024-12-03 19:12:15 +04:00
cedric 619f2c566b Improve VersionComparison 2024-12-03 11:51:29 +04:00
cedric 2aa14d41f6 Update directus/sdk 2024-12-03 08:00:11 +04:00
cedric d5365596b0 Update mui dependencies 2024-12-03 07:56:11 +04:00
cedric d5a363953b Remove unnecessary attributes 'item' in Grid component 2024-12-01 22:55:35 +04:00
cedric c0c556cfb8 Fix error when creating comment 2024-12-01 22:46:11 +04:00
cedric 2fc797fa9a Change license to AGPL-3.0 2024-12-01 18:31:26 +04:00
cedric 317161750c Change VersionComparison spaces 2024-12-01 18:29:44 +04:00
cedric 71f18d6909 Improve ListVersion component 2024-11-28 07:55:51 +04:00
cedric 3134184ece Create VersionComparison & VersionDialog components 2024-11-28 07:55:32 +04:00
cedric e1048d343b Improve GetVersions component 2024-11-28 07:54:37 +04:00
cedric a22dbe9073 Fix error payload when creating version 2024-11-28 07:53:40 +04:00
cedric c73d673523 Create getVersion & compareVersion in lib/directus.js 2024-11-28 07:53:12 +04:00
cedric e1036f6c9b Move Sign into GetVersions component 2024-09-20 11:45:43 +04:00
Cédric FAMIBELLE-PRONZOLA 7325c5d343 Merge pull request 'Ajout de la page dashboard' (#1) from feat-dashboard into master
Reviewed-on: https://codeberg.org/OKI/konstitisyon.la/pulls/1
2024-09-15 14:07:42 +00:00
cedric 039be335a2 Adapt Dashboard page 2024-09-15 18:05:26 +04:00
cedric d23839b3e8 Improve Sign component 2024-09-15 18:05:26 +04:00
cedric e1c46f53b9 Create GetVersions component 2024-09-15 18:05:25 +04:00
cedric 3cbca927c8 Create Loading component 2024-09-15 18:05:24 +04:00
cedric bafbc9b8a3 Create ListVersions component 2024-09-15 18:02:30 +04:00
cedric 034568eda1 Add listVersions to lib/directus 2024-09-15 18:01:38 +04:00
cedric c3e4eba810 Add react-virtuoso lib 2024-09-15 18:00:33 +04:00
cedric 60f1206e27 icons-material dependency to v6.0.1 2024-09-02 10:41:12 +04:00
cedric 054de3e5ec Mui dependencies to v6.0.1 2024-09-02 09:51:14 +04:00
cedric 57f14e5dbf Fix LogoutCountdown in HandleCreate 2024-09-01 18:37:44 +04:00
cedric 0ab7a53317 Add LogoutCountdown to HandleEdit 2024-09-01 18:35:39 +04:00
cedric 3ea43fd925 Lint typo 2024-09-01 18:25:21 +04:00
cedric 274dabe2e2 Add LogoutCountdown to HandleCreate 2024-09-01 18:24:24 +04:00
cedric 5e25a66af5 Improve version saving 2024-09-01 14:43:19 +04:00
cedric a158755702 fix: change form button colors 2024-07-28 18:10:29 +02:00
cedric 7d77464ba7 Create Version 2024-07-28 17:35:44 +02:00
cedric 28240395c8 refactor: Rename CreateForm to FormHandler 2024-07-07 20:02:54 +02:00
cedric 18ef73d4c0 refactor: Improve Create components 2024-07-07 12:09:10 +02:00
cedric 3ec2944189 refactor: Improve edit components 2024-07-06 16:43:36 +02:00
cedric 79cc1c0dd8 Change message in request-reset-password 2024-07-04 20:42:46 +02:00
cedric 69f82c7294 Improve register responses states 2024-07-02 19:58:15 +02:00
cedric 29911d9459 Reset from after submitting 2024-07-02 19:57:00 +02:00
cedric 4b78471916 Disconnect unactive users 2024-07-02 15:00:02 +02:00
cedric 1ca14549fc Typo 2024-07-02 14:59:14 +02:00
cedric af98484cb8 Ensure verification password before submit register form 2024-07-02 11:07:01 +02:00
cedric da911120e8 Improve api error message 2024-07-02 11:06:15 +02:00
cedric 7e00a1a296 Default register user to draft status 2024-07-02 11:05:39 +02:00
cedric accd3be56d Ensure displaying only published content 2024-07-02 11:04:24 +02:00