Daniel Barton
ec14db6142
fix: backups unable to be restored
2024-12-21 18:48:14 -07:00
Matthew Penner
c83875ffc0
go: remove toolchain directive
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-12-09 11:07:26 -07:00
Matthew Penner
b4dc19fca1
Revert "fix: remove unnecessary seek call and wrap errors with additional information"
...
This reverts commit a2be26574c895f0fc9c62675cc03c4064f84a3d9.
I thought this was unnecessary but only if we use the reader returned by
`archives.Identify`, since we use the original file we still need this.
2024-12-09 10:58:26 -07:00
Matthew Penner
a2be26574c
fix: remove unnecessary seek call and wrap errors with additional information
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-12-07 19:06:48 -07:00
Matthew Penner
8045318e44
go: update dependencies
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-12-07 14:54:17 -07:00
Matthew Penner
024fe548ed
chore: switch from mholt/archiver/v4 to mholt/archives
...
Fixes https://github.com/pterodactyl/panel/issues/5253
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-12-07 14:46:59 -07:00
Matthew Penner
82ae64b4c6
go: 1.22.6 -> 1.22.10, 1.23.0 -> 1.23.4
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-12-07 14:45:47 -07:00
Matthew Penner
f221cde754
nix: update flake.lock
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'flake-parts/nixpkgs-lib':
'5daf051448 .tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
→ '5487e69da4 .tar.gz?narHash=sha256-1qRH7uAUsyQI7R1Uwl4T%2BXvdNv778H0Nb5njNrqvylY%3D' (2024-12-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe?narHash=sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8%3D' (2024-07-21)
→ 'github:NixOS/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661?narHash=sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG%2BcBns%3D' (2024-12-05)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009?narHash=sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ%2B3ihtunJ014%3D' (2024-07-23)
→ 'github:numtide/treefmt-nix/50862ba6a8a0255b87377b9d2d4565e96f29b410?narHash=sha256-qKL3vjO%2BIXFQ0nTinFDqNq/sbbnnS5bMI1y0xX215fU%3D' (2024-12-05)
2024-12-07 14:36:09 -07:00
Matthew Penner
63c4c1ce57
Update README.md
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-10-21 19:12:09 -06:00
Matthew Penner
b4a9a1c5de
ci: update workflow permissions
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-08-28 20:02:10 -06:00
dependabot[bot]
7daaaaac18
build(deps): bump github.com/docker/docker ( #202 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 25.0.4+incompatible to 25.0.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v25.0.4...v25.0.6 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 19:51:23 -06:00
Daniel Barton
708cdd0ba8
chore: reorder config loading to load config, *then* fill in missing defaults ( #185 )
2024-08-28 19:48:57 -06:00
Matthew Penner
adb2b26ae0
go: update dependencies ( #198 )
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-08-28 19:47:33 -06:00
Daniel Barton
6c9d3670c8
fix: symlinks not flagged correctly in file stat ( #199 )
2024-08-28 19:47:12 -06:00
dannyhpy
18306badaf
chore: expose default SFTP port in Dockerfile ( #193 )
...
The purpose of `EXPOSE` is to automatically map ports when running a container with Docker, removing the need for the user to specify what ports should be mapped to the host.
2024-08-28 19:46:32 -06:00
dannyhpy
34bd2b54e5
ci(docker): use GitHub token and repository name ( #196 )
2024-08-28 19:45:11 -06:00
Matthew Penner
d023c97334
ci: update to go1.22.6, run tests against go1.23.0
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-08-28 19:33:23 -06:00
Matthew Penner
8744e64f1d
fix: update ufs, fix issues with network filesystems and random file not found during directory walking
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-08-28 19:31:50 -06:00
Matthew Penner
3b88bbc7aa
chore: update sponsors
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-08-28 19:28:09 -06:00
Matthew Penner
d739948989
feat: add ability to mount generated passwd files to containers ( #197 )
...
This PR will add an option to mount:
- `/etc/group`
- `/etc/passwd`
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-07-24 15:12:42 -06:00
Matthew Penner
ac260bd5ee
ci: update to go1.22.5, drop go1.21
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-07-24 13:14:25 -06:00
Matthew Penner
2f4a0d7262
nix: update flake.lock
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f?narHash=sha256-a0NYyp%2Bh9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg%3D' (2024-02-01)
→ 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
• Updated input 'flake-parts/nixpkgs-lib':
'github:NixOS/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652?dir=lib&narHash=sha256-UcsnCG6wx%2B%2B23yeER4Hg18CXWbgNpqNXcHIo5/1Y%2Bhc%3D' (2024-01-29)
→ '5daf051448 .tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a4d4fe8c5002202493e87ec8dbc91335ff55552c?narHash=sha256-ZL2TrjVsiFNKOYwYQozpbvQSwvtV/3Me7Zwhmdsfyu4%3D' (2024-02-15)
→ 'github:NixOS/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe?narHash=sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8%3D' (2024-07-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/ac599dab59a66304eb511af07b3883114f061b9d?narHash=sha256-qQF0fEkHlnxHcrKIMRzOETnRBksUK048MXkX0SOmxvA%3D' (2024-02-07)
→ 'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009?narHash=sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ%2B3ihtunJ014%3D' (2024-07-23)
2024-07-24 13:10:35 -06:00
EpicPlayerA10
1d8b383682
fix: only count hard-links once when calculating filesystem usage ( #181 )
2024-06-29 12:56:51 -06:00
Arnaud Lier
934bf2493d
fix: properly use base2 (1024, *bibyte) when calculating memory limits ( #190 )
2024-06-29 12:34:20 -06:00
Daniel Barton
29e4425e21
fix: overhaul docker container termination signals ( #192 )
...
Fixes https://github.com/pterodactyl/panel/issues/4783
Requires https://github.com/pterodactyl/panel/pull/5132 to work
2024-06-29 12:31:36 -06:00
Daniel Barton
5a15612754
chore: show the actual location in "config not found" error ( #179 )
2024-06-29 12:26:59 -06:00
Daniel Barton
ad1ae862a9
fix: user-defined labels not being passed to environment ( #191 )
2024-06-29 12:25:47 -06:00
Matthew Penner
3114a3b82e
Update README.md
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-06-22 19:21:54 -06:00
Matthew Penner
500f217514
Update CHANGELOG.md
2024-05-13 16:01:33 -06:00
Daniel Barton
9ffbcdcdb1
cmd: handle relative paths to the config file ( #180 )
2024-05-13 15:53:33 -06:00
Daniel Barton
9b341db2db
server(filesystem): fix sort position of directories ( #188 )
2024-05-13 15:52:10 -06:00
Matthew Penner
71c5338549
Update CHANGELOG.md
v1.11.13
2024-05-07 22:12:59 -06:00
Matthew Penner
326f115f5b
Update README.md
2024-05-07 22:12:55 -06:00
Geri
06614de99d
server(filesystem): handle individual compressed files ( #184 )
2024-05-07 22:06:15 -06:00
Matthew Penner
2b0e35360b
cmd(configure): fix panel url not being set
...
Fixes https://github.com/pterodactyl/panel/issues/5087
2024-05-07 22:01:12 -06:00
Matthew Penner
202f2229a9
Update README.md
v1.11.12
2024-05-03 10:09:21 -06:00
Matthew Penner
baf1f0b5cd
Update CHANGELOG.md
2024-05-03 10:09:18 -06:00
Daniel Barton
ec54371b86
cmd(diagnostics): fix Content-Type and accept more status codes ( #186 )
2024-04-16 15:15:19 -06:00
Matthew Penner
1d5090957b
ci: use go 1.21.9 and 1.22.2
2024-04-10 17:16:28 -06:00
Matthew Penner
5415f8ae07
config: prevent programmatic updates to specific fields
2024-04-10 15:27:54 -06:00
Matthew Penner
617fbcbf27
router(download): validate that backup_uuid is actually a uuid
2024-04-10 15:22:39 -06:00
Matthew Penner
c152e36101
downloader: move internal subnet validation into http Transport
2024-04-10 15:22:09 -06:00
Matthew Penner
5b0422d756
go: update dependencies
2024-04-10 15:21:37 -06:00
Matthew Penner
f1c5bbd42d
server(filesystem): allow decompressing individual files
...
Implements logic for handling a file that is compressed but isn't an archive.
Fixes https://github.com/pterodactyl/panel/issues/5034
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-03-17 14:58:30 -06:00
Matthew Penner
1c5ddcd20c
server(filesystem): handle writing empty files
...
Fixes https://github.com/pterodactyl/panel/issues/5038
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-03-17 14:58:13 -06:00
Matthew Penner
a877305202
Update README.md
2024-03-16 14:02:13 -06:00
Matthew Penner
1f77d2256b
Update CHANGELOG.md
...
Signed-off-by: Matthew Penner <me@matthewp.io>
v1.11.11
2024-03-14 14:01:13 -06:00
Matthew Penner
ac9bd1d95e
server(filesystem): fix archives in subdirectories
...
When creating an archive starting from a subdirectory instead of the
root of a server's filesystem, the walker would treat the paths as if
they where relative to the parent of the subdirectory, instead of as
descendants of the subdirectory.
Fixes https://github.com/pterodactyl/panel/issues/5030
2024-03-14 13:46:36 -06:00
Matthew Penner
979df34392
server(filesystem): fix archive creation with ignore
...
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-03-13 20:29:09 -06:00
Matthew Penner
8f129931d5
Update CHANGELOG.md
...
Signed-off-by: Matthew Penner <me@matthewp.io>
v1.11.10
2024-03-13 15:19:24 -06:00