1
0
forked from PGL/Clyde
Commit Graph

74 Commits

Author SHA1 Message Date
fa522eabd3 fixing db 2024-03-02 19:30:26 +01:00
caf11b5b19 Refactoring backend (#42)
removing cors fails.
refactoring ping as a proposal for rest endpoints locations

Reviewed-on: PGL/Clyde#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
0de7b69b1b
enable jpa library for managing data 2024-02-29 08:53:33 +01:00
7c9fe9235c
Example of toaster 2024-02-28 17:57:47 +01:00
56df39b584
[fix] wrong file 2024-02-27 19:15:36 +01:00
4c79b9e51f
dependants 2024-02-27 17:16:01 +01:00
6559462f2b
docker pipeline 2024-02-27 17:12:56 +01:00
43adb6d31f
database on deploy 2024-02-27 16:55:16 +01:00
9c92e7d1e9
Ajout du CORS Pour le dev local + toastify + exmpl
tout est dans le titre
2024-02-27 14:24:26 +01:00
88108918dd
adding database support 2024-02-27 12:08:28 +01:00
c0ab074a95
adding fk 2024-02-27 08:10:07 +01:00
4f4ed952cc
adding base template for working 2024-02-27 00:51:30 +01:00
d8cbbdc94b
Removing drone 2024-02-27 00:36:52 +01:00
f39cc004ad
. 2024-02-27 00:22:22 +01:00
4983b67fbe
. 2024-02-26 19:59:23 +01:00
0015763523
. 2024-02-26 19:51:09 +01:00
f1154713b7
. 2024-02-26 19:29:40 +01:00
883ff19fa3
. 2024-02-26 18:25:41 +01:00
fdfbd5a948
fk m life 2024-02-26 18:17:59 +01:00
b90716ab38
sill am 2024-02-26 17:42:32 +01:00
3f74c5bb07
I am stupid 2024-02-26 16:52:02 +01:00
c11ad4fa11
wrong file 2024-02-26 16:45:19 +01:00
5d877c3460
typo 2024-02-26 16:33:13 +01:00
5691ff1783
Signing 2024-02-26 15:31:58 +01:00
fbbc6978d5
Deploy backend on push 2024-02-26 15:25:31 +01:00
bb5d1a6982 Build and push the backend on pr and merge 2024-02-26 14:33:39 +01:00
6503af0096
Adding docker entry for backend
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 2024-02-23 12:30:12 +01:00
fb6527afd5 base of backend
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#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 2024-02-20 11:10:50 +01:00
Debucquoy
62136f5060
deploy fix typo 2024-02-20 11:05:26 +01:00
Debucquoy
9ca94668d7
deploy fix typo 2024-02-20 10:58:38 +01:00
dda321256c frontend-CI (#28)
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#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: PGL/Clyde#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 2024-02-17 20:58:42 +01:00
3f1c4732ec trying action (#25)
Reviewed-on: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#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: PGL/Clyde#15
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-14 13:56:04 +01:00
351c0dbfb2 Merge pull request 'Ext_publiScientifique' (#5) from Ext_publiScientifique into master
Reviewed-on: PGL/Clyde#5
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2023-12-13 15:37:49 +01:00