Commit Graph

573 Commits

Author SHA1 Message Date
Dane Everitt
c943246e33
Return the mime type with the file for easier panel integration 2019-05-25 15:58:55 -07:00
Dane Everitt
8d8ec70683
Add support for writing to a file (and creating it if not existent) 2019-05-25 15:40:15 -07:00
Dane Everitt
8acab006b6
Change API to be more logical with handling file paths 2019-05-25 15:40:02 -07:00
Dane Everitt
7182b02ce2
Order A-Z not Z-A 2019-05-14 18:43:04 -07:00
Dane Everitt
9c252a5ad7
Truncate the logs when server process is starting 2019-05-09 21:52:24 -07:00
Dane Everitt
7a52e3a9c2
For now, chown the server directory when the server starts 2019-05-09 21:48:58 -07:00
Dane Everitt
e95c22a526
Add support for deleting a file or directory from a server 2019-05-04 17:09:35 -07:00
Dane Everitt
50d16a3dcd
Add support for copying a file 2019-05-04 17:02:01 -07:00
Dane Everitt
4318d9988a
Add support for renaming files/directories 2019-05-04 16:04:41 -07:00
Dane Everitt
857bf45324
Add support for creating a new directory 2019-05-01 22:09:01 -07:00
Dane Everitt
c3515454f2
Fix handling of empty directories to not return null 2019-05-01 22:08:54 -07:00
Dane Everitt
3de40ddf98
Fix handling of kill in daemon 2019-04-21 12:27:53 -07:00
Dane Everitt
8795e7d739
Emit server status events 2019-04-21 12:02:28 -07:00
Dane Everitt
bed30d9229
Get working console websocket implementation and fix race condition 2019-04-20 17:38:12 -07:00
Dane Everitt
49ca2e2404
Cleanup server stuff since that was getting unweildy 2019-04-20 16:26:55 -07:00
Dane Everitt
870adffc14
Significant improvements to attaching/console handling 2019-04-20 16:20:08 -07:00
Dane Everitt
ebe98aa860
Correctly handle closing of websocket, whoopsie 2019-04-20 15:45:48 -07:00
Dane Everitt
b20bfac36b
Get server logs sending over the socket. wowee 2019-04-20 14:57:37 -07:00
Dane Everitt
342c44abfb
Cleanup websocket implementation 2019-04-20 11:59:28 -07:00
Dane Everitt
1dfcebc746
Add basic working websocket support
Specifically moving away from Socketio because the websockets can handle everything we need, and theres no updated go socketio libraries, so its a nightmare.
2019-04-19 23:29:52 -07:00
Dane Everitt
91ffc96c15
Update README.md 2019-04-08 12:29:12 -07:00
Dane Everitt
ef918a4ffa
idk, kinda websockety, really difficult to test atm 2019-04-07 16:58:56 -07:00
Dane Everitt
afe2941983
Ugly first attempt at enabling socketio 2019-04-07 16:28:01 -07:00
Dane Everitt
7c0acf3f60
Very basic state management for servers 2019-04-07 15:20:21 -07:00
Dane Everitt
729a84b4bf
Output as expected json keys 2019-04-07 15:11:56 -07:00
Dane Everitt
0ace25c117
Add support for listing a directory's contents 2019-04-07 14:45:23 -07:00
Dane Everitt
91afa4d38e
Add basic file stat & mimetype 2019-04-07 13:47:14 -07:00
Dane Everitt
aef9521190
Add support for reading a file's content or downloading it 2019-04-06 17:32:35 -07:00
Dane Everitt
314a5ad546
Add FS logic for determining folder size as well as safe path resolution 2019-04-06 16:53:22 -07:00
Dane Everitt
94223bafec
Fix docker user and write configuration to disk when setting user 2019-04-06 16:03:02 -07:00
Dane Everitt
6e2a442846
Ensure that permissions are set properly on daemon boot 2019-04-06 15:39:57 -07:00
Dane Everitt
23df075253
Add support for checking/creating the Pterodactyl system user 2019-04-06 15:24:25 -07:00
Dane Everitt
d534b23606
Move configuration to own directory, modify docker environment setup to be easier to manage 2019-04-06 13:33:54 -07:00
Dane Everitt
fe30c2969d
Add the default environment variables for servers 2019-04-06 12:36:05 -07:00
Dane Everitt
7d67be8382
Add support for getting a server's log file via the API 2019-04-06 12:27:44 -07:00
Dane Everitt
b6bc9adf29
Implement very basic authorization for routes 2019-04-06 10:49:31 -07:00
Dane Everitt
a2df979e66
Ignore both EOF possibilities 2019-04-05 22:57:39 -07:00
Dane Everitt
7f50ff1f92
Add support for starting/stopping/killing a server via the API 2019-04-05 22:55:48 -07:00
Dane Everitt
134debd529
Add basic API endpoints to get server data 2019-04-05 22:34:53 -07:00
Dane Everitt
cedbee5080
Add initial API support for listing configured servers 2019-04-05 22:20:26 -07:00
Dane Everitt
ec2407481b
Fix pointer error 2019-04-05 22:20:10 -07:00
Dane Everitt
3b4555344c
Build out the docker environment a bit more 2019-04-05 21:59:27 -07:00
Dane Everitt
447dafc76d
Update deprecated API call 2019-04-03 23:58:45 -07:00
Dane Everitt
4c6f2cf948
Whoops, casting strings like this is incorrect.
For example, 25565 is a rune for 揝 when doing string(port).
2019-04-03 23:54:38 -07:00
Dane Everitt
b69da4f43a
Correctly map to int not string here 2019-04-03 23:45:15 -07:00
Dane Everitt
e0f26e9693
Fix dependency hell because of old docker version 2019-04-03 23:34:24 -07:00
Dane Everitt
25053cb2db
Remove initial iterations of code for now, will ref it later 2019-04-03 23:15:47 -07:00
Dane Everitt
b84ed20c24
Update docker environment to handle port mapping 2019-04-03 23:09:15 -07:00
Dane Everitt
c683809efc
Get more of the container creation fleshed out 2019-04-03 22:49:15 -07:00
Dane Everitt
3e4fcd527d
Pass through startup as argument 2019-04-03 22:20:39 -07:00