Commit Graph

1269 Commits

Author SHA1 Message Date
DaneEveritt
b00d328107
attempt to update vhd on-the-fly
This is not currently working correctly — when setting the limit to 0 all existing files are destroyed. When setting it back to a non-zero value the old files are returned from the allocated disk.

This at least starts getting the code pathways in place to handle it and introduces some additional lock safety on the VHD management code.
2022-10-29 14:06:29 -07:00
DaneEveritt
daa0ab75b4
only use vhd when there is a disk limit configured 2022-10-29 13:01:04 -07:00
DaneEveritt
ff4b7655c8
update config to support more vhd features down the road 2022-10-29 12:40:49 -07:00
DaneEveritt
99cb61a6ef
Set permissions on the created image path 2022-10-16 14:13:45 -07:00
DaneEveritt
0407f22147
Fallback to using dd if fallocate isn't available 2022-10-16 14:01:52 -07:00
DaneEveritt
a74ea6a9ff
Slight cleanup after rebase 2022-10-16 13:34:24 -07:00
Dane Everitt
37c52dd439
Shore up the logic for migrations to allow multiple passes if needed 2022-10-16 13:23:42 -07:00
Dane Everitt
f8a25cb040
Correct internal behavior to allow running when already mounted 2022-10-16 13:23:42 -07:00
Dane Everitt
a6a610fd82
Don't allow the migration command to be executed if not enabled currently 2022-10-16 13:23:41 -07:00
Dane Everitt
dfe5a77e0a
Correctly capture and report disk space errors when writing files 2022-10-16 13:23:41 -07:00
Dane Everitt
d8a7bf2dde
Correctly handle migrations to a VHD setup 2022-10-16 13:23:40 -07:00
Dane Everitt
265f8a6b39
Add basic logic needed to correctly mount the VHD when initializing a server. 2022-10-16 13:22:46 -07:00
Dane Everitt
7fed6a68cb
Add test coverage for vhd; make commands and filesystem abstractable 2022-10-16 13:21:35 -07:00
Dane Everitt
b0f99e2328
Catch error that occurs when there is no valid disk even created at this point 2022-10-16 13:21:16 -07:00
Dane Everitt
957257ecc3
Add base logic to start implementing support for mounted filesystems 2022-10-16 13:21:14 -07:00
Matthew Penner
058f643e65
chore: reformat code 2022-10-06 09:58:42 -06:00
Matthew Penner
6c7065592d
ci: remove binary compression 2022-10-05 21:27:33 -06:00
Matthew Penner
3f481e9540
chore: run gofumpt 2022-10-05 17:24:11 -06:00
Matthew Penner
984bd10cf2
Update CHANGELOG.md 2022-10-04 20:43:05 -06:00
Matthew Penner
f5a64a0d7f
docker: use go1.18 2022-10-04 20:42:48 -06:00
Matthew Penner
6fb61261b0
server(transfers): track progress of archive creation and extraction (#143) 2022-10-04 20:35:48 -06:00
Matthew Penner
3edec80efa
go: update minimum to 1.18, update dependencies (#144) 2022-10-04 20:13:27 -06:00
argetlam-coder
0637eebefe
docker: add configuration for user namespace remapping (#121) 2022-10-04 18:12:13 -06:00
Daniel Barton
e98d249cf7
Add configuration for trusted proxies (#141) 2022-10-04 18:11:07 -06:00
Matthew Penner
b20bf6deab
ci: pin go-version to 1.18.7 2022-10-04 13:22:46 -06:00
Matthew Penner
1b268b5625
Update FUNDING.yml 2022-09-26 11:23:01 -06:00
Matthew Penner
7245791214
backups(s3): send uploaded parts in complete request 2022-09-26 11:14:57 -06:00
Matthew Penner
02cbf2df5b
Update README.md 2022-09-25 19:16:29 -06:00
Matthew Penner
b6edf3acf9
environment(docker): set outgoing ip correctly (#135)
Closes https://github.com/pterodactyl/panel/issues/3841
2022-09-25 18:49:48 -06:00
PotatoMaaan
c686992e85
backups: add an option to change gzip compression level (#128) 2022-09-25 18:47:09 -06:00
camjac251
c736c24118
it's to its (#123) 2022-09-25 13:34:28 -06:00
Chance Callahan
9dfc651a91
rpm: update to 1.7.0 (#140) 2022-09-25 13:25:53 -06:00
Matthew Penner
ad26022c30
parser(yaml): fix issues
Closes https://github.com/pterodactyl/panel/issues/4236
Closes https://github.com/pterodactyl/wings/pull/139
2022-09-21 11:50:55 -06:00
DaneEveritt
83861a6dec
Update CHANGELOG.md 2022-07-24 19:43:43 -04:00
DaneEveritt
231e24aa33
Support new metadata from panel for servers 2022-07-24 17:16:45 -04:00
DaneEveritt
e3ab241d7f
Track file upload activity 2022-07-24 17:12:47 -04:00
DaneEveritt
c18e844689
Support more rapid insertion; ignore issues with i/o 2022-07-24 16:58:03 -04:00
DaneEveritt
8cee18a92b
Save activity in a background routine to speed things along; cap query time at 3 seconds 2022-07-24 16:27:25 -04:00
DaneEveritt
f952efd9c7
Don't try to store nil for the metadata 2022-07-24 16:27:05 -04:00
DaneEveritt
21cf66b2b4
Use single connection in pool to avoid simultaneous write lock issues 2022-07-24 16:26:52 -04:00
DaneEveritt
251f91a08e
Fix crons to actually run correctly using the configuration values 2022-07-24 15:59:17 -04:00
DaneEveritt
4634c93182
Add cron to handle parsing SFTP events 2022-07-24 14:40:06 -04:00
DaneEveritt
8a867ccc44
Switch to gorm for activity logging 2022-07-24 11:43:48 -04:00
DaneEveritt
61baccb1a3
Push draft of sftp reconcilation details 2022-07-24 10:28:42 -04:00
DaneEveritt
7bd11c1c28
Switch to SQLite for activity tracking 2022-07-10 16:51:11 -04:00
DaneEveritt
e1e7916790
Handle ErrKeyNotFound as a non-error 2022-07-10 14:53:54 -04:00
DaneEveritt
f28e06267c
Better tracking of SFTP events 2022-07-10 14:30:32 -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
Michael
204a4375fc
Make the Docker network MTU configurable (#130) 2022-07-09 18:08:52 -04:00
DaneEveritt
dda7d10d37
Use the natural panel event names 2022-07-09 17:52:59 -04:00