Plugin Directory

Changeset 3491343


Ignore:
Timestamp:
03/26/2026 12:59:13 AM (11 days ago)
Author:
1platform
Message:

Update to version 2.10.4 from GitHub

Location:
1platform-content-ai
Files:
12 added
6 deleted
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • 1platform-content-ai/tags/2.10.4/.git/FETCH_HEAD

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7        branch 'main' of https://github.com/1platformlabs/1platform-content-ai
     1be43537b4e6103554c84448144506776beee352f        branch 'main' of https://github.com/1platformlabs/1platform-content-ai
  • 1platform-content-ai/tags/2.10.4/.git/ORIG_HEAD

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/tags/2.10.4/.git/config

    r3491240 r3491343  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3NhUG9hZEcycW5zR3dzS0JVR1RtclNKU3hVOHlBdzJGZXg1UA==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX08xaXpHQlloYmp3ejJVN3RLNmxqZ1ZKZlN0dVpZUzFTcDhKNQ==
    1313[branch "main"]
    1414    remote = origin
  • 1platform-content-ai/tags/2.10.4/.git/logs/HEAD

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    checkout: moving from master to main
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    checkout: moving from master to main
  • 1platform-content-ai/tags/2.10.4/.git/logs/refs/heads/main

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    branch: Created from refs/remotes/origin/main
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    branch: Created from refs/remotes/origin/main
  • 1platform-content-ai/tags/2.10.4/.git/logs/refs/remotes/origin/main

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*: storing head
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*: storing head
  • 1platform-content-ai/tags/2.10.4/.git/refs/heads/main

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/tags/2.10.4/.git/refs/remotes/origin/main

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/tags/2.10.4/1platform-content-ai.php

    r3491240 r3491343  
    55 * Plugin URI: https://1platform.pro/
    66 * Description: SaaS client for AI-powered content generation, SEO optimization, and site management. All AI processing happens on 1Platform external servers. Includes free local tools: Table of Contents and Internal Links.
    7  * Version: 2.10.3
     7 * Version: 2.10.4
    88 * Author: 1Platform
    99 * License: GPLv2 or later
  • 1platform-content-ai/tags/2.10.4/includes/admin/admin-ai-site-generator.php

    r3491240 r3491343  
    8383    $payload = array(
    8484        'config' => array(
    85             'license_key' => get_option( 'contai_api_key', '' ),
    8685            'site_config' => array(
    8786                'site_topic' => sanitize_text_field( wp_unslash( $_POST['contai_site_topic'] ?? '' ) ),
  • 1platform-content-ai/tags/2.10.4/includes/services/jobs/SiteGenerationJob.php

    r3491166 r3491343  
    9898        switch ($stepName) {
    9999            case 'activateLicense':
    100                 $this->activateLicense($config['license_key']);
     100                $this->activateLicense();
    101101                break;
    102102
     
    153153    }
    154154
    155     private function activateLicense(string $licenseKey): void
     155    private function activateLicense(): void
    156156    {
    157157        $service = new ContaiUserProfileService();
    158         $service->saveApiKey($licenseKey);
     158
     159        if (!$service->hasApiKey()) {
     160            throw new Exception('License activation failed: No API key configured');
     161        }
    159162
    160163        $result = $service->refreshUserProfile();
  • 1platform-content-ai/tags/2.10.4/readme.txt

    r3491240 r3491343  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 2.10.3
     7Stable tag: 2.10.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • 1platform-content-ai/trunk/.git/FETCH_HEAD

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7        branch 'main' of https://github.com/1platformlabs/1platform-content-ai
     1be43537b4e6103554c84448144506776beee352f        branch 'main' of https://github.com/1platformlabs/1platform-content-ai
  • 1platform-content-ai/trunk/.git/ORIG_HEAD

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/trunk/.git/config

    r3491240 r3491343  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3NhUG9hZEcycW5zR3dzS0JVR1RtclNKU3hVOHlBdzJGZXg1UA==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX08xaXpHQlloYmp3ejJVN3RLNmxqZ1ZKZlN0dVpZUzFTcDhKNQ==
    1313[branch "main"]
    1414    remote = origin
  • 1platform-content-ai/trunk/.git/logs/HEAD

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    checkout: moving from master to main
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    checkout: moving from master to main
  • 1platform-content-ai/trunk/.git/logs/refs/heads/main

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    branch: Created from refs/remotes/origin/main
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    branch: Created from refs/remotes/origin/main
  • 1platform-content-ai/trunk/.git/logs/refs/remotes/origin/main

    r3491240 r3491343  
    1 0000000000000000000000000000000000000000 2181ff35ad85161193396a126d42f4c41772afa7 runner <runner@runnervm46oaq.yo2jsnv3aaiufmiidgoerdg2xa.bx.internal.cloudapp.net> 1774472166 +0000    fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*: storing head
     10000000000000000000000000000000000000000 be43537b4e6103554c84448144506776beee352f runner <runner@runnervmrg6be.sdkwdzzwaqsu1mar1bzdugii3h.cx.internal.cloudapp.net> 1774486710 +0000    fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*: storing head
  • 1platform-content-ai/trunk/.git/refs/heads/main

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/trunk/.git/refs/remotes/origin/main

    r3491240 r3491343  
    1 2181ff35ad85161193396a126d42f4c41772afa7
     1be43537b4e6103554c84448144506776beee352f
  • 1platform-content-ai/trunk/1platform-content-ai.php

    r3491240 r3491343  
    55 * Plugin URI: https://1platform.pro/
    66 * Description: SaaS client for AI-powered content generation, SEO optimization, and site management. All AI processing happens on 1Platform external servers. Includes free local tools: Table of Contents and Internal Links.
    7  * Version: 2.10.3
     7 * Version: 2.10.4
    88 * Author: 1Platform
    99 * License: GPLv2 or later
  • 1platform-content-ai/trunk/includes/admin/admin-ai-site-generator.php

    r3491240 r3491343  
    8383    $payload = array(
    8484        'config' => array(
    85             'license_key' => get_option( 'contai_api_key', '' ),
    8685            'site_config' => array(
    8786                'site_topic' => sanitize_text_field( wp_unslash( $_POST['contai_site_topic'] ?? '' ) ),
  • 1platform-content-ai/trunk/includes/services/jobs/SiteGenerationJob.php

    r3491166 r3491343  
    9898        switch ($stepName) {
    9999            case 'activateLicense':
    100                 $this->activateLicense($config['license_key']);
     100                $this->activateLicense();
    101101                break;
    102102
     
    153153    }
    154154
    155     private function activateLicense(string $licenseKey): void
     155    private function activateLicense(): void
    156156    {
    157157        $service = new ContaiUserProfileService();
    158         $service->saveApiKey($licenseKey);
     158
     159        if (!$service->hasApiKey()) {
     160            throw new Exception('License activation failed: No API key configured');
     161        }
    159162
    160163        $result = $service->refreshUserProfile();
  • 1platform-content-ai/trunk/readme.txt

    r3491240 r3491343  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 2.10.3
     7Stable tag: 2.10.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.