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
Dane Everitt
08af485c40
Get basic environment creation beginning to work
2019-04-03 22:01:11 -07:00
Dane Everitt
639d9edef5
Better configuration loading process for servers
...
Loads up to 10 configurations at once in parallel
2019-03-24 18:39:01 -07:00
Dane Everitt
29de97c857
That editorconfig file really butchered the formatting for go
2019-03-24 18:00:21 -07:00
Dane Everitt
4bdf373ab8
Cleanup to better match the revised server data format
2019-03-24 17:39:13 -07:00
Dane Everitt
a3d5bf7982
Migrate very basic environment capabilities
2019-03-24 17:27:14 -07:00