Changeset 3129566
- Timestamp:
- 08/01/2024 02:56:08 PM (19 months ago)
- Location:
- auto-install-free-ssl
- Files:
-
- 276 added
- 12 edited
-
tags/4.1.0 (added)
-
tags/4.1.0/FreeSSLAuto (added)
-
tags/4.1.0/FreeSSLAuto/src (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/AcmeV2.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/Base64UrlSafeEncoder.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/Client.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/ClientInterface.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/Factory.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Acme/openssl.cnf (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/AdminNotice.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/AutoDataEntry.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/Factory.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/ForceHttpsPage.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/ForceSSL.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/HomeOptions.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Admin/Log.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Controller.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Email.php (added)
-
tags/4.1.0/FreeSSLAuto/src/Logger.php (added)
-
tags/4.1.0/assets (added)
-
tags/4.1.0/assets/css (added)
-
tags/4.1.0/assets/css/aifs-admin.css (added)
-
tags/4.1.0/assets/img (added)
-
tags/4.1.0/assets/img/fire.webp (added)
-
tags/4.1.0/assets/img/icon.jpg (added)
-
tags/4.1.0/assets/img/ssl-error.jpg (added)
-
tags/4.1.0/assets/js (added)
-
tags/4.1.0/assets/js/script.js (added)
-
tags/4.1.0/auto-install-free-ssl.php (added)
-
tags/4.1.0/composer.json (added)
-
tags/4.1.0/composer.lock (added)
-
tags/4.1.0/freemius (added)
-
tags/4.1.0/freemius/LICENSE.txt (added)
-
tags/4.1.0/freemius/assets (added)
-
tags/4.1.0/freemius/assets/css (added)
-
tags/4.1.0/freemius/assets/css/admin (added)
-
tags/4.1.0/freemius/assets/css/admin/account.css (added)
-
tags/4.1.0/freemius/assets/css/admin/add-ons.css (added)
-
tags/4.1.0/freemius/assets/css/admin/affiliation.css (added)
-
tags/4.1.0/freemius/assets/css/admin/checkout.css (added)
-
tags/4.1.0/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/4.1.0/freemius/assets/css/admin/common.css (added)
-
tags/4.1.0/freemius/assets/css/admin/connect.css (added)
-
tags/4.1.0/freemius/assets/css/admin/debug.css (added)
-
tags/4.1.0/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/4.1.0/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/4.1.0/freemius/assets/css/admin/index.php (added)
-
tags/4.1.0/freemius/assets/css/admin/optout.css (added)
-
tags/4.1.0/freemius/assets/css/admin/plugins.css (added)
-
tags/4.1.0/freemius/assets/css/customizer.css (added)
-
tags/4.1.0/freemius/assets/css/index.php (added)
-
tags/4.1.0/freemius/assets/img (added)
-
tags/4.1.0/freemius/assets/img/auto-install-free-ssl.png (added)
-
tags/4.1.0/freemius/assets/img/index.php (added)
-
tags/4.1.0/freemius/assets/img/plugin-icon.png (added)
-
tags/4.1.0/freemius/assets/img/theme-icon.png (added)
-
tags/4.1.0/freemius/assets/index.php (added)
-
tags/4.1.0/freemius/assets/js (added)
-
tags/4.1.0/freemius/assets/js/index.php (added)
-
tags/4.1.0/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/4.1.0/freemius/assets/js/postmessage.js (added)
-
tags/4.1.0/freemius/config.php (added)
-
tags/4.1.0/freemius/includes (added)
-
tags/4.1.0/freemius/includes/class-freemius-abstract.php (added)
-
tags/4.1.0/freemius/includes/class-freemius.php (added)
-
tags/4.1.0/freemius/includes/class-fs-admin-notices.php (added)
-
tags/4.1.0/freemius/includes/class-fs-api.php (added)
-
tags/4.1.0/freemius/includes/class-fs-garbage-collector.php (added)
-
tags/4.1.0/freemius/includes/class-fs-lock.php (added)
-
tags/4.1.0/freemius/includes/class-fs-logger.php (added)
-
tags/4.1.0/freemius/includes/class-fs-options.php (added)
-
tags/4.1.0/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/4.1.0/freemius/includes/class-fs-security.php (added)
-
tags/4.1.0/freemius/includes/class-fs-storage.php (added)
-
tags/4.1.0/freemius/includes/class-fs-user-lock.php (added)
-
tags/4.1.0/freemius/includes/customizer (added)
-
tags/4.1.0/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/4.1.0/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/4.1.0/freemius/includes/customizer/index.php (added)
-
tags/4.1.0/freemius/includes/debug (added)
-
tags/4.1.0/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/4.1.0/freemius/includes/debug/debug-bar-start.php (added)
-
tags/4.1.0/freemius/includes/debug/index.php (added)
-
tags/4.1.0/freemius/includes/entities (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-billing.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-entity.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-payment.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-site.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/4.1.0/freemius/includes/entities/class-fs-user.php (added)
-
tags/4.1.0/freemius/includes/entities/index.php (added)
-
tags/4.1.0/freemius/includes/fs-core-functions.php (added)
-
tags/4.1.0/freemius/includes/fs-essential-functions.php (added)
-
tags/4.1.0/freemius/includes/fs-html-escaping-functions.php (added)
-
tags/4.1.0/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/4.1.0/freemius/includes/index.php (added)
-
tags/4.1.0/freemius/includes/l10n.php (added)
-
tags/4.1.0/freemius/includes/managers (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/4.1.0/freemius/includes/managers/index.php (added)
-
tags/4.1.0/freemius/includes/sdk (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/4.1.0/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/4.1.0/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/4.1.0/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/4.1.0/freemius/includes/sdk/LICENSE.txt (added)
-
tags/4.1.0/freemius/includes/sdk/index.php (added)
-
tags/4.1.0/freemius/includes/supplements (added)
-
tags/4.1.0/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/4.1.0/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/4.1.0/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/4.1.0/freemius/includes/supplements/index.php (added)
-
tags/4.1.0/freemius/index.php (added)
-
tags/4.1.0/freemius/languages (added)
-
tags/4.1.0/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/4.1.0/freemius/languages/freemius-da_DK.mo (added)
-
tags/4.1.0/freemius/languages/freemius-de_DE.mo (added)
-
tags/4.1.0/freemius/languages/freemius-es_ES.mo (added)
-
tags/4.1.0/freemius/languages/freemius-fr_FR.mo (added)
-
tags/4.1.0/freemius/languages/freemius-he_IL.mo (added)
-
tags/4.1.0/freemius/languages/freemius-hu_HU.mo (added)
-
tags/4.1.0/freemius/languages/freemius-it_IT.mo (added)
-
tags/4.1.0/freemius/languages/freemius-ja.mo (added)
-
tags/4.1.0/freemius/languages/freemius-nl_NL.mo (added)
-
tags/4.1.0/freemius/languages/freemius-ru_RU.mo (added)
-
tags/4.1.0/freemius/languages/freemius-ta.mo (added)
-
tags/4.1.0/freemius/languages/freemius-zh_CN.mo (added)
-
tags/4.1.0/freemius/languages/freemius.pot (added)
-
tags/4.1.0/freemius/languages/index.php (added)
-
tags/4.1.0/freemius/require.php (added)
-
tags/4.1.0/freemius/start.php (added)
-
tags/4.1.0/freemius/templates (added)
-
tags/4.1.0/freemius/templates/account (added)
-
tags/4.1.0/freemius/templates/account.php (added)
-
tags/4.1.0/freemius/templates/account/billing.php (added)
-
tags/4.1.0/freemius/templates/account/index.php (added)
-
tags/4.1.0/freemius/templates/account/partials (added)
-
tags/4.1.0/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/4.1.0/freemius/templates/account/partials/addon.php (added)
-
tags/4.1.0/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/4.1.0/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/4.1.0/freemius/templates/account/partials/index.php (added)
-
tags/4.1.0/freemius/templates/account/partials/site.php (added)
-
tags/4.1.0/freemius/templates/account/payments.php (added)
-
tags/4.1.0/freemius/templates/add-ons.php (added)
-
tags/4.1.0/freemius/templates/add-trial-to-pricing.php (added)
-
tags/4.1.0/freemius/templates/admin-notice.php (added)
-
tags/4.1.0/freemius/templates/ajax-loader.php (added)
-
tags/4.1.0/freemius/templates/api-connectivity-message-js.php (added)
-
tags/4.1.0/freemius/templates/auto-installation.php (added)
-
tags/4.1.0/freemius/templates/checkout.php (added)
-
tags/4.1.0/freemius/templates/clone-resolution-js.php (added)
-
tags/4.1.0/freemius/templates/connect (added)
-
tags/4.1.0/freemius/templates/connect.php (added)
-
tags/4.1.0/freemius/templates/connect/index.php (added)
-
tags/4.1.0/freemius/templates/connect/permission.php (added)
-
tags/4.1.0/freemius/templates/connect/permissions-group.php (added)
-
tags/4.1.0/freemius/templates/contact.php (added)
-
tags/4.1.0/freemius/templates/debug (added)
-
tags/4.1.0/freemius/templates/debug.php (added)
-
tags/4.1.0/freemius/templates/debug/api-calls.php (added)
-
tags/4.1.0/freemius/templates/debug/index.php (added)
-
tags/4.1.0/freemius/templates/debug/logger.php (added)
-
tags/4.1.0/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/4.1.0/freemius/templates/debug/scheduled-crons.php (added)
-
tags/4.1.0/freemius/templates/email.php (added)
-
tags/4.1.0/freemius/templates/forms (added)
-
tags/4.1.0/freemius/templates/forms/affiliation.php (added)
-
tags/4.1.0/freemius/templates/forms/data-debug-mode.php (added)
-
tags/4.1.0/freemius/templates/forms/deactivation (added)
-
tags/4.1.0/freemius/templates/forms/deactivation/contact.php (added)
-
tags/4.1.0/freemius/templates/forms/deactivation/form.php (added)
-
tags/4.1.0/freemius/templates/forms/deactivation/index.php (added)
-
tags/4.1.0/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/4.1.0/freemius/templates/forms/email-address-update.php (added)
-
tags/4.1.0/freemius/templates/forms/index.php (added)
-
tags/4.1.0/freemius/templates/forms/license-activation.php (added)
-
tags/4.1.0/freemius/templates/forms/optout.php (added)
-
tags/4.1.0/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/4.1.0/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/4.1.0/freemius/templates/forms/resend-key.php (added)
-
tags/4.1.0/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/4.1.0/freemius/templates/forms/trial-start.php (added)
-
tags/4.1.0/freemius/templates/forms/user-change.php (added)
-
tags/4.1.0/freemius/templates/gdpr-optin-js.php (added)
-
tags/4.1.0/freemius/templates/index.php (added)
-
tags/4.1.0/freemius/templates/js (added)
-
tags/4.1.0/freemius/templates/js/index.php (added)
-
tags/4.1.0/freemius/templates/js/jquery.content-change.php (added)
-
tags/4.1.0/freemius/templates/js/open-license-activation.php (added)
-
tags/4.1.0/freemius/templates/js/permissions.php (added)
-
tags/4.1.0/freemius/templates/js/style-premium-theme.php (added)
-
tags/4.1.0/freemius/templates/partials (added)
-
tags/4.1.0/freemius/templates/partials/index.php (added)
-
tags/4.1.0/freemius/templates/partials/network-activation.php (added)
-
tags/4.1.0/freemius/templates/plugin-icon.php (added)
-
tags/4.1.0/freemius/templates/plugin-info (added)
-
tags/4.1.0/freemius/templates/plugin-info/description.php (added)
-
tags/4.1.0/freemius/templates/plugin-info/features.php (added)
-
tags/4.1.0/freemius/templates/plugin-info/index.php (added)
-
tags/4.1.0/freemius/templates/plugin-info/screenshots.php (added)
-
tags/4.1.0/freemius/templates/powered-by.php (added)
-
tags/4.1.0/freemius/templates/pricing.php (added)
-
tags/4.1.0/freemius/templates/secure-https-header.php (added)
-
tags/4.1.0/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/4.1.0/freemius/templates/tabs-capture-js.php (added)
-
tags/4.1.0/freemius/templates/tabs.php (added)
-
tags/4.1.0/index.php (added)
-
tags/4.1.0/languages (added)
-
tags/4.1.0/languages/index.php (added)
-
tags/4.1.0/license.txt (added)
-
tags/4.1.0/readme.txt (added)
-
tags/4.1.0/vendor (added)
-
tags/4.1.0/vendor/autoload.php (added)
-
tags/4.1.0/vendor/bin (added)
-
tags/4.1.0/vendor/composer (added)
-
tags/4.1.0/vendor/composer/ClassLoader.php (added)
-
tags/4.1.0/vendor/composer/InstalledVersions.php (added)
-
tags/4.1.0/vendor/composer/LICENSE (added)
-
tags/4.1.0/vendor/composer/autoload_classmap.php (added)
-
tags/4.1.0/vendor/composer/autoload_files.php (added)
-
tags/4.1.0/vendor/composer/autoload_namespaces.php (added)
-
tags/4.1.0/vendor/composer/autoload_psr4.php (added)
-
tags/4.1.0/vendor/composer/autoload_real.php (added)
-
tags/4.1.0/vendor/composer/autoload_static.php (added)
-
tags/4.1.0/vendor/composer/installed.json (added)
-
tags/4.1.0/vendor/composer/installed.php (added)
-
tags/4.1.0/vendor/composer/platform_check.php (added)
-
tags/4.1.0/vendor/indigophp (added)
-
tags/4.1.0/vendor/indigophp/hash-compat (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/CHANGELOG.md (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/LICENSE (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/README.md (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/Vagrantfile (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/composer.json (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/src (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/src/hash_equals.php (added)
-
tags/4.1.0/vendor/indigophp/hash-compat/src/hash_pbkdf2.php (added)
-
tags/4.1.0/vendor/usrflo (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/.gitignore (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP/effectiveTLDs.inc.php (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP/regDomain.class.php (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP/regDomain.inc.php (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.php (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.sh (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/README.txt (added)
-
tags/4.1.0/vendor/usrflo/registered-domain-libs/generateEffectiveTLDs.php (added)
-
trunk/FreeSSLAuto/src/Acme/Client.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Acme/Factory.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Admin/Factory.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (modified) (3 diffs)
-
trunk/FreeSSLAuto/src/Admin/HomeOptions.php (modified) (2 diffs)
-
trunk/assets/css/aifs-admin.css (modified) (1 diff)
-
trunk/auto-install-free-ssl.php (modified) (3 diffs)
-
trunk/freemius/assets/css/admin/dialog-boxes.css (modified) (1 diff)
-
trunk/freemius/includes/class-freemius.php (modified) (2 diffs)
-
trunk/freemius/start.php (modified) (1 diff)
-
trunk/freemius/templates/connect.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/Client.php
r3096222 r3129566 93 93 $data = json_decode( $body, true ); 94 94 $result = ( null === $data ? $body : $data ); 95 if ( is_array( $result ) ) { 96 $result['curlinfo_http_code'] = $this->lastCode; 97 } 95 98 //Valid / expected status code 96 99 $expected_status_codes = [ -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/Factory.php
r3096222 r3129566 38 38 39 39 public $organization; 40 41 public $certificatesBase; 42 43 public $acme_version; 44 45 public $is_staging; 40 46 41 47 public function __construct( $certificatesBase, $acme_version, $is_staging ) { -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/Factory.php
r3096222 r3129566 1289 1289 } 1290 1290 1291 /** 1292 * Check if the provided string is an IP address 1293 * @param $domain 1294 * 1295 * @return bool 1296 * @since 4.1.0 1297 */ 1298 public function is_ip_address( $domain ) { 1299 $domain = trim( $domain ); 1300 // Trim any whitespace from the input 1301 if ( filter_var( $domain, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) { 1302 return true; 1303 } elseif ( filter_var( $domain, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 ) ) { 1304 return true; 1305 } 1306 return false; 1307 } 1308 1309 /** 1310 * Check if the provided string is a localhost 1311 * @param $domain 1312 * 1313 * @return bool 1314 * @since 4.1.0 1315 */ 1316 public function is_localhost( $domain ) { 1317 $domain = trim( $domain ); 1318 // Trim any whitespace from the input 1319 $localhost = [ 1320 'localhost', 1321 '127.0.0.1', 1322 '::1', 1323 '0000:0000:0000:0000:0000:0000:0000:0001', 1324 '0:0:0:0:0:0:0:1' 1325 ]; 1326 if ( in_array( $domain, $localhost ) ) { 1327 return true; 1328 } 1329 if ( filter_var( $domain, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) { 1330 // Check if the IP address starts with '127.' 1331 if ( strpos( $domain, '127.' ) !== false && strpos( $domain, '127.' ) === 0 ) { 1332 return true; 1333 } 1334 } 1335 //@todo try to connect online -> but it won't work. Even localhost IP can be connected. 1336 return false; 1337 } 1338 1291 1339 } -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php
r3096222 r3129566 166 166 167 167 <?= aifs_header() ?> 168 169 <?php 170 if(!$tos && !isset($this->return_array_step1['current_step_number']) && !isset( $_POST['aifs_challenge_type'] )) { 171 //Step no. is 1 172 $domain = aifs_get_domain( true ); 173 174 $server_ip = aifs_ip_of_this_server(); 175 if ( ( $server_ip && $this->factory->is_localhost( $server_ip ) ) || $this->factory->is_localhost( $domain ) ) { 176 echo '<div class="aifs-ip-address">'; 177 /* translators: %s: an IP address, e.g., 127.0.0.1 */ 178 echo '<strong>' . sprintf( __( "Your WordPress website is hosted on a local server (localhost): %s", 'auto-install-free-ssl' ), $domain ) . '</strong>'; 179 /* translators: "Let's Encrypt™" is a nonprofit SSL certificate authority. */ 180 echo '<p>' . __( "Let's Encrypt™ does not issue SSL certificates for localhost. Let's Encrypt™ certificates are designed for public domain names, which need to be accessible over the internet for the validation process. Since localhost is not a publicly accessible domain but rather a hostname used for local development, it cannot be validated by Let's Encrypt™.", 'auto-install-free-ssl' ) . '</p>'; 181 //echo '<p>' . __("You can create a self-signed certificate for local development environments, which secures your local connections without requiring validation from a Certificate Authority (CA).", 'auto-install-free-ssl') . '</p>'; 182 //echo '<p>' . sprintf(__('%1$sNote:%2$s Browsers do not trust self-signed certificates by default, so you may need to add exceptions in your browser to avoid security warnings during local development.', 'auto-install-free-ssl'), '<strong>', '</strong>') . '</p>'; 183 184 echo '<div class="aifs-ip-address-inner">'; 185 echo "After you complete developing the website in this local development environment, please do the following to secure your website:<br />"; 186 echo "<ol>"; 187 echo "<li>Use an existing web hosting server or purchase one, which should be publicly accessible online.</li>"; 188 echo "<li>Use an existing domain name or purchase a domain name.</li>"; 189 echo "<li>Associate the domain name with the IP address or nameservers of the web hosting server, i.e., set A record or NS records.</li>"; 190 echo "<li>Migrate the website from this local development environment to the web hosting server using a Migration and Backup Plugin like 'Duplicator'.</li>"; 191 echo "<li>If necessary, replace '" . $domain . "' with the domain name from all database tables using a plugin like 'Better Search Replace'.</li>"; 192 echo "</ol>"; 193 echo "<br /><strong>After you complete the above steps, please try generating an SSL certificate with this plugin.</strong>"; 194 echo '</div>'; 195 echo '</div>'; 196 } else if ( $this->factory->is_ip_address( $domain ) ) { 197 echo '<div class="aifs-ip-address">'; 198 /* translators: %s: an IP address, e.g., 127.0.0.1 */ 199 echo '<strong>' . sprintf( __( "Your WordPress website is hosted directly on the IP address: %s", 'auto-install-free-ssl' ), $domain ) . '</strong>'; 200 /* translators: "Let's Encrypt™" is a nonprofit SSL certificate authority. */ 201 echo '<p>' . __( "Let's Encrypt™ issues SSL certificates for domain names rather than bare IP addresses. Free SSL certificates are designed to secure domain names, providing encrypted connections between users and websites. Using SSL certificates with domain names is considered the industry's best practice.", 'auto-install-free-ssl' ) . '</p>'; 202 //echo '<p>' . __("If you're looking to secure a website, it's recommended to associate a domain name with the IP address rather than using the bare IP address. This enhances the user experience and aligns with security and usability standards.", 'auto-install-free-ssl') . '</p>'; 203 204 echo '<div class="aifs-ip-address-inner">'; 205 echo "Please do the following first to secure your website:<br />"; 206 echo "<ol>"; 207 echo "<li>Use an existing domain name or purchase a domain name.</li>"; 208 echo "<li>Associate the domain name with this IP address, i.e., set A record.</li>"; 209 echo "<li>Then open <a href='" . admin_url( 'options-general.php' ) . "' target='_blank'>General Settings</a>, update 'WordPress Address (URL)', & 'Site Address (URL)' with the domain name, and click the 'Save Changes' button.</li>"; 210 echo "<li>Replace this IP address (" . $domain . ") with the domain name from all database tables using a plugin like 'Better Search Replace'.</li>"; 211 echo "</ol>"; 212 echo "<br /><strong>After you complete the above steps, please try generating an SSL certificate with this plugin.</strong>"; 213 echo '</div>'; 214 echo '</div>'; 215 } 216 } 217 ?> 168 218 169 219 <table style="width: 100%; margin-bottom: 2%;"> … … 793 843 'domain' => $domain, 794 844 'serveralias' => 'www.'.$domain, 795 'documentroot' => $this->factory->document_root_wp() 845 'documentroot' => $this->factory->document_root_wp() //@todo 20 June 2024, this is creating issue. Check FreeSSLAuto.php what happens there. 796 846 ]; 797 847 798 848 $controller = new Controller(); 799 //domains array 800 $domains_array = $controller->domainsArray( $single_domain, $this->appConfig['domains_to_exclude'] ); 849 $domains_array_raw = $controller->domains_array_raw($single_domain); 850 //domains array 851 $domains_array = $controller->domainsArray( $domains_array_raw, $this->appConfig['domains_to_exclude'] ); 801 852 802 853 /*if(!is_array($this->appConfig['admin_email'])){ … … 821 872 //$freessl->obtainSsl($domains_array, $single_domain['documentroot'], false, $this->appConfig['country_code'], $this->appConfig['state'], $this->appConfig['organization']); 822 873 823 $return_array_step1 = $freessl->step1GetAuthenticationTokens( $domains_array, $single_domain['documentroot'], false, $this->appConfig['country_code'], $this->appConfig['state'], $this->appConfig['organization'] ); 874 $return_array_step1 = $freessl->step1GetAuthenticationTokens( $domains_array, $single_domain['documentroot'], false, $this->appConfig['country_code'], $this->appConfig['state'], $this->appConfig['organization'] ); 875 876 //20 June 2024 - delete after test 877 //$this->logger->log( '<pre>' . print_r( $return_array_step1, true ) . '</pre>' ); 878 879 $expected_status_codes = [200, 201, 202, 204]; 880 881 if (!in_array($return_array_step1['response']['curlinfo_http_code'], $expected_status_codes, true)) { 882 $error_text = "<span style='color: red;'>"; 883 $error_text .= "Oops! Let's Encrypt™ server returned an error; it is given below."; 884 $error_text .= "</span>"; 885 $error_text .= " <span style='font-weight: bold;'>". __( "Please check the log for details information.", 'auto-install-free-ssl' ) ."</span> "; 886 887 /* translators: %1$s: Opening HTML 'a' tag; %2$s: Closing 'a' tag (Opening and closing 'a' tags create a hyperlink with the enclosed text.) */ 888 $error_text .= sprintf( __( 'Please try again after some time and %1$sclick here%2$s if you need help.', 'auto-install-free-ssl' ), '<a href="https://freessl.tech/free-ssl-certificate-for-wordpress-website/#help" target="_blank">', '</a>' ) . "<br />"; 889 890 $error_text .= '<pre>'. print_r($return_array_step1, true) .'</pre>'; 891 892 aifs_add_flash_notice($error_text, "error"); 893 $redirect_url = admin_url('admin.php?page=aifs_generate_ssl_manually'); 894 wp_redirect($redirect_url); 895 exit; 896 } 897 824 898 $return_array_step1['domains_array'] = $domains_array; 825 899 $return_array_step1['current_step_number'] = 2; 826 827 /*if ( ! get_option( 'aifs_return_array_step1_manually' ) ) {828 add_option( 'aifs_return_array_step1_manually', $return_array_step1 );829 } else {*/830 900 update_option( 'aifs_return_array_step1_manually', $return_array_step1 ); 831 /*}*/832 901 $this->return_array_step1 = $return_array_step1; 833 902 -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php
r3096222 r3129566 873 873 $contact_link = aifssl_fs()->contact_url(); 874 874 echo '<h1 style="text-align: center;">' . $heading . '</h1>'; 875 echo '<br /><h3 style="color: #076507; text-align: center;">' . __( "Now, please deactivate this FREE version. Then download, install & activate the premium version and enjoy!", 'auto-install-free-ssl' ) . '</h3>'; 875 //echo '<br /><h3 style="color: #076507; text-align: center;">' . __( "Now, please deactivate this FREE version. Then download, install & activate the premium version and enjoy!", 'auto-install-free-ssl' ) . '</h3>'; 876 echo '<br /><h2 style="color: #076507; text-align: center;">Now, please download the premium version and deactivate this FREE version.</h2>'; 877 echo '<h3 style="color: #076507; text-align: center;">Then install & activate the premium version and do the one-time setup!</h3>'; 876 878 echo '<div style="text-align: left; margin-top: 3%; margin-left: 18%;">'; 877 879 echo '<p>' . __( "If you missed downloading the Pro version of this plugin, you could download it using any of the following options", 'auto-install-free-ssl' ) . ':</p>'; … … 887 889 /* translators: %s: HTML code to create a hyperlink with the text 'Contact Us'. */ 888 890 echo '<p style="text-align: center;">' . sprintf( __( "Any issues? %sContact Us%s right away. We'll be happy to help you.", 'auto-install-free-ssl' ), '<a href="' . $contact_link . '">', '</a>' ) . '</p>'; 891 echo '<br /><hr /><hr /><h1 style="color: #076507; text-align: center; font-weight: bold;">Troubleshooting</h1>'; 892 echo '<div style="text-align: left; margin-top: 3%; margin-left: 18%;">'; 893 echo '<p>When activating the premium plugin (Pro version), you might encounter errors such as:</p>'; 894 echo '<p><code>Plugin could not be activated because it triggered a <strong>fatal error</strong>.</code></pre>'; 895 echo '<p>Or:</p>'; 896 echo '<p><code><strong>Fatal error:</strong> Cannot redeclare aifs_home_menu() (previously declared in /home/username/public_html/wp-content/plugins/auto-install-free-ssl/auto-install-free-ssl.php:151) in /home/username/public_html/wp-content/plugins/auto-install-free-ssl-premium/auto-install-free-ssl.php on line 153</code></p>'; 897 echo '<h3 style="color: #076507; text-align: left;">Solution</h3>'; 898 echo '<p>Fixing this issue is straightforward. Please follow these steps:</p>'; 899 echo '<ul style="margin-left: 2%;">'; 900 echo '<li>A. <strong>Deactivate the free plugin:</strong>'; 901 echo '<ol>'; 902 echo '<li>Navigate to your WordPress dashboard.</li>'; 903 echo '<li>Go to Plugins > Installed Plugins.</li>'; 904 echo '<li>Find the \'Auto-Install Free SSL\' plugin and click <strong>Deactivate</strong>.</li>'; 905 echo '</ol></li><br />'; 906 echo '<li>B. <strong>Activate the premium plugin:</strong>'; 907 echo '<ol>'; 908 echo '<li>In the same \'Installed Plugins\' section, find the \'Auto-Install Free SSL (Premium)\' plugin and click <strong>Activate</strong>.</li>'; 909 echo '</ol></li>'; 910 echo '</ul>'; 911 echo '<p>Following these steps should resolve the error, allowing you to activate and use the premium plugin without any issues.</p><br />'; 912 echo '</div>'; 889 913 ?> 890 914 </td> -
auto-install-free-ssl/trunk/assets/css/aifs-admin.css
r3096222 r3129566 727 727 color: green; 728 728 } 729 730 /* If domain is IP address */ 731 .aifs-ip-address { 732 width: 100%; 733 background: #ff0000; 734 color: white; 735 font-size: medium; 736 padding: 25px 30px; 737 box-sizing: border-box; 738 border-radius: 6px; 739 margin-bottom: 3%; 740 } 741 742 .aifs-ip-address p { 743 font-size: 0.9em; 744 background: white; 745 color: black; 746 padding: 5px 7px; 747 } 748 749 .aifs-ip-address-inner{ 750 font-size: 0.9em; 751 background: white; 752 color: black; 753 padding: 5px 7px; 754 margin-left: 20px; 755 } -
auto-install-free-ssl/trunk/auto-install-free-ssl.php
r3096222 r3129566 7 7 * Plugin URI: https://freessl.tech 8 8 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders. 9 * Version: 4. 0.09 * Version: 4.1.0 10 10 * Requires at least: 4.1 11 11 * Requires PHP: 5.6 … … 505 505 506 506 /** 507 * Get IPv4 o f this server508 * improved since 3.6.4507 * Get IPv4 or IPv6 of this server 508 * improved since 4.1.0 509 509 * @return mixed|string 510 510 * @since 3.6.0 511 511 */ 512 512 function aifs_ip_of_this_server() { 513 $serverIP = false; 513 514 if ( isset( $_SERVER['SERVER_ADDR'] ) ) { 514 515 $serverIP = $_SERVER['SERVER_ADDR']; … … 522 523 $serverIP = $ip; 523 524 } else { 524 // Fallback to dns_get_record if gethostbyname didn't return a valid IP 525 $records = dns_get_record( $websiteAddress, DNS_A ); 526 $serverIP = ( isset( $records[0]['ip'] ) ? $records[0]['ip'] : '' ); 525 if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 ) ) { 526 $serverIP = $ip; 527 } else { 528 // Fallback to dns_get_record if gethostbyname didn't return a valid IP 529 $records = dns_get_record( $websiteAddress, DNS_A ); 530 $serverIP = ( isset( $records[0]['ip'] ) ? $records[0]['ip'] : '' ); 531 } 527 532 } 528 533 } 529 if ( $serverIP && filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ) {534 if ( $serverIP && (filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) || filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 )) ) { 530 535 return $serverIP; 531 536 } else { -
auto-install-free-ssl/trunk/freemius/assets/css/admin/dialog-boxes.css
r3096222 r3129566 1 .fs-modal{background:rgba(0,0,0,.6);display:none;height:100%;overflow:auto;position:fixed;top:0;width:100%;z-index:100000}@media(min-width:961px){.fs-modal{padding-left:160px}.rtl .fs-modal{padding-left:0;padding-right:160px}}.fs-modal .dashicons{vertical-align:middle}.fs-modal .fs-modal-dialog{background:transparent;left:50%;margin-left:-298px;padding-bottom:30px;position:absolute;top:-100%;width:596px;z-index:100001}@media(max-width:650px){.fs-modal .fs-modal-dialog{box-sizing:border-box;margin-left:-50%;padding-left:10px;padding-right:10px;width:100%}.fs-modal .fs-modal-dialog .fs-modal-panel>h3>strong{font-size:1.3em}}.fs-modal.active,.fs-modal.active:before{display:block}.fs-modal.active .fs-modal-dialog{top:10%}.fs-modal.fs-success .fs-modal-header{border-bottom-color:#46b450}.fs-modal.fs-success .fs-modal-body{background-color:#f7fff7}.fs-modal.fs-warn .fs-modal-header{border-bottom-color:#ffb900}.fs-modal.fs-warn .fs-modal-body{background-color:#fff8e5}.fs-modal.fs-error .fs-modal-header{border-bottom-color:#dc3232}.fs-modal.fs-error .fs-modal-body{background-color:#ffeaea}.fs-modal .fs-modal-body,.fs-modal .fs-modal-footer{background:#fefefe;border:0;padding:20px}.fs-modal .fs-modal-header{background:#fbfbfb;border-bottom:1px solid #eee;margin-bottom:-10px;padding:15px 20px;position:relative}.fs-modal .fs-modal-header h4{color:#cacaca;font-size:1.2em;font-weight:700;letter-spacing:.6px;margin:0;padding:0;text-shadow:1px 1px 1px #fff;text-transform:uppercase;-webkit-font-smoothing:antialiased}.fs-modal .fs-modal-header .fs-close{border-radius:20px;color:#bbb;cursor:pointer;padding:3px;position:absolute;right:10px;top:12px;transition:all .2s ease-in-out}.fs-modal .fs-modal-header .fs-close:hover{background:#aaa;color:#fff}.fs-modal .fs-modal-header .fs-close .dashicons,.fs-modal .fs-modal-header .fs-close:hover .dashicons{text-decoration:none}.fs-modal .fs-modal-body{border-bottom:0}.fs-modal .fs-modal-body p{font-size:14px}.fs-modal .fs-modal-body h2{font-size:20px;line-height:1.5em}.fs-modal .fs-modal-body>div{margin-top:10px}.fs-modal .fs-modal-body>div h2{font-size:20px;font-weight:700;margin-top:0}.fs-modal .fs-modal-footer{border-top:1px solid #eee;text-align:right}.fs-modal .fs-modal-footer>.button{margin:0 7px}.fs-modal .fs-modal-footer>.button:last-of-type{margin:0}.fs-modal .fs-modal-panel>.notice.inline{display:none;margin:0}.fs-modal .fs-modal-panel:not(.active){display:none}.rtl .fs-modal .fs-modal-header .fs-close{left:20px;right:auto}.rtl .fs-modal .fs-modal-footer{text-align:left}body.has-fs-modal{overflow:hidden}.fs-modal.fs-modal-deactivation-feedback .internal-message,.fs-modal.fs-modal-deactivation-feedback .reason-input{margin:3px 0 3px 22px}.fs-modal.fs-modal-deactivation-feedback .internal-message input,.fs-modal.fs-modal-deactivation-feedback .internal-message textarea,.fs-modal.fs-modal-deactivation-feedback .reason-input input,.fs-modal.fs-modal-deactivation-feedback .reason-input textarea{width:100%}.fs-modal.fs-modal-deactivation-feedback li.reason.has-internal-message .internal-message{border:1px solid #ccc;display:none;padding:7px}@media(max-width:650px){.fs-modal.fs-modal-deactivation-feedback li.reason li.reason{margin-bottom:10px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .internal-message,.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .reason-input{margin-left:29px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label{display:table}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label>span{display:table-cell;font-size:1.3em}}.fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label,.fs-modal.fs-modal-deactivation-feedback .feedback-from-snooze-label{float:left;line-height:30px}.rtl .fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label,.rtl .fs-modal.fs-modal-deactivation-feedback .feedback-from-snooze-label{float:right}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel{margin-top:0!important}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel h3{ line-height:1.5em;margin-top:0}#the-list .deactivate>.fs-slug{display:none}.fs-modal.fs-modal-subscription-cancellation .fs-price-increase-warning{color:red;font-weight:700;margin-bottom:0;padding:0 25px}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:left;position:relative;top:5px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:right}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{display:block;margin-left:24px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{margin-left:0;margin-right:24px}.fs-license-options-container table,.fs-license-options-container table .fs-available-license-key,.fs-license-options-container table select,.fs-modal.fs-modal-license-activation .fs-modal-body input.fs-license-key{width:100%}.fs-license-options-container table td:first-child{width:1%}.fs-license-options-container table .fs-other-license-key-container label{float:left;margin-right:5px;position:relative;top:6px}.fs-license-options-container table .fs-other-license-key-container div{display:block;height:30px;overflow:hidden;position:relative;top:2px;width:auto}.fs-license-options-container table .fs-other-license-key-container div input{margin:0}.fs-sites-list-container td{cursor:pointer}.fs-modal.fs-modal-user-change .fs-modal-body input#fs_other_email_address{width:100%}.fs-user-change-options-container table{border-collapse:collapse;width:100%}.fs-user-change-options-container table tr{display:block;margin-bottom:2px}.fs-user-change-options-container table .fs-email-address-container td{display:inline-block}.fs-user-change-options-container table .fs-email-address-container input[type=radio]{margin-bottom:0;margin-top:0}.fs-user-change-options-container table .fs-other-email-address-container{width:100%}.fs-user-change-options-container table .fs-other-email-address-container>div{display:table;width:100%}.fs-user-change-options-container table .fs-other-email-address-container>div label,.fs-user-change-options-container table .fs-other-email-address-container>div>div{display:table-cell}.fs-user-change-options-container table .fs-other-email-address-container>div label{padding-left:3px;padding-right:3px;width:1%}.fs-user-change-options-container table .fs-other-email-address-container>div>div{width:auto}.fs-modal.fs-modal-developer-license-debug-mode .fs-modal-body input.fs-license-or-user-key,.fs-user-change-options-container table .fs-other-email-address-container>div>div input{width:100%}.fs-multisite-options-container{border:1px solid #ccc;margin-top:20px;padding:5px}.fs-multisite-options-container a{text-decoration:none}.fs-multisite-options-container a:focus{box-shadow:none}.fs-multisite-options-container a.selected{font-weight:700}.fs-multisite-options-container.fs-apply-on-all-sites{border:0;padding:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options{border-spacing:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options td:not(:first-child){display:none}.fs-multisite-options-container .fs-sites-list-container{display:none;overflow:auto}.fs-multisite-options-container .fs-sites-list-container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-modal.fs-modal-license-key-resend .email-address-container{overflow:hidden;padding-right:2px}.fs-modal.fs-modal-license-key-resend.fs-freemium input.email-address{width:300px}.fs-modal.fs-modal-license-key-resend.fs-freemium label{display:block;margin-bottom:10px}.fs-modal.fs-modal-license-key-resend.fs-premium input.email-address{width:100%}.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{float:right;margin-left:7px}@media(max-width:650px){.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{margin-top:2px}}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .input-container>.email-address-container{padding-left:2px;padding-right:0}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .button-container{float:left;margin-left:0;margin-right:7px}a.show-license-resend-modal{display:inline-block;margin-top:4px}.fs-modal.fs-modal-email-address-update .fs-modal-body input[type=text]{width:100%}.fs-modal.fs-modal-email-address-update p{margin-bottom:0}.fs-modal.fs-modal-email-address-update ul{margin:1em .5em}.fs-modal.fs-modal-email-address-update ul li label span{float:left;margin-top:0}.fs-modal.fs-modal-email-address-update ul li label span:last-child{display:block;float:none;margin-left:20px}.fs-ajax-loader{height:20px;margin:auto;position:relative;width:170px}.fs-ajax-loader .fs-ajax-loader-bar{animation-direction:normal;animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-name:bounce_ajaxLoader;background-color:#0074a3;height:20px;position:absolute;top:0;transform:.3;width:20px}.fs-ajax-loader .fs-ajax-loader-bar-1{animation-delay:.6s;-o-animation-delay:.6s;-ms-animation-delay:.6s;-webkit-animation-delay:.6s;-moz-animation-delay:.6s;left:0}.fs-ajax-loader .fs-ajax-loader-bar-2{animation-delay:.75s;-o-animation-delay:.75s;-ms-animation-delay:.75s;-webkit-animation-delay:.75s;-moz-animation-delay:.75s;left:19px}.fs-ajax-loader .fs-ajax-loader-bar-3{animation-delay:.9s;-o-animation-delay:.9s;-ms-animation-delay:.9s;-webkit-animation-delay:.9s;-moz-animation-delay:.9s;left:38px}.fs-ajax-loader .fs-ajax-loader-bar-4{animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s;left:57px}.fs-ajax-loader .fs-ajax-loader-bar-5{animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s;left:76px}.fs-ajax-loader .fs-ajax-loader-bar-6{animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s;left:95px}.fs-ajax-loader .fs-ajax-loader-bar-7{animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s;left:114px}.fs-ajax-loader .fs-ajax-loader-bar-8{animation-delay:1.65s;-o-animation-delay:1.65s;-ms-animation-delay:1.65s;-webkit-animation-delay:1.65s;-moz-animation-delay:1.65s;left:133px}@keyframes bounce_ajaxLoader{0%{background-color:#0074a3;transform:scale(1)}to{background-color:#fff;transform:scale(.3)}}.fs-modal-auto-install #request-filesystem-credentials-form .request-filesystem-credentials-action-buttons,.fs-modal-auto-install #request-filesystem-credentials-form h2{display:none}.fs-modal-auto-install #request-filesystem-credentials-form input[type=email],.fs-modal-auto-install #request-filesystem-credentials-form input[type=password],.fs-modal-auto-install #request-filesystem-credentials-form input[type=text]{-webkit-appearance:none;max-width:100%;padding:10px 10px 5px;width:300px}.fs-modal-auto-install #request-filesystem-credentials-form fieldset,.fs-modal-auto-install #request-filesystem-credentials-form label,.fs-modal-auto-install #request-filesystem-credentials-form>div{display:block;margin:0 auto;max-width:100%;width:300px}.button-primary.warn{background:#f56a48;border-color:#ec6544 #d2593c #d2593c;box-shadow:0 1px 0 #d2593c;text-shadow:0 -1px 1px #d2593c,1px 0 1px #d2593c,0 1px 1px #d2593c,-1px 0 1px #d2593c}.button-primary.warn:hover{background:#fd6d4a;border-color:#d2593c}.button-primary.warn:focus{box-shadow:0 1px 0 #dd6041,0 0 2px 1px #e4a796}.button-primary.warn:active{background:#dd6041;border-color:#d2593c;box-shadow:inset 0 2px 0 #d2593c}.button-primary.warn.disabled{background:#e76444!important;border-color:#d85e40!important;color:#f5b3a1!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important}1 .fs-modal{background:rgba(0,0,0,.6);display:none;height:100%;overflow:auto;position:fixed;top:0;width:100%;z-index:100000}@media(min-width:961px){.fs-modal{padding-left:160px}.rtl .fs-modal{padding-left:0;padding-right:160px}}.fs-modal .dashicons{vertical-align:middle}.fs-modal .fs-modal-dialog{background:transparent;left:50%;margin-left:-298px;padding-bottom:30px;position:absolute;top:-100%;width:596px;z-index:100001}@media(max-width:650px){.fs-modal .fs-modal-dialog{box-sizing:border-box;margin-left:-50%;padding-left:10px;padding-right:10px;width:100%}.fs-modal .fs-modal-dialog .fs-modal-panel>h3>strong{font-size:1.3em}}.fs-modal.active,.fs-modal.active:before{display:block}.fs-modal.active .fs-modal-dialog{top:10%}.fs-modal.fs-success .fs-modal-header{border-bottom-color:#46b450}.fs-modal.fs-success .fs-modal-body{background-color:#f7fff7}.fs-modal.fs-warn .fs-modal-header{border-bottom-color:#ffb900}.fs-modal.fs-warn .fs-modal-body{background-color:#fff8e5}.fs-modal.fs-error .fs-modal-header{border-bottom-color:#dc3232}.fs-modal.fs-error .fs-modal-body{background-color:#ffeaea}.fs-modal .fs-modal-body,.fs-modal .fs-modal-footer{background:#fefefe;border:0;padding:20px}.fs-modal .fs-modal-header{background:#fbfbfb;border-bottom:1px solid #eee;margin-bottom:-10px;padding:15px 20px;position:relative}.fs-modal .fs-modal-header h4{color:#cacaca;font-size:1.2em;font-weight:700;letter-spacing:.6px;margin:0;padding:0;text-shadow:1px 1px 1px #fff;text-transform:uppercase;-webkit-font-smoothing:antialiased}.fs-modal .fs-modal-header .fs-close{border-radius:20px;color:#bbb;cursor:pointer;padding:3px;position:absolute;right:10px;top:12px;transition:all .2s ease-in-out}.fs-modal .fs-modal-header .fs-close:hover{background:#aaa;color:#fff}.fs-modal .fs-modal-header .fs-close .dashicons,.fs-modal .fs-modal-header .fs-close:hover .dashicons{text-decoration:none}.fs-modal .fs-modal-body{border-bottom:0}.fs-modal .fs-modal-body p{font-size:14px}.fs-modal .fs-modal-body h2{font-size:20px;line-height:1.5em}.fs-modal .fs-modal-body>div{margin-top:10px}.fs-modal .fs-modal-body>div h2{font-size:20px;font-weight:700;margin-top:0}.fs-modal .fs-modal-footer{border-top:1px solid #eee;text-align:right}.fs-modal .fs-modal-footer>.button{margin:0 7px}.fs-modal .fs-modal-footer>.button:last-of-type{margin:0}.fs-modal .fs-modal-panel>.notice.inline{display:none;margin:0}.fs-modal .fs-modal-panel:not(.active){display:none}.rtl .fs-modal .fs-modal-header .fs-close{left:20px;right:auto}.rtl .fs-modal .fs-modal-footer{text-align:left}body.has-fs-modal{overflow:hidden}.fs-modal.fs-modal-deactivation-feedback .internal-message,.fs-modal.fs-modal-deactivation-feedback .reason-input{margin:3px 0 3px 22px}.fs-modal.fs-modal-deactivation-feedback .internal-message input,.fs-modal.fs-modal-deactivation-feedback .internal-message textarea,.fs-modal.fs-modal-deactivation-feedback .reason-input input,.fs-modal.fs-modal-deactivation-feedback .reason-input textarea{width:100%}.fs-modal.fs-modal-deactivation-feedback li.reason.has-internal-message .internal-message{border:1px solid #ccc;display:none;padding:7px}@media(max-width:650px){.fs-modal.fs-modal-deactivation-feedback li.reason li.reason{margin-bottom:10px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .internal-message,.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .reason-input{margin-left:29px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label{display:table}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label>span{display:table-cell;font-size:1.3em}}.fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label,.fs-modal.fs-modal-deactivation-feedback .feedback-from-snooze-label{float:left;line-height:30px}.rtl .fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label,.rtl .fs-modal.fs-modal-deactivation-feedback .feedback-from-snooze-label{float:right}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel{margin-top:0!important}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel h3{font-size:16px;line-height:1.5em;margin-bottom:0;margin-top:10px}#the-list .deactivate>.fs-slug{display:none}.fs-modal.fs-modal-subscription-cancellation .fs-price-increase-warning{color:red;font-weight:700;margin-bottom:0;padding:0 25px}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:left;position:relative;top:5px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:right}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{display:block;margin-left:24px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{margin-left:0;margin-right:24px}.fs-license-options-container table,.fs-license-options-container table .fs-available-license-key,.fs-license-options-container table select,.fs-modal.fs-modal-license-activation .fs-modal-body input.fs-license-key{width:100%}.fs-license-options-container table td:first-child{width:1%}.fs-license-options-container table .fs-other-license-key-container label{float:left;margin-right:5px;position:relative;top:6px}.fs-license-options-container table .fs-other-license-key-container div{display:block;height:30px;overflow:hidden;position:relative;top:2px;width:auto}.fs-license-options-container table .fs-other-license-key-container div input{margin:0}.fs-sites-list-container td{cursor:pointer}.fs-modal.fs-modal-user-change .fs-modal-body input#fs_other_email_address{width:100%}.fs-user-change-options-container table{border-collapse:collapse;width:100%}.fs-user-change-options-container table tr{display:block;margin-bottom:2px}.fs-user-change-options-container table .fs-email-address-container td{display:inline-block}.fs-user-change-options-container table .fs-email-address-container input[type=radio]{margin-bottom:0;margin-top:0}.fs-user-change-options-container table .fs-other-email-address-container{width:100%}.fs-user-change-options-container table .fs-other-email-address-container>div{display:table;width:100%}.fs-user-change-options-container table .fs-other-email-address-container>div label,.fs-user-change-options-container table .fs-other-email-address-container>div>div{display:table-cell}.fs-user-change-options-container table .fs-other-email-address-container>div label{padding-left:3px;padding-right:3px;width:1%}.fs-user-change-options-container table .fs-other-email-address-container>div>div{width:auto}.fs-modal.fs-modal-developer-license-debug-mode .fs-modal-body input.fs-license-or-user-key,.fs-user-change-options-container table .fs-other-email-address-container>div>div input{width:100%}.fs-multisite-options-container{border:1px solid #ccc;margin-top:20px;padding:5px}.fs-multisite-options-container a{text-decoration:none}.fs-multisite-options-container a:focus{box-shadow:none}.fs-multisite-options-container a.selected{font-weight:700}.fs-multisite-options-container.fs-apply-on-all-sites{border:0;padding:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options{border-spacing:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options td:not(:first-child){display:none}.fs-multisite-options-container .fs-sites-list-container{display:none;overflow:auto}.fs-multisite-options-container .fs-sites-list-container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-modal.fs-modal-license-key-resend .email-address-container{overflow:hidden;padding-right:2px}.fs-modal.fs-modal-license-key-resend.fs-freemium input.email-address{width:300px}.fs-modal.fs-modal-license-key-resend.fs-freemium label{display:block;margin-bottom:10px}.fs-modal.fs-modal-license-key-resend.fs-premium input.email-address{width:100%}.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{float:right;margin-left:7px}@media(max-width:650px){.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{margin-top:2px}}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .input-container>.email-address-container{padding-left:2px;padding-right:0}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .button-container{float:left;margin-left:0;margin-right:7px}a.show-license-resend-modal{display:inline-block;margin-top:4px}.fs-modal.fs-modal-email-address-update .fs-modal-body input[type=text]{width:100%}.fs-modal.fs-modal-email-address-update p{margin-bottom:0}.fs-modal.fs-modal-email-address-update ul{margin:1em .5em}.fs-modal.fs-modal-email-address-update ul li label span{float:left;margin-top:0}.fs-modal.fs-modal-email-address-update ul li label span:last-child{display:block;float:none;margin-left:20px}.fs-ajax-loader{height:20px;margin:auto;position:relative;width:170px}.fs-ajax-loader .fs-ajax-loader-bar{animation-direction:normal;animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-name:bounce_ajaxLoader;background-color:#0074a3;height:20px;position:absolute;top:0;transform:.3;width:20px}.fs-ajax-loader .fs-ajax-loader-bar-1{animation-delay:.6s;-o-animation-delay:.6s;-ms-animation-delay:.6s;-webkit-animation-delay:.6s;-moz-animation-delay:.6s;left:0}.fs-ajax-loader .fs-ajax-loader-bar-2{animation-delay:.75s;-o-animation-delay:.75s;-ms-animation-delay:.75s;-webkit-animation-delay:.75s;-moz-animation-delay:.75s;left:19px}.fs-ajax-loader .fs-ajax-loader-bar-3{animation-delay:.9s;-o-animation-delay:.9s;-ms-animation-delay:.9s;-webkit-animation-delay:.9s;-moz-animation-delay:.9s;left:38px}.fs-ajax-loader .fs-ajax-loader-bar-4{animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s;left:57px}.fs-ajax-loader .fs-ajax-loader-bar-5{animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s;left:76px}.fs-ajax-loader .fs-ajax-loader-bar-6{animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s;left:95px}.fs-ajax-loader .fs-ajax-loader-bar-7{animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s;left:114px}.fs-ajax-loader .fs-ajax-loader-bar-8{animation-delay:1.65s;-o-animation-delay:1.65s;-ms-animation-delay:1.65s;-webkit-animation-delay:1.65s;-moz-animation-delay:1.65s;left:133px}@keyframes bounce_ajaxLoader{0%{background-color:#0074a3;transform:scale(1)}to{background-color:#fff;transform:scale(.3)}}.fs-modal-auto-install #request-filesystem-credentials-form .request-filesystem-credentials-action-buttons,.fs-modal-auto-install #request-filesystem-credentials-form h2{display:none}.fs-modal-auto-install #request-filesystem-credentials-form input[type=email],.fs-modal-auto-install #request-filesystem-credentials-form input[type=password],.fs-modal-auto-install #request-filesystem-credentials-form input[type=text]{-webkit-appearance:none;max-width:100%;padding:10px 10px 5px;width:300px}.fs-modal-auto-install #request-filesystem-credentials-form fieldset,.fs-modal-auto-install #request-filesystem-credentials-form label,.fs-modal-auto-install #request-filesystem-credentials-form>div{display:block;margin:0 auto;max-width:100%;width:300px}.button-primary.warn{background:#f56a48;border-color:#ec6544 #d2593c #d2593c;box-shadow:0 1px 0 #d2593c;text-shadow:0 -1px 1px #d2593c,1px 0 1px #d2593c,0 1px 1px #d2593c,-1px 0 1px #d2593c}.button-primary.warn:hover{background:#fd6d4a;border-color:#d2593c}.button-primary.warn:focus{box-shadow:0 1px 0 #dd6041,0 0 2px 1px #e4a796}.button-primary.warn:active{background:#dd6041;border-color:#d2593c;box-shadow:inset 0 2px 0 #d2593c}.button-primary.warn.disabled{background:#e76444!important;border-color:#d85e40!important;color:#f5b3a1!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important} -
auto-install-free-ssl/trunk/freemius/includes/class-freemius.php
r3096222 r3129566 4175 4175 isset( $this->_storage->connectivity_test['is_active'] ) 4176 4176 ) { 4177 $is_active = $this->_storage->connectivity_test['is_active']; 4177 $is_connected = isset( $this->_storage->connectivity_test['is_connected'] ) ? 4178 $this->_storage->connectivity_test['is_connected'] : 4179 null; 4180 $is_active = ( $this->_storage->connectivity_test['is_active'] || is_object( $this->_site ) ); 4178 4181 } else { 4179 $is_active = $this->should_turn_fs_on( $this->apply_filters( 'is_plugin_update', $this->is_plugin_update() ) ); 4180 4181 $this->store_connectivity_info( (object) array( 'is_active' => $is_active ), null ); 4182 } 4182 $is_connected = null; 4183 $is_active = $this->should_turn_fs_on( $this->apply_filters( 'is_plugin_update', $this->is_plugin_update() ) ); 4184 } 4185 4186 $this->store_connectivity_info( (object) array( 'is_active' => $is_active ), $is_connected ); 4183 4187 4184 4188 if ( $is_active ) { … … 5485 5489 'bundle_id' => $this->get_option( $plugin_info, 'bundle_id', null ), 5486 5490 'bundle_public_key' => $this->get_option( $plugin_info, 'bundle_public_key', null ), 5487 'opt_in_moderation' => $this->get_option( $plugin_info, 'opt_in', null ), 5491 'opt_in_moderation' => $this->get_option( 5492 $plugin_info, 5493 'opt_in', 5494 // For backward compatibility, we support both parameter names: opt_in and opt_in_moderation. 5495 $this->get_option( $plugin_info, 'opt_in_moderation', null ) 5496 ), 5488 5497 ) ); 5489 5498 -
auto-install-free-ssl/trunk/freemius/start.php
r3096222 r3129566 16 16 * @var string 17 17 */ 18 $this_sdk_version = '2.7. 2';18 $this_sdk_version = '2.7.3'; 19 19 20 20 #region SDK Selection Logic -------------------------------------------------------------------- -
auto-install-free-ssl/trunk/freemius/templates/connect.php
r2934344 r3129566 162 162 fs_require_once_template( 'plugin-icon.php', $vars ); 163 163 ?> 164 <!-- <img class="fs-connect-logo" width="--><?php //echo $size ?><!--" height="--><?php //echo $size ?><!--" src="//img.freemius.com/logo/connect.svg"/>-->165 164 </div> 166 165 <div class="fs-box-container"> -
auto-install-free-ssl/trunk/readme.txt
r3096222 r3129566 5 5 Tags: free ssl, ssl certificate, https redirect, free ssl certificate, ssl security 6 6 Requires at least: 4.1 7 Tested up to: 6. 58 Stable tag: 4. 0.07 Tested up to: 6.6 8 Stable tag: 4.1.0 9 9 Requires PHP: 5.6 10 10 … … 25 25 26 26 27 ` 4 14,500+ DOWNLOADS!!`27 ` 425,500+ DOWNLOADS!!` 28 28 29 29 … … 396 396 397 397 == Changelog == 398 = 4.1.0 = 399 * Fixed an issue with the documentroot being passed with the domain and ServerAlias in Step 1 of generating a free SSL certificate. 400 * Improved error handling in Step 1 of generating a free HTTPS certificate. 401 * [Pro] Fixed an issue for non-cPanel websites: SSL certificate file path was not loaded correctly during the first time free ssl security certificate generation. 402 * Improved the function aifs_ip_of_this_server() to support IPv6. 403 * Added functions to detect if the WordPress website is hosted on localhost or a bare IP address. Displays information and recommendations in the WordPress dashboard, as Let's Encrypt™ does not issue free HTTPS SSL certificates for localhost and bare IP addresses. 404 * Updated the Freemius WordPress SDK to version 2.7.3. 405 398 406 = 4.0.0 = 399 407 * Improved the Generate SSL page.
Note: See TracChangeset
for help on using the changeset viewer.