Dane Everitt
|
4411493006
|
Merge branch 'develop' into dane/backup-restore
|
2021-01-25 20:32:32 -08:00 |
|
Dane Everitt
|
31757a68a9
|
Fix race condition
|
2021-01-25 20:29:34 -08:00 |
|
Dane Everitt
|
f3a6ee7a45
|
re-refactor code
|
2021-01-25 20:28:24 -08:00 |
|
Dane Everitt
|
ab86fb703a
|
Merge branch 'develop' into schrej/refactor
|
2021-01-25 19:31:16 -08:00 |
|
Dane Everitt
|
981071cda8
|
Merge branch 'develop' into dane/backup-restore
|
2021-01-25 19:17:14 -08:00 |
|
Dane Everitt
|
93506994a5
|
Ensure the root directory for a server is always create when booting wings
|
2021-01-23 10:45:29 -08:00 |
|
Jakob Schrettenbrunner
|
82f70c2755
|
derp: rename panelapi to remote
|
2021-01-22 22:38:11 +00:00 |
|
Dane Everitt
|
5d070cbdc5
|
Handle edge case where a user triggers an install when the server has no data directory
|
2021-01-21 20:58:52 -08:00 |
|
Dane Everitt
|
3f84ee694b
|
Get backups restoring kinda
|
2021-01-20 20:03:14 -08:00 |
|
Dane Everitt
|
63dac51692
|
Include a better stack here
|
2021-01-18 21:22:37 -08:00 |
|
Dane Everitt
|
6ef0bd7496
|
Get general concept for backup resotration using a unified interface implemented
|
2021-01-18 21:20:58 -08:00 |
|
Dane Everitt
|
66b6f40b61
|
Fix import cycle issue
|
2021-01-17 21:05:51 -08:00 |
|
Dane Everitt
|
7dd0acebc0
|
Initial untested pass at restoring from local backups
|
2021-01-16 18:06:22 -08:00 |
|
Dane Everitt
|
2968ea3498
|
Modify stat to embed os.FileInfo differently and update file content reader
|
2021-01-16 12:03:55 -08:00 |
|
Dane Everitt
|
67ecbd667a
|
Minor improvements to logic around decompression
|
2021-01-16 11:48:30 -08:00 |
|
Dane Everitt
|
05c04c4350
|
Update remaining logic using viper
|
2021-01-14 20:19:28 -08:00 |
|
Dane Everitt
|
80faea3286
|
yoink viper back out of code, simplify some config logic
|
2021-01-14 20:11:01 -08:00 |
|
Dane Everitt
|
d45a159456
|
Fix tests
|
2021-01-12 20:07:00 -08:00 |
|
Dane Everitt
|
e9e70b6081
|
Better error handling; skip file when unarchiving
|
2021-01-10 17:01:41 -08:00 |
|
Dane Everitt
|
b10e4dd437
|
Better error handling for access to denylist files
|
2021-01-10 16:43:33 -08:00 |
|
Dane Everitt
|
2c1b211280
|
Add base idea for denying write access to certain files; ref pterodactyl/panel#569
|
2021-01-10 16:33:39 -08:00 |
|
Dane Everitt
|
b0fa9619de
|
debug
|
2021-01-10 15:09:33 -08:00 |
|
Dane Everitt
|
c228acaafc
|
Massive refactor of SFTP system now that it is deeply integrated with Wings
|
2021-01-10 14:25:39 -08:00 |
|
Jakob Schrettenbrunner
|
8192244fec
|
replace servers.servers singleton with server.Manager
|
2021-01-10 02:37:02 +01:00 |
|
Jakob Schrettenbrunner
|
648072436f
|
organize imports with gopls format
|
2021-01-10 01:22:39 +00:00 |
|
Matthew Penner
|
66c9be357c
|
Potential fix for servers being marked as stopping after being marked as offline
|
2021-01-07 19:32:15 -07:00 |
|
Dane Everitt
|
d6e189df5e
|
Update commentary
|
2020-12-27 16:53:40 -08:00 |
|
Dane Everitt
|
68749616ad
|
Ignore symlink errors
|
2020-12-27 16:30:00 -08:00 |
|
Dane Everitt
|
7549eb13a0
|
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
|
2020-12-27 16:17:17 -08:00 |
|
Dane Everitt
|
902f9f5944
|
Include more (and customizable) context with backup logs
|
2020-12-27 16:16:40 -08:00 |
|
Matthew Penner
|
2cf24994d9
|
Uncomment important code
|
2020-12-27 13:56:45 -07:00 |
|
Matthew Penner
|
3a7c4822f8
|
Improve logged stacktraces
|
2020-12-27 13:55:58 -07:00 |
|
Matthew Penner
|
b26db99ee7
|
Fix part_id field in logs
|
2020-12-27 13:02:50 -07:00 |
|
Matthew Penner
|
de4d2f4724
|
Make logs follow a more consistent format
|
2020-12-27 13:01:34 -07:00 |
|
Matthew Penner
|
640e30de8a
|
Ignore symlinks with missing target, add better backup logging, update copyright year to 2021
|
2020-12-27 12:54:18 -07:00 |
|
Matthew Penner
|
e75118e0f0
|
Maybe this will fix shit?
|
2020-12-27 12:21:26 -07:00 |
|
Matthew Penner
|
a4c8b8714b
|
Bump all dependencies
|
2020-12-27 11:49:08 -07:00 |
|
Dane Everitt
|
22c53c365a
|
Fix installer to not explode on long lines; closes pterodactyl/panel#2773
|
2020-12-25 17:05:01 -08:00 |
|
Dane Everitt
|
59c30c2842
|
Fix use of atomics in codebase
|
2020-12-25 17:04:18 -08:00 |
|
Dane Everitt
|
31d4c1d34f
|
Close the file when done
|
2020-12-25 14:01:25 -08:00 |
|
Dane Everitt
|
0cdfdc725c
|
Cleanup ignored file reader
|
2020-12-25 14:00:01 -08:00 |
|
Dane Everitt
|
bb132243ed
|
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
|
2020-12-25 13:57:33 -08:00 |
|
Dane Everitt
|
d96115325a
|
Add file helper
|
2020-12-25 13:57:26 -08:00 |
|
Matthew Penner
|
a450abc080
|
Don't read directories either, add completion log for transfers
|
2020-12-25 14:46:33 -07:00 |
|
Matthew Penner
|
e05c601325
|
Lets not read an entire file into memory
|
2020-12-25 14:40:53 -07:00 |
|
Matthew Penner
|
5c78cb9ab3
|
Add transfer logging output (#77)
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
|
2020-12-25 13:32:41 -08:00 |
|
Matthew Penner
|
901ab1157d
|
Rework archiving logic to be more consistent and less impactful on disk IO (#79)
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
|
2020-12-25 11:52:57 -08:00 |
|
Dane Everitt
|
c0523df696
|
Add a server context that gets canceled when a server is deleted
|
2020-12-25 11:21:09 -08:00 |
|
Dane Everitt
|
f8282c56cb
|
Avoid race conditions from mismatched use of atomic & sync.Mutex
|
2020-12-20 13:13:10 -08:00 |
|
Dane Everitt
|
c718da20e3
|
Check disk space before trying a write from the downloader; don't make empty directories if we can't even write the file
|
2020-12-20 11:17:53 -08:00 |
|