38 Commits

Author SHA1 Message Date
11bcd9a83d Add some comments 2024-06-14 13:33:39 +02:00
71ddec420c Tweak style 2024-06-14 12:51:03 +02:00
4f19bac707 Fix upload base URL behind a subdirectory 2024-06-14 12:18:58 +02:00
ba82630d8a Disable service implementation 2024-06-14 09:42:09 +02:00
Matis MAZINGUE
b0507a44ea like (#19)
Co-authored-by: Matis MAZINGUE <Matis.MAZINGUE@etu.uca.fr>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/19
Co-authored-by: Matis MAZINGUE <matis.mazingue@etu.uca.fr>
Co-committed-by: Matis MAZINGUE <matis.mazingue@etu.uca.fr>
2024-06-14 09:41:05 +02:00
Bastien OLLIER
beca5f92da Merge pull request 'Geolocalize the current user position' (#18) from feature/geolocalize into main
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/18
Reviewed-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
2024-06-13 10:00:54 +02:00
51986d5bac Geolocalize the current user position 2024-06-13 09:46:59 +02:00
Bastien OLLIER
0beb0cd95f Update interface (#17)
Co-authored-by: bastien ollier <bastien.ollier@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/17
Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr>
Co-authored-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
Co-committed-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
2024-06-13 09:30:25 +02:00
bc6951d0a5 Remove hardcoded values 2024-06-13 09:12:03 +02:00
Hugo PRADIER
8a1edeb938 Ajout de la traduction (#15)
Co-authored-by: hugo.pradier2 <hugo.pradier2@etu.uca.fr>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/15
Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr>
Co-authored-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr>
Co-committed-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr>
2024-06-13 08:46:30 +02:00
Bastien OLLIER
ccb2b541ea add Moderation.php (#14)
Co-authored-by: bastien <bastien.ollier1@gmail.com>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/14
Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr>
2024-06-13 08:08:46 +02:00
6a6a135891 Allow uploading images (#13)
Adds an optional field for the post image.

Fixes #12

Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/13
Reviewed-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
2024-06-12 09:05:30 +02:00
8859cd0000 Implement comments (#10)
Allow logged users to comment posts. Edition is not allowed via the API since it doesn't support auth yet.

Symfony UX is used with Turbo to avoid full pages reload, without JavaScript™.

Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/10
2024-06-11 17:17:24 +02:00
b4a1ae592f Paginate posts (#9)
Squashed commit of the following:
Author: matis.mazingue <matis.mazingue@etu.uca.fr>
Author: clfreville2 <clement.freville2@etu.uca.fr>
2024-06-10 19:20:15 +02:00
9640b3c102 Fix Drone trigger definition 2024-06-08 17:49:43 +02:00
bef107c9b0 Trust CodeFirst reverse proxy 2024-06-07 20:02:24 +02:00
5a8c01e6ef Trust common reverse proxies 2024-06-07 19:45:10 +02:00
9c764d536e Uniformize style a little bit 2024-06-07 19:26:46 +02:00
49d60871c9 Add post and species forms
Squashed commit of the following:
Author: Hugo PRADIER <Hugo.PRADIER2@etu.uca.fr>
Author: bastien ollier <bastien.ollier@etu.uca.fr>
Author: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed on #7
2024-06-07 18:31:20 +02:00
Clément LAPORTE
82a3f69fa4 View (#8)
Création de la page species et detail specie

Co-authored-by: Clément Laporte <Clement.LAPORTE@etu.uca.fr>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/8
Co-authored-by: Clément LAPORTE <clement.laporte@etu.uca.fr>
Co-committed-by: Clément LAPORTE <clement.laporte@etu.uca.fr>
2024-06-07 15:27:55 +02:00
62da326e75 Create an empty controllers directory 2024-06-07 09:10:06 +02:00
Bastien OLLIER
5157b8045f Merge pull request 'Setup API Platform' (#6) from feature/api-platform into main
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/6
2024-06-07 07:54:59 +02:00
b94fd9a2a0 Add more tests 2024-06-06 20:09:57 +02:00
12f3b91044 Set assets base path 2024-06-05 18:54:02 +02:00
8789da089d Compile assets map 2024-06-05 18:06:08 +02:00
22be991b8c Describe entities as API Platform resources 2024-06-05 17:43:37 +02:00
48bc5fd8c3 Remove generated migrations 2024-06-05 10:36:04 +02:00
6caa9a1ed0 Fix lint 2024-06-05 10:34:13 +02:00
6be1b4ad19 Merge branch 'account'
Reviewed on #3
2024-06-05 10:31:01 +02:00
ab95e3d286 Create a Docker image and deploy it 2024-06-05 10:17:54 +02:00
999dbee2c6 Add PHPStan config 2024-05-27 08:13:59 +02:00
bastien ollier
2faae9e088 Connexion par formulaire 2024-05-22 17:30:31 +02:00
d4cc71946d Add species fixture 2024-05-22 17:19:40 +02:00
bastien ollier
9d16c0e00a add register 2024-05-22 17:19:40 +02:00
cfb53dad52 Commit import map 2024-05-22 16:59:54 +02:00
585ee7855f Add base entities 2024-05-22 16:44:48 +02:00
e84467f73e Add .env file 2024-05-22 16:00:59 +02:00
71190b76c7 Initial commit 2024-05-22 15:57:12 +02:00