Changeset 3348569
- Timestamp:
- 08/22/2025 10:25:17 AM (8 months ago)
- Location:
- cookie-optimizer
- Files:
-
- 13 deleted
- 5 edited
- 47 copied
-
tags/1.0.7 (copied) (copied from cookie-optimizer/trunk)
-
tags/1.0.7/app/Includes/CookieOptBanner.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptBanner.php) (1 diff)
-
tags/1.0.7/app/Includes/CookieOptBannerPreview.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptBannerPreview.php)
-
tags/1.0.7/app/Includes/CookieOptBaseInc.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptBaseInc.php)
-
tags/1.0.7/app/Includes/CookieOptCookiePolicy.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptCookiePolicy.php)
-
tags/1.0.7/app/Includes/CookieOptDashboard.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptDashboard.php)
-
tags/1.0.7/app/Includes/CookieOptLanguages.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptLanguages.php)
-
tags/1.0.7/app/Includes/CookieOptOther.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptOther.php)
-
tags/1.0.7/app/Includes/CookieOptPermission.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptPermission.php)
-
tags/1.0.7/app/Includes/CookieOptPublishSettings.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptPublishSettings.php)
-
tags/1.0.7/app/Includes/CookieOptTagManagement.php (copied) (copied from cookie-optimizer/trunk/app/Includes/CookieOptTagManagement.php)
-
tags/1.0.7/app/Includes/FeatureManager/FeatureUser/CookieIOptPackageBase.php (copied) (copied from cookie-optimizer/trunk/app/Includes/FeatureManager/FeatureUser/CookieIOptPackageBase.php)
-
tags/1.0.7/app/Includes/FeatureManager/FeatureUser/CookieOptBasic.php (copied) (copied from cookie-optimizer/trunk/app/Includes/FeatureManager/FeatureUser/CookieOptBasic.php)
-
tags/1.0.7/app/Includes/FeatureManager/FeatureUser/CookieOptFree.php (copied) (copied from cookie-optimizer/trunk/app/Includes/FeatureManager/FeatureUser/CookieOptFree.php)
-
tags/1.0.7/app/Includes/FeatureManager/FeatureUser/CookieOptManager.php (copied) (copied from cookie-optimizer/trunk/app/Includes/FeatureManager/FeatureUser/CookieOptManager.php)
-
tags/1.0.7/app/Includes/FeatureManager/FeatureUser/CookieOptPro.php (copied) (copied from cookie-optimizer/trunk/app/Includes/FeatureManager/FeatureUser/CookieOptPro.php)
-
tags/1.0.7/app/Services/CookieOptBannerService.php (copied) (copied from cookie-optimizer/trunk/app/Services/CookieOptBannerService.php)
-
tags/1.0.7/app/Services/CookieOptDashboardService.php (copied) (copied from cookie-optimizer/trunk/app/Services/CookieOptDashboardService.php)
-
tags/1.0.7/app/Services/CookieOptPolicyServices.php (copied) (copied from cookie-optimizer/trunk/app/Services/CookieOptPolicyServices.php)
-
tags/1.0.7/app/Services/CookieOptPublishSettingsService.php (copied) (copied from cookie-optimizer/trunk/app/Services/CookieOptPublishSettingsService.php)
-
tags/1.0.7/app/Services/CookiePermissionService.php (copied) (copied from cookie-optimizer/trunk/app/Services/CookiePermissionService.php)
-
tags/1.0.7/app/Services/ViewHelper/CookieOptBannerView.php (deleted)
-
tags/1.0.7/constants.php (copied) (copied from cookie-optimizer/trunk/constants.php) (1 diff)
-
tags/1.0.7/cookie-opt.php (copied) (copied from cookie-optimizer/trunk/cookie-opt.php) (3 diffs)
-
tags/1.0.7/functions.php (copied) (copied from cookie-optimizer/trunk/functions.php)
-
tags/1.0.7/languages/cookie-opt-ja.mo (copied) (copied from cookie-optimizer/trunk/languages/cookie-opt-ja.mo)
-
tags/1.0.7/languages/cookie-opt-ja.po (copied) (copied from cookie-optimizer/trunk/languages/cookie-opt-ja.po)
-
tags/1.0.7/languages/cookie-opt.pot (copied) (copied from cookie-optimizer/trunk/languages/cookie-opt.pot)
-
tags/1.0.7/languages/cookie-optimizer-ja.mo (deleted)
-
tags/1.0.7/languages/cookie-optimizer-ja.po (deleted)
-
tags/1.0.7/languages/cookie-optimizer.mo (deleted)
-
tags/1.0.7/languages/cookie-optimizer.pot (deleted)
-
tags/1.0.7/package.json (deleted)
-
tags/1.0.7/public/assets/css/banner.css (deleted)
-
tags/1.0.7/public/assets/css/cookie_permission_custom.css (deleted)
-
tags/1.0.7/public/assets/css/dashboard.css (deleted)
-
tags/1.0.7/public/assets/css/page_policy_render.css (copied) (copied from cookie-optimizer/trunk/public/assets/css/page_policy_render.css)
-
tags/1.0.7/public/assets/css/policy.css (deleted)
-
tags/1.0.7/public/assets/css/publish_setting.css (deleted)
-
tags/1.0.7/public/assets/css/tag_management.css (deleted)
-
tags/1.0.7/public/build/assets/css/app.css (copied) (copied from cookie-optimizer/trunk/public/build/assets/css/app.css)
-
tags/1.0.7/public/build/assets/css/banner.css (copied) (copied from cookie-optimizer/trunk/public/build/assets/css/banner.css)
-
tags/1.0.7/public/build/assets/js/banner.js (copied) (copied from cookie-optimizer/trunk/public/build/assets/js/banner.js)
-
tags/1.0.7/public/build/assets/js/cookie-policy.js (copied) (copied from cookie-optimizer/trunk/public/build/assets/js/cookie-policy.js)
-
tags/1.0.7/public/build/assets/js/cookie-scan.js (copied) (copied from cookie-optimizer/trunk/public/build/assets/js/cookie-scan.js)
-
tags/1.0.7/public/build/assets/js/cookie_startup.js (copied) (copied from cookie-optimizer/trunk/public/build/assets/js/cookie_startup.js)
-
tags/1.0.7/public/build/manifest.json (copied) (copied from cookie-optimizer/trunk/public/build/manifest.json)
-
tags/1.0.7/readme.txt (copied) (copied from cookie-optimizer/trunk/readme.txt) (2 diffs)
-
tags/1.0.7/table/create_table.php (copied) (copied from cookie-optimizer/trunk/table/create_table.php)
-
tags/1.0.7/templates/banner/banner_main.php (copied) (copied from cookie-optimizer/trunk/templates/banner/banner_main.php)
-
tags/1.0.7/templates/banner/banner_preview.php (copied) (copied from cookie-optimizer/trunk/templates/banner/banner_preview.php)
-
tags/1.0.7/templates/cookie_permissions/cookie_permission_banner.php (deleted)
-
tags/1.0.7/templates/cookie_permissions/partials/cookie_opt_setting_data_setup.php (copied) (copied from cookie-optimizer/trunk/templates/cookie_permissions/partials/cookie_opt_setting_data_setup.php)
-
tags/1.0.7/templates/cookie_policy/cookie-policy-page-for-render.php (copied) (copied from cookie-optimizer/trunk/templates/cookie_policy/cookie-policy-page-for-render.php)
-
tags/1.0.7/templates/module/notice.php (copied) (copied from cookie-optimizer/trunk/templates/module/notice.php)
-
tags/1.0.7/templates/module/notice_up_plan.php (copied) (copied from cookie-optimizer/trunk/templates/module/notice_up_plan.php)
-
tags/1.0.7/templates/publish_setting/index.php (copied) (copied from cookie-optimizer/trunk/templates/publish_setting/index.php)
-
tags/1.0.7/uninstall.php (copied) (copied from cookie-optimizer/trunk/uninstall.php) (1 diff)
-
tags/1.0.7/vendor/composer/autoload_classmap.php (copied) (copied from cookie-optimizer/trunk/vendor/composer/autoload_classmap.php)
-
tags/1.0.7/vendor/composer/autoload_static.php (copied) (copied from cookie-optimizer/trunk/vendor/composer/autoload_static.php)
-
trunk/app/Includes/CookieOptBanner.php (modified) (1 diff)
-
trunk/constants.php (modified) (1 diff)
-
trunk/cookie-opt.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cookie-optimizer/tags/1.0.7/app/Includes/CookieOptBanner.php
r3347352 r3348569 204 204 if ($data_cookie['action'] == 1) { 205 205 return; 206 } 207 208 $condition_status = (bool)($banner['conditional']['status'] ?? false);209 $rules_show = $banner['conditional']['rules']['show'] ?? [];210 $rules_hide = $banner['conditional']['rules']['hide'] ?? []; 211 212 $anyMatch = function (array $rules): bool{213 foreach ($rules as $rule) {214 if ($this->CookiePermissionService->checkParam($rule)) {215 return true;206 } else { 207 $condition_status = (bool)($banner['conditional']['status'] ?? false); 208 $rules_show = $banner['conditional']['rules']['show'] ?? []; 209 $rules_hide = $banner['conditional']['rules']['hide'] ?? []; 210 211 $anyMatch = function (array $rules): bool { 212 foreach ($rules as $rule) { 213 if ($this->CookiePermissionService->checkParam($rule)) { 214 return true; 215 } 216 216 } 217 }218 return false;219 }; 220 221 if (!$condition_status) {222 $this->render_banner($banner);223 return;224 } 225 226 if (!empty($rules_hide) && $anyMatch($rules_hide)) {227 return;228 } 229 230 if (empty($rules_show) || $anyMatch($rules_show)) {231 $this->render_banner($banner);232 return;217 return false; 218 }; 219 220 if (!$condition_status) { 221 $this->render_banner($banner); 222 return; 223 } 224 225 if (!empty($rules_hide) && $anyMatch($rules_hide)) { 226 return; 227 } 228 229 if (empty($rules_show) || $anyMatch($rules_show)) { 230 $this->render_banner($banner); 231 return; 232 } 233 233 } 234 234 return; -
cookie-optimizer/tags/1.0.7/constants.php
r3347352 r3348569 2 2 3 3 // Plugin version and mode 4 define('VERSION', '1.0. 6');4 define('VERSION', '1.0.7'); 5 5 6 6 // Plugin directory details -
cookie-optimizer/tags/1.0.7/cookie-opt.php
r3347352 r3348569 12 12 * Plugin URI: https://manage.medipartner.jp 13 13 * Description: Cookieをユーザーに見える化し、各法律にする準拠バナー同意ソリューション 14 * Version: 1.0. 614 * Version: 1.0.7 15 15 * Requires at least: 5.3 16 16 * Requires PHP: 7.3 … … 51 51 * 52 52 * @class CookieOpt 53 * @version 1.0. 653 * @version 1.0.7 54 54 */ 55 55 class CookieOpt … … 76 76 */ 77 77 public $defaults = [ 78 'version' => '1.0. 6',78 'version' => '1.0.7', 79 79 ]; 80 80 -
cookie-optimizer/tags/1.0.7/readme.txt
r3347352 r3348569 5 5 Requires PHP: 7.3 6 6 Tested up to: 6.7 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.0. 6=67 = 1.0.7 = 68 68 Initial release 69 69 -
cookie-optimizer/tags/1.0.7/uninstall.php
r3347352 r3348569 19 19 * 20 20 * @link https://cookieoptimizer.net 21 * @since 1.0. 621 * @since 1.0.7 22 22 * 23 23 * @package Cookie Optimizer -
cookie-optimizer/trunk/app/Includes/CookieOptBanner.php
r3347352 r3348569 204 204 if ($data_cookie['action'] == 1) { 205 205 return; 206 } 207 208 $condition_status = (bool)($banner['conditional']['status'] ?? false);209 $rules_show = $banner['conditional']['rules']['show'] ?? [];210 $rules_hide = $banner['conditional']['rules']['hide'] ?? []; 211 212 $anyMatch = function (array $rules): bool{213 foreach ($rules as $rule) {214 if ($this->CookiePermissionService->checkParam($rule)) {215 return true;206 } else { 207 $condition_status = (bool)($banner['conditional']['status'] ?? false); 208 $rules_show = $banner['conditional']['rules']['show'] ?? []; 209 $rules_hide = $banner['conditional']['rules']['hide'] ?? []; 210 211 $anyMatch = function (array $rules): bool { 212 foreach ($rules as $rule) { 213 if ($this->CookiePermissionService->checkParam($rule)) { 214 return true; 215 } 216 216 } 217 }218 return false;219 }; 220 221 if (!$condition_status) {222 $this->render_banner($banner);223 return;224 } 225 226 if (!empty($rules_hide) && $anyMatch($rules_hide)) {227 return;228 } 229 230 if (empty($rules_show) || $anyMatch($rules_show)) {231 $this->render_banner($banner);232 return;217 return false; 218 }; 219 220 if (!$condition_status) { 221 $this->render_banner($banner); 222 return; 223 } 224 225 if (!empty($rules_hide) && $anyMatch($rules_hide)) { 226 return; 227 } 228 229 if (empty($rules_show) || $anyMatch($rules_show)) { 230 $this->render_banner($banner); 231 return; 232 } 233 233 } 234 234 return; -
cookie-optimizer/trunk/constants.php
r3347352 r3348569 2 2 3 3 // Plugin version and mode 4 define('VERSION', '1.0. 6');4 define('VERSION', '1.0.7'); 5 5 6 6 // Plugin directory details -
cookie-optimizer/trunk/cookie-opt.php
r3347352 r3348569 12 12 * Plugin URI: https://manage.medipartner.jp 13 13 * Description: Cookieをユーザーに見える化し、各法律にする準拠バナー同意ソリューション 14 * Version: 1.0. 614 * Version: 1.0.7 15 15 * Requires at least: 5.3 16 16 * Requires PHP: 7.3 … … 51 51 * 52 52 * @class CookieOpt 53 * @version 1.0. 653 * @version 1.0.7 54 54 */ 55 55 class CookieOpt … … 76 76 */ 77 77 public $defaults = [ 78 'version' => '1.0. 6',78 'version' => '1.0.7', 79 79 ]; 80 80 -
cookie-optimizer/trunk/readme.txt
r3347352 r3348569 5 5 Requires PHP: 7.3 6 6 Tested up to: 6.7 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.0. 6=67 = 1.0.7 = 68 68 Initial release 69 69 -
cookie-optimizer/trunk/uninstall.php
r3347352 r3348569 19 19 * 20 20 * @link https://cookieoptimizer.net 21 * @since 1.0. 621 * @since 1.0.7 22 22 * 23 23 * @package Cookie Optimizer
Note: See TracChangeset
for help on using the changeset viewer.