Commit Graph

175 Commits

Author SHA1 Message Date
caf11b5b19 Refactoring backend (#42)
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m7s
Build and test backend / Test-backend (push) Successful in 1m22s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m28s
removing cors fails.
refactoring ping as a proposal for rest endpoints locations

Reviewed-on: #42
Reviewed-by: Maxime <231026@umons.ac.be>
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-03-01 18:43:56 +01:00
25019d8b91 Suppression de TeacherOwnerCourse.java et ajout d'un booléen Owned dans TeacherGivenCourse.java 2024-03-01 01:47:11 +01:00
69c3a3b965 Implémentation des différentes classes représentants les tables 2024-02-29 20:08:12 +01:00
0de7b69b1b
enable jpa library for managing data
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m57s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 22s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 22s
Build and test backend / Build-backend (push) Successful in 2m19s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 25s
deploy to production / deploy-backend (push) Successful in 2m16s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-29 08:53:33 +01:00
7c9fe9235c
Example of toaster
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m27s
Build and test backend / Test-backend (push) Successful in 1m21s
deploy to production / deploy-frontend (push) Successful in 25s
deploy to production / deploy-backend (push) Successful in 2m3s
Build and test FrontEnd / Build-frontend (push) Successful in 24s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-28 17:57:47 +01:00
56df39b584
[fix] wrong file
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m4s
Build and test backend / Test-backend (push) Successful in 1m15s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m58s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 19:15:36 +01:00
4c79b9e51f
dependants
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m51s
Build and test backend / Test-backend (push) Successful in 1m19s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m57s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 17:16:01 +01:00
6559462f2b
docker pipeline
Some checks failed
deploy to production / deploy-frontend (push) Waiting to run
deploy to production / deploy-backend (push) Waiting to run
Build and test FrontEnd / Build-frontend (push) Waiting to run
Build and test FrontEnd / Test-frontend (push) Waiting to run
Build and test backend / Build-backend (push) Successful in 1m55s
Build and test backend / Test-backend (push) Has been cancelled
2024-02-27 17:12:56 +01:00
43adb6d31f
database on deploy
Some checks failed
Build and test backend / Build-backend (pull_request) Successful in 1m41s
Build and test backend / Test-backend (pull_request) Successful in 1m43s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 24s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 22s
Build and test backend / Build-backend (push) Successful in 1m52s
Build and test backend / Test-backend (push) Successful in 1m20s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 2m0s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 16:55:16 +01:00
9c92e7d1e9
Ajout du CORS Pour le dev local + toastify + exmpl
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m43s
Build and test backend / Test-backend (pull_request) Successful in 1m39s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 23s
Build and test backend / Build-backend (push) Successful in 1m54s
Build and test backend / Test-backend (push) Successful in 1m15s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m58s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
tout est dans le titre
2024-02-27 14:24:26 +01:00
88108918dd
adding database support
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m54s
Build and test backend / Test-backend (push) Successful in 1m18s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m26s
2024-02-27 12:08:28 +01:00
c0ab074a95
adding fk
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m16s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m27s
Build and test FrontEnd / Build-frontend (push) Successful in 24s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-27 08:10:07 +01:00
4f4ed952cc
adding base template for working
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m13s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m24s
Build and test FrontEnd / Build-frontend (push) Successful in 24s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-27 00:51:30 +01:00
d8cbbdc94b
Removing drone
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m18s
Build and test backend / Test-backend (push) Successful in 1m15s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m29s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 00:36:52 +01:00
f39cc004ad
.
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m19s
Build and test backend / Test-backend (push) Successful in 1m16s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
Build and test FrontEnd / Test-frontend (push) Successful in 21s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m25s
2024-02-27 00:22:22 +01:00
4983b67fbe
.
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m18s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 25s
deploy to production / deploy-backend (push) Failing after 1m22s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 19:59:23 +01:00
0015763523
.
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m16s
Build and test backend / Test-backend (push) Successful in 1m13s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 19:51:09 +01:00
f1154713b7
.
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 19:29:40 +01:00
883ff19fa3
.
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m20s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Failing after 1m25s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 18:25:41 +01:00
fdfbd5a948
fk m life
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m20s
Build and test backend / Test-backend (push) Successful in 1m14s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-26 18:17:59 +01:00
b90716ab38
sill am
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m40s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 1m22s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-26 17:42:32 +01:00
3f74c5bb07
I am stupid
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m14s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 16:52:02 +01:00
c11ad4fa11
wrong file
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m18s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 26s
deploy to production / deploy-backend (push) Failing after 1m22s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 21s
2024-02-26 16:45:19 +01:00
5d877c3460
typo
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m19s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 1m19s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 16:33:13 +01:00
5691ff1783
Signing
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m16s
Build and test backend / Test-backend (pull_request) Successful in 1m14s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 22s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 21s
Build and test backend / Build-backend (push) Successful in 1m16s
Build and test backend / Test-backend (push) Successful in 1m17s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 15:31:58 +01:00
fbbc6978d5
Deploy backend on push
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m16s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 15:25:31 +01:00
bb5d1a6982 Build and push the backend on pr and merge
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m59s
Build and test backend / Test-backend (push) Successful in 1m13s
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-26 14:33:39 +01:00
6503af0096
Adding docker entry for backend
All checks were successful
Build and test FrontEnd / Build (pull_request) Successful in 36s
Build and test FrontEnd / Test (pull_request) Successful in 23s
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build (push) Successful in 23s
Build and test FrontEnd / Test (push) Successful in 24s
This allow you to run `docker-compose up` in the backend directory
to run the whole backend in a docker. by default the port is set to 4000
2024-02-26 13:20:03 +01:00
42d9231ef6
Adding dev instructions
All checks were successful
deploy to production / deploy-frontend (push) Successful in 23s
Build and test FrontEnd / Build (push) Successful in 21s
Build and test FrontEnd / Test (push) Successful in 23s
2024-02-23 12:30:12 +01:00
fb6527afd5 base of backend
All checks were successful
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build (push) Successful in 22s
Build and test FrontEnd / Test (push) Successful in 22s
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #29
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-23 12:00:36 +01:00
Debucquoy
b9fec5e7b4
deploy fix typo
All checks were successful
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build (push) Successful in 21s
Build and test FrontEnd / Test (push) Successful in 21s
2024-02-20 11:10:50 +01:00
Debucquoy
62136f5060
deploy fix typo
Some checks failed
deploy to production / deploy-frontend (push) Failing after 11s
Build and test FrontEnd / Build (push) Successful in 21s
Build and test FrontEnd / Test (push) Successful in 21s
2024-02-20 11:05:26 +01:00
Debucquoy
9ca94668d7
deploy fix typo
Some checks failed
deploy to production / deploy-frontend (push) Failing after 3s
Build and test FrontEnd / Build (push) Successful in 22s
Build and test FrontEnd / Test (push) Successful in 22s
2024-02-20 10:58:38 +01:00
dda321256c frontend-CI (#28)
All checks were successful
Build and test FrontEnd / Build (push) Successful in 22s
Build and test FrontEnd / Test (push) Successful in 21s
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #28
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-20 10:55:16 +01:00
85b0be3479 frontend CI (#27)
voilà... normalement tout le ci pour le frontend est bon.. reste plus que le backend

Reviewed-on: #27
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-20 09:48:59 +01:00
a795108859 frontend + ci
All checks were successful
deploy to production / deploy-frontend (push) Successful in 47s
2024-02-17 20:58:42 +01:00
3f1c4732ec trying action (#25)
Some checks failed
deploy to production / deploy-frontend (push) Failing after 14s
Reviewed-on: #25
2024-02-17 18:35:50 +01:00
ef4929640d
Corrections to api 2023-12-15 15:11:29 +01:00
3abe4cd6ef Bug correction (#20)
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #20
2023-12-15 14:55:46 +01:00
5958b15c84 Adding delete and get to message-id 2023-12-15 14:52:40 +01:00
8648631d32 Put tag guest to DisplayArticle
asked-by: Max
2023-12-15 14:52:40 +01:00
db2003b51a Roles ref problem 2023-12-15 14:52:40 +01:00
6f5f89d954 First api 2023-12-15 14:52:40 +01:00
abef330bd7 class diagram messaging extension (#13)
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #13
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-15 14:36:44 +01:00
4f1a44549b ERB msg done (#14)
# Entity relational diagram

## Messaging extension

```mermaid
%%{init: { "er": {"fontSize": 25}}}%%
erDiagram

%% General
Users

%% Messages
Discussions{
    Integer id PK
    String name
}

Messages{
    Integer id PK
    Integer response FK "Messages"
    String content
}

Discussions ||--o{ Messages: ""
Discussions ||--o{ Users: ""

Messages o|--o{ Messages: "answers"

%% Forums
Forums{
    Integer id PK
    String name
}

Topics{
    Integer id PK
    String subject
    String content
    Boolean locked
}
Answers{
    Integer id PK
    String content
    Boolean anonymous
    TimeStamp creation_time
}

Polls{
    Integer id PK
    enum PollType
}
Options{
    Integer id PK
    String name
}

Forums ||--o{ Users: "Registered"
Forums ||--|| Teacher: "Owner"
Forums ||--|| Course: ""
Forums ||--o{ Topics: ""
Forums ||--o{ Polls: ""

Topics ||--|| Teacher: "Author"
Topics ||--|| Users: "Author"
Topics ||--o{ Answers: ""

Polls ||--o{ Options: ""

Options ||--o{ Votes : ""

Votes }o--|| Users: "Voter"

%% Appointments
Teachers
Appointments{
    Integer id PK
    TIME sent_time
    enum Status
}

Appointments ||--|| Teachers: ""
Appointments ||--|| Users: ""

```

Debucquoy Anthony

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #14
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-15 14:36:10 +01:00
55e095bcc6
small indentation error 2023-12-14 20:58:09 +01:00
26bcb045ed Extension Messagerie (#11)
Voici le use case de messagerie.
et l'interaction overview messagerie.

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #11
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-14 15:15:39 +01:00
5d8c3d03c5 Extension Requests
Bon les gars je vais pas passer par 4 chemins :
Zǎoshang hǎo zhōngguó xiànzài wǒ yǒu BING CHILLING 🥶🍦 wǒ hěn xǐhuān BING CHILLING 🥶🍦 dànshì sùdù yǔ jīqíng 9 bǐ BING CHILLING 🥶🍦 sùdù yǔ jīqíng sùdù yǔ jīqíng 9 wǒ zuì xǐhuān suǒyǐ…xiànzài shì yīnyuè shíjiān zhǔnbèi 1 2 3 liǎng gè lǐbài yǐhòu sùdù yǔ jīqíng 9 ×3 bùyào wàngjì bùyào cu òguò jìdé qù diànyǐngyuàn kàn sùdù yǔ jīqíng 9 yīn wéi fēicháng hǎo diànyǐng dòngzuò fēicháng hǎo chàbùduō yīyàng BING CHILLING 🥶🍦zàijiàn 🥶🍦

Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #4
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
Co-authored-by: LeoMoulin <leomoulin125@gmail.com>
Co-committed-by: LeoMoulin <leomoulin125@gmail.com>
2023-12-14 14:37:26 +01:00
95888a4600 Adding role to users (#12)
A user is defined by it's role and should be defined in it's setter and
getter

Closes #8

Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #12
Reviewed-by: Wal <karpinskiwal@gmail.com>
2023-12-14 13:57:06 +01:00
f0f60de12f Ordering Tags (#15)
Fix-issue: #10

Ce pr permet de trier les tags dans un ordre voulu ainsi que de mettre une description aux tags.

Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #15
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-14 13:56:04 +01:00