Changeset 3398232
- Timestamp:
- 11/18/2025 04:43:32 PM (4 months ago)
- Location:
- acymailing
- Files:
-
- 38 edited
- 1 copied
-
tags/10.6.3 (copied) (copied from acymailing/trunk)
-
tags/10.6.3/WpInit/Update.php (modified) (2 diffs)
-
tags/10.6.3/back/Controllers/Configuration/License.php (modified) (4 diffs)
-
tags/10.6.3/back/Controllers/Configuration/Listing.php (modified) (1 diff)
-
tags/10.6.3/back/Controllers/Dashboard/Walkthrough.php (modified) (1 diff)
-
tags/10.6.3/back/Controllers/DashboardController.php (modified) (1 diff)
-
tags/10.6.3/back/Controllers/UpdateController.php (modified) (3 diffs)
-
tags/10.6.3/back/Core/wordpress/extension.php (modified) (6 diffs)
-
tags/10.6.3/back/Core/wordpress/security.php (modified) (1 diff)
-
tags/10.6.3/back/Helpers/HeaderHelper.php (modified) (1 diff)
-
tags/10.6.3/back/Helpers/MailerHelper.php (modified) (1 diff)
-
tags/10.6.3/back/Helpers/Update/Configuration.php (modified) (1 diff)
-
tags/10.6.3/back/Helpers/UpdateHelper.php (modified) (1 diff)
-
tags/10.6.3/back/Helpers/UpdatemeHelper.php (modified) (3 diffs)
-
tags/10.6.3/back/Helpers/global/security.php (modified) (2 diffs)
-
tags/10.6.3/index.php (modified) (1 diff)
-
tags/10.6.3/language/acymailing.pot (modified) (1 diff)
-
tags/10.6.3/language/en-US.com_acym.ini (modified) (1 diff)
-
tags/10.6.3/readme.txt (modified) (2 diffs)
-
tags/10.6.3/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/WpInit/Update.php (modified) (2 diffs)
-
trunk/back/Controllers/Configuration/License.php (modified) (4 diffs)
-
trunk/back/Controllers/Configuration/Listing.php (modified) (1 diff)
-
trunk/back/Controllers/Dashboard/Walkthrough.php (modified) (1 diff)
-
trunk/back/Controllers/DashboardController.php (modified) (1 diff)
-
trunk/back/Controllers/UpdateController.php (modified) (3 diffs)
-
trunk/back/Core/wordpress/extension.php (modified) (6 diffs)
-
trunk/back/Core/wordpress/security.php (modified) (1 diff)
-
trunk/back/Helpers/HeaderHelper.php (modified) (1 diff)
-
trunk/back/Helpers/MailerHelper.php (modified) (1 diff)
-
trunk/back/Helpers/Update/Configuration.php (modified) (1 diff)
-
trunk/back/Helpers/UpdateHelper.php (modified) (1 diff)
-
trunk/back/Helpers/UpdatemeHelper.php (modified) (3 diffs)
-
trunk/back/Helpers/global/security.php (modified) (2 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/language/acymailing.pot (modified) (1 diff)
-
trunk/language/en-US.com_acym.ini (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
acymailing/tags/10.6.3/WpInit/Update.php
r3397048 r3398232 2 2 3 3 namespace AcyMailing\WpInit; 4 5 use AcyMailing\Helpers\UpdatemeHelper; 4 6 5 7 class Update … … 155 157 156 158 if (acym_level(ACYM_ESSENTIAL)) { 157 acym_checkVersion();159 UpdatemeHelper::getLicenseInfo(); 158 160 } 159 161 } -
acymailing/tags/10.6.3/back/Controllers/Configuration/License.php
r3397048 r3398232 16 16 if ($resultUnlinkLicenseOnUpdateMe['success'] === true) { 17 17 $this->config->saveConfig(['license_key' => '']); 18 } 18 UpdatemeHelper::getLicenseInfo(); 19 } 20 19 21 20 22 if (!empty($resultUnlinkLicenseOnUpdateMe['message'])) { … … 42 44 if ($resultAttachLicenseOnUpdateMe['success'] === false) { 43 45 $this->config->saveConfig(['license_key' => '']); 46 } else { 47 UpdatemeHelper::getLicenseInfo(); 44 48 } 45 49 … … 77 81 $resultAttach = UpdatemeHelper::call('api/websites/attach', 'POST', $data); 78 82 79 acym_checkVersion();80 81 83 if (empty($resultAttach) || !$resultAttach['success']) { 82 84 return $return; … … 112 114 113 115 $resultUnlink = UpdatemeHelper::call('api/websites/unlink', 'POST', $data); 114 115 acym_checkVersion();116 116 117 117 if (empty($resultUnlink) || !$resultUnlink['success']) { -
acymailing/tags/10.6.3/back/Controllers/Configuration/Listing.php
r3397048 r3398232 469 469 } 470 470 } 471 472 UpdatemeHelper::getLicenseInfo(); 471 473 } 472 474 } -
acymailing/tags/10.6.3/back/Controllers/Dashboard/Walkthrough.php
r3397048 r3398232 107 107 if (empty($return['success'])) { 108 108 $this->config->saveConfig(['license_key' => '']); 109 } else { 110 UpdatemeHelper::getLicenseInfo(); 109 111 } 110 112 -
acymailing/tags/10.6.3/back/Controllers/DashboardController.php
r3397904 r3398232 45 45 $splashJson = acym_fileGetContent(ACYM_NEW_FEATURES_SPLASHSCREEN_JSON); 46 46 $version = json_decode($splashJson); 47 if (version_compare($this->config->get('previous_version', '10.6. 2'), $version->max_version, '>=')) {47 if (version_compare($this->config->get('previous_version', '10.6.3'), $version->max_version, '>=')) { 48 48 @unlink(ACYM_NEW_FEATURES_SPLASHSCREEN_JSON); 49 49 $this->listing(); -
acymailing/tags/10.6.3/back/Controllers/UpdateController.php
r3397048 r3398232 5 5 use AcyMailing\Helpers\HeaderHelper; 6 6 use AcyMailing\Core\AcymController; 7 use AcyMailing\Helpers\UpdatemeHelper; 7 8 8 9 class UpdateController extends AcymController … … 10 11 public function checkForNewVersion(): void 11 12 { 12 $lastLicenseCheck = acym_checkVersion(true);13 UpdatemeHelper::getLicenseInfo(true); 13 14 $headerHelper = new HeaderHelper(); 14 15 … … 17 18 [ 18 19 'content' => $headerHelper->checkVersionArea(true), 19 'lastcheck' => acym_date( is_null($lastLicenseCheck) ? 'now' : $lastLicenseCheck, 'Y/m/d H:i'),20 'lastcheck' => acym_date('now', 'ACYM_DATE_FORMAT_LC2'), 20 21 ] 21 22 ); -
acymailing/tags/10.6.3/back/Core/wordpress/extension.php
r3397904 r3398232 31 31 'title' => acym_translation('ACYM_ARTICLE'), 32 32 'folder_name' => 'post', 33 'version' => '10.6. 2',33 'version' => '10.6.3', 34 34 'active' => '1', 35 35 'category' => 'Content management', … … 37 37 'uptodate' => '1', 38 38 'description' => '- Insert WordPress posts in your emails<br/>- Insert the latest posts of a category in an automatic email', 39 'latest_version' => '10.6. 2',39 'latest_version' => '10.6.3', 40 40 'type' => 'CORE', 41 41 ], … … 43 43 'title' => acym_translation('ACYM_PAGE'), 44 44 'folder_name' => 'page', 45 'version' => '10.6. 2',45 'version' => '10.6.3', 46 46 'active' => '1', 47 47 'category' => 'Content management', … … 49 49 'uptodate' => '1', 50 50 'description' => '- Insert pages in your emails', 51 'latest_version' => '10.6. 2',51 'latest_version' => '10.6.3', 52 52 'type' => 'CORE', 53 53 ], … … 55 55 'title' => acym_translation('ACYM_CREATE_USER'), 56 56 'folder_name' => 'createuser', 57 'version' => '10.6. 2',57 'version' => '10.6.3', 58 58 'active' => '1', 59 59 'category' => 'User management', … … 61 61 'uptodate' => '1', 62 62 'description' => '- Automatically creates a site user when an AcyMailing subscriber is created', 63 'latest_version' => '10.6. 2',63 'latest_version' => '10.6.3', 64 64 'type' => 'CORE', 65 65 ], -
acymailing/tags/10.6.3/back/Core/wordpress/security.php
r3397048 r3398232 236 236 } 237 237 238 function acym_checkVersion(bool $ajax = false): ?int239 {240 241 return null;242 }243 244 238 function acym_triggerCmsHook(string $action, array $args = [], bool $isAction = true) 245 239 { -
acymailing/tags/10.6.3/back/Helpers/HeaderHelper.php
r3397048 r3398232 209 209 210 210 $lastLicenseCheck = $this->config->get('lastlicensecheck', 0); 211 $time = time(); 212 $checking = ($time > $lastLicenseCheck + 604800) ? $checking = '1' : '0'; 213 if (empty($lastLicenseCheck)) $lastLicenseCheck = $time; 211 if (empty($lastLicenseCheck)) { 212 $lastLicenseCheck = time(); 213 } 214 215 $lastDateFormatted = acym_date($lastLicenseCheck, 'ACYM_DATE_FORMAT_LC2'); 214 216 215 217 return acym_tooltip( 216 218 [ 217 'hoveredText' => '<a id="checkVersionButton" type="button" class="grid-x align-center button_header medium-shrink acym_vcenter" data-check="'.acym_escape( 218 $checking 219 ).'"><i class="cell shrink acymicon-autorenew"></i></a>', 220 'textShownInTooltip' => acym_translation('ACYM_LAST_CHECK').' <span id="acym__check__version__last__check">'.acym_date($lastLicenseCheck, 'Y/m/d H:i').'</span>', 219 'hoveredText' => '<a id="checkVersionButton" type="button" class="grid-x align-center button_header medium-shrink acym_vcenter"><i class="cell shrink acymicon-autorenew"></i></a>', 220 'textShownInTooltip' => acym_translation('ACYM_LAST_CHECK').' <span id="acym__check__version__last__check">'.$lastDateFormatted.'</span>', 221 221 ] 222 222 ); -
acymailing/tags/10.6.3/back/Helpers/MailerHelper.php
r3397048 r3398232 570 570 foreach ($attachments as $oneAttach) { 571 571 $attach = new \stdClass(); 572 $attach->name = basename($oneAttach ->filename);573 $attach->filename = str_replace(['/', '\\'], DS, ACYM_ROOT).$oneAttach ->filename;574 $attach->url = ACYM_LIVE.$oneAttach ->filename;572 $attach->name = basename($oneAttach['filename']); 573 $attach->filename = str_replace(['/', '\\'], DS, ACYM_ROOT).$oneAttach['filename']; 574 $attach->url = ACYM_LIVE.$oneAttach['filename']; 575 575 $this->defaultMail[$mailId]->attach[] = $attach; 576 576 } -
acymailing/tags/10.6.3/back/Helpers/Update/Configuration.php
r3397904 r3398232 123 123 $allPref['Essential'] = ACYM_ESSENTIAL; 124 124 $allPref['Enterprise'] = ACYM_ENTERPRISE; 125 $allPref['previous_version'] = '10.6. 2';125 $allPref['previous_version'] = '10.6.3'; 126 126 127 127 $allPref['display_built_by'] = acym_level(ACYM_ESSENTIAL) ? 0 : 1; -
acymailing/tags/10.6.3/back/Helpers/UpdateHelper.php
r3397904 r3398232 22 22 23 23 private string $level = 'starter'; 24 private string $version = '10.6. 2';24 private string $version = '10.6.3'; 25 25 private string $previousVersion; 26 26 private bool $isUpdating = false; -
acymailing/tags/10.6.3/back/Helpers/UpdatemeHelper.php
r3397048 r3398232 53 53 } 54 54 55 public static function getLicenseInfo(bool $ajax ): ?int55 public static function getLicenseInfo(bool $ajax = false): void 56 56 { 57 57 ob_start(); 58 $config = acym_config( );58 $config = acym_config(true); 59 59 $url = 'public/getLicenseInfo'; 60 60 $url .= '?level='.urlencode(strtolower($config->get('level', 'starter'))); 61 if (acym_level(ACYM_ESSENTIAL) ) {61 if (acym_level(ACYM_ESSENTIAL) || $config->get('isTrial', 0) == 1) { 62 62 if ($config->get('different_admin_url_toggle', 0) === 1) { 63 63 $url .= '&domain='.$config->get('different_admin_url_value', 0); … … 78 78 [ 79 79 'content' => '<br/><span style="color:#C10000;">'.acym_translation('ACYM_ERROR_LOAD_FROM_ACYBA').'</span><br/>'.$result, 80 'lastcheck' => acym_date(time(), ' Y/m/d H:i'),80 'lastcheck' => acym_date(time(), 'ACYM_DATE_FORMAT_LC2'), 81 81 ], 82 82 false 83 83 ); 84 84 } else { 85 return null;85 return; 86 86 } 87 87 } … … 91 91 'expirationdate' => $userInformation['expiration'], 92 92 'lastlicensecheck' => time(), 93 'isTrial' => empty($userInformation['isTrial']) ? 0 : 1,94 93 ]; 94 95 $licenseKey = $config->get('license_key'); 96 if (!empty($licenseKey)) { 97 $newConfig['isTrial'] = empty($userInformation['isTrial']) ? 0 : 1; 98 } 95 99 96 100 $config->saveConfig($newConfig); 97 101 98 102 acym_checkPluginsVersion(); 99 100 return $newConfig['lastlicensecheck'];101 103 } 102 104 } -
acymailing/tags/10.6.3/back/Helpers/global/security.php
r3397048 r3398232 1 1 <?php 2 3 use AcyMailing\Helpers\UpdatemeHelper; 2 4 3 5 function acym_escape($text, bool $addSlashes = true): string … … 234 236 $expirationDate = $config->get('expirationdate', 0); 235 237 if (empty($expirationDate) || (time() - 604800) > $config->get('lastlicensecheck', 0)) { 236 acym_checkVersion();238 UpdatemeHelper::getLicenseInfo(); 237 239 $config = acym_config(true); 238 240 $expirationDate = $config->get('expirationdate', 0); -
acymailing/tags/10.6.3/index.php
r3397904 r3398232 6 6 * Author URI: https://www.acymailing.com 7 7 * License: GPLv3 8 * Version: 10.6. 28 * Version: 10.6.3 9 9 * Text Domain: acymailing 10 10 * Domain Path: /language -
acymailing/tags/10.6.3/language/acymailing.pot
r3397904 r3398232 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: AcyMailing 10.6. 2\n"3 "Project-Id-Version: AcyMailing 10.6.3\n" 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/acymailing\n" 5 5 "MIME-Version: 1.0\n" -
acymailing/tags/10.6.3/language/en-US.com_acym.ini
r3397904 r3398232 1 ACYM_VERSION="10.6. 2"1 ACYM_VERSION="10.6.3" 2 2 3 3 -
acymailing/tags/10.6.3/readme.txt
r3397904 r3398232 4 4 Requires at least: 5.5 5 5 Tested up to: 6.8 6 Stable tag: 10.6. 26 Stable tag: 10.6.3 7 7 Requires PHP: 7.4.0 8 8 License: GPLv3 … … 114 114 == Changelog == 115 115 116 = 10.6.2 - November 18, 2025 = 117 * We improved the v5 data migration script to handle websites with a large number of user groups. 116 = 10.6.3 - November 18, 2025 = 117 * The license is now correctly recognized when switching to another license key while in expired free trial period. 118 * We fixed an issue related to the attachments included in sent emails. 118 119 119 120 [See the whole changelog here.](https://www.acymailing.com/changelog) -
acymailing/tags/10.6.3/vendor/composer/installed.php
r3397904 r3398232 4 4 'pretty_version' => 'dev-develop', 5 5 'version' => 'dev-develop', 6 'reference' => ' f2f434263502f5a8ce4608dbadbc3604835229a0',6 'reference' => 'a30e87f4a38ebc9fbbf1669781dc0c7d29a00f1a', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-develop', 15 15 'version' => 'dev-develop', 16 'reference' => ' f2f434263502f5a8ce4608dbadbc3604835229a0',16 'reference' => 'a30e87f4a38ebc9fbbf1669781dc0c7d29a00f1a', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
acymailing/trunk/WpInit/Update.php
r3397048 r3398232 2 2 3 3 namespace AcyMailing\WpInit; 4 5 use AcyMailing\Helpers\UpdatemeHelper; 4 6 5 7 class Update … … 155 157 156 158 if (acym_level(ACYM_ESSENTIAL)) { 157 acym_checkVersion();159 UpdatemeHelper::getLicenseInfo(); 158 160 } 159 161 } -
acymailing/trunk/back/Controllers/Configuration/License.php
r3397048 r3398232 16 16 if ($resultUnlinkLicenseOnUpdateMe['success'] === true) { 17 17 $this->config->saveConfig(['license_key' => '']); 18 } 18 UpdatemeHelper::getLicenseInfo(); 19 } 20 19 21 20 22 if (!empty($resultUnlinkLicenseOnUpdateMe['message'])) { … … 42 44 if ($resultAttachLicenseOnUpdateMe['success'] === false) { 43 45 $this->config->saveConfig(['license_key' => '']); 46 } else { 47 UpdatemeHelper::getLicenseInfo(); 44 48 } 45 49 … … 77 81 $resultAttach = UpdatemeHelper::call('api/websites/attach', 'POST', $data); 78 82 79 acym_checkVersion();80 81 83 if (empty($resultAttach) || !$resultAttach['success']) { 82 84 return $return; … … 112 114 113 115 $resultUnlink = UpdatemeHelper::call('api/websites/unlink', 'POST', $data); 114 115 acym_checkVersion();116 116 117 117 if (empty($resultUnlink) || !$resultUnlink['success']) { -
acymailing/trunk/back/Controllers/Configuration/Listing.php
r3397048 r3398232 469 469 } 470 470 } 471 472 UpdatemeHelper::getLicenseInfo(); 471 473 } 472 474 } -
acymailing/trunk/back/Controllers/Dashboard/Walkthrough.php
r3397048 r3398232 107 107 if (empty($return['success'])) { 108 108 $this->config->saveConfig(['license_key' => '']); 109 } else { 110 UpdatemeHelper::getLicenseInfo(); 109 111 } 110 112 -
acymailing/trunk/back/Controllers/DashboardController.php
r3397904 r3398232 45 45 $splashJson = acym_fileGetContent(ACYM_NEW_FEATURES_SPLASHSCREEN_JSON); 46 46 $version = json_decode($splashJson); 47 if (version_compare($this->config->get('previous_version', '10.6. 2'), $version->max_version, '>=')) {47 if (version_compare($this->config->get('previous_version', '10.6.3'), $version->max_version, '>=')) { 48 48 @unlink(ACYM_NEW_FEATURES_SPLASHSCREEN_JSON); 49 49 $this->listing(); -
acymailing/trunk/back/Controllers/UpdateController.php
r3397048 r3398232 5 5 use AcyMailing\Helpers\HeaderHelper; 6 6 use AcyMailing\Core\AcymController; 7 use AcyMailing\Helpers\UpdatemeHelper; 7 8 8 9 class UpdateController extends AcymController … … 10 11 public function checkForNewVersion(): void 11 12 { 12 $lastLicenseCheck = acym_checkVersion(true);13 UpdatemeHelper::getLicenseInfo(true); 13 14 $headerHelper = new HeaderHelper(); 14 15 … … 17 18 [ 18 19 'content' => $headerHelper->checkVersionArea(true), 19 'lastcheck' => acym_date( is_null($lastLicenseCheck) ? 'now' : $lastLicenseCheck, 'Y/m/d H:i'),20 'lastcheck' => acym_date('now', 'ACYM_DATE_FORMAT_LC2'), 20 21 ] 21 22 ); -
acymailing/trunk/back/Core/wordpress/extension.php
r3397904 r3398232 31 31 'title' => acym_translation('ACYM_ARTICLE'), 32 32 'folder_name' => 'post', 33 'version' => '10.6. 2',33 'version' => '10.6.3', 34 34 'active' => '1', 35 35 'category' => 'Content management', … … 37 37 'uptodate' => '1', 38 38 'description' => '- Insert WordPress posts in your emails<br/>- Insert the latest posts of a category in an automatic email', 39 'latest_version' => '10.6. 2',39 'latest_version' => '10.6.3', 40 40 'type' => 'CORE', 41 41 ], … … 43 43 'title' => acym_translation('ACYM_PAGE'), 44 44 'folder_name' => 'page', 45 'version' => '10.6. 2',45 'version' => '10.6.3', 46 46 'active' => '1', 47 47 'category' => 'Content management', … … 49 49 'uptodate' => '1', 50 50 'description' => '- Insert pages in your emails', 51 'latest_version' => '10.6. 2',51 'latest_version' => '10.6.3', 52 52 'type' => 'CORE', 53 53 ], … … 55 55 'title' => acym_translation('ACYM_CREATE_USER'), 56 56 'folder_name' => 'createuser', 57 'version' => '10.6. 2',57 'version' => '10.6.3', 58 58 'active' => '1', 59 59 'category' => 'User management', … … 61 61 'uptodate' => '1', 62 62 'description' => '- Automatically creates a site user when an AcyMailing subscriber is created', 63 'latest_version' => '10.6. 2',63 'latest_version' => '10.6.3', 64 64 'type' => 'CORE', 65 65 ], -
acymailing/trunk/back/Core/wordpress/security.php
r3397048 r3398232 236 236 } 237 237 238 function acym_checkVersion(bool $ajax = false): ?int239 {240 241 return null;242 }243 244 238 function acym_triggerCmsHook(string $action, array $args = [], bool $isAction = true) 245 239 { -
acymailing/trunk/back/Helpers/HeaderHelper.php
r3397048 r3398232 209 209 210 210 $lastLicenseCheck = $this->config->get('lastlicensecheck', 0); 211 $time = time(); 212 $checking = ($time > $lastLicenseCheck + 604800) ? $checking = '1' : '0'; 213 if (empty($lastLicenseCheck)) $lastLicenseCheck = $time; 211 if (empty($lastLicenseCheck)) { 212 $lastLicenseCheck = time(); 213 } 214 215 $lastDateFormatted = acym_date($lastLicenseCheck, 'ACYM_DATE_FORMAT_LC2'); 214 216 215 217 return acym_tooltip( 216 218 [ 217 'hoveredText' => '<a id="checkVersionButton" type="button" class="grid-x align-center button_header medium-shrink acym_vcenter" data-check="'.acym_escape( 218 $checking 219 ).'"><i class="cell shrink acymicon-autorenew"></i></a>', 220 'textShownInTooltip' => acym_translation('ACYM_LAST_CHECK').' <span id="acym__check__version__last__check">'.acym_date($lastLicenseCheck, 'Y/m/d H:i').'</span>', 219 'hoveredText' => '<a id="checkVersionButton" type="button" class="grid-x align-center button_header medium-shrink acym_vcenter"><i class="cell shrink acymicon-autorenew"></i></a>', 220 'textShownInTooltip' => acym_translation('ACYM_LAST_CHECK').' <span id="acym__check__version__last__check">'.$lastDateFormatted.'</span>', 221 221 ] 222 222 ); -
acymailing/trunk/back/Helpers/MailerHelper.php
r3397048 r3398232 570 570 foreach ($attachments as $oneAttach) { 571 571 $attach = new \stdClass(); 572 $attach->name = basename($oneAttach ->filename);573 $attach->filename = str_replace(['/', '\\'], DS, ACYM_ROOT).$oneAttach ->filename;574 $attach->url = ACYM_LIVE.$oneAttach ->filename;572 $attach->name = basename($oneAttach['filename']); 573 $attach->filename = str_replace(['/', '\\'], DS, ACYM_ROOT).$oneAttach['filename']; 574 $attach->url = ACYM_LIVE.$oneAttach['filename']; 575 575 $this->defaultMail[$mailId]->attach[] = $attach; 576 576 } -
acymailing/trunk/back/Helpers/Update/Configuration.php
r3397904 r3398232 123 123 $allPref['Essential'] = ACYM_ESSENTIAL; 124 124 $allPref['Enterprise'] = ACYM_ENTERPRISE; 125 $allPref['previous_version'] = '10.6. 2';125 $allPref['previous_version'] = '10.6.3'; 126 126 127 127 $allPref['display_built_by'] = acym_level(ACYM_ESSENTIAL) ? 0 : 1; -
acymailing/trunk/back/Helpers/UpdateHelper.php
r3397904 r3398232 22 22 23 23 private string $level = 'starter'; 24 private string $version = '10.6. 2';24 private string $version = '10.6.3'; 25 25 private string $previousVersion; 26 26 private bool $isUpdating = false; -
acymailing/trunk/back/Helpers/UpdatemeHelper.php
r3397048 r3398232 53 53 } 54 54 55 public static function getLicenseInfo(bool $ajax ): ?int55 public static function getLicenseInfo(bool $ajax = false): void 56 56 { 57 57 ob_start(); 58 $config = acym_config( );58 $config = acym_config(true); 59 59 $url = 'public/getLicenseInfo'; 60 60 $url .= '?level='.urlencode(strtolower($config->get('level', 'starter'))); 61 if (acym_level(ACYM_ESSENTIAL) ) {61 if (acym_level(ACYM_ESSENTIAL) || $config->get('isTrial', 0) == 1) { 62 62 if ($config->get('different_admin_url_toggle', 0) === 1) { 63 63 $url .= '&domain='.$config->get('different_admin_url_value', 0); … … 78 78 [ 79 79 'content' => '<br/><span style="color:#C10000;">'.acym_translation('ACYM_ERROR_LOAD_FROM_ACYBA').'</span><br/>'.$result, 80 'lastcheck' => acym_date(time(), ' Y/m/d H:i'),80 'lastcheck' => acym_date(time(), 'ACYM_DATE_FORMAT_LC2'), 81 81 ], 82 82 false 83 83 ); 84 84 } else { 85 return null;85 return; 86 86 } 87 87 } … … 91 91 'expirationdate' => $userInformation['expiration'], 92 92 'lastlicensecheck' => time(), 93 'isTrial' => empty($userInformation['isTrial']) ? 0 : 1,94 93 ]; 94 95 $licenseKey = $config->get('license_key'); 96 if (!empty($licenseKey)) { 97 $newConfig['isTrial'] = empty($userInformation['isTrial']) ? 0 : 1; 98 } 95 99 96 100 $config->saveConfig($newConfig); 97 101 98 102 acym_checkPluginsVersion(); 99 100 return $newConfig['lastlicensecheck'];101 103 } 102 104 } -
acymailing/trunk/back/Helpers/global/security.php
r3397048 r3398232 1 1 <?php 2 3 use AcyMailing\Helpers\UpdatemeHelper; 2 4 3 5 function acym_escape($text, bool $addSlashes = true): string … … 234 236 $expirationDate = $config->get('expirationdate', 0); 235 237 if (empty($expirationDate) || (time() - 604800) > $config->get('lastlicensecheck', 0)) { 236 acym_checkVersion();238 UpdatemeHelper::getLicenseInfo(); 237 239 $config = acym_config(true); 238 240 $expirationDate = $config->get('expirationdate', 0); -
acymailing/trunk/index.php
r3397904 r3398232 6 6 * Author URI: https://www.acymailing.com 7 7 * License: GPLv3 8 * Version: 10.6. 28 * Version: 10.6.3 9 9 * Text Domain: acymailing 10 10 * Domain Path: /language -
acymailing/trunk/language/acymailing.pot
r3397904 r3398232 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: AcyMailing 10.6. 2\n"3 "Project-Id-Version: AcyMailing 10.6.3\n" 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/acymailing\n" 5 5 "MIME-Version: 1.0\n" -
acymailing/trunk/language/en-US.com_acym.ini
r3397904 r3398232 1 ACYM_VERSION="10.6. 2"1 ACYM_VERSION="10.6.3" 2 2 3 3 -
acymailing/trunk/readme.txt
r3397904 r3398232 4 4 Requires at least: 5.5 5 5 Tested up to: 6.8 6 Stable tag: 10.6. 26 Stable tag: 10.6.3 7 7 Requires PHP: 7.4.0 8 8 License: GPLv3 … … 114 114 == Changelog == 115 115 116 = 10.6.2 - November 18, 2025 = 117 * We improved the v5 data migration script to handle websites with a large number of user groups. 116 = 10.6.3 - November 18, 2025 = 117 * The license is now correctly recognized when switching to another license key while in expired free trial period. 118 * We fixed an issue related to the attachments included in sent emails. 118 119 119 120 [See the whole changelog here.](https://www.acymailing.com/changelog) -
acymailing/trunk/vendor/composer/installed.php
r3397904 r3398232 4 4 'pretty_version' => 'dev-develop', 5 5 'version' => 'dev-develop', 6 'reference' => ' f2f434263502f5a8ce4608dbadbc3604835229a0',6 'reference' => 'a30e87f4a38ebc9fbbf1669781dc0c7d29a00f1a', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-develop', 15 15 'version' => 'dev-develop', 16 'reference' => ' f2f434263502f5a8ce4608dbadbc3604835229a0',16 'reference' => 'a30e87f4a38ebc9fbbf1669781dc0c7d29a00f1a', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.