Commit Graph

57 Commits

Author SHA1 Message Date
Dane Everitt
e87e8848e6
I don't want to know what the hell happened in a minor point release to completely brick this code 2020-08-06 19:29:01 -07:00
Dane Everitt
919bec2f87
Dependency updates 2020-08-06 18:55:29 -07:00
Dane Everitt
0a612a71d9
Clean up logging, ensure logs write to disk 2020-08-03 20:35:48 -07:00
Dane Everitt
f3c8220bd9
Change filewalker implementation to use a pool 2020-07-16 21:51:31 -07:00
Dane Everitt
60ebde4447
Fix deps? 2020-07-12 10:26:20 -07:00
vagrant
c5f4c3cfcb update github.com/docker/docker 2020-07-04 20:57:48 +00:00
Dane Everitt
82912595b7
Update SFTP logic for authentication to avoid brute forces; replicates logic from #9
Co-Authored-By: Stepan Fedotov <trixterthetux@users.noreply.github.com>
2020-07-02 21:03:11 -07:00
Dane Everitt
e5b844d2c4
Support automatically generating SSL certificates 2020-06-30 21:34:47 -07:00
Dane Everitt
f8bffd8391
Start the process of migrating from zap to a cleaner CLI output for logs 2020-05-28 22:07:53 -07:00
Dane Everitt
bd063682dc
Better match handling I think? 2020-05-17 18:22:06 -07:00
Dane Everitt
5e60cb2eb0
Update to latest version of sftp-server; closes pterodactyl/panel#2014 2020-05-09 17:47:12 -07:00
Dane Everitt
a6645aa741
Bump to 1.13 in mod to support underscores in numeric literals 2020-05-08 20:58:34 -07:00
Dane Everitt
507d0100cf
Hilariously rough code to get a backup pushed into S3 2020-04-26 17:20:26 -07:00
Dane Everitt
df6d98bbda
Add support for ignoring directories/files; fix compression of archives 2020-04-18 23:26:23 -07:00
Dane Everitt
71d38ff62e
Cleanup logic for getting a directory size; support cancelation during goroutine 2020-04-18 15:31:34 -07:00
Dane Everitt
4279fa510e
Cleanup data storage locations for daemon 2020-04-17 14:27:06 -07:00
Michael Parker
12c97c41b0 fixes distro matching
Adds osrelease to get distro name
2020-04-13 13:12:49 -04:00
Matthew Penner
28c8f3f400 Add the ability to fetch all servers, fix cpu usage leak again.. 2020-04-10 15:39:07 -06:00
vagrant
1c5f30f5be add configure command 2020-04-10 15:25:06 +00:00
vagrant
59b11eb80c use cobra for cli
reorganize a bit to be able to use it
2020-04-10 13:12:18 +00:00
Dane Everitt
cf2ef1a173
Port most of the HTTP code over to gin 2020-04-05 18:00:33 -07:00
Matthew Penner
3dba11ac6f Add ability to create archives of servers, add GET and POST /api/servers/:server/archive routes to get and request an archive of a server 2020-04-03 23:17:26 -06:00
Dane Everitt
beec5723e6
Update SFTP server dependency 2019-12-24 17:11:54 -08:00
Dane Everitt
189289ad5f
Correctly handle updating server data 2019-12-21 21:02:02 -08:00
Dane Everitt
89806427f9
Fix SFTP server integration 2019-12-08 10:29:10 -08:00
Dane Everitt
865c1b3bad
Begin implementing SFTP server code 2019-12-07 15:53:07 -08:00
Dane Everitt
52ca0667ca
Add base support for internalizing the SFTP server 2019-12-07 14:01:40 -08:00
Dane Everitt
1be21b7078
[#3896bk] Support parsing XML files 2019-12-01 15:04:03 -08:00
Dane Everitt
6e9606bc89
[#3896bk] Add support for ini file parsing 2019-12-01 12:53:47 -08:00
Dane Everitt
cae0c70b0f
[#3896bk] Fix handling of YAML/JSON when parsing configuration files 2019-12-01 11:19:49 -08:00
Dane Everitt
0e51db1c03
[#3896bk] Add plaintext and basic yaml matching support 2019-11-30 22:24:44 -08:00
Dane Everitt
1003abaa63
[#3896bk] Configure base support for properties file parsing 2019-11-30 18:07:05 -08:00
Dane Everitt
11c6738264
[#389686] Show crash output in console 2019-11-30 17:08:11 -08:00
Dane Everitt
be14811eb4
Fix issues instantiating the server struct 2019-11-30 16:37:11 -08:00
Dane Everitt
c96f22787a
Correct logic handling a server resource update 2019-11-24 19:57:20 -08:00
Dane Everitt
35c1e467cd
Logical file rename 2019-11-24 19:32:02 -08:00
Dane Everitt
9f4518fc58
Add (unchecked) code to do an in-situ replacement of build settings 2019-11-24 15:08:38 -08:00
Dane Everitt
22e6ce2f7e
Add base code to convert json data into a server object
This is not great code, but wow dealing with JSON is a nightmare in go.
2019-11-16 15:10:53 -08:00
Dane Everitt
640f4b3a98
Send errors back over the socket to users depending on permission 2019-09-28 13:01:04 -07:00
Dane Everitt
8b8a131b7d
Change websocket validation method to use JWT 2019-09-24 21:21:59 -07:00
Dane Everitt
4318d9988a
Add support for renaming files/directories 2019-05-04 16:04:41 -07:00
Dane Everitt
ebe98aa860
Correctly handle closing of websocket, whoopsie 2019-04-20 15:45:48 -07:00
Dane Everitt
b20bfac36b
Get server logs sending over the socket. wowee 2019-04-20 14:57:37 -07:00
Dane Everitt
afe2941983
Ugly first attempt at enabling socketio 2019-04-07 16:28:01 -07:00
Dane Everitt
0ace25c117
Add support for listing a directory's contents 2019-04-07 14:45:23 -07:00
Dane Everitt
91afa4d38e
Add basic file stat & mimetype 2019-04-07 13:47:14 -07:00
Dane Everitt
314a5ad546
Add FS logic for determining folder size as well as safe path resolution 2019-04-06 16:53:22 -07:00
Dane Everitt
d534b23606
Move configuration to own directory, modify docker environment setup to be easier to manage 2019-04-06 13:33:54 -07:00
Dane Everitt
7d67be8382
Add support for getting a server's log file via the API 2019-04-06 12:27:44 -07:00
Dane Everitt
cedbee5080
Add initial API support for listing configured servers 2019-04-05 22:20:26 -07:00