Commit Graph

22 Commits

Author SHA1 Message Date
Charles Le Maux
15059a7063 [+] Added payments.
Created a subscription system, and added different permission levels to the users depending on their subscription
2024-09-27 10:23:32 +02:00
Charles Le Maux
9ad1bdaff9 [+] Added super-secure-token authentication
Now uses firebase complete tokens; it verifies the signature and integrity of the token, the origin of the project the token was issued for, the secret key, and finally the sub before verifying the account.
2024-09-20 15:54:41 +02:00
Charles Le Maux
874236d09e [~] Tiny coding style update 2024-09-20 11:38:54 +02:00
Charles Le Maux
bd1f5f51e0 [+] Enabled command block globally 2024-09-19 16:32:45 +02:00
Charles Le Maux
dec704f3c5 [+] Standard server field getter 2024-09-13 04:00:14 +02:00
Charles Le Maux
1123b7f60d [+] Fixed positional argument in Firestore query 2024-09-09 23:16:30 +02:00
Charles Le Maux
c5c630a35c [-] Abandonning this :) 2024-09-06 19:04:03 +02:00
Charles Le Maux
bd568f6356 [+] Idle servers are now automatically stopped. 2024-09-06 12:44:05 +02:00
Charles Le Maux
3afec9a63a [+] Safe API closing handling attempt 2024-08-24 13:35:59 +02:00
Charles Le Maux
79d680db3a [+] Fixed wrong int type in server prop on server creation. 2024-08-24 12:44:35 +02:00
Charles Le Maux
31239201e4 [-] TODO 2024-08-15 10:52:55 +02:00
Charles Le Maux
8ca465a0e4 [+] Type & dependencies fixes 2024-08-15 10:49:41 +02:00
Charles Le Maux
c2f21cb1c1 [~] Renewed function declarations with Union type 2024-07-14 19:23:59 +02: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
8dfe9bbde9 [~] str -> bool for 'running' prop
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-10 14:19:06 +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
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
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
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
acd72ffa8a [+] TODO : firebase_manager.py
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-06-24 14:28:46 +01:00