Commit Graph

280 Commits

Author SHA1 Message Date
Dane Everitt 2ac90b50f2 Begin refactoring Tasks to be apart of the Scheduler system 2017-09-12 23:45:19 -05:00
Dane Everitt 07965d0ce7 These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
Dane Everitt bab28dbc85 Initial implementation of new task mgmt system 👮 2017-09-09 23:55:21 -05:00
Anand Capur a73e71dd81 Fix DB migrations to allow rollbacks 2017-08-23 12:34:34 -07:00
Dane Everitt 3ee5803416 Massive PHPCS linting 2017-08-21 22:10:48 -05:00
Dane Everitt 9d3dca87f2 Begin moving packs to new service mechanisms, refactor exceptions for services 2017-08-18 22:19:06 -05:00
Dane Everitt 90bbe57148 Move services onto new services system, includes tests 2017-08-15 22:21:47 -05:00
Dane Everitt 340193c013 Apply fixes from StyleCI (#581) 2017-08-12 15:32:34 -05:00
Dane Everitt 669119c8f8 Handle allocation assignment using services
Function is significantly quicker and uses 1 SQL query per IP rather than 1 query per port.
2017-08-05 21:10:32 -05:00
Dane Everitt c1a078bdcf Add support for node management actions using new services 2017-08-05 17:20:07 -05:00
Dane Everitt 8daec38622 Complete base implementation of services for administrative server creation 2017-07-24 21:34:10 -05:00
Dane Everitt 8953f83f87 Add migrations to handle cascade deletions for servers and users 2017-07-08 15:51:13 -05: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 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
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 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 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 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 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 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 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
Jakob Schrettenbrunner cea2d040eb fix @DaneEveritt grepping arround 2017-02-13 23:20:49 +01:00