Commit Graph

128 Commits

Author SHA1 Message Date
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
Charles Le Maux
c84926fd93 [+] 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:35:36 +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
23c17ffbc9 [+] Global version indexer script 2024-08-20 13:56:15 +02:00
Charles Le Maux
466066f7db [+] Added shared server resources 2024-08-20 13:55:54 +02:00
Charles Le Maux
82f58c7584 [+] Updated gitignore to fit project's needs 2024-08-20 13:53:59 +02:00
Charles Le Maux
98c97964cc [+] New launching flags test 2024-08-19 11:58:10 +02:00
charleslemaux
66d6483f46
[+] New 'FetchLogs' API call
[+] New 'FetchLogs' API call
2024-08-15 12:08:45 +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
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