Commit Graph

  • 8192244fec replace servers.servers singleton with server.Manager Jakob Schrettenbrunner 2021-01-08 23:14:56 +00:00
  • 94f4207d60 add new panelapi package Jakob Schrettenbrunner 2021-01-08 22:43:03 +00:00
  • 217ca72eb3 Merge pull request #85 from pterodactyl/schrej/formatting Dane Everitt 2021-01-09 17:31:46 -08:00
  • 648072436f organize imports with gopls format #85 Jakob Schrettenbrunner 2021-01-10 01:22:39 +00:00
  • 6fe2468a5a foundation for self-upgrade logic Dane Everitt 2021-01-08 22:49:19 -08:00
  • 948d927eb9 Cleanup command running a bit Dane Everitt 2021-01-08 22:19:23 -08:00
  • b2eaa3f7f8 Update CHANGELOG.md Dane Everitt 2021-01-08 21:31:06 -08:00
  • 93417dddb1 Update CHANGELOG.md v1.2.2 Dane Everitt 2021-01-08 21:23:25 -08:00
  • 044c46fc9a Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2021-01-08 21:21:37 -08:00
  • c9d972d544 Revert usage of ContainerWait, return to io.Copy blocking Dane Everitt 2021-01-08 21:21:09 -08:00
  • 0aab4b1ac2 environment(docker): re-attach to container logs after EOF Matthew Penner 2021-01-08 08:19:33 -07:00
  • 4f4b4fd2e6 environment(docker): cleanup code Matthew Penner 2021-01-08 08:15:19 -07:00
  • 66c9be357c Potential fix for servers being marked as stopping after being marked as offline Matthew Penner 2021-01-07 19:32:15 -07:00
  • 1d36811dfe Fix v being shown twice on wings boot Matthew Penner 2021-01-07 16:44:09 -07:00
  • 6e74123c65 Update CHANGELOG.md v1.2.1 Dane Everitt 2021-01-06 21:42:09 -08:00
  • b82f5f9a32 [security] deny downloading files from internal locations Dane Everitt 2021-01-06 21:34:18 -08:00
  • 1937d0366d cleanup; fix environment stats not reporting network TX correctly Dane Everitt 2021-01-06 20:47:44 -08:00
  • 963a906c30 Less obtuse logic for polling resource usage when attaching a container Dane Everitt 2021-01-06 20:36:29 -08:00
  • 3f6eb7e41a no need for additional decode (#81) Jakob 2021-01-04 02:20:16 +01:00
  • a822c7c340 typo in docker-compose file (#82) Omar Kamel 2021-01-03 19:24:28 -05:00
  • b8fb86f5a4 Update Dockerfile to use busybox 1.33.0 Matthew Penner 2021-01-03 12:46:06 -07:00
  • ee0c7f09b3 Fix user problems when running inside of Docker Matthew Penner 2021-01-02 12:58:58 -07:00
  • d3ddf8cf39 Mark server as not transferring after archive failure Matthew Penner 2021-01-02 10:11:25 -07:00
  • bf554e8ed2 Update CHANGELOG.md v1.2.0 Dane Everitt 2020-12-30 18:24:37 -08:00
  • d6e189df5e Update commentary Dane Everitt 2020-12-27 16:53:40 -08:00
  • 68749616ad Ignore symlink errors Dane Everitt 2020-12-27 16:30:00 -08:00
  • 7549eb13a0 Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-27 16:17:17 -08:00
  • 902f9f5944 Include more (and customizable) context with backup logs Dane Everitt 2020-12-27 16:16:40 -08:00
  • 2cf24994d9 Uncomment important code Matthew Penner 2020-12-27 13:56:45 -07:00
  • 3a7c4822f8 Improve logged stacktraces Matthew Penner 2020-12-27 13:55:58 -07:00
  • b26db99ee7 Fix part_id field in logs Matthew Penner 2020-12-27 13:02:50 -07:00
  • de4d2f4724 Make logs follow a more consistent format Matthew Penner 2020-12-27 13:01:34 -07:00
  • 640e30de8a Ignore symlinks with missing target, add better backup logging, update copyright year to 2021 Matthew Penner 2020-12-27 12:54:18 -07:00
  • e75118e0f0 Maybe this will fix shit? Matthew Penner 2020-12-27 12:21:26 -07:00
  • a4c8b8714b Bump all dependencies Matthew Penner 2020-12-27 11:49:08 -07:00
  • ddb683efb6 Remove UploadID field from backups (#80) Matthew Penner 2020-12-26 13:27:52 -07:00
  • 5be6e20b03 Send archive status request before sending the transfer status event Matthew Penner 2020-12-26 11:42:44 -07:00
  • 1ba3631cc1 Don't follow if there is an error Dane Everitt 2020-12-25 17:09:35 -08:00
  • 94d41bc1f5 Use the system.ScanReader function to replace this logic Dane Everitt 2020-12-25 17:07:57 -08:00
  • a4c68eed16 Use sync.Once here to instantiate the event handler Dane Everitt 2020-12-25 17:07:40 -08:00
  • 22c53c365a Fix installer to not explode on long lines; closes pterodactyl/panel#2773 Dane Everitt 2020-12-25 17:05:01 -08:00
  • 59c30c2842 Fix use of atomics in codebase Dane Everitt 2020-12-25 17:04:18 -08:00
  • 3842f054a5 These need spaces? Dane Everitt 2020-12-25 15:14:21 -08:00
  • 8fa4c50379 Fix analysis file per Github rec Dane Everitt 2020-12-25 15:10:31 -08:00
  • 510d46289b security: don't reveal wings version in remote API calls Dane Everitt 2020-12-25 15:06:17 -08:00
  • 6e5b14c466 Prevent malicious code from causing a server UUID to be used that is not valid Dane Everitt 2020-12-25 15:01:43 -08:00
  • b3922864f2 Simplify origin checking Dane Everitt 2020-12-25 14:40:28 -08:00
  • 31d4c1d34f Close the file when done Dane Everitt 2020-12-25 14:01:25 -08:00
  • 0cdfdc725c Cleanup ignored file reader Dane Everitt 2020-12-25 14:00:01 -08:00
  • bb132243ed Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-25 13:57:33 -08:00
  • d96115325a Add file helper Dane Everitt 2020-12-25 13:57:26 -08:00
  • a450abc080 Don't read directories either, add completion log for transfers Matthew Penner 2020-12-25 14:46:33 -07:00
  • 0a45ea44a4 Return a user-friendly error for an invalid file mode Matthew Penner 2020-12-25 14:41:38 -07:00
  • e05c601325 Lets not read an entire file into memory Matthew Penner 2020-12-25 14:40:53 -07:00
  • 5c78cb9ab3 Add transfer logging output (#77) Matthew Penner 2020-12-25 14:32:41 -07:00
  • 901ab1157d Rework archiving logic to be more consistent and less impactful on disk IO (#79) Matthew Penner 2020-12-25 12:52:57 -07:00
  • c0523df696 Add a server context that gets canceled when a server is deleted Dane Everitt 2020-12-25 11:21:09 -08:00
  • f7f5623c71 Set UA and limit simultaneous downloads Dane Everitt 2020-12-24 09:01:00 -08:00
  • 184013b652 Include endpoints for getting active downloads for a server Dane Everitt 2020-12-20 13:14:07 -08:00
  • f8282c56cb Avoid race conditions from mismatched use of atomic & sync.Mutex Dane Everitt 2020-12-20 13:13:10 -08:00
  • c8d297a056 Support canceling an in-progress download Dane Everitt 2020-12-20 12:53:40 -08:00
  • c718da20e3 Check disk space before trying a write from the downloader; don't make empty directories if we can't even write the file Dane Everitt 2020-12-20 11:17:53 -08:00
  • 9c53436470 Check disk before even trying to run the download Dane Everitt 2020-12-20 11:08:01 -08:00
  • 17daa2071f Update base logic for handling server file downloads Dane Everitt 2020-12-20 10:59:07 -08:00
  • 3495fb1c76 Less racey logic for resource usage Dane Everitt 2020-12-16 22:03:35 -08:00
  • 0c93e5ed02 Properly handle decoding paths Dane Everitt 2020-12-16 21:38:56 -08:00
  • 737e1fcef6 Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-16 20:21:24 -08:00
  • 16118874cf Don't obliterate the lock Dane Everitt 2020-12-16 20:21:22 -08:00
  • b161ccafaf Remove 'arm' build from release workflow Matthew Penner 2020-12-16 08:43:55 -07:00
  • 59a111de39 Invite our lord and savior emperror back to the table Dane Everitt 2020-12-15 21:56:53 -08:00
  • c0a641247b Different handling of errors on routes; push towards using middleware Dane Everitt 2020-12-15 21:53:34 -08:00
  • 057cdbd927 Use the underlying error Dane Everitt 2020-12-15 21:14:20 -08:00
  • 0ecc166dcd Update error reporting middleware Dane Everitt 2020-12-15 21:08:00 -08:00
  • 3a26a5d39d Convert all filesystem error types into the same Error struct Dane Everitt 2020-12-15 20:51:13 -08:00
  • 9ae75a399b Update middleware.go Dane Everitt 2020-12-15 20:20:47 -08:00
  • 01b766dacc Remove dupe Dane Everitt 2020-12-15 20:20:22 -08:00
  • 904e0a574d Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-15 20:20:16 -08:00
  • acd6dc62d0 Update middleware logic Dane Everitt 2020-12-15 20:19:09 -08:00
  • 8f26c31df6 Support downloading remote files to a server via the API Caleb 2020-12-15 22:59:18 -05:00
  • 84c05efaa5 Update Dockerfile Matthew Penner 2020-12-15 16:45:40 -07:00
  • d72d96f9d0 😊 is for me? Matthew Penner 2020-12-15 16:24:15 -07:00
  • 981f04fbd8 PauseChamp Matthew Penner 2020-12-15 16:15:54 -07:00
  • 463dd6f4ec ( .. •˘___˘• .. ) Matthew Penner 2020-12-15 16:08:06 -07:00
  • 02034211c1 Update GitHub Actions workflows Matthew Penner 2020-12-15 15:59:06 -07:00
  • fafda283b1 Update Dockerfile, add .dockerignore Matthew Penner 2020-12-15 15:58:47 -07:00
  • 199be20717 Use custom flag for ignoring certificate errors, not the debug flag Dane Everitt 2020-12-12 09:56:01 -08:00
  • 1c825d2a74 Merge pull request #75 from BrainStone/patch-1 Dane Everitt 2020-12-12 09:21:53 -08:00
  • e936f22419 Tweaks to server transfer logging Matthew Penner 2020-12-11 17:24:35 -07:00
  • c253a4bac0 Explictily disable log compression #75 Yannick Schinko 2020-12-12 00:51:11 +01:00
  • ecb15a224a Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-08 21:24:33 -08:00
  • 73f1399e47 Don't expect double-encoded values here Dane Everitt 2020-12-08 21:24:31 -08:00
  • 8e29ffed50 Add configurable disk write speed limit for backups (#74) Matthew Penner 2020-12-08 09:13:48 -07:00
  • 2d4dd05ec9 Remove arm from build-test workflow Matthew Penner 2020-12-08 09:12:45 -07:00
  • fb3460f5f6 Fix build-test workflow Matthew Penner 2020-12-08 09:12:16 -07:00
  • cff7667155 fix build-test workflow running twice on pull_requests Matthew Penner 2020-12-08 09:11:15 -07:00
  • 7871c0928f Remove --brute; hella slow and not much of a difference in the end Dane Everitt 2020-12-06 15:57:03 -08:00
  • 04d714f19c Update CHANGELOG.md v1.1.3 Dane Everitt 2020-12-06 15:49:46 -08:00
  • a18f60bd05 Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-12-06 15:35:04 -08:00
  • deea5babbc Publish message when error occurs during crash handling Dane Everitt 2020-12-06 15:34:58 -08:00
  • e41b3dc09a Merge branch 'matthewpi/backups-patch-1' into develop Matthew Penner 2020-12-06 16:18:15 -07:00