v2.1.7
This commit is contained in:
parent
c2ead8e434
commit
77d0cea926
995 changed files with 28142 additions and 8603 deletions
|
|
@ -1,5 +1,28 @@
|
|||
== Changelog ==
|
||||
|
||||
= 2.1.7 =
|
||||
|
||||
_Release date: 2026-08-17_
|
||||
|
||||
**Changed**
|
||||
|
||||
* Plugin renamed to "SMTP Amazon SES (by ROBOTSTXT)".
|
||||
* Plugin URI and update channel now point to https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/.
|
||||
* Removed the built-in Gitea self-updater (`class-robotstxt-updater.php` and `update.json`); updates are now delivered through the Manager (by ROBOTSTXT) plugin. The required Manager notices are handled by the main SMTP plugin — this add-on does not duplicate them.
|
||||
* Updated bundled AWS SDK for PHP to 3.392.3 (now shipping Guzzle 8).
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 5.7 - 7.1
|
||||
* PHP: 8.2 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP_CodeSniffer: 3.13.6
|
||||
* WordPress Coding Standards: 3.4.1
|
||||
* PHPCompatibility: 9.3.5
|
||||
* PHPStan: 2.2.8
|
||||
|
||||
= 2.1.6 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
|
|
|||
|
|
@ -1,400 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Generic JSON-based updater for ROBOTSTXT plugins.
|
||||
*
|
||||
* This file is designed to be copied to any ROBOTSTXT plugin.
|
||||
* It auto-configures itself by reading the plugin headers.
|
||||
*
|
||||
* @package ROBOTSTXT
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'Robotstxt_Updater' ) ) {
|
||||
/**
|
||||
* Class Robotstxt_Updater
|
||||
*
|
||||
* Generic updater that works with any plugin.
|
||||
* Reads plugin headers and constructs update URL automatically.
|
||||
*/
|
||||
class Robotstxt_Updater {
|
||||
|
||||
/**
|
||||
* Plugin file path.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $plugin_file_path;
|
||||
|
||||
/**
|
||||
* Plugin basename (e.g., 'my-plugin/my-plugin.php').
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $plugin_basename;
|
||||
|
||||
/**
|
||||
* Plugin slug (directory name).
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $plugin_slug;
|
||||
|
||||
/**
|
||||
* Remote JSON URL.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $json_url;
|
||||
|
||||
/**
|
||||
* Cache key.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $cache_key;
|
||||
|
||||
/**
|
||||
* Plugin headers.
|
||||
*
|
||||
* @var array<string, string|bool>
|
||||
*/
|
||||
private array $plugin_data;
|
||||
|
||||
/**
|
||||
* Initialize the updater.
|
||||
*
|
||||
* Usage in your main plugin file:
|
||||
* require_once __DIR__ . '/robotstxt-updater.php';
|
||||
* Robotstxt_Updater::init( __FILE__ );
|
||||
*
|
||||
* @param string $plugin_file_path Absolute path to the main plugin file.
|
||||
*/
|
||||
public static function init( string $plugin_file_path ): void {
|
||||
$instance = new self( $plugin_file_path );
|
||||
$instance->register();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $plugin_file_path Absolute path to the main plugin file.
|
||||
*/
|
||||
private function __construct( string $plugin_file_path ) {
|
||||
$this->plugin_file_path = $plugin_file_path;
|
||||
$this->plugin_basename = plugin_basename( $plugin_file_path );
|
||||
$this->plugin_slug = dirname( $this->plugin_basename );
|
||||
$this->plugin_data = $this->get_plugin_data();
|
||||
$this->json_url = $this->build_json_url();
|
||||
$this->cache_key = 'robotstxt_updater_' . md5( $this->plugin_basename );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register WordPress hooks.
|
||||
*/
|
||||
private function register(): void {
|
||||
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'inject_update_info' ) );
|
||||
add_filter( 'plugins_api', array( $this, 'provide_plugin_details' ), 10, 3 );
|
||||
add_action( 'admin_init', array( $this, 'handle_cache_clear' ) );
|
||||
add_action( 'robotstxt_updater_clear_cache', array( $this, 'clear_cache' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get plugin headers.
|
||||
*
|
||||
* @return array<string, string|bool> Plugin data.
|
||||
*/
|
||||
private function get_plugin_data(): array {
|
||||
if ( ! function_exists( 'get_plugin_data' ) ) {
|
||||
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||
}
|
||||
|
||||
return get_plugin_data( $this->plugin_file_path, false, false );
|
||||
}
|
||||
|
||||
/**
|
||||
* Build JSON URL from plugin headers.
|
||||
*
|
||||
* Tries to use "Gitea Plugin URI" header to construct the URL.
|
||||
* Falls back to Plugin URI if Gitea URI is not available.
|
||||
*
|
||||
* @return string JSON URL.
|
||||
*/
|
||||
private function build_json_url(): string {
|
||||
// Try Gitea Plugin URI (format: "OWNER/REPO" or full URL).
|
||||
$gitea_uri_raw = $this->plugin_data['Gitea Plugin URI'] ?? '';
|
||||
if ( ! empty( $gitea_uri_raw ) && is_string( $gitea_uri_raw ) ) {
|
||||
$gitea_uri = $gitea_uri_raw;
|
||||
|
||||
// If it's already a full URL, use it.
|
||||
if ( str_starts_with( $gitea_uri, 'http' ) ) {
|
||||
// Extract base URL and construct JSON path.
|
||||
return rtrim( $gitea_uri, '/' ) . '/raw/branch/main/update.json';
|
||||
}
|
||||
|
||||
// If it's in format "OWNER/REPO", construct full URL.
|
||||
if ( preg_match( '#^[^/]+/[^/]+$#', $gitea_uri ) ) {
|
||||
return "https://git.robotstxt.es/{$gitea_uri}/raw/branch/main/update.json";
|
||||
}
|
||||
}
|
||||
|
||||
// Fallback: try to extract from Plugin URI.
|
||||
$plugin_uri_raw = $this->plugin_data['PluginURI'] ?? '';
|
||||
if ( ! empty( $plugin_uri_raw ) && is_string( $plugin_uri_raw ) ) {
|
||||
$plugin_uri = $plugin_uri_raw;
|
||||
if ( str_contains( $plugin_uri, 'git.robotstxt.es' ) ) {
|
||||
return rtrim( $plugin_uri, '/' ) . '/raw/branch/main/update.json';
|
||||
}
|
||||
}
|
||||
|
||||
// Last resort: construct from plugin slug.
|
||||
return "https://git.robotstxt.es/ROBOTSTXT/{$this->plugin_slug}/raw/branch/main/update.json";
|
||||
}
|
||||
|
||||
/**
|
||||
* Inject update info into WP's plugin update transient.
|
||||
*
|
||||
* @param object|mixed $transient The update_plugins transient.
|
||||
*
|
||||
* @return object The modified transient.
|
||||
*/
|
||||
public function inject_update_info( $transient ) {
|
||||
if ( ! $transient instanceof stdClass ) {
|
||||
$transient = new stdClass();
|
||||
}
|
||||
|
||||
if ( empty( $transient->checked ) || ! is_array( $transient->checked ) ) {
|
||||
return $transient;
|
||||
}
|
||||
|
||||
if ( empty( $transient->checked[ $this->plugin_basename ] ) ) {
|
||||
return $transient;
|
||||
}
|
||||
|
||||
$current_version_raw = $transient->checked[ $this->plugin_basename ] ?? '';
|
||||
$current_version = is_string( $current_version_raw ) ? $current_version_raw : '';
|
||||
$remote = $this->get_remote_data();
|
||||
|
||||
$remote_version = isset( $remote['version'] ) && is_string( $remote['version'] ) ? $remote['version'] : '';
|
||||
$remote_download = isset( $remote['download_url'] ) && is_string( $remote['download_url'] ) ? $remote['download_url'] : '';
|
||||
|
||||
if ( '' === $remote_version || '' === $remote_download ) {
|
||||
return $transient;
|
||||
}
|
||||
|
||||
if ( ! $this->is_compatible( $remote ) ) {
|
||||
return $transient;
|
||||
}
|
||||
|
||||
if ( version_compare( $remote_version, $current_version, '>' ) ) {
|
||||
$plugin_uri = $this->plugin_data['PluginURI'] ?? '';
|
||||
$update = (object) array(
|
||||
'slug' => isset( $remote['slug'] ) && is_string( $remote['slug'] ) ? $remote['slug'] : $this->plugin_slug,
|
||||
'plugin' => $this->plugin_basename,
|
||||
'new_version' => $remote_version,
|
||||
'url' => isset( $remote['homepage'] ) && is_string( $remote['homepage'] ) ? $remote['homepage'] : ( is_string( $plugin_uri ) ? $plugin_uri : '' ),
|
||||
'package' => $remote_download,
|
||||
'tested' => isset( $remote['tested'] ) && is_string( $remote['tested'] ) ? $remote['tested'] : '',
|
||||
'requires' => isset( $remote['requires'] ) && is_string( $remote['requires'] ) ? $remote['requires'] : '',
|
||||
'requires_php' => isset( $remote['requires_php'] ) && is_string( $remote['requires_php'] ) ? $remote['requires_php'] : '',
|
||||
);
|
||||
|
||||
$transient->response[ $this->plugin_basename ] = $update;
|
||||
}
|
||||
|
||||
return $transient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide "View details" modal content.
|
||||
*
|
||||
* @param false|object|array<string, mixed> $result The result object or array.
|
||||
* @param string $action The type of information being requested.
|
||||
* @param object $args Plugin API arguments.
|
||||
*
|
||||
* @return false|object|array<string, mixed>
|
||||
*/
|
||||
public function provide_plugin_details( $result, string $action, object $args ) {
|
||||
if ( 'plugin_information' !== $action ) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
if ( empty( $args->slug ) || $args->slug !== $this->plugin_slug ) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
$remote = $this->get_remote_data();
|
||||
|
||||
$remote_version = isset( $remote['version'] ) && is_string( $remote['version'] ) ? $remote['version'] : '';
|
||||
|
||||
if ( '' === $remote_version ) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
$pd_name = $this->plugin_data['Name'] ?? '';
|
||||
$pd_author = $this->plugin_data['Author'] ?? '';
|
||||
$pd_plugin_uri = $this->plugin_data['PluginURI'] ?? '';
|
||||
$pd_description = $this->plugin_data['Description'] ?? '';
|
||||
|
||||
return (object) array(
|
||||
'name' => isset( $remote['name'] ) && is_string( $remote['name'] ) ? $remote['name'] : ( is_string( $pd_name ) ? $pd_name : $this->plugin_slug ),
|
||||
'slug' => isset( $remote['slug'] ) && is_string( $remote['slug'] ) ? $remote['slug'] : $this->plugin_slug,
|
||||
'version' => $remote_version,
|
||||
'author' => isset( $remote['author'] ) && is_string( $remote['author'] ) ? $remote['author'] : ( is_string( $pd_author ) ? $pd_author : '' ),
|
||||
'homepage' => isset( $remote['homepage'] ) && is_string( $remote['homepage'] ) ? $remote['homepage'] : ( is_string( $pd_plugin_uri ) ? $pd_plugin_uri : '' ),
|
||||
'requires' => isset( $remote['requires'] ) && is_string( $remote['requires'] ) ? $remote['requires'] : '',
|
||||
'tested' => isset( $remote['tested'] ) && is_string( $remote['tested'] ) ? $remote['tested'] : '',
|
||||
'requires_php' => isset( $remote['requires_php'] ) && is_string( $remote['requires_php'] ) ? $remote['requires_php'] : '',
|
||||
'sections' => array(
|
||||
'description' => isset( $remote['description'] ) && is_string( $remote['description'] ) ? $remote['description'] : ( is_string( $pd_description ) ? $pd_description : '' ),
|
||||
'changelog' => isset( $remote['changelog'] ) && is_string( $remote['changelog'] ) ? $remote['changelog'] : '',
|
||||
),
|
||||
'download_link' => isset( $remote['download_url'] ) && is_string( $remote['download_url'] ) ? $remote['download_url'] : '',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get remote data with caching and HMAC signature verification.
|
||||
*
|
||||
* @return array<string, mixed> Remote data.
|
||||
*/
|
||||
private function get_remote_data(): array {
|
||||
$cached = get_site_transient( $this->cache_key );
|
||||
|
||||
// Verify HMAC signature if AUTH_SALT is defined and cache has signature.
|
||||
if ( false !== $cached && defined( 'AUTH_SALT' ) && '' !== AUTH_SALT ) {
|
||||
if ( is_array( $cached ) && isset( $cached['signature'], $cached['data'] ) ) {
|
||||
$expected_sig = hash_hmac( 'sha256', $this->cache_key . wp_json_encode( $cached['data'] ), AUTH_SALT );
|
||||
|
||||
if ( hash_equals( $expected_sig, $cached['signature'] ) ) {
|
||||
// Signature valid, return data.
|
||||
return is_array( $cached['data'] ) ? $cached['data'] : array();
|
||||
}
|
||||
|
||||
// Signature invalid, delete corrupted cache.
|
||||
delete_site_transient( $this->cache_key );
|
||||
$cached = false;
|
||||
}
|
||||
}
|
||||
|
||||
// If no valid cache, fetch fresh data.
|
||||
if ( false === $cached ) {
|
||||
$remote = $this->fetch_json();
|
||||
|
||||
// Store with HMAC signature if AUTH_SALT is available.
|
||||
if ( defined( 'AUTH_SALT' ) && '' !== AUTH_SALT ) {
|
||||
$remote_data = ! empty( $remote ) ? $remote : array();
|
||||
$payload = array(
|
||||
'data' => $remote_data,
|
||||
'timestamp' => time(),
|
||||
'signature' => hash_hmac( 'sha256', $this->cache_key . wp_json_encode( $remote_data ), AUTH_SALT ),
|
||||
);
|
||||
set_site_transient( $this->cache_key, $payload, 6 * HOUR_IN_SECONDS );
|
||||
} else {
|
||||
// Fallback to standard caching.
|
||||
set_site_transient( $this->cache_key, ( ! empty( $remote ) ? $remote : array() ), 6 * HOUR_IN_SECONDS );
|
||||
}
|
||||
|
||||
return $remote;
|
||||
}
|
||||
|
||||
// Legacy cache format without signature (backward compatibility).
|
||||
return is_array( $cached ) ? $cached : array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch JSON from remote URL.
|
||||
*
|
||||
* @return array<string, mixed> Decoded JSON data.
|
||||
*/
|
||||
private function fetch_json(): array {
|
||||
$response = wp_remote_get(
|
||||
$this->json_url,
|
||||
array(
|
||||
'timeout' => 10,
|
||||
'headers' => array(
|
||||
'Accept' => 'application/json',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$code = (int) wp_remote_retrieve_response_code( $response );
|
||||
if ( $code < 200 || $code >= 300 ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$body = wp_remote_retrieve_body( $response );
|
||||
$data = json_decode( $body, true );
|
||||
|
||||
return is_array( $data ) ? $data : array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check compatibility.
|
||||
*
|
||||
* @param array<string, mixed> $remote Remote data.
|
||||
*
|
||||
* @return bool True if compatible.
|
||||
*/
|
||||
private function is_compatible( array $remote ): bool {
|
||||
$requires_php = isset( $remote['requires_php'] ) && is_string( $remote['requires_php'] ) ? $remote['requires_php'] : '';
|
||||
if ( '' !== $requires_php ) {
|
||||
if ( version_compare( PHP_VERSION, $requires_php, '<' ) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
$requires = isset( $remote['requires'] ) && is_string( $remote['requires'] ) ? $remote['requires'] : '';
|
||||
if ( '' !== $requires ) {
|
||||
if ( version_compare( get_bloginfo( 'version' ), $requires, '<' ) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle manual cache clear via URL parameter.
|
||||
*/
|
||||
public function handle_cache_clear(): void {
|
||||
// Check if this is a cache clear request first.
|
||||
$clear_cache = filter_input( INPUT_GET, 'robotstxt_clear_update_cache', FILTER_UNSAFE_RAW );
|
||||
if ( null === $clear_cache ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// This is a cache clear request - now verify nonce.
|
||||
$nonce_raw = filter_input( INPUT_GET, '_wpnonce', FILTER_UNSAFE_RAW );
|
||||
$nonce = $nonce_raw ? sanitize_text_field( wp_unslash( $nonce_raw ) ) : '';
|
||||
|
||||
if ( ! wp_verify_nonce( $nonce, 'robotstxt_clear_update_cache' ) ) {
|
||||
wp_die( esc_html__( 'Security check failed', 'robotstxt-smtp-amazonses' ) );
|
||||
}
|
||||
|
||||
// Check permissions.
|
||||
if ( ! current_user_can( 'update_plugins' ) ) {
|
||||
wp_die( esc_html__( 'You do not have sufficient permissions to access this page.', 'robotstxt-smtp-amazonses' ) );
|
||||
}
|
||||
|
||||
$this->clear_cache();
|
||||
wp_safe_redirect( remove_query_arg( array( 'robotstxt_clear_update_cache', '_wpnonce' ) ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear update cache.
|
||||
*/
|
||||
public function clear_cache(): void {
|
||||
delete_site_transient( $this->cache_key );
|
||||
delete_site_transient( 'update_plugins' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,151 +0,0 @@
|
|||
# Pre-Deploy AI Audit — v2.1.6
|
||||
|
||||
**Plugin slug:** robotstxt-smtp-amazonses
|
||||
**Version:** 2.1.6
|
||||
**Minimum PHP:** 8.2
|
||||
**Minimum WP:** 5.7
|
||||
**Architecture:** Single-class OOP, namespace `Robotstxt_SMTP_AmazonSES`
|
||||
**Exposes:** AJAX-style admin-post handlers, Settings API filter, WP-Cron hook
|
||||
**Target:** Private / commercial
|
||||
|
||||
**Audit scope:** Full diff from 5ee811d (initial tooling commit) to HEAD — covers all changes introduced in this session.
|
||||
|
||||
---
|
||||
|
||||
## 1. SECURITY
|
||||
|
||||
### 1.1 handle_clear_credential() — new in 2.1.6
|
||||
|
||||
- **File:** `includes/class-plugin.php:1793`
|
||||
- **Nonce:** `wp_verify_nonce()` with GET input via `wp_unslash()`. ✓
|
||||
- **Capability:** `current_user_can('manage_options')` / `manage_network_options` based on scope. ✓
|
||||
- **Scope validation:** `sanitize_key(wp_unslash($scope_raw))` before comparison. ✓
|
||||
- **Redirect:** `wp_safe_redirect(add_query_arg([...], admin_url('admin.php')))` — both `$page_slug` and `$cleared_key` are hardcoded literals, not from user input. ✓
|
||||
- **Option update:** uses `update_option()` / `update_site_option()` (WordPress API). ✓
|
||||
- **ABSPATH guard:** present in main file. ✓
|
||||
|
||||
### 1.2 display_clear_key_notice() — new in 2.1.6
|
||||
|
||||
- **File:** `includes/class-plugin.php:1861`
|
||||
- `FILTER_UNSAFE_RAW` used to read `robotstxt_smtp_amazonses_cleared`. Value is checked with strict equality (`'access_key'` / `'secret_key'`) before any output. Output escaped with `esc_html()`. No XSS path. ✓
|
||||
- Notice only rendered when `get_current_screen()->id` contains `'robotstxt-smtp'`. ✓
|
||||
|
||||
### 1.3 Credential validation change (2.1.5)
|
||||
|
||||
- **File:** `includes/class-plugin.php:1473–1537`
|
||||
- Blocking only on `InvalidClientTokenId`, `SignatureDoesNotMatch`, `InvalidAccessKeyId` — correct. AWS authentication errors that definitively prove wrong credentials.
|
||||
- All other `AwsException` errors (wrong region, missing IAM permission) and `Throwable` errors (network) now allow saving. `unset($exception)` used to satisfy PHPCS empty-catch requirement. ✓
|
||||
- No sensitive data exposed in error messages — access key masked in debug context. ✓
|
||||
|
||||
### 1.4 Reply-to clearing (2.1.5)
|
||||
|
||||
- **File:** `includes/class-plugin.php:1269`
|
||||
- `sanitize_email(trim($options['reply_to_email']))` before setting to empty. ✓
|
||||
- Only acts when key `reply_to_email` exists in submitted `$options`. ✓
|
||||
|
||||
### 1.5 Dependency check / missing parent notice (2.1.5)
|
||||
|
||||
- **File:** `robotstxt-smtp-amazonses.php:82`
|
||||
- Pure output using `esc_html__()`. No user input read. ✓
|
||||
- Registered on `admin_notices` and `network_admin_notices` only when parent class is absent. ✓
|
||||
|
||||
### 1.6 Previously existing code — no regressions found
|
||||
|
||||
- All form field renders use `esc_attr()` / `esc_html_e()`. ✓
|
||||
- `wp_nonce_field()` / `check_admin_referer()` not needed here (Settings API handles nonces for save; admin-post handlers use `wp_verify_nonce()`). ✓
|
||||
- No `eval()`, `base64_decode()`, `system()`, `exec()`, `unserialize()`, `extract()`. ✓
|
||||
- Direct file access prevention on all PHP files. ✓
|
||||
|
||||
---
|
||||
|
||||
## 2. ROBUSTNESS & FATAL ERRORS
|
||||
|
||||
- `handle_clear_credential()` sets `$this->clearing_field` before `add_filter()` and unconditionally clears it after `update_option()`. If `update_option()` fails (returns false, does not throw), the priority-11 filter is still removed. No filter leak risk. ✓
|
||||
- `force_clear_credential()` only acts when `$this->clearing_field !== null`. Safe to call even if left registered by accident. ✓
|
||||
- All new code requires PHP 8.2 (`?string` property type). Declared minimum matches. ✓
|
||||
- `plugin_loaded` → dependency check → class file included → `run()`: no class can be called before it's required. ✓
|
||||
- `load_plugin_textdomain()` registered on `init` from main file (not from class), so it fires even when parent plugin is absent and the notice needs translating. ✓
|
||||
|
||||
---
|
||||
|
||||
## 3. COMPATIBILITY & CONFLICTS
|
||||
|
||||
- Multisite: both `get_site_option()` / `update_site_option()` and `get_option()` / `update_option()` paths implemented. `is_network_admin()` used for scope detection in field render, mirroring the parent plugin's password-clear pattern. ✓
|
||||
- No assumptions about sidebars, widgets, or block themes. ✓
|
||||
- `Requires Plugins: robotstxt-smtp` header enforced by WP 6.5+; PHP-level fallback added for WP 5.7–6.4. ✓
|
||||
|
||||
---
|
||||
|
||||
## 4. WORDPRESS CODING STANDARDS
|
||||
|
||||
- All new functions prefixed with `robotstxt_smtp_amazonses_`. ✓
|
||||
- All new methods documented with `@since 2.1.6`. ✓
|
||||
- No logic in constructor. ✓
|
||||
- PHPCS passes with zero errors. ✓
|
||||
|
||||
---
|
||||
|
||||
## 5. INTERNATIONALIZATION
|
||||
|
||||
- `load_plugin_textdomain()` on `init`. ✓
|
||||
- `.pot` regenerated with `wp i18n make-pot` (WP-CLI 2.12.0). ✓
|
||||
- `es_ES` and `ca` translations complete: all new strings translated, fuzzy entries resolved. ✓
|
||||
- Textdomain literal string `'robotstxt-smtp-amazonses'` — no variables. ✓
|
||||
|
||||
---
|
||||
|
||||
## 6. PERFORMANCE
|
||||
|
||||
- No N+1 queries introduced. ✓
|
||||
- `delete_site_transient(get_quota_cache_key())` called after credential clear — avoids stale quota display. ✓
|
||||
- `$client_cache` keyed by `md5(access_key|secret_key|region)` — SES clients re-used within a request. ✓
|
||||
- All new admin-post handlers exit early on scope/nonce/capability failure before touching the DB. ✓
|
||||
|
||||
---
|
||||
|
||||
## 7. DATABASE & MIGRATIONS
|
||||
|
||||
- No custom tables. All data in parent plugin's option. ✓
|
||||
- `uninstall.php` delegates to parent plugin. ✓
|
||||
|
||||
---
|
||||
|
||||
## 8. ASSETS & FRONTEND
|
||||
|
||||
- No JS or CSS added. ✓
|
||||
- Clear buttons render as `<a class="button button-secondary">` — standard WP admin styling, no inline script. ✓
|
||||
- `esc_url(wp_nonce_url(...))` used for button href. ✓
|
||||
|
||||
---
|
||||
|
||||
## 9. DEVOPS / RELEASE ARTIFACTS
|
||||
|
||||
- Version consistent across plugin header, `ROBOTSTXT_SMTP_AMAZONSES_VERSION`, `readme.txt`, `update.json`. ✓
|
||||
- `Stable tag` matches `Version`. ✓
|
||||
- `changelog.txt` and `readme.txt` follow template (date, categories, Compatibility, Tests). ✓
|
||||
- `composer audit` — no CVEs. ✓
|
||||
- `bin/deploy.sh` excludes dev files, phpstan config, composer.json/lock, `.claude/`, `.git`. ✓
|
||||
|
||||
---
|
||||
|
||||
## 10. PUBLIC API & BACKWARD COMPATIBILITY
|
||||
|
||||
- New public methods: `handle_clear_access_key()`, `handle_clear_secret_key()`, `force_clear_credential()`, `display_clear_key_notice()`, `get_cached_ses_quota()`. All additive, no removals. ✓
|
||||
- `get_quota_cache_key()` remains public static — parent plugin accesses it. ✓
|
||||
- No changes to filter/action signatures. ✓
|
||||
- Removed: `apply_ses_quota_to_rate_limits()` — was unused private method. ✓
|
||||
|
||||
---
|
||||
|
||||
## WARNINGS
|
||||
|
||||
- **[WARNING] RESOLVED** `includes/class-plugin.php:1873` — `FILTER_UNSAFE_RAW` changed to `FILTER_SANITIZE_SPECIAL_CHARS` + `sanitize_key()` for the `robotstxt_smtp_amazonses_cleared` query parameter.
|
||||
|
||||
---
|
||||
|
||||
## FINAL EXECUTIVE SUMMARY
|
||||
|
||||
1. **Overall status:** ✅ PASS
|
||||
2. **Top mandatory fixes before tagging:** None. All [CRITICAL] issues: 0.
|
||||
3. **Estimated security risk:** Low.
|
||||
4. **Version recommendation:** Safe to mark as stable.
|
||||
|
|
@ -1,108 +0,0 @@
|
|||
# PRE-DEPLOY CHECKLIST — Version 2.1.6
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
PRE-DEPLOY CHECKLIST — Version 2.1.6
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
INPUT VALIDATION
|
||||
[x] Empty field validation performed
|
||||
[x] Length limits validated server-side
|
||||
[x] Format patterns validated (regex, ctype_alnum, preg_match)
|
||||
[x] Safelist validation used for finite option sets — scope param uses sanitize_key() + strict equality
|
||||
[x] Strict type checking used (===, in_array with true parameter)
|
||||
[x] Validation performed BEFORE any action or processing
|
||||
[x] Helper functions used: is_email(), sanitize_key()
|
||||
|
||||
INPUT SANITIZATION
|
||||
[x] sanitize_text_field() for single-line text — credentials
|
||||
[x] sanitize_textarea_field() for multi-line text — n/a
|
||||
[x] sanitize_email() for email addresses — reply_to_email
|
||||
[x] sanitize_key() for keys/identifiers — scope, cleared_key params
|
||||
[x] sanitize_url() for URLs — n/a (no URL inputs)
|
||||
[x] sanitize_file_name() for filenames — n/a
|
||||
[x] wp_kses() / wp_kses_post() for HTML content — n/a
|
||||
|
||||
OUTPUT ESCAPING (Escape Late)
|
||||
[x] esc_html() for HTML element content
|
||||
[x] esc_attr() for HTML attributes — field names, placeholder text
|
||||
[x] esc_url() for all URLs (src, href) — wp_nonce_url() output + esc_url()
|
||||
[x] esc_js() for inline JavaScript — n/a
|
||||
[x] Combined i18n+escape functions (esc_html__(), esc_attr_e())
|
||||
[x] Escaping performed at output time, not before storage
|
||||
|
||||
CSRF PROTECTION (Nonces)
|
||||
[x] wp_nonce_url() used for clear credential action links
|
||||
[x] wp_verify_nonce() verifies the clear credential handlers (GET via admin-post.php)
|
||||
[x] Nonce action strings are specific ('robotstxt_smtp_amazonses_clear_access_key', 'robotstxt_smtp_amazonses_clear_secret_key')
|
||||
[x] Nonces NOT relied upon for authentication/authorization — capability checks are separate
|
||||
|
||||
DATABASE SECURITY
|
||||
[x] WordPress API functions used — update_option(), update_site_option(), get_option(), get_site_option()
|
||||
[x] No custom SQL queries
|
||||
[x] No direct $_POST/$_GET interpolation in DB operations
|
||||
|
||||
CAPABILITY CHECKS
|
||||
[x] current_user_can() on every admin action — handle_clear_credential() checks manage_options / manage_network_options
|
||||
[x] current_user_can() on every AJAX/admin-post handler
|
||||
[x] Capability checks in execution logic (reject if no permission — wp_die())
|
||||
[x] Appropriate capability selected
|
||||
|
||||
FILE OPERATIONS
|
||||
[x] Direct file access prevention on all PHP files (ABSPATH guard)
|
||||
|
||||
DANGEROUS FUNCTIONS
|
||||
[x] No eval() usage
|
||||
[x] No suspicious base64_decode()
|
||||
[x] No system(), exec(), shell_exec(), passthru()
|
||||
[x] No create_function() (use anonymous functions)
|
||||
[x] No extract() on untrusted data
|
||||
[x] No unserialize() on untrusted data
|
||||
|
||||
CODE QUALITY & STANDARDS
|
||||
[x] PHPCS passes with zero errors (WordPress-Core, WordPress-Docs, WordPress-Extra)
|
||||
[x] PHPStan level 9 passes with zero errors on all modified files
|
||||
[x] PHPCompatibility scan run — 8.2-8.5 PASSED
|
||||
[x] Minimum PHP version in headers reflects real lowest compatible version (8.2 — AWS SDK)
|
||||
[x] All user-facing strings use translation functions (textdomain = 'robotstxt-smtp-amazonses')
|
||||
[x] phpDoc added for all new public methods/hooks with @since 2.1.6
|
||||
|
||||
DEBUG & TESTING
|
||||
[x] Browser console — no new JS introduced
|
||||
[x] composer audit — no CVEs found
|
||||
[x] No PHP notices, warnings, or deprecated messages expected
|
||||
|
||||
VERSIONING & DOCUMENTATION
|
||||
[x] Plugin version bumped in main plugin file header — 2.1.6
|
||||
[x] CHANGELOG.md / changelog.txt updated
|
||||
[x] readme.txt updated — last 3 versions shown (2.1.4, 2.1.5, 2.1.6)
|
||||
[x] Stable tag in readme.txt matches Version in plugin header — both 2.1.6
|
||||
[x] Required headers present, forbidden headers absent
|
||||
[x] update.json version and download_url updated
|
||||
|
||||
DATABASE & UNINSTALL
|
||||
[x] No DB schema changes in this version
|
||||
[x] uninstall.php delegates to parent plugin
|
||||
|
||||
AI AUDIT
|
||||
[x] Pre-deploy AI audit executed — docs/audit-pre-deploy-2.1.6.md
|
||||
[x] All [CRITICAL] findings resolved — none found
|
||||
[x] [WARNING] finding documented and resolved (FILTER_UNSAFE_RAW → FILTER_SANITIZE_SPECIAL_CHARS + sanitize_key)
|
||||
[x] Executive summary: PASS
|
||||
[x] Security risk assessed as: Low
|
||||
|
||||
BUILD & ARTIFACT
|
||||
[x] deploy.sh executed manually
|
||||
[x] ZIP generated in parent directory (wp-content/plugins/)
|
||||
[x] ZIP excludes: vendor/ dev deps, tests, CI config, .git, phpstan.neon, composer.json, CLAUDE.md, AGENTS.md
|
||||
[x] Production dependencies bundled (AWS SDK + runtime deps only)
|
||||
[x] License compatibility verified — GPLv3, AWS SDK Apache-2.0 (GPL-compatible)
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
DEPLOY AUTHORIZATION
|
||||
═══════════════════════════════════════════════════════════════
|
||||
All [CRITICAL] items resolved: YES
|
||||
Executive summary status: PASS
|
||||
Security risk level: Low
|
||||
|
||||
Manual approval confirmed: [x] YES
|
||||
═══════════════════════════════════════════════════════════════
|
||||
Binary file not shown.
|
|
@ -1,10 +1,10 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SMTP (by ROBOTSTXT) Amazon SES\n"
|
||||
"Project-Id-Version: SMTP Amazon SES (by ROBOTSTXT) 2.1.7\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/robotstxt-smtp-"
|
||||
"amazonses\n"
|
||||
"POT-Creation-Date: 2026-06-09T12:37:13+00:00\n"
|
||||
"PO-Revision-Date: 2026-01-29 09:30+0100\n"
|
||||
"POT-Creation-Date: 2026-08-17T20:18:50+00:00\n"
|
||||
"PO-Revision-Date: 2026-08-17 19:30+0000\n"
|
||||
"Last-Translator: ROBOTSTXT <robotstxt@robotstxt.es>\n"
|
||||
"Language-Team: Catalan\n"
|
||||
"Language: ca\n"
|
||||
|
|
@ -16,18 +16,20 @@ msgstr ""
|
|||
|
||||
#. Plugin Name of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "SMTP (by ROBOTSTXT) Amazon SES"
|
||||
msgstr "SMTP (by ROBOTSTXT) Amazon SES"
|
||||
msgid "SMTP Amazon SES (by ROBOTSTXT)"
|
||||
msgstr "SMTP Amazon SES (by ROBOTSTXT)"
|
||||
|
||||
#. Plugin URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses"
|
||||
msgid "https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "Adds Amazon SES configuration support to the ROBOTSTXT SMTP plugin."
|
||||
msgstr "Afegeix suport de configuració d'Amazon SES al plugin ROBOTSTXT SMTP."
|
||||
msgstr ""
|
||||
"Afegeix suport de configuració d'Amazon SES al complement SMTP (by "
|
||||
"ROBOTSTXT)."
|
||||
|
||||
#. Author of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
|
|
@ -36,18 +38,9 @@ msgstr "ROBOTSTXT"
|
|||
|
||||
#. Author URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://www.robotstxt.es/"
|
||||
msgid "https://www.robotstxt.software/"
|
||||
msgstr ""
|
||||
|
||||
#: class-robotstxt-updater.php:379
|
||||
msgid "Security check failed"
|
||||
msgstr "Ha fallat la comprovació de seguretat"
|
||||
|
||||
#: class-robotstxt-updater.php:384 includes/class-plugin.php:932
|
||||
#: includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr "No tens permisos suficients per accedir a aquesta pàgina."
|
||||
|
||||
#: includes/class-plugin.php:163
|
||||
msgid "Amazon SES could not send the email because no recipient was provided."
|
||||
msgstr ""
|
||||
|
|
@ -118,6 +111,10 @@ msgstr "Amazon SES no ha pogut incloure l'adjunt: %s"
|
|||
msgid "Security check failed."
|
||||
msgstr "Ha fallat la comprovació de seguretat."
|
||||
|
||||
#: includes/class-plugin.php:932 includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr "No tens permisos suficients per accedir a aquesta pàgina."
|
||||
|
||||
#: includes/class-plugin.php:945
|
||||
msgid "Amazon SES quotas refreshed successfully."
|
||||
msgstr "Quotes d'Amazon SES actualitzades correctament."
|
||||
|
|
@ -352,41 +349,18 @@ msgstr "Ha fallat en obtenir la quota de SES: %s"
|
|||
msgid "The link you followed has expired."
|
||||
msgstr "L'enllaç que has seguit ha caducat."
|
||||
|
||||
#: includes/class-plugin.php:1884
|
||||
#: includes/class-plugin.php:1885
|
||||
msgid "The Amazon SES Access Key ID has been cleared."
|
||||
msgstr "L'ID de clau d'accés d'Amazon SES s'ha eliminat."
|
||||
|
||||
#: includes/class-plugin.php:1886
|
||||
#: includes/class-plugin.php:1887
|
||||
msgid "The Amazon SES Secret Access Key has been cleared."
|
||||
msgstr "La clau d'accés secreta d'Amazon SES s'ha eliminat."
|
||||
|
||||
#: robotstxt-smtp-amazonses.php:85
|
||||
#: robotstxt-smtp-amazonses.php:83
|
||||
msgid ""
|
||||
"SMTP (by ROBOTSTXT) Amazon SES requires the SMTP (by ROBOTSTXT) plugin to be "
|
||||
"SMTP Amazon SES (by ROBOTSTXT) requires the SMTP (by ROBOTSTXT) plugin to be "
|
||||
"installed and active."
|
||||
msgstr ""
|
||||
"SMTP (by ROBOTSTXT) Amazon SES requereix que el connector SMTP (by "
|
||||
"SMTP Amazon SES (by ROBOTSTXT) requereix que el complement SMTP (by "
|
||||
"ROBOTSTXT) estigui instal·lat i actiu."
|
||||
|
||||
#~ msgid "From Email"
|
||||
#~ msgstr "Email remitent"
|
||||
|
||||
#~ msgid "From Name"
|
||||
#~ msgstr "Nom remitent"
|
||||
|
||||
#~ msgid "Reply-To Email"
|
||||
#~ msgstr "Email de resposta"
|
||||
|
||||
#~ msgid "Reply-To Name"
|
||||
#~ msgstr "Nom de resposta"
|
||||
|
||||
#, php-format
|
||||
#~ msgid "Could not verify Amazon SES credentials: %s"
|
||||
#~ msgstr "No s'han pogut verificar les credencials d'Amazon SES: %s"
|
||||
|
||||
#, php-format
|
||||
#~ msgid ""
|
||||
#~ "An unexpected error occurred while validating Amazon SES credentials: %s"
|
||||
#~ msgstr ""
|
||||
#~ "S'ha produït un error inesperat en validar les credencials d'Amazon SES: "
|
||||
#~ "%s"
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,10 +1,10 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SMTP (by ROBOTSTXT) Amazon SES\n"
|
||||
"Project-Id-Version: SMTP Amazon SES (by ROBOTSTXT) 2.1.7\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/robotstxt-smtp-"
|
||||
"amazonses\n"
|
||||
"POT-Creation-Date: 2026-06-09T12:37:13+00:00\n"
|
||||
"PO-Revision-Date: 2026-01-29 09:30+0100\n"
|
||||
"POT-Creation-Date: 2026-08-17T20:18:50+00:00\n"
|
||||
"PO-Revision-Date: 2026-08-17 19:30+0000\n"
|
||||
"Last-Translator: ROBOTSTXT <robotstxt@robotstxt.es>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es_ES\n"
|
||||
|
|
@ -16,18 +16,19 @@ msgstr ""
|
|||
|
||||
#. Plugin Name of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "SMTP (by ROBOTSTXT) Amazon SES"
|
||||
msgstr "SMTP (by ROBOTSTXT) Amazon SES"
|
||||
msgid "SMTP Amazon SES (by ROBOTSTXT)"
|
||||
msgstr "SMTP Amazon SES (by ROBOTSTXT)"
|
||||
|
||||
#. Plugin URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses"
|
||||
msgid "https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "Adds Amazon SES configuration support to the ROBOTSTXT SMTP plugin."
|
||||
msgstr "Añade soporte de configuración de Amazon SES al plugin ROBOTSTXT SMTP."
|
||||
msgstr ""
|
||||
"Añade soporte de configuración de Amazon SES al plugin SMTP (by ROBOTSTXT)."
|
||||
|
||||
#. Author of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
|
|
@ -36,18 +37,9 @@ msgstr "ROBOTSTXT"
|
|||
|
||||
#. Author URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://www.robotstxt.es/"
|
||||
msgid "https://www.robotstxt.software/"
|
||||
msgstr ""
|
||||
|
||||
#: class-robotstxt-updater.php:379
|
||||
msgid "Security check failed"
|
||||
msgstr "Falló la comprobación de seguridad"
|
||||
|
||||
#: class-robotstxt-updater.php:384 includes/class-plugin.php:932
|
||||
#: includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr "No tienes permisos suficientes para acceder a esta página."
|
||||
|
||||
#: includes/class-plugin.php:163
|
||||
msgid "Amazon SES could not send the email because no recipient was provided."
|
||||
msgstr ""
|
||||
|
|
@ -118,6 +110,10 @@ msgstr "Amazon SES no pudo incluir el adjunto: %s"
|
|||
msgid "Security check failed."
|
||||
msgstr "Falló la comprobación de seguridad."
|
||||
|
||||
#: includes/class-plugin.php:932 includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr "No tienes permisos suficientes para acceder a esta página."
|
||||
|
||||
#: includes/class-plugin.php:945
|
||||
msgid "Amazon SES quotas refreshed successfully."
|
||||
msgstr "Cuotas de Amazon SES actualizadas correctamente."
|
||||
|
|
@ -352,40 +348,18 @@ msgstr "Falló al obtener la cuota de SES: %s"
|
|||
msgid "The link you followed has expired."
|
||||
msgstr "El enlace que has seguido ha caducado."
|
||||
|
||||
#: includes/class-plugin.php:1884
|
||||
#: includes/class-plugin.php:1885
|
||||
msgid "The Amazon SES Access Key ID has been cleared."
|
||||
msgstr "El ID de clave de acceso de Amazon SES se ha eliminado."
|
||||
|
||||
#: includes/class-plugin.php:1886
|
||||
#: includes/class-plugin.php:1887
|
||||
msgid "The Amazon SES Secret Access Key has been cleared."
|
||||
msgstr "La clave de acceso secreta de Amazon SES se ha eliminado."
|
||||
|
||||
#: robotstxt-smtp-amazonses.php:85
|
||||
#: robotstxt-smtp-amazonses.php:83
|
||||
msgid ""
|
||||
"SMTP (by ROBOTSTXT) Amazon SES requires the SMTP (by ROBOTSTXT) plugin to be "
|
||||
"SMTP Amazon SES (by ROBOTSTXT) requires the SMTP (by ROBOTSTXT) plugin to be "
|
||||
"installed and active."
|
||||
msgstr ""
|
||||
"SMTP (by ROBOTSTXT) Amazon SES requiere que el plugin SMTP (by ROBOTSTXT) "
|
||||
"SMTP Amazon SES (by ROBOTSTXT) requiere que el plugin SMTP (by ROBOTSTXT) "
|
||||
"esté instalado y activo."
|
||||
|
||||
#~ msgid "From Email"
|
||||
#~ msgstr "Email remitente"
|
||||
|
||||
#~ msgid "From Name"
|
||||
#~ msgstr "Nombre remitente"
|
||||
|
||||
#~ msgid "Reply-To Email"
|
||||
#~ msgstr "Email de respuesta"
|
||||
|
||||
#~ msgid "Reply-To Name"
|
||||
#~ msgstr "Nombre de respuesta"
|
||||
|
||||
#, php-format
|
||||
#~ msgid "Could not verify Amazon SES credentials: %s"
|
||||
#~ msgstr "No se pudieron verificar las credenciales de Amazon SES: %s"
|
||||
|
||||
#, php-format
|
||||
#~ msgid ""
|
||||
#~ "An unexpected error occurred while validating Amazon SES credentials: %s"
|
||||
#~ msgstr ""
|
||||
#~ "Ocurrió un error inesperado al validar las credenciales de Amazon SES: %s"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,27 @@
|
|||
# Copyright (C) 2026 ROBOTSTXT
|
||||
# This file is distributed under the GPL-3.0-or-later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SMTP (by ROBOTSTXT) Amazon SES 2.1.6\n"
|
||||
"Project-Id-Version: SMTP Amazon SES (by ROBOTSTXT) 2.1.7\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/robotstxt-smtp-amazonses\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"POT-Creation-Date: 2026-06-09T12:37:13+00:00\n"
|
||||
"POT-Creation-Date: 2026-08-17T20:18:50+00:00\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"X-Generator: WP-CLI 2.12.0\n"
|
||||
"X-Domain: robotstxt-smtp-amazonses\n"
|
||||
|
||||
#. Plugin Name of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "SMTP (by ROBOTSTXT) Amazon SES"
|
||||
msgid "SMTP Amazon SES (by ROBOTSTXT)"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses"
|
||||
msgid "https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin
|
||||
|
|
@ -34,17 +36,7 @@ msgstr ""
|
|||
|
||||
#. Author URI of the plugin
|
||||
#: robotstxt-smtp-amazonses.php
|
||||
msgid "https://www.robotstxt.es/"
|
||||
msgstr ""
|
||||
|
||||
#: class-robotstxt-updater.php:379
|
||||
msgid "Security check failed"
|
||||
msgstr ""
|
||||
|
||||
#: class-robotstxt-updater.php:384
|
||||
#: includes/class-plugin.php:932
|
||||
#: includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgid "https://www.robotstxt.software/"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-plugin.php:163
|
||||
|
|
@ -115,6 +107,11 @@ msgstr ""
|
|||
msgid "Security check failed."
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-plugin.php:932
|
||||
#: includes/class-plugin.php:1807
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-plugin.php:945
|
||||
msgid "Amazon SES quotas refreshed successfully."
|
||||
msgstr ""
|
||||
|
|
@ -334,14 +331,14 @@ msgstr ""
|
|||
msgid "The link you followed has expired."
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-plugin.php:1884
|
||||
#: includes/class-plugin.php:1885
|
||||
msgid "The Amazon SES Access Key ID has been cleared."
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-plugin.php:1886
|
||||
#: includes/class-plugin.php:1887
|
||||
msgid "The Amazon SES Secret Access Key has been cleared."
|
||||
msgstr ""
|
||||
|
||||
#: robotstxt-smtp-amazonses.php:85
|
||||
msgid "SMTP (by ROBOTSTXT) Amazon SES requires the SMTP (by ROBOTSTXT) plugin to be installed and active."
|
||||
#: robotstxt-smtp-amazonses.php:83
|
||||
msgid "SMTP Amazon SES (by ROBOTSTXT) requires the SMTP (by ROBOTSTXT) plugin to be installed and active."
|
||||
msgstr ""
|
||||
|
|
|
|||
59
readme.txt
59
readme.txt
|
|
@ -1,11 +1,11 @@
|
|||
=== SMTP (by ROBOTSTXT) Amazon SES ===
|
||||
Contributors: javiercasares
|
||||
=== SMTP Amazon SES (by ROBOTSTXT) ===
|
||||
Contributors: robotstxt, javiercasares
|
||||
Tags: amazon-ses, smtp, email, mail
|
||||
Requires at least: 5.7
|
||||
Tested up to: 7.1
|
||||
Stable tag: 2.1.6
|
||||
Stable tag: 2.1.7
|
||||
Requires PHP: 8.2
|
||||
Version: 2.1.6
|
||||
Version: 2.1.7
|
||||
License: GPL-3.0-or-later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ This private add-on connects the ROBOTSTXT SMTP plugin with Amazon Simple Email
|
|||
|
||||
== Description ==
|
||||
|
||||
SMTP (by ROBOTSTXT) Amazon SES extends the core ROBOTSTXT SMTP plugin with a first-class Amazon SES transport. Configure the IAM credentials and region once to deliver transactional email securely and reliably through your AWS account. The extension keeps the familiar SMTP plugin interface while enforcing WordPress security best practices, validating credentials, and handling mail routing transparently.
|
||||
SMTP Amazon SES (by ROBOTSTXT) extends the core ROBOTSTXT SMTP plugin with a first-class Amazon SES transport. Configure the IAM credentials and region once to deliver transactional email securely and reliably through your AWS account. The extension keeps the familiar SMTP plugin interface while enforcing WordPress security best practices, validating credentials, and handling mail routing transparently.
|
||||
|
||||
= Key features =
|
||||
|
||||
|
|
@ -44,6 +44,10 @@ The plugin validates Amazon SES credentials during saving to prevent misconfigur
|
|||
|
||||
Yes. Network administrators can manage credentials centrally or allow individual sites to configure their own Amazon SES connection.
|
||||
|
||||
= How do I get updates for this plugin? =
|
||||
|
||||
Updates are delivered through the **Manager (by ROBOTSTXT)** plugin. The main SMTP (by ROBOTSTXT) plugin shows a notice when it is not installed and active: [Manager (by ROBOTSTXT)](https://www.robotstxt.software/plugins/robotstxt-manager/).
|
||||
|
||||
== Compatibility ==
|
||||
|
||||
* WordPress: 5.7 - 7.1
|
||||
|
|
@ -53,6 +57,29 @@ Yes. Network administrators can manage credentials centrally or allow individual
|
|||
|
||||
Only the 3 last versions. The full changelog will be at changelog.txt
|
||||
|
||||
= 2.1.7 =
|
||||
|
||||
_Release date: 2026-08-17_
|
||||
|
||||
**Changed**
|
||||
|
||||
* Plugin renamed to "SMTP Amazon SES (by ROBOTSTXT)".
|
||||
* Plugin URI now points to https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/.
|
||||
* Removed the built-in Gitea self-updater; updates are now delivered through the Manager (by ROBOTSTXT) plugin. The required Manager notices are handled by the main SMTP plugin.
|
||||
* Updated bundled AWS SDK for PHP to 3.392.3 (now shipping Guzzle 8).
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 5.7 - 7.1
|
||||
* PHP: 8.2 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP_CodeSniffer: 3.13.6
|
||||
* WordPress Coding Standards: 3.4.1
|
||||
* PHPCompatibility: 9.3.5
|
||||
* PHPStan: 2.2.8
|
||||
|
||||
= 2.1.6 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
|
@ -98,29 +125,9 @@ _Release date: 2026-06-09_
|
|||
* PHPCompatibility: 9.3.5
|
||||
* PHPStan: 2.2.2
|
||||
|
||||
= 2.1.4 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
||||
**Changed**
|
||||
|
||||
* Minimum WordPress version lowered from 6.5 to 5.7, reflecting the actual code minimum verified by static analysis.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 5.7 - 7.1
|
||||
* PHP: 8.2 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP_CodeSniffer: 3.13.5
|
||||
* WordPress Coding Standards: 3.3.0
|
||||
* PHPCompatibility: 9.3.5
|
||||
* PHPStan: 2.2.2
|
||||
|
||||
= Previous versions =
|
||||
|
||||
If you want to see the full changelog, visit the [changelog.txt](https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses/raw/branch/main/changelog.txt) file.
|
||||
If you want to see the full changelog, visit the [changelog](https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/) page.
|
||||
|
||||
== Compliance ==
|
||||
|
||||
|
|
|
|||
|
|
@ -1,22 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* Plugin Name: SMTP (by ROBOTSTXT) Amazon SES
|
||||
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses
|
||||
* Plugin Name: SMTP Amazon SES (by ROBOTSTXT)
|
||||
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-smtp-amazonses/
|
||||
* Description: Adds Amazon SES configuration support to the ROBOTSTXT SMTP plugin.
|
||||
* Version: 2.1.6
|
||||
* Version: 2.1.7
|
||||
* Requires at least: 5.7
|
||||
* Requires PHP: 8.2
|
||||
* Network: true
|
||||
* Security: robotstxt@robotstxt.es
|
||||
* Author: ROBOTSTXT
|
||||
* Author URI: https://www.robotstxt.es/
|
||||
* Author URI: https://www.robotstxt.software/
|
||||
* Text Domain: robotstxt-smtp-amazonses
|
||||
* Requires Plugins: robotstxt-smtp
|
||||
* Domain Path: /languages
|
||||
* License: GPL-3.0-or-later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
* Gitea Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses
|
||||
* Primary Branch: main
|
||||
*
|
||||
* @package Robotstxt_SMTP_AmazonSES
|
||||
*/
|
||||
|
|
@ -26,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_AMAZONSES_VERSION' ) ) {
|
||||
define( 'ROBOTSTXT_SMTP_AMAZONSES_VERSION', '2.1.6' );
|
||||
define( 'ROBOTSTXT_SMTP_AMAZONSES_VERSION', '2.1.7' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_AMAZONSES_FILE' ) ) {
|
||||
|
|
@ -82,7 +80,7 @@ function robotstxt_smtp_amazonses_load_textdomain(): void {
|
|||
function robotstxt_smtp_amazonses_missing_parent_notice(): void {
|
||||
printf(
|
||||
'<div class="notice notice-error is-dismissible"><p>%s</p></div>',
|
||||
\esc_html__( 'SMTP (by ROBOTSTXT) Amazon SES requires the SMTP (by ROBOTSTXT) plugin to be installed and active.', 'robotstxt-smtp-amazonses' )
|
||||
\esc_html__( 'SMTP Amazon SES (by ROBOTSTXT) requires the SMTP (by ROBOTSTXT) plugin to be installed and active.', 'robotstxt-smtp-amazonses' )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -100,7 +98,3 @@ function robotstxt_smtp_amazonses_missing_parent_notice(): void {
|
|||
\Robotstxt_SMTP_AmazonSES\Plugin::get_instance()->run();
|
||||
}
|
||||
);
|
||||
|
||||
// Initialize ROBOTSTXT updater (does not depend on the parent plugin).
|
||||
require_once __DIR__ . '/class-robotstxt-updater.php';
|
||||
Robotstxt_Updater::init( __FILE__ );
|
||||
|
|
|
|||
28
update.json
28
update.json
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"name": "SMTP (by ROBOTSTXT) Amazon SES",
|
||||
"slug": "robotstxt-smtp-amazonses",
|
||||
"version": "2.1.6",
|
||||
"download_url": "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses/releases/download/2.1.6/robotstxt-smtp-amazonses-2.1.6.zip",
|
||||
"requires": "5.7",
|
||||
"requires_php": "8.2",
|
||||
"tested": "7.1",
|
||||
"last_updated": "2026-06-09",
|
||||
"author": "ROBOTSTXT",
|
||||
"author_profile": "https://www.robotstxt.es/",
|
||||
"homepage": "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-amazonses",
|
||||
"requires_plugins": ["robotstxt-smtp"],
|
||||
"description": "Adds Amazon SES (Simple Email Service) configuration support to the ROBOTSTXT SMTP plugin. Integrates seamlessly with AWS SDK for PHP to send emails through Amazon SES infrastructure.",
|
||||
"changelog": "<h3>2.1.6 - 2026-06-09</h3><ul><li><strong>Added:</strong> Clear buttons for Access Key ID and Secret Access Key — when a credential is stored, a button appears next to the field to immediately remove the stored value</li></ul><h3>2.1.5 - 2026-06-09</h3><ul><li><strong>Added:</strong> Runtime check for missing parent plugin — shows admin notice instead of fatal error</li><li><strong>Fixed:</strong> Credentials never saving on first entry — validation now only blocks on definitive auth failures</li><li><strong>Fixed:</strong> Reply-to email field cannot be cleared — submitting empty now removes the stored address</li></ul><h3>2.1.4 - 2026-06-09</h3><ul><li><strong>Changed:</strong> Minimum WordPress version lowered to 5.7 (verified real minimum by static analysis)</li></ul><h3>2.1.3 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Nonce handling in manual quota refresh to correctly handle false values from filter_input()</li><li><strong>Fixed:</strong> Admin notices display now skips non-array notice entries</li><li><strong>Fixed:</strong> Input normalization for recipients, attachments, and headers now properly skips non-string values</li><li><strong>Removed:</strong> Unused internal rate limit method (dead code cleanup)</li><li><strong>Compatibility:</strong> Tested up to WordPress 7.1</li></ul><h3>2.1.2 - 2026-02-12</h3><ul><li><strong>Fixed:</strong> Charset encoding issue that caused \"expected parameter value, got null\" error when sending emails through Amazon SES</li><li><strong>Improved:</strong> Added robust charset validation in header parsing to prevent empty or invalid charset values</li><li><strong>Improved:</strong> Enhanced charset handling with automatic fallback to UTF-8 when no valid charset is provided</li></ul>",
|
||||
"sections": {
|
||||
"description": "Adds Amazon SES (Simple Email Service) configuration support to the ROBOTSTXT SMTP plugin. Integrates seamlessly with AWS SDK for PHP to send emails through Amazon SES infrastructure.",
|
||||
"changelog": "<h3>2.1.6 - 2026-06-09</h3><ul><li><strong>Added:</strong> Clear buttons for Access Key ID and Secret Access Key — when a credential is stored, a button appears next to the field to immediately remove the stored value</li></ul><h3>2.1.5 - 2026-06-09</h3><ul><li><strong>Added:</strong> Runtime check for missing parent plugin — shows admin notice instead of fatal error</li><li><strong>Fixed:</strong> Credentials never saving on first entry — validation now only blocks on definitive auth failures</li><li><strong>Fixed:</strong> Reply-to email field cannot be cleared — submitting empty now removes the stored address</li></ul><h3>2.1.4 - 2026-06-09</h3><ul><li><strong>Changed:</strong> Minimum WordPress version lowered to 5.7 (verified real minimum by static analysis)</li></ul><h3>2.1.3 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Nonce handling in manual quota refresh to correctly handle false values from filter_input()</li><li><strong>Fixed:</strong> Admin notices display now skips non-array notice entries</li><li><strong>Fixed:</strong> Input normalization for recipients, attachments, and headers now properly skips non-string values</li><li><strong>Removed:</strong> Unused internal rate limit method (dead code cleanup)</li><li><strong>Compatibility:</strong> Tested up to WordPress 7.1</li></ul><h3>2.1.2 - 2026-02-12</h3><ul><li><strong>Fixed:</strong> Charset encoding issue that caused \"expected parameter value, got null\" error when sending emails through Amazon SES</li><li><strong>Improved:</strong> Added robust charset validation in header parsing to prevent empty or invalid charset values</li><li><strong>Improved:</strong> Enhanced charset handling with automatic fallback to UTF-8 when no valid charset is provided</li></ul><h3>2.1.1 - 2026-02-09</h3><ul><li><strong>Added:</strong> Comprehensive Amazon SES debug context to test email error reports</li><li><strong>Security:</strong> Access keys are now masked in error output (shows only first 4 and last 4 characters)</li></ul><h3>2.1.0 - 2026-02-09</h3><ul><li><strong>Changed:</strong> Uninstall behavior: plugin no longer performs cleanup on uninstall, all data cleanup is now handled by the core SMTP plugin</li></ul>"
|
||||
},
|
||||
"banners": {
|
||||
"low": "",
|
||||
"high": ""
|
||||
},
|
||||
"icons": {
|
||||
"1x": "",
|
||||
"2x": ""
|
||||
}
|
||||
}
|
||||
|
|
@ -23,6 +23,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getGovCloudAccountInformationAsync(array $args = [])
|
||||
* @method \Aws\Result getPrimaryEmail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPrimaryEmailAsync(array $args = [])
|
||||
* @method \Aws\Result getPrimaryEmailUpdateStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPrimaryEmailUpdateStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getRegionOptStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getRegionOptStatusAsync(array $args = [])
|
||||
* @method \Aws\Result listRegions(array $args = [])
|
||||
|
|
|
|||
31
vendor/aws/aws-sdk-php/src/AccountAccess/AccountAccessClient.php
vendored
Normal file
31
vendor/aws/aws-sdk-php/src/AccountAccess/AccountAccessClient.php
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
namespace Aws\AccountAccess;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **Account Access** service.
|
||||
* @method \Aws\Result createApplication(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createApplicationAsync(array $args = [])
|
||||
* @method \Aws\Result createEntitlement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createEntitlementAsync(array $args = [])
|
||||
* @method \Aws\Result deleteApplication(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteApplicationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteEntitlement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteEntitlementAsync(array $args = [])
|
||||
* @method \Aws\Result getApplication(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getApplicationAsync(array $args = [])
|
||||
* @method \Aws\Result getEntitlement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getEntitlementAsync(array $args = [])
|
||||
* @method \Aws\Result listApplications(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listApplicationsAsync(array $args = [])
|
||||
* @method \Aws\Result listEntitlements(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEntitlementsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
*/
|
||||
class AccountAccessClient extends AwsClient {}
|
||||
9
vendor/aws/aws-sdk-php/src/AccountAccess/Exception/AccountAccessException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/AccountAccess/Exception/AccountAccessException.php
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\AccountAccess\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **Account Access** service.
|
||||
*/
|
||||
class AccountAccessException extends AwsException {}
|
||||
46
vendor/aws/aws-sdk-php/src/Acm/AcmClient.php
vendored
46
vendor/aws/aws-sdk-php/src/Acm/AcmClient.php
vendored
|
|
@ -8,22 +8,56 @@ use Aws\AwsClient;
|
|||
*
|
||||
* @method \Aws\Result addTagsToCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise addTagsToCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result createAcmeDomainValidation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAcmeDomainValidationAsync(array $args = [])
|
||||
* @method \Aws\Result createAcmeEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAcmeEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result createAcmeExternalAccountBinding(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAcmeExternalAccountBindingAsync(array $args = [])
|
||||
* @method \Aws\Result deleteAcmeDomainValidation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAcmeDomainValidationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteAcmeEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAcmeEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result deleteAcmeExternalAccountBinding(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAcmeExternalAccountBindingAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result describeAcmeAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAcmeAccountAsync(array $args = [])
|
||||
* @method \Aws\Result describeAcmeDomainValidation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAcmeDomainValidationAsync(array $args = [])
|
||||
* @method \Aws\Result describeAcmeEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAcmeEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result describeAcmeExternalAccountBinding(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAcmeExternalAccountBindingAsync(array $args = [])
|
||||
* @method \Aws\Result describeCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result exportCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise exportCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result getAccountConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAccountConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getAcmeExternalAccountBindingCredentials(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAcmeExternalAccountBindingCredentialsAsync(array $args = [])
|
||||
* @method \Aws\Result getCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result importCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise importCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result listAcmeAccounts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAcmeAccountsAsync(array $args = [])
|
||||
* @method \Aws\Result listAcmeDomainValidations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAcmeDomainValidationsAsync(array $args = [])
|
||||
* @method \Aws\Result listAcmeEndpoints(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAcmeEndpointsAsync(array $args = [])
|
||||
* @method \Aws\Result listAcmeExternalAccountBindings(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAcmeExternalAccountBindingsAsync(array $args = [])
|
||||
* @method \Aws\Result listCertificateDomainValidations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCertificateDomainValidationsAsync(array $args = [])
|
||||
* @method \Aws\Result listCertificates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCertificatesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result putAccountConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise putAccountConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result removeTagsFromCertificate(array $args = [])
|
||||
|
|
@ -34,10 +68,22 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise requestCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result resendValidationEmail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resendValidationEmailAsync(array $args = [])
|
||||
* @method \Aws\Result revokeAcmeAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise revokeAcmeAccountAsync(array $args = [])
|
||||
* @method \Aws\Result revokeAcmeExternalAccountBinding(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise revokeAcmeExternalAccountBindingAsync(array $args = [])
|
||||
* @method \Aws\Result revokeCertificate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise revokeCertificateAsync(array $args = [])
|
||||
* @method \Aws\Result searchCertificates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchCertificatesAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateAcmeDomainValidation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAcmeDomainValidationAsync(array $args = [])
|
||||
* @method \Aws\Result updateAcmeEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAcmeEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result updateCertificateOptions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateCertificateOptionsAsync(array $args = [])
|
||||
*/
|
||||
|
|
|
|||
15
vendor/aws/aws-sdk-php/src/AgentRegistry/AgentRegistryClient.php
vendored
Normal file
15
vendor/aws/aws-sdk-php/src/AgentRegistry/AgentRegistryClient.php
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
namespace Aws\AgentRegistry;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **Agent Registry** service.
|
||||
* @method \Aws\Result batchGetDiscoverableRegistryRecord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetDiscoverableRegistryRecordAsync(array $args = [])
|
||||
* @method \Aws\Result listDiscoverableRegistryRecords(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listDiscoverableRegistryRecordsAsync(array $args = [])
|
||||
* @method \Aws\Result searchDiscoverableRegistryRecords(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchDiscoverableRegistryRecordsAsync(array $args = [])
|
||||
*/
|
||||
class AgentRegistryClient extends AwsClient {}
|
||||
9
vendor/aws/aws-sdk-php/src/AgentRegistry/Exception/AgentRegistryException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/AgentRegistry/Exception/AgentRegistryException.php
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\AgentRegistry\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **Agent Registry** service.
|
||||
*/
|
||||
class AgentRegistryException extends AwsException {}
|
||||
39
vendor/aws/aws-sdk-php/src/AgentRegistryControl/AgentRegistryControlClient.php
vendored
Normal file
39
vendor/aws/aws-sdk-php/src/AgentRegistryControl/AgentRegistryControlClient.php
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
namespace Aws\AgentRegistryControl;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **Agent Registry Control** service.
|
||||
* @method \Aws\Result createRegistry(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createRegistryAsync(array $args = [])
|
||||
* @method \Aws\Result createRegistryRecord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createRegistryRecordAsync(array $args = [])
|
||||
* @method \Aws\Result deleteRegistry(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteRegistryAsync(array $args = [])
|
||||
* @method \Aws\Result deleteRegistryRecord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteRegistryRecordAsync(array $args = [])
|
||||
* @method \Aws\Result getRegistry(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getRegistryAsync(array $args = [])
|
||||
* @method \Aws\Result getRegistryRecord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getRegistryRecordAsync(array $args = [])
|
||||
* @method \Aws\Result listRegistries(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listRegistriesAsync(array $args = [])
|
||||
* @method \Aws\Result listRegistryRecords(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listRegistryRecordsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result submitRegistryRecordForApproval(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise submitRegistryRecordForApprovalAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateRegistry(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateRegistryAsync(array $args = [])
|
||||
* @method \Aws\Result updateRegistryRecord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateRegistryRecordAsync(array $args = [])
|
||||
* @method \Aws\Result updateRegistryRecordStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateRegistryRecordStatusAsync(array $args = [])
|
||||
*/
|
||||
class AgentRegistryControlClient extends AwsClient {}
|
||||
9
vendor/aws/aws-sdk-php/src/AgentRegistryControl/Exception/AgentRegistryControlException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/AgentRegistryControl/Exception/AgentRegistryControlException.php
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\AgentRegistryControl\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **Agent Registry Control** service.
|
||||
*/
|
||||
class AgentRegistryControlException extends AwsException {}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue