Dane Everitt
f0da1eeb48
Add basic support for creating a server on wings
2019-11-16 15:48:50 -08:00
Dane Everitt
22e6ce2f7e
Add base code to convert json data into a server object
...
This is not great code, but wow dealing with JSON is a nightmare in go.
2019-11-16 15:10:53 -08:00
Dane Everitt
8b8a131b7d
Change websocket validation method to use JWT
2019-09-24 21:21:59 -07:00
Dane Everitt
1899b1ab4b
Add logic to handle authenticating a websocket with the panel
2019-09-08 17:40:06 -07:00
Dane Everitt
923a9fbcab
Add command sending endpoint and simpliy logic for authing requests
2019-09-05 21:08:03 -07:00
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
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
49ca2e2404
Cleanup server stuff since that was getting unweildy
2019-04-20 16:26:55 -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
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
0ace25c117
Add support for listing a directory's contents
2019-04-07 14:45:23 -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
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