cedric
247151012d
refactor: renomme LogoutCountdown en SessionExpired
2025-07-23 08:45:15 +04:00
cedric
f1c24080da
feat: supprime le compte à rebours de déconnexion
2025-07-23 08:44:07 +04:00
cedric
1c88e36a3e
WS souscription
2025-01-04 19:10:21 +04:00
cedric
0860132763
Changement de couleur de la date de version en fonction du statut du vote
2024-12-17 19:04:10 +04:00
cedric
af53eafc2d
feat: interdit le vote pour les versions de plus de 3 jours
2024-12-17 12:37:50 +04:00
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
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
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
cedric
2ea7837197
Move ListComments icon to end
2024-06-24 22:08:21 +04:00
cedric
6995a7800f
Fix Article 'null'
2024-06-24 13:38:29 +04:00
cedric
a7eaaac447
Add 'articles' collection to create operation
2024-06-23 19:18:25 +04:00
cedric
7e6d1f49ba
Create ListItem component
2024-06-23 19:16:13 +04:00
cedric
20049e2bc9
Typo
2024-06-23 07:19:02 +04:00
cedric
73ac8c4ffd
Move ListComments
2024-06-23 07:18:16 +04:00
cedric
4a2334b605
Rename ReadComments to ListComments
2024-06-23 06:52:27 +04:00
cedric
d1f4d40144
Remove HandleComments component
2024-06-23 06:51:29 +04:00
cedric
90e818bd77
fix: Add ReadComents to Konstitisyon component
2024-06-22 21:18:05 +04:00
cedric
8c153605f9
refactor: improve HandleCreate
2024-06-22 21:11:01 +04:00
cedric
6cd2a0c438
Typo: WriteComment to CreateComment
2024-06-22 07:58:04 +04:00
cedric
06879763bc
Create titres
2024-06-22 07:52:32 +04:00
cedric
6870f1e459
refactor: Add CreateForm to write comments
2024-06-21 12:39:37 +04:00
cedric
def7dd60db
Add trustHost parameter to auth options
2024-06-21 09:57:05 +04:00
cedric
7b77ee2fc2
Create dashboard page
2024-06-20 14:06:07 +04:00
cedric
a14c1be810
typo: add @ to user id
2024-06-19 15:37:48 +04:00
cedric
1e587b5d6b
refactor: use HandleComments to read & write comments
2024-06-19 14:44:49 +04:00
cedric
f4eb07c9a3
Change date format
2024-06-19 11:24:38 +04:00
cedric
c7f1cb88d6
Fix use of LogoutCountdown
2024-06-19 09:17:22 +04:00
cedric
08d1c9be36
Add LogoutCountdown to CommentList
2024-06-19 09:11:29 +04:00
cedric
e14365da3c
Create CommentsList component
2024-06-19 09:07:15 +04:00
cedric
11f6da95a7
Fix restricted char
2024-06-19 09:07:09 +04:00
cedric
8916ebb569
Create lib/formatDate.js
2024-06-19 09:04:50 +04:00
cedric
cc36b0a9c1
Add date-fns lib
2024-06-19 09:04:10 +04:00
cedric
28177439e1
Add components to write comments
2024-06-18 11:11:15 +04:00
cedric
157951b10e
Upgrade to NextAuth v5
2024-06-18 11:10:30 +04:00
cedric
5491d996b8
Add fields to session
2024-05-23 18:43:53 +04:00
cedric
a5c0eab06b
Fix undefined sessions
2024-05-23 18:43:35 +04:00
cedric
c8f3456459
Add AuthProvider to RootLayout
2024-05-23 18:42:26 +04:00
cedric
e5e394b258
Add signout confirmation alert
2024-05-20 16:46:25 +04:00
cedric
50b25f7855
Add Create component and Comment button
2024-05-20 14:49:31 +04:00
cedric
219abf5c6b
Add Edit component to Titre & Article
2024-05-20 14:48:52 +04:00
cedric
2d527568a8
Create component
2024-05-20 14:46:42 +04:00
cedric
88f51ef5f5
Create Edit component
2024-05-20 14:45:43 +04:00
cedric
644d6ea256
Improve Sign component
2024-05-20 14:43:29 +04:00
cedric
482b930e52
Add Sign to index page
2024-05-20 04:19:44 +04:00
cedric
d3ae60d40c
Use aliases
2024-05-20 04:19:44 +04:00
cedric
f30cd82e67
Reset Passwords
2024-05-20 04:19:43 +04:00
cedric
84ebce7f3f
Implement Forgot Password
2024-05-20 04:19:43 +04:00
cedric
da7f86259a
Create login page
2024-05-20 04:19:43 +04:00
cedric
851fd9c051
Create the Login API
2024-05-20 04:19:43 +04:00
cedric
2d477644fb
Create register page
2024-05-20 04:19:42 +04:00
cedric
c3c6820797
Create the Registration API
2024-05-20 04:19:42 +04:00
cedric
4a182ae1a8
Create Sign component
2024-05-20 04:19:42 +04:00
cedric
64314eed25
Create AuthAlert component
2024-05-20 04:19:42 +04:00
cedric
aab70456f0
Create AuthForm component
2024-05-20 04:11:53 +04:00
cedric
855291e3ce
Create directusClient in lib/directus.js
2024-05-20 04:09:40 +04:00