Ethan Alicea
b3aa1a1c7e
Merge branch 'develop' into nwy-wings
2024-04-19 23:51:07 -04:00
Matthew Penner
d1c0ca5260
server(filesystem): rebuild everything imaginable
...
This wonderfully large commit replaces basically everything under the
`server/filesystem` package, re-implementing essentially everything.
This is related to
https://github.com/pterodactyl/wings/security/advisories/GHSA-494h-9924-xww9
If any vulnerabilities related to symlinks persist after this commit, I
will be very upset.
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-03-13 12:27:29 -06:00
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
429ac62dba
server(filesystem): Delete tweaks
2023-02-08 14:20:13 -07:00
Dane Everitt
ff50d0e5bd
Cleanup request error handling; properly handle os.ErrNotExist errors ( #150 )
2022-11-22 11:18:27 -07:00
DaneEveritt
1d197714df
Fix faulty handling of named pipes; closes pterodactyl/panel#4059
2022-05-07 15:53:08 -04: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
Julien Tant
35b2c420ec
add decompress tests
2021-04-25 16:44:54 -07:00
Dane Everitt
d45a159456
Fix tests
2021-01-12 20:07:00 -08:00
Dane Everitt
3a26a5d39d
Convert all filesystem error types into the same Error struct
2020-12-15 20:51:13 -08:00
Dane Everitt
68bdcb3cbc
Fix error handling and get tests back to working
2020-11-08 15:15:39 -08:00
Dane Everitt
be9d1a3986
Replace error handling package with emperror; add better reporting for errors escaping server root
2020-11-08 13:52:20 -08:00
Matthew Penner
56789196d4
Disable flaky test so I can test cross-platform building
2020-10-17 15:47:30 -06:00
Matthew Penner
4ce35d3d17
Fix race in filesystem_test.go
2020-10-17 15:31:40 -06:00
Dane Everitt
e3e89a2ecc
Cover symlink attacks with test cases
2020-10-01 21:13:42 -07:00
Dane Everitt
90ae815b1d
Return tests to passing state
2020-10-01 20:40:25 -07:00
Dane Everitt
367fdfad54
Simplify copy file logic
2020-09-30 21:53:50 -07:00
Dane Everitt
9b7c0fb7f3
Steal tests from other branch that is being discarded, attempt to get at least one of them to pass; WIP
2020-09-30 21:46:32 -07:00