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 |
|
Matthew Penner
|
ddb683efb6
|
Remove UploadID field from backups (#80)
|
2020-12-26 12:27:52 -08:00 |
|
Matthew Penner
|
5be6e20b03
|
Send archive status request before sending the transfer status event
|
2020-12-26 11:42:44 -07:00 |
|
Dane Everitt
|
1ba3631cc1
|
Don't follow if there is an error
|
2020-12-25 17:09:35 -08:00 |
|
Dane Everitt
|
94d41bc1f5
|
Use the system.ScanReader function to replace this logic
|
2020-12-25 17:07:57 -08:00 |
|
Dane Everitt
|
a4c68eed16
|
Use sync.Once here to instantiate the event handler
|
2020-12-25 17:07:40 -08: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
|
3842f054a5
|
These need spaces?
|
2020-12-25 15:14:21 -08:00 |
|
Dane Everitt
|
8fa4c50379
|
Fix analysis file per Github rec
|
2020-12-25 15:10:31 -08:00 |
|
Dane Everitt
|
510d46289b
|
security: don't reveal wings version in remote API calls
|
2020-12-25 15:06:17 -08:00 |
|
Dane Everitt
|
6e5b14c466
|
Prevent malicious code from causing a server UUID to be used that is not valid
|
2020-12-25 15:01:43 -08:00 |
|
Dane Everitt
|
b3922864f2
|
Simplify origin checking
|
2020-12-25 14:40:28 -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
|
0a45ea44a4
|
Return a user-friendly error for an invalid file mode
|
2020-12-25 14:41:38 -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
|
f7f5623c71
|
Set UA and limit simultaneous downloads
|
2020-12-24 09:01:00 -08:00 |
|
Dane Everitt
|
184013b652
|
Include endpoints for getting active downloads for a server
|
2020-12-20 13:14:07 -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
|
c8d297a056
|
Support canceling an in-progress download
|
2020-12-20 12:53:40 -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 |
|
Dane Everitt
|
9c53436470
|
Check disk before even trying to run the download
|
2020-12-20 11:08:01 -08:00 |
|
Dane Everitt
|
17daa2071f
|
Update base logic for handling server file downloads
|
2020-12-20 10:59:07 -08:00 |
|
Dane Everitt
|
3495fb1c76
|
Less racey logic for resource usage
|
2020-12-16 22:03:35 -08:00 |
|
Dane Everitt
|
0c93e5ed02
|
Properly handle decoding paths
|
2020-12-16 21:38:56 -08:00 |
|
Dane Everitt
|
737e1fcef6
|
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
|
2020-12-16 20:21:24 -08:00 |
|
Dane Everitt
|
16118874cf
|
Don't obliterate the lock
|
2020-12-16 20:21:22 -08:00 |
|
Matthew Penner
|
b161ccafaf
|
Remove 'arm' build from release workflow
|
2020-12-16 08:43:55 -07:00 |
|
Dane Everitt
|
59a111de39
|
Invite our lord and savior emperror back to the table
|
2020-12-15 21:56:53 -08:00 |
|
Dane Everitt
|
c0a641247b
|
Different handling of errors on routes; push towards using middleware
|
2020-12-15 21:53:34 -08:00 |
|
Dane Everitt
|
057cdbd927
|
Use the underlying error
|
2020-12-15 21:14:20 -08:00 |
|
Dane Everitt
|
0ecc166dcd
|
Update error reporting middleware
|
2020-12-15 21:08: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
|
9ae75a399b
|
Update middleware.go
|
2020-12-15 20:20:47 -08:00 |
|
Dane Everitt
|
01b766dacc
|
Remove dupe
|
2020-12-15 20:20:22 -08:00 |
|
Dane Everitt
|
904e0a574d
|
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
|
2020-12-15 20:20:16 -08:00 |
|