Commit graph

354 commits

Author SHA1 Message Date
Unknown
c746baf416 Remove pesky newline for StyleCI 2017-07-09 22:06:14 -04:00
Unknown
4957c95189 OxideMod support 2017-07-09 22:05:08 -04:00
Unknown
ee0211eadd Change docker container to quay.io/pterodactyl/core:rust 2017-07-09 21:20:09 -04:00
Polarcraft
63deed9193 Quick Fix
With this fix, I removed the installation of Java 8 from the container and set the script container to be java8.
2017-07-09 20:01:45 -05:00
Polarcraft
501f4f9a83 Renamed funny variable 2017-07-08 22:04:14 -05:00
Polarcraft
23d6907c9c Remove pesky space 2017-07-08 21:41:39 -05:00
Polarcraft
7993202689 Added a Forge Service Option 2017-07-08 21:40:14 -05:00
Polarcraft
e26a7ac262 Created a GMOD Service Option (#542) 2017-07-08 16:17:36 -10:00
Unknown
951baaca54 Specify ubuntu version & add string validation 2017-07-08 17:09:01 -04:00
Polarcraft
4c639906b4 Add CS:GO to Source Service Option (#538)
* Added CS:GO

This allows users to select rather or not to use cs:go for a server.

* Removed debugging outputs

* Replace tabs with spaces to pass StyleCI

* Remove more pesky tabs

I apparently missed them the first time.

* Fix pesky issues with starts

This fix is to repair the startup for csgo and remove the required accounts.

* Better explanation for STEAM_ACC

* Removed dupe ips

* Added and fixed lines

* Set a default map to be loaded in.
* Set the variables rules to match what they would need to be
* Removed a pesky space
2017-07-08 10:52:40 -10:00
Dane Everitt
8953f83f87
Add migrations to handle cascade deletions for servers and users 2017-07-08 15:51:13 -05:00
Unknown
a6bef1b71b Fix StyleCI complaints 2017-07-06 22:17:51 -04:00
Unknown
f230b194ff Add Rust to seeder & rename class to appropriate name 2017-07-06 22:08:49 -04:00
Unknown
2a6b48753a Add Rust service 2017-07-06 21:51:38 -04:00
Dane Everitt
4ee9d38ad1
Add ApiKey service, cleanup old API key methods
https://zube.io/pterodactyl/panel/c/525
2017-06-25 15:31:50 -05:00
Dane Everitt
a527949939
Add more location tests, more travis CI fix attempts 2017-06-16 00:29:19 -05:00
Dane Everitt
760525a673
Push more tests for location services, setup travis CI integration 2017-06-15 23:03:22 -05:00
Dane Everitt
26e476a794
Push updates, removes repositories, begins moving functionality to services.
First integration tests included.
2017-06-13 23:25:37 -05:00
Dane Everitt
5c2b9deb09
Push initial implementations of new repository structure
This breaks almost the entire panel, do not pull this branch in this state.

Mostly just moved old repository files to a new folder without updating anything else in order to start doing new things. Structure is not finalized.
2017-06-10 22:28:44 -05:00
Michael (Parker) Parker
1b3d9eb683 Fixing TS3 service 2017-05-15 09:38:41 -04:00
Dane Everitt
ee309b095e
Fix the unholy disaster that is steamcmd within containers.
This honestly took like 3 hours to debug and fix, and TBH its all
because +app_update is not the same as update, and I didn’t notice I
had mistyped at some point.

Many keys were violently smashed. R.I.P. Keyboard, you were decent.
👻
2017-05-05 19:15:18 -04:00
Dane Everitt
605c91a9af
Use cache helpers rather than database to handle configuration tokens and downloads. 2017-05-01 14:21:18 -04:00
Dane Everitt
3ee7b7cff1
Add ability to mark a node as being over a proxy 2017-04-27 22:52:37 -04:00
Dane Everitt
30b4934013
Include default installation scripts, as well as ability to symlink a script 2017-04-27 16:16:59 -04:00
Dane Everitt
77b1a258d9 Weekly fix of my StyleCI violations... 2017-04-24 16:56:38 -04:00
Belldandu
fc2b7b5982 Update 2017_04_20_171943_AddScriptsToServiceOptions.php (#404)
Currently mysql does not support defaults for text and blobs without disabling strict mode in 5.7. https://dev.mysql.com/doc/refman/5.7/en/blob.html

Mariadb (a drop in replacement for mysql my by the same team of devs as mysql) also doesnt support defaults text and blobs until 10.2.1 (there is no stable release, 10.2.5 is a release candidate) which isnt available on non-bleeding edge distro's. No one is going to install an unstable release of mariadb on production servers. https://mariadb.com/kb/en/mariadb/text/
Latest release for ubuntu xenial is 10.0.29-MariaDB

So for now we change text to string for values that have defaults until defaults are more widely supported for TEXT and BLOB mysql values.
2017-04-23 16:29:54 -04:00
Dane Everitt
a5a1ea3165
Add ability to change service implementation for a server. 2017-04-21 17:52:44 -04:00
Dane Everitt
8dc24471ae
Add reinstall abilities and cleanup process for new servers 2017-04-20 18:52:43 -04:00
Dane Everitt
c8f1335a09
Fixup merge 2017-04-20 17:26:20 -04:00
Dane Everitt
8d24e5f168
Merge branch 'develop' into feature/option-scripts
# Conflicts:
#	app/Http/Routes/AdminRoutes.php
#	app/Http/Routes/DaemonRoutes.php
#	app/Models/ServiceOption.php
2017-04-20 17:08:08 -04:00
Dane Everitt
d695532aa2
Fixes migrations to actually rollback all the way. 2017-04-19 18:43:32 -04:00
Dane Everitt
91ce97a326
Fix missing service file, closes #390 2017-04-17 19:26:03 -04:00
Dane Everitt
dcc2257fa7
Do things correctly... 2017-04-15 23:40:11 -04:00
Dane Everitt
b000b4da43
Fixes task migration issue, closes #378 2017-04-15 23:17:45 -04:00
Dane Everitt
7f1a97184b
Un-butcher task system. 2017-04-15 13:52:43 -04:00
Dane Everitt
6fb44f7d7b
Set config item to correct boolean value 2017-04-14 00:51:36 -04:00
Dane Everitt
65630bdcce
Move API to use JSON:API standards and fractal serializer
Makes the data slightly more complex, but forces a standard and can
always be changed down the road simply by changing the default
serializer.
2017-04-02 16:51:56 -04:00
Dane Everitt
edaa270a33
Add server descriptions, closes #338 🐖
🐷 https://s3.kelp.in/D0n2Z.png
2017-03-31 23:07:19 -04:00
Dane Everitt
a554f242a8
Fix typo in migration script that deleted regex from non-required vars 2017-03-19 11:21:05 -04:00
Dane Everitt
82b3cbc246
Minor fixes 2017-03-18 20:52:02 -04:00
Dane Everitt
4a43c53e07
Fix seeders; fixes typo; use glibc java 2017-03-18 20:20:14 -04:00
Dane Everitt
891fd13911
Fix docker image name 2017-03-18 17:42:50 -04:00
Dane Everitt
abaff455b4
Add missing semicolon 2017-03-18 16:05:19 -04:00
Dane Everitt
9a803e61ec
Update seeder and migrations to use new docker images. 2017-03-18 14:49:48 -04:00
Dane Everitt
710d5f111a
Actually save the changes so we don't end up with duplicates... 2017-03-18 13:53:22 -04:00
Dane Everitt
c2d630cfb5
Fix migration 2017-03-18 13:45:38 -04:00
Dane Everitt
03e0de28d9
Initial implementation of option scripts on panel side. 2017-03-18 13:09:30 -04:00
Dane Everitt
48e261bb91
closes #288 2017-03-16 19:59:24 -04:00
Dane Everitt
198a021a97
Add database host management to panel. 2017-03-16 19:35:29 -04:00
Dane Everitt
50558db7c3
Add initial pack creation and overview pages 2017-03-14 21:18:36 -04:00
Dane Everitt
668dc9216a
Update seeders to reflect removed table column 2017-03-12 19:36:13 -04:00
Dane Everitt
fcadee7e67
Fix front and backend views with new service variable setups 2017-03-12 19:34:06 -04:00
Dane Everitt
d67f65bb71
Attempt to properly handle new start lines on servers for migration 2017-03-12 18:26:36 -04:00
Dane Everitt
63029bb396
Clean old migration.
New seeder method allows most all of this migration to occur in the
seeder, aside from renaming a few duplicate keys.
2017-03-12 18:05:30 -04:00
Dane Everitt
97cad1d55e
Update seeders to not error out and allow updating values quickly. 2017-03-12 18:02:15 -04:00
Dane Everitt
e791d561ba
More StyleCI... 2017-03-12 16:35:25 -04:00
Dane Everitt
1897741381
StyleCI cleanup 2017-03-12 16:34:43 -04:00
Dane Everitt
419031e0cd
Add function file editing, and move all service file items into database 2017-03-12 15:59:17 -04:00
Dane Everitt
d585294289
Misc. file removal and migration cleanup 2017-03-12 00:03:04 -05:00
Dane Everitt
d7682bb7c9
Complete new service, option, and variable management interface in Admin CP 2017-03-12 00:00:06 -05:00
Dane Everitt
70db461075
Start push of service changes.
Changes the way service files are stored and allows for much easier
updates in the future that won’t affect custom services.

Also stores more configurations in the database to make life easier for
everyone.
2017-03-10 18:25:12 -05:00
Dane Everitt
b1564389d8 Apply fixes from StyleCI (#331) 2017-03-03 23:38:21 -05:00
Dane Everitt
d38f89a468
Cleanup node routes, cleanup remote token 2017-03-03 23:14:25 -05:00
Dane Everitt
0357205a74
Fix database seeders 2017-02-16 18:06:16 -05:00
Jakob Schrettenbrunner
cea2d040eb fix @DaneEveritt grepping arround 2017-02-13 23:20:49 +01:00
Dane Everitt
afb0451bcd
Drop a forgotten foreign key 2017-02-12 20:27:06 -05:00
Dane Everitt
19d352619e
More singularization and correct file names. 2017-02-12 16:03:17 -05:00
Dane Everitt
8ba479e51f
Singularize model names. 2017-02-12 16:02:23 -05:00
Dane Everitt
7c916ad38f Apply fixes from StyleCI (#294) 2017-02-12 15:10:39 -05:00
Jakob Schrettenbrunner
a10e235beb revert accidental changes to migrations 2017-02-12 17:38:15 +01:00
Dane Everitt
3b3002b77a
API Model updates. 2017-02-10 17:29:10 -05:00
Dane Everitt
99812b0407
More subuser Model updates. 2017-02-09 19:38:54 -05:00
Dane Everitt
c8f6c93d26
Modify subusers model setup 2017-02-09 18:44:07 -05:00
Dane Everitt
323f1d943f
Completed model updates for Services 2017-02-05 17:58:17 -05:00
Dane Everitt
09d23deed6
New models for node and location admin pages. 2017-02-03 16:50:28 -05:00
Dane Everitt
96d3aa767f
Model updates for Database Management in ACP 2017-02-03 15:19:14 -05:00
Dane Everitt
c4b76bf48e
Remove FKs correctly 2017-02-02 18:25:11 -05:00
Dane Everitt
d4bcf0be59
Initial implementation of improved sever model and logic 2017-02-02 18:21:36 -05:00
Dane Everitt
9087feec4f
Remove build settings from packs. 2017-01-27 16:21:25 -05:00
Dane Everitt
bf7b58470a
Update copyright headers 2017-01-24 17:57:08 -05:00
Dane Everitt
a5aa089d66 Apply fixes from StyleCI 2017-01-12 20:48:12 +00:00
Dane Everitt
e91362eee6
Update user controller 2017-01-12 15:40:24 -05:00
Dane Everitt
6bd9663f59
Merge branch 'develop' into feature/service-changes 2017-01-12 13:15:37 -05:00
Jakob Schrettenbrunner
9f2ca17ea4 replace manual json headers with laravel response()->json()
better Carbon dependency
rename admin.nodes.configuration-token route
style fixes
2017-01-08 15:21:02 +01:00
Jakob Schrettenbrunner
e1e159b7de add ability to generate a token to retrieve the config for a specific node 2017-01-07 18:10:11 +01:00
Dane Everitt
d9de884de3 Apply fixes from StyleCI 2017-01-03 22:46:30 +00:00
Dane Everitt
759ebd3ad0
Fixes misnamed tag for Sponge servers. closes #237 2017-01-03 15:06:40 -05:00
Dane Everitt
fc38b09e1f
Merge branch 'develop' into feature/service-changes 2016-12-14 16:53:53 -05:00
Dane Everitt
c1fb0a665f Apply fixes from StyleCI 2016-12-07 22:46:38 +00:00
Dane Everitt
777e7138e6
Update regex checking for minecraft services
closes #193
2016-12-02 19:06:14 -05:00
Dane Everitt
72ad6d5c87
Show file upload size limit when uploading files
Also handle errors better.
2016-12-01 18:32:05 -05:00
Dane Everitt
c4a4b84bd3
Add service pack reference to server and send to daemon 2016-11-27 14:50:10 -05:00
Dane Everitt
a1bc6fa2d3
Push changes that support creations of service packs and basic listing 2016-11-15 20:20:32 -05:00
Dane Everitt
cfd5e0e854
Implement base service file modification through panel 2016-11-09 17:58:14 -05:00
Dane Everitt
e0696900bb
Fix issue that would prevent Ark servers from being added to servers.
Renamed migration file to force it to re-run on previously migrated
systems.
2016-11-04 20:37:40 -04:00
Dane Everitt
ee851c9f34
😒
I think the first name makes more sense, but I guess its just me…
2016-10-31 17:46:35 -04:00
Dane Everitt
9e68937b45
this kills the crab... 🦀 2016-10-31 17:25:00 -04:00
Dane Everitt
873ddd204d
Hotfix for broken rc.1 installs and upgrades 2016-10-31 17:15:30 -04:00
Dane Everitt
9d69f47ade
Here ya go @ET-Bent support for Ark 2016-10-30 00:25:13 -04:00
Dane Everitt
13ce251593
Add foreign keys to all necessary tables 👏
I thoroughly hate myself for doing MEDIUMINT(8) on so many tables.
2016-10-23 20:48:34 -04:00
Michael Parker
8c1fe3056f Correcting BungeeCord issue (#152)
* Correcting BungeeCord issue
2016-10-23 18:34:59 -04:00
Dane Everitt
745c735b32
Add initial basic API changes
New route is `/api/me`
2016-10-14 20:22:23 -04:00
Dane Everitt
c8a73fa608
Log the error output for API 2016-10-07 16:10:54 -04:00
Dane Everitt
af68dbed8f
Add support for base API logging of all requests
ref #31
2016-10-07 16:06:09 -04:00
Dane Everitt
181b1d1cd7
Complete fixing of improperly named tf2 in db 2016-09-29 21:40:53 -04:00
MeltedLux
8759080897 Correct Team Fortress 2 name
Although a TF2 + Insurgency game would be 10/10
2016-09-28 04:33:49 +01:00
Dane Everitt
f29111309d Somehow this migration slipped through and was never added 2016-09-21 16:57:39 -04:00
Dane Everitt
dd55d943df Fix parameter assignment 2016-09-21 16:04:48 -04:00
Dane Everitt
01969d5ee4 Update seeder file 2016-09-21 16:00:07 -04:00
Dane Everitt
812b869be8 add ability to change servers docker image 2016-09-17 20:14:36 -04:00
Dane Everitt
07f0c41eb6 Add more seeders for bungeecord and sponge 2016-09-17 16:18:29 -04:00
Dane Everitt
2afd3e49ab Add Terraria seeder, update voice servers seeder 2016-09-16 22:55:10 -04:00
Dane Everitt
7e122ab6a8 Add seeder for voice servers 2016-09-16 18:07:04 -04:00
Dane Everitt
57f0431d8e Add Spigot to service seeder 2016-09-15 20:27:27 -04:00
Dane Everitt
fcae6b5f15 remove required default value, update descriptions in seeder 2016-09-14 18:36:33 -04:00
Dane Everitt
00a3ae98b4 Allow longer regex 2016-09-14 18:36:33 -04:00
Dane Everitt
05f0f48caf Add seeders for services, cleanup environment setters 2016-09-07 17:48:20 -04:00
Dane Everitt
b02df8e610 Implement base notifications support (#77)
* initial implementation of notifications
* typehint UUID returns. Fixes that notifications bug
2016-09-05 12:00:56 -04:00
Dane Everitt
0deb262c56 Add two migrations to handle a jobs driver change for databases in 5.3 2016-09-04 17:21:41 -04:00
Dane Everitt
1ca07e665e Add support for viewing SFTP password in panel
requested in #74
closes #74
2016-09-02 19:26:48 -04:00
Dane Everitt
8e657a0bf0 Remove old 'active' column and replace some references with 'suspended' in place 2016-09-01 21:21:01 -04:00
Dane Everitt
38eae88bd0 Add support for suspension 2016-09-01 21:16:38 -04:00
Dane Everitt
e8c175f385 Add IP Aliasing (#72)
* complete support for IP Alias's throughout panel

Includes a database change and probably better allocation handling
anyways

closes #37
2016-08-31 16:03:37 -04:00
Dane Everitt
5233d6e87b Add database password change support and fix column name 2016-08-16 00:07:10 -04:00
Dane Everitt
67d9f9f4ab Improve scheduled task layout and data handling 2016-03-18 16:23:10 -04:00
Dane Everitt
c1301c7190 Fix tasks to use proper cron syntax 2016-02-28 22:37:58 -05:00
Dane Everitt
51f4ea7d5d Minor queue fixes and add active option 2016-02-27 19:12:17 -05:00
Dane Everitt
1296d08dcb add basic scheduler and queue processing for tasks 2016-02-27 18:35:12 -05:00
Dane Everitt
4e60adc875 Make file field unique 2016-02-20 15:59:04 -05:00
Dane Everitt
a903ae313a Add per-service-option startup & executable
Also fixes display issue on front-end where users could see and edit
hidden settings
Fixes a bug in relation to #57
2016-02-13 17:29:52 -05:00
Dane Everitt
7013d10987 Add basic support for per-server databases
Still missing ability to define database servers
2016-02-08 18:03:05 -05:00
Dane Everitt
c069b8d18a fix column name in permissions; closes #41 2016-01-25 18:45:34 -05:00
Dane Everitt
6fd2b28a80 Update 2016_01_23_195851_add_api_keys.php 2016-01-23 20:00:11 -05:00
Dane Everitt
75cb112f9e Update migrations 2016-01-23 15:42:25 -05:00
Dane Everitt
b63fc02cef Add settings to panel 2016-01-20 22:08:13 -05:00
Dane Everitt
ac6edc4d64 Completed subuser system 2016-01-18 19:57:10 -05:00
Dane Everitt
317698a84a encrypt API keys 2016-01-16 20:11:31 -05:00
Dane Everitt
77e3744b40 Change authentication method for API. 2016-01-15 19:26:50 -05:00
Dane Everitt
028a39e11e Fix that migration (closes #20) 2016-01-11 22:52:47 -05:00
Dane Everitt
d381c691ba Add support for node creation 2016-01-04 23:59:45 -05:00
Dane Everitt
9d2d726992 🎉 Finishes server creation 🎉 2016-01-03 18:10:28 -05:00
Dane Everitt
f467c3f0eb Improved user management in Admin CP
Fixes a few bugs from PR#17
2016-01-02 15:08:33 -05:00
Dane Everitt
6b25a163fc Improved server creation and options 2016-01-01 22:53:43 -05:00
Dane Everitt
59fb0eae4f Improved file downloading 2016-01-01 19:27:44 -05:00
Dane Everitt
46117afc77 Code cleanup and fixes filemanager 2016-01-01 18:08:15 -05:00
Dane Everitt
cc90fa3e63 Add http(s) toggle for nodes, update power page
Updates power and console controls to match new daemon output and API.
2015-12-31 17:55:42 -05:00
Dane Everitt
264431a271 Whats this? We can add new servers now?! 2015-12-15 15:08:41 -05:00
Dane Everitt
94bfd24e7c Add allocation limits for nodes.
Percentage based, if null no limit is set (allows unlimited servers)
2015-12-11 23:29:00 -05:00
Dane Everitt
692825e8b6 Handle service and option for servers 2015-12-10 23:13:34 -05:00
Dane Everitt
59ff1ebbe6 Finish front-end server creation page. 2015-12-10 18:30:49 -05:00
Dane Everitt
8397dbc62c Add timestamps to service tables 2015-12-08 18:33:22 -05:00
Dane Everitt
f6da00dd1c Add initial service functionality to DB 2015-12-07 22:46:46 -05:00
Dane Everitt
47235b670a Push some basic add server functionality
Doesn’t support adding the server, but adds improved support for
handling picking server location, node, and ip+port
2015-12-07 00:47:19 -05:00
Dane Everitt
1489f7a694 Initial Commit of Files
PufferPanel v0.9 (Laravel) is now Pterodactyl 1.0
2015-12-06 13:58:49 -05:00