diff --git a/system/typemill/Controllers/ControllerApiSystemVersions.php b/system/typemill/Controllers/ControllerApiSystemVersions.php index b785aec..f2af354 100644 --- a/system/typemill/Controllers/ControllerApiSystemVersions.php +++ b/system/typemill/Controllers/ControllerApiSystemVersions.php @@ -29,7 +29,7 @@ class ControllerApiSystemVersions extends Controller $type = $params['type']; $data = $params['data']; $url = 'https://typemill.net/api/v1/checkversion'; - $url2 = 'http://localhost/typemillPlugins/api/v1/checkversion'; +# $url2 = 'http://localhost/typemillPlugins/api/v1/checkversion'; if($type == 'plugins') { @@ -76,7 +76,7 @@ class ControllerApiSystemVersions extends Controller ); $context = stream_context_create($opts); - $versions = file_get_contents($url2, false, $context); + $versions = file_get_contents($url, false, $context); $versions = json_decode($versions, true); $updateVersions = []; diff --git a/system/typemill/Models/License.php b/system/typemill/Models/License.php index 95900b6..3230b7f 100644 --- a/system/typemill/Models/License.php +++ b/system/typemill/Models/License.php @@ -160,7 +160,7 @@ class License $authstring = $this->getPublicKeyPem(); $authstring = hash('sha256', substr($authstring, 0, 50)); - + $options = array ( 'http' => array ( 'method' => 'POST', @@ -248,6 +248,7 @@ class License return hash('sha256', trim($mail) . 'TYla5xa8JUur'); } + # we have it in static license, too so use it from static and delete this duplicate. private function getPublicKeyPem() { $pkeyfile = getcwd() . DIRECTORY_SEPARATOR . 'settings' . DIRECTORY_SEPARATOR . "public_key.pem"; diff --git a/system/typemill/author/css/output.css b/system/typemill/author/css/output.css index f15e389..29bf15c 100644 --- a/system/typemill/author/css/output.css +++ b/system/typemill/author/css/output.css @@ -1447,11 +1447,21 @@ video { background-color: rgb(0 0 0 / 0.75); } +.bg-stone-300 { + --tw-bg-opacity: 1; + background-color: rgb(214 211 209 / var(--tw-bg-opacity)); +} + .bg-yellow-500 { --tw-bg-opacity: 1; background-color: rgb(234 179 8 / var(--tw-bg-opacity)); } +.bg-stone-500 { + --tw-bg-opacity: 1; + background-color: rgb(120 113 108 / var(--tw-bg-opacity)); +} + .bg-opacity-90 { --tw-bg-opacity: 0.9; } diff --git a/system/typemill/author/js/typemillutils.js b/system/typemill/author/js/typemillutils.js index 6c7db6a..79eee82 100644 --- a/system/typemill/author/js/typemillutils.js +++ b/system/typemill/author/js/typemillutils.js @@ -15,8 +15,6 @@ let typemillUtilities = { this.addYoutubePlayButton(youtubeItem); } } - - console.info(this.youtubeItems); }, addYoutubePlayButton: function(element) diff --git a/system/typemill/author/js/vue-plugins.js b/system/typemill/author/js/vue-plugins.js index f596fda..429955d 100644 --- a/system/typemill/author/js/vue-plugins.js +++ b/system/typemill/author/js/vue-plugins.js @@ -19,6 +19,10 @@ const app = Vue.createApp({
{{plugin.description}}
+