Ethan Alicea
4390bad36b
Please enter the commit message for your changes. Lines starting
...
with '#' will be ignored, and an empty message aborts the commit.
Author: Ethan Alicea <64653625+Tech-Gamer@users.noreply.github.com>
On branch develop
Your branch is up to date with 'origin/develop'.
Changes to be committed:
modified: .github/workflows/push.yaml
modified: .github/workflows/release.yaml
modified: CHANGELOG.md
modified: Dockerfile
modified: Makefile
modified: README.md
modified: cmd/configure.go
modified: cmd/diagnostics.go
modified: cmd/root.go
modified: config/config.go
modified: environment/allocations.go
modified: environment/docker.go
modified: environment/docker/api.go
modified: environment/docker/container.go
modified: environment/docker/environment.go
modified: environment/docker/power.go
modified: environment/docker/stats.go
modified: environment/environment.go
modified: environment/settings.go
modified: events/events.go
modified: go.mod
modified: internal/cron/activity_cron.go
modified: internal/cron/cron.go
modified: internal/cron/sftp_cron.go
modified: internal/database/database.go
modified: internal/progress/progress.go
modified: internal/progress/progress_test.go
modified: loggers/cli/cli.go
new file: oryxBuildBinary
modified: parser/parser.go
modified: remote/http.go
modified: remote/servers.go
modified: remote/types.go
modified: router/downloader/downloader.go
modified: router/middleware.go
modified: router/middleware/middleware.go
modified: router/middleware/request_error.go
modified: router/router.go
modified: router/router_download.go
modified: router/router_server.go
modified: router/router_server_backup.go
modified: router/router_server_files.go
modified: router/router_server_transfer.go
modified: router/router_server_ws.go
modified: router/router_system.go
modified: router/router_transfer.go
modified: router/tokens/parser.go
modified: router/websocket/listeners.go
modified: router/websocket/websocket.go
modified: server/activity.go
modified: server/backup.go
modified: server/backup/backup.go
modified: server/backup/backup_local.go
modified: server/backup/backup_s3.go
modified: server/configuration.go
modified: server/console.go
modified: server/crash.go
modified: server/events.go
modified: server/filesystem/archive.go
modified: server/filesystem/filesystem.go
modified: server/filesystem/filesystem_test.go
modified: server/install.go
modified: server/installer/installer.go
modified: server/listeners.go
modified: server/manager.go
modified: server/mounts.go
modified: server/power.go
modified: server/power_test.go
modified: server/resources.go
modified: server/server.go
modified: server/transfer/archive.go
modified: server/transfer/source.go
modified: server/transfer/transfer.go
modified: server/update.go
modified: sftp/event.go
modified: sftp/handler.go
modified: sftp/server.go
modified: wings.go
2023-09-11 17:22:09 +00:00
Matthew Penner
92efdb1981
remote: use POST for server tranfer status
2022-12-01 11:50:56 -07:00
Matthew Penner
da94f750ad
server(install): update installation status request
...
The new request includes a `reinstall` option to denote
whether the installation failed for the first time, or
during a reinstall.
ref https://github.com/pterodactyl/panel/issues/1994
2022-11-21 14:57:44 -07:00
Matthew Penner
3f481e9540
chore: run gofumpt
2022-10-05 17:24:11 -06:00
Matthew Penner
7245791214
backups(s3): send uploaded parts in complete request
2022-09-26 11:14:57 -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
59fbd2bcea
Add initial niaeve implementation of SFTP logging
...
This will end up flooding the activity logs due to the way SFTP works, we'll need to have an intermediate step in Wings that batches events every 10 seconds or so and submits them as a single "event" for activity.
2022-07-09 19:37:42 -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
DaneEveritt
5df1acd10e
We don't return public keys
2022-05-15 16:41:26 -04:00
DaneEveritt
1927a59cd0
Send key correctly; don't retry 4xx errors
2022-05-15 16:17:06 -04:00
DaneEveritt
5bcf4164fb
Add support for public key based auth
2022-05-15 16:01:52 -04:00
Dane Everitt
11ae5e69ed
Improve performance of console output watcher; work directly with bytes rather than string conversions
2022-01-30 11:28:06 -05:00
Dane Everitt
34c0db9dff
Replace encoding/json with goccy/go-json for cpu and memory usage improvement
...
This new package has significant better resource usage, and we do a _lot_ of JSON parsing in this application, so any amount of improvement becomes significant
2022-01-23 15:17:40 -05:00
Matthew Penner
04b9ef69a1
run gofumpt
2021-11-15 10:37:56 -07:00
Matthew Penner
d8df353ce8
replace deprecated ioutil function calls
2021-11-15 10:24:52 -07:00
Matthew Penner
3c54c1f840
break everything
...
- upgrade dependencies
- run gofmt and goimports to organize code
- fix typos
- other small tweaks
2021-08-02 15:07:00 -06:00
Dane Everitt
c1ff32ad32
Update test based on corrected error response logic
2021-05-02 15:43:22 -07:00
Dane Everitt
49dd1f7bde
Better support for retrying failed requests with the API
...
Also implements more logic error returns from the Get/Post functions in the client, rather than making the developer call r.Error() on responses.
2021-05-02 15:41:02 -07:00
Dane Everitt
3f47bfd292
Add backoff retries to API calls from Wings
2021-05-02 15:16:30 -07:00
Dane Everitt
33f5cb7df4
more accurate naming; for now don't actually change how wings works
2021-03-03 20:53:40 -08:00
Dane Everitt
8897be661b
Fix missing error handling for server configuration endpoints
2021-03-03 20:51:49 -08:00
Dane Everitt
a8ee5463ce
Add logic to reset failed server states on Panel when booting
2021-02-23 21:23:49 -08:00
Dane Everitt
065da77afa
Code cleanup for remote client
2021-02-01 21:43:04 -08:00
Dane Everitt
bfff094216
Get wings booting properly
2021-02-01 21:32:34 -08:00
Dane Everitt
98c68142cd
Remove all of the remaining API logic and port it all to the remote.Client type
2021-02-01 21:28:46 -08:00
Dane Everitt
62cbe5e135
Migrate SFTP endpoints
2021-02-01 20:59:17 -08:00
Dane Everitt
6775c17324
Nuke more API code and begin consolidation process
2021-02-01 20:50:23 -08:00
Dane Everitt
aa287d21cf
Formatting
2021-02-01 20:33:35 -08:00
Dane Everitt
1393937904
Fix race condition and flawed logic mis-querying panel for servers; closes pterodactyl/panel#3059
2021-02-01 20:26:15 -08:00
Jakob Schrettenbrunner
e396b88cb5
remote: a few basic tests
2021-01-10 23:47:22 +00:00
Jakob Schrettenbrunner
1b8db12fde
remote: only run debug logic when log level is debug
2021-01-10 22:00:28 +00:00
Jakob Schrettenbrunner
0414dbed8f
rename panelapi to remote
2021-01-10 22:42:45 +01:00