Commit Graph

139 Commits

Author SHA1 Message Date
charleslemaux
b36fb239ac
[+] FetchDirContent API call
[+] Corrected NewFetchfile branch PR
2024-09-11 04:20:56 +02:00
Charles Le Maux
142dff547f [+] Local testing successful 2024-09-11 04:16:26 +02:00
Charles Le Maux
984a2a9acd [+] Implemented new FetchDirContent API call :) 2024-09-11 04:16:14 +02:00
Charles Le Maux
0fc0c1cdd2 [-] Stopped async testing 2024-09-11 04:15:56 +02:00
Charles Le Maux
6832b05230 [+] filter_directory_content
Allows a user to extract the files having a specific extension
2024-09-11 04:15:40 +02:00
Charles Le Maux
b558b02711 [+] FetchDirContent 2024-09-11 04:15:09 +02:00
charleslemaux
3f154b93e4
Merge pull request #29
+fetch file names function added
2024-09-11 00:43:55 +02:00
AntoninoP
a5d9ff716d +fetch file names function added 2024-09-10 21:22:58 +02:00
Charles Le Maux
4daf2ed654 [-] Removed var narrowing (from the main scope) 2024-09-10 13:29:00 +02:00
Charles Le Maux
a5ab9a0caa [-] Optimized error handling & imports
[~] Reordered functions
2024-09-10 13:26:39 +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
88eaf0b4d8 [+] Added interval parameter for easier scheduler management.
Scheduler will default to 10 minutes, meaning a server will take 20 to automatically close.

The input interval shouldn't be lower than 5 minutes except when high load expected
2024-09-10 13:13:31 +02:00
Charles Le Maux
fe2ad4e0a1 [+] Updated Docker config 2024-09-10 02:38:24 +02:00
charleslemaux
29aa5a40e3
[+] Upload route
New upload route for the servii API
Now it only allows the user to send jar and zip files as this:
- Jar files are considered as plugins and are stored in the plugins folder of the server
- zip files are considered as datapacks and are therefore stored in the datapacks folder within the defaults world folder on the server
2024-09-10 01:10:31 +02:00
Charles Le Maux
2fe31596c0 [+] Corrected exception handling syntax 2024-09-10 01:06:56 +02:00
Charles Le Maux
8a282012e3 [+] Updated testing page 2024-09-10 01:05:36 +02:00
Charles Le Maux
c46e04f7f1 [+] Upload route 2024-09-10 01:05:25 +02:00
Charles Le Maux
a7decf8dac [+] File extension parser 2024-09-10 01:05:15 +02:00
Charles Le Maux
f74d1cf937 [~] Simple async tests 2024-09-10 00:54:14 +02:00
Charles Le Maux
1123b7f60d [+] Fixed positional argument in Firestore query 2024-09-09 23:16:30 +02:00
Charles Le Maux
9042bae61e [+] Werkzeug utils for filename safety 2024-09-07 16:41:56 +02:00
charleslemaux
3b6cd9e901
[-] Did not add async engine 2024-09-06 19:05:12 +02:00
Charles Le Maux
c5c630a35c [-] Abandonning this :) 2024-09-06 19:04:03 +02:00
Charles Le Maux
620936f1b3 [+] Updated mail in readme.md 2024-09-06 18:00:54 +02:00
Charles Le Maux
46dcb39495 [+] Added exception handling to query 2024-09-06 17:56:56 +02:00
Charles Le Maux
c9c542dcbc [+] Fixed query problem 2024-09-06 17:54:04 +02:00
Charles Le Maux
a0a2a8cf43 [+] Optimized async test 2024-09-06 17:37:41 +02:00
Charles Le Maux
aa792183ab [+] Regular async test 2024-09-06 17:33:46 +02:00
Charles Le Maux
bcf096cda2 [~] No production printing. 2024-09-06 12:55:09 +02:00
Charles Le Maux
f52696d38a [~] Scheduler's interval is now 10 minutes. 2024-09-06 12:51:13 +02:00
charleslemaux
a9512014e8
[+] Idle servers are now automatically stopped.
[~] Reverted testing id
[~] Tested classical python errors
[+] Added task scheduler
[+] Updated requirements.txt
2024-09-06 12:47:57 +02:00
Charles Le Maux
bd568f6356 [+] Idle servers are now automatically stopped. 2024-09-06 12:44:05 +02:00
Charles Le Maux
afdb356220 [+] Updated requirements.txt 2024-09-06 12:43:46 +02:00
Charles Le Maux
6fd8cf73e6 [+] Added task scheduler 2024-09-06 12:43:28 +02:00
Charles Le Maux
7ff1d726cc [~] Tested classical python errors 2024-09-06 12:42:25 +02:00
Charles Le Maux
0001a78a51 [~] Reverted testing id 2024-09-06 12:42:07 +02:00
charleslemaux
683a72cad5
[~] JMV Arguments validated.
Co-authored-by: Antoninop <antoninopiraino70@gmail.com>
2024-08-24 16:38:19 +02:00
Charles Le Maux
ef3d907984 [~] JMV Arguments validated. 2024-08-24 16:35:46 +02:00
Antoninop
a1caa719bf
Merge pull request #16 from hubHarmony/12-fix-jvms-ram-arguments
[+] Servii API V1.1
2024-08-24 13:44:02 +02:00
Charles Le Maux
b70f522a3b [~] Added servers closing to unit test 2024-08-24 13:38:22 +02:00
Charles Le Maux
3afec9a63a [+] Safe API closing handling attempt 2024-08-24 13:35:59 +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
c60fab04c1 [+] FetchPlayersStatus API call.
Users are now able to fetch their user data : Whitelist, Operators, BannedIps, BannedPlayers.
2024-08-24 13:23:23 +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
79d680db3a [+] Fixed wrong int type in server prop on server creation. 2024-08-24 12:44:35 +02:00
Charles Le Maux
1f8c6c22af [+] Fixed non-static get_online_players 2024-08-20 20:07:39 +02:00
Charles Le Maux
6600b751ea [+] Going ahead master 2024-08-20 20:03:59 +02:00
Charles Le Maux
66e435f982 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	file_manager.py
2024-08-20 19:46:22 +02:00
Charles Le Maux
d462ffa9ec [+] 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 19:46:09 +02:00