Commit Graph

39 Commits

Author SHA1 Message Date
Charles Le Maux
984a2a9acd [+] Implemented new FetchDirContent API call :) 2024-09-11 04:16:14 +02:00
AntoninoP
a5d9ff716d +fetch file names function added 2024-09-10 21:22:58 +02:00
Charles Le Maux
315acec4a2 [+] Reordered generic_executor.py 2024-09-10 13:26:12 +02:00
Charles Le Maux
1b1df35a14 [+] Added server closing log 2024-09-10 13:16:16 +02:00
Charles Le Maux
bd568f6356 [+] Idle servers are now automatically stopped. 2024-09-06 12:44:05 +02:00
Charles Le Maux
ef3d907984 [~] JMV Arguments validated. 2024-08-24 16:35:46 +02:00
Charles Le Maux
0d0c655d7f [+] UpdateProperties call now updates the modified the updated properties in the history.log 2024-08-24 13:30:25 +02:00
Charles Le Maux
2632f70b65 [+] FetchPlayersStatus API call.
Users are now able to fetch their user data : Whitelist, Operators, BannedIps, BannedPlayers.
2024-08-24 13:23:19 +02:00
Charles Le Maux
91e4258d3b [+] New history system
Now every server related event is logged.
Users will soon be able to access their server's history on the front as well.

Co-authored-by: Antoninop <antoninopiraino70@gmail.com>
2024-08-20 18:56:43 +02:00
Charles Le Maux
98c97964cc [+] New launching flags test 2024-08-19 11:58:10 +02:00
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