Matthew Penner
3f481e9540
chore: run gofumpt
2022-10-05 17:24:11 -06:00
DaneEveritt
8a867ccc44
Switch to gorm for activity logging
2022-07-24 11:43:48 -04:00
DaneEveritt
7bd11c1c28
Switch to SQLite for activity tracking
2022-07-10 16:51:11 -04:00
DaneEveritt
f28e06267c
Better tracking of SFTP events
2022-07-10 14:30:32 -04:00
DaneEveritt
ed330fa6be
Squashed commit of the following:
...
commit f5baab4e88
Author: DaneEveritt <dane@daneeveritt.com>
Date: Sat Jul 9 17:50:53 2022 -0400
Finalize activity event sending logic and cron config
commit 9830387f21
Author: DaneEveritt <dane@daneeveritt.com>
Date: Sat Jul 9 16:26:13 2022 -0400
Send power events in a more usable format
commit 49f3a61d16
Author: DaneEveritt <dane@daneeveritt.com>
Date: Sat Jul 9 15:47:24 2022 -0400
Configure cron to actually send to endpoint
commit 28137c4c14
Author: DaneEveritt <dane@daneeveritt.com>
Date: Sat Jul 9 15:42:29 2022 -0400
Copy the body buffer otherwise subsequent backoff attempts will not have a buffer to send
commit 20e44bdc55
Author: DaneEveritt <dane@daneeveritt.com>
Date: Sat Jul 9 14:38:41 2022 -0400
Add internal logic to process activity events and send them to the panel
commit 0380488cd2
Author: DaneEveritt <dane@daneeveritt.com>
Date: Mon Jul 4 17:55:17 2022 -0400
Track power events
commit 9eab08b92f
Author: DaneEveritt <dane@daneeveritt.com>
Date: Mon Jul 4 17:36:03 2022 -0400
Initial logic to support logging activity on Wings to send back to the panel
2022-07-09 17:51:19 -04:00
vagrant
59b11eb80c
use cobra for cli
...
reorganize a bit to be able to use it
2020-04-10 13:12:18 +00:00
Dane Everitt
cf2ef1a173
Port most of the HTTP code over to gin
2020-04-05 18:00:33 -07:00
Matthew Penner
c096d8802f
Add configurable ArchiveDirectory
2020-04-04 00:17:32 -06:00
Matthew Penner
3dba11ac6f
Add ability to create archives of servers, add GET and POST /api/servers/:server/archive routes to get and request an archive of a server
2020-04-03 23:17:26 -06:00
Dane Everitt
32e389db21
General code cleanup
2019-12-24 16:40:51 -08:00
Dane Everitt
7f8e0cc66b
Show stack on error better
2019-12-22 14:54:36 -08:00
Dane Everitt
834f0122e3
Update configuration struct to support defaults
2019-12-22 13:20:34 -08:00
Dane Everitt
a8e907a0fc
Don't force debug to true in config file when set via flag
2019-12-21 21:10:45 -08:00
Dane Everitt
a1fa876734
[#3c9g25] Add endpoint for returning basic system information
2019-12-09 21:05:55 -08:00
Dane Everitt
91d5735ba8
Add support for creating network if it is missing
2019-12-07 17:31:12 -08:00
Dane Everitt
c9bff0fa31
Move server tracking in program into global memory state
2019-12-07 16:43:00 -08:00
Dane Everitt
865c1b3bad
Begin implementing SFTP server code
2019-12-07 15:53:07 -08:00
Dane Everitt
52ca0667ca
Add base support for internalizing the SFTP server
2019-12-07 14:01:40 -08:00
Dane Everitt
fa42ed92fb
Ensure we count the number for the waitgroup correctly
2019-11-30 14:10:32 -08:00
Dane Everitt
3663a8fb31
Add debug output when dealing with a server that is being restarted
2019-11-24 21:40:25 -08:00
Dane Everitt
85762ba4b9
Server state handling; auto start servers if they were running when the daemon stopped
2019-11-24 21:31:31 -08:00
Dane Everitt
1899b1ab4b
Add logic to handle authenticating a websocket with the panel
2019-09-08 17:40:06 -07:00
Dane Everitt
c8e6e29abc
Add support for streaming usage stats back to the calling process
2019-08-17 13:19:56 -07:00
Dane Everitt
7c82c6445d
Correctly connect to running containers
2019-06-29 17:52:55 -07:00
Dane Everitt
aa710ec9d6
Support listening for SSL connections
2019-06-29 15:41:44 -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
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
afe2941983
Ugly first attempt at enabling socketio
2019-04-07 16:28:01 -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
b6bc9adf29
Implement very basic authorization for routes
2019-04-06 10:49:31 -07:00
Dane Everitt
cedbee5080
Add initial API support for listing configured servers
2019-04-05 22:20:26 -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
a3d5bf7982
Migrate very basic environment capabilities
2019-03-24 17:27:14 -07:00
Dane Everitt
80b4da9284
Move configuration into root space
2019-03-24 15:59:37 -07:00
Dane Everitt
75de4a412a
Add zap logger, migrate some constants up a level
2019-03-24 14:37:05 -07:00
Jakob Schrettenbrunner
e4e060a82f
rename to new lowercase github namespace
2018-02-20 21:25:31 +01:00
Jakob Schrettenbrunner
4421349bfd
rename main.go to wings.go
2017-07-06 19:00:21 +02:00