bridge.GetCpVersionRequest
+ * Generated from protobuf message bridge.EmptyMessage
*/
-class GetCpVersionRequest extends \Google\Protobuf\Internal\Message
+class EmptyMessage extends \Google\Protobuf\Internal\Message
{
/**
diff --git a/bridge/GetVersionReply.php b/bridge/Bridge/UpgradeCpRequest.php
similarity index 82%
rename from bridge/GetVersionReply.php
rename to bridge/Bridge/UpgradeCpRequest.php
index d4d3036c..3e7de7c4 100644
--- a/bridge/GetVersionReply.php
+++ b/bridge/Bridge/UpgradeCpRequest.php
@@ -1,15 +1,17 @@
GetVersionReply
+ * Generated from protobuf message bridge.UpgradeCpRequest
*/
-class GetVersionReply extends \Google\Protobuf\Internal\Message
+class UpgradeCpRequest extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string version = 1;
@@ -26,7 +28,7 @@ class GetVersionReply extends \Google\Protobuf\Internal\Message
* }
*/
public function __construct($data = NULL) {
- \GPBMetadata\Updater::initOnce();
+ \GPBMetadata\Bridge::initOnce();
parent::__construct($data);
}
diff --git a/bridge/GPBMetadata/Bridge.php b/bridge/GPBMetadata/Bridge.php
index fd5e4021..ac482aab 100644
Binary files a/bridge/GPBMetadata/Bridge.php and b/bridge/GPBMetadata/Bridge.php differ
diff --git a/bridge/GetVersionRequest.php b/bridge/GetVersionRequest.php
deleted file mode 100644
index 9860b067..00000000
--- a/bridge/GetVersionRequest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-GetVersionRequest
- */
-class GetVersionRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string version = 1;
- */
- protected $version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $version
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Updater::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string version = 1;
- * @return string
- */
- public function getVersion()
- {
- return $this->version;
- }
-
- /**
- * Generated from protobuf field string version = 1;
- * @param string $var
- * @return $this
- */
- public function setVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/config/cerberus.php b/config/cerberus.php
index 51da74b8..bdc31d4d 100644
--- a/config/cerberus.php
+++ b/config/cerberus.php
@@ -145,5 +145,9 @@
'slug' => 'settings-cp_update_check',
'description' => 'a user can check if an update of the control panel is available'
],
+ [
+ 'slug' => 'settings-cp_upgrade',
+ 'description' => 'a user can initiate the upgrade process for the control panel.'
+ ],
]
];
diff --git a/package.json b/package.json
index 4d3561bc..33cf4747 100644
--- a/package.json
+++ b/package.json
@@ -72,5 +72,8 @@
},
"resolutions": {
"vue-loader": "^15.10.0"
+ },
+ "dependencies": {
+ "retry-axios": "^3.0.0"
}
}
diff --git a/resources/js/Pages/Settings/Components/UpdateSettingsForm.vue b/resources/js/Pages/Settings/Components/UpdateSettingsForm.vue
index 4e62af85..bfc661b4 100644
--- a/resources/js/Pages/Settings/Components/UpdateSettingsForm.vue
+++ b/resources/js/Pages/Settings/Components/UpdateSettingsForm.vue
@@ -1,38 +1,56 @@
- Please run $:ezgames upgrade logs for more information.