Commit Graph

29 Commits

Author SHA1 Message Date
Charles Le Maux
8d4e613b45 [+] New 'FetchLogs' API call 2024-08-15 12:07:45 +02:00
Charles Le Maux
3f332573bf [+] FetchLogs prepass 2024-08-15 11:52:18 +02:00
Charles Le Maux
8ca465a0e4 [+] Type & dependencies fixes 2024-08-15 10:49:41 +02:00
charleslemaux
30c2ed6a2e
Merge branch 'master' into query-rcon-update 2024-07-14 22:26:46 +02:00
Charles Le Maux
cb04876592 [+] Enable query on the right port on server creation 2024-07-14 22:19:33 +02:00
Charles Le Maux
0747e02fce [+] /FetchServers now also returns the amount of connected players 2024-07-14 22:06:02 +02:00
Charles Le Maux
c2f21cb1c1 [~] Renewed function declarations with Union type 2024-07-14 19:23:59 +02:00
Charles Le Maux
cef726b3b6 [+] Server deletion safety
Errors are correctly logged in firebase.
User can't break the website anymore.

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 16:12:54 +01:00
Charles Le Maux
fa9ba6d3e0 [+] Server deletion safety
Errors are correctly logged in firebase.
User can't break the website anymore.

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 16:12:16 +01:00
Charles Le Maux
87a242f131 [+] Cooldown on server run, has to wait 30s to stop.
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 16:02:21 +01:00
Charles Le Maux
dbabebfe3f Merge remote-tracking branch 'origin/master'
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 14:49:47 +01:00
Charles Le Maux
3159fed81e [+] Error handling & firebase logs
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 14:46:27 +01:00
Charles Le Maux
e60e972ebd [+] Error handling & firebase logs
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-11 14:45:13 +01:00
Charles Le Maux
827706aaf7 [+] New property management system !
Now syncs with firebase

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-09 18:40:37 +01:00
Charles Le Maux
828010de25 [~] New /UpdateProperties route
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-08 21:05:07 +01:00
Charles Le Maux
fa6846a0ce [+] Cloudflare support !
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-01 14:42:28 +01:00
Charles Le Maux
6b9df8e668 [~] Fix : added server state update at /serverStop
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-30 00:46:52 +01:00
Charles Le Maux
156d95c1cb Merge remote-tracking branch 'origin/master'
# Conflicts:
#	api_sender.html
#	firebase_manager.py
#	generic_executor.py
2024-06-30 00:35:57 +01:00
Charles Le Maux
858343637f [~] Firestore : added servers running states
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-30 00:34:54 +01:00
Charles Le Maux
a7b48e3437 [~] Firestore : added servers running states
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-29 22:54:47 +01:00
Charles Le Maux
6cda6461cc [V2+] Secrets added.
(For local testing purposes.)
[+] Fixed SSL/TLS issues.

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-29 17:13:24 +01:00
Charles Le Maux
b17f316491 [V2+] api_sender.html
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-25 23:51:48 +01:00
Charles Le Maux
b6d916bf9a [V2] Final commit, production ready
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-25 22:49:33 +01:00
Charles Le Maux
35689e4dd0 [++] API:V2 - Firebase support
Fully implemented authentication
Fully implemented return codes and errors
Fully implemented firestore database data
Created 'fetch_servers' and 'set_subdomain' routes for front-end use.
[+] Security patch, requests will not return anything if not properly authenticated
[~] Reworked the route system entirely
[+] TODO : firebase_manager.py error handling
[+] TODO : global error log using file_manager.log_error(error_type:str, error_message:str)

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-25 05:55:49 +01:00
Charles Le Maux
9ccef01999 [+] Added basic firebase authentication checks, and added firestore basic functions.
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-24 15:42:41 +01:00
Charles Le Maux
bbff1b0f88 [+] HTTP Return codes for the API 2024-06-21 19:44:33 +01:00
Charles Le Maux
9f07a97fc9 [+] Conventions 2024-06-20 17:57:04 +01:00
Charles Le Maux
5d9cf5ae5e [+] generic_executor type safety /2 2024-06-15 06:18:57 +02:00
Charles Le Maux
a08cb54e06 [+] First commit 2024-06-14 23:33:55 +02:00