8 Commits

Author SHA1 Message Date
71424567bf chore: bump version to 1.9.7
All checks were successful
Build & Release Plugin / release (push) Successful in 15s
2026-02-01 04:36:30 +00:00
82da1180da fix: include owner and repository in license verification request
All checks were successful
Build & Release Plugin / release (push) Successful in 6s
2026-02-01 04:36:06 +00:00
2c749eebd5 fix: enhance license validation logic in SitiWebUpdater2
All checks were successful
Build & Release Plugin / release (push) Successful in 5s
2026-02-01 04:10:01 +00:00
github-actions[bot]
04a0c8be37 chore: update manifest.json 2026-02-01 04:02:03 +00:00
03727b9828 chore: bump version to 1.9.6
All checks were successful
Build & Release Plugin / release (push) Successful in 16s
2026-02-01 04:01:54 +00:00
github-actions[bot]
987139bca7 chore: update manifest.json 2026-02-01 03:59:23 +00:00
773db7407c chore: bump version to 1.9.5
Some checks failed
Build & Release Plugin / release (push) Failing after 9s
2026-02-01 03:59:14 +00:00
github-actions[bot]
a4da6e3e00 chore: update manifest.json 2026-02-01 03:55:48 +00:00
3 changed files with 15 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
/**
* Plugin Name: SitiAI Product Teksten
* Description: Genereer productteksten met diverse AI-aanbieders rechtstreeks vanuit WooCommerce.
* Version: 1.9.4
* Version: 1.9.7
* Author: Roberto Guagliardo | SitiWeb
* Author URI: https://sitiweb.nl/
* Text Domain: siti-ai-product-content-generator

View File

@@ -131,6 +131,8 @@ class SitiWebUpdater2 {
$license_data['key'] = $this->get_license_key();
}
$license_data['licenseValid'] = ! empty( $body['valid'] );
$version = null;
if ( isset( $body['pluginVersion'] ) && $body['pluginVersion'] ) {
$version = $body['pluginVersion'];
@@ -257,6 +259,8 @@ class SitiWebUpdater2 {
'key' => $license_key,
'hostname' => $hostname,
'currentVersion' => $current_version,
'owner' => $this->owner,
'repository' => $this->repository,
) ),
'timeout' => 15,
) );
@@ -303,7 +307,15 @@ class SitiWebUpdater2 {
public function is_license_valid() {
$data = $this->get_license_data();
return ! empty( $data ) && ! empty( $data['key'] );
if ( empty( $data ) || empty( $data['key'] ) ) {
return false;
}
if ( isset( $data['licenseValid'] ) ) {
return (bool) $data['licenseValid'];
}
return true;
}
public function get_latest_known_version() {

View File

@@ -1,7 +1,7 @@
{
"plugin_name": "SitiAI Product Teksten",
"description": "Genereer productteksten met diverse AI-aanbieders rechtstreeks vanuit WooCommerce.",
"version": "1.9.3",
"version": "1.9.6",
"author": "Roberto Guagliardo | SitiWeb",
"author_url": "https://sitiweb.nl/"
}