From 4e28a7bb7b4ab2b66c794994c7c6ba129dcc3d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Fri, 27 Aug 2021 23:49:03 +0200 Subject: [PATCH] [snappymail] More changes to use the word "extensions" rather than plugins/packages --- plugins/auto-domain-grab/LICENSE | 2 +- plugins/auto-domain-grab/README | 25 ++++++++++++------- plugins/auto-domain-grab/index.php | 11 ++++---- plugins/black-list/index.php | 4 +-- plugins/change-password/index.php | 2 +- plugins/change-smtp-ehlo-message/index.php | 4 +-- .../contacts-suggestions-example/index.php | 4 +-- plugins/custom-admin-settings-tab/index.php | 4 +-- .../custom-admin-settings-tab/langs/en.ini | 6 ++--- plugins/custom-auth-example/index.php | 4 +-- plugins/custom-login-mapping/index.php | 2 +- plugins/custom-settings-tab/index.php | 4 +-- plugins/custom-settings-tab/langs/en.ini | 6 ++--- plugins/custom-system-folders/index.php | 2 +- plugins/demo-account/index.php | 4 +-- plugins/ldap-contacts-suggestions/index.php | 4 +-- plugins/ldap-identities/LdapIdentities.php | 2 +- plugins/ldap-identities/index.php | 2 +- plugins/login-register/index.php | 2 +- plugins/override-smtp-credentials/index.php | 4 +-- plugins/proxyauth-login-example/index.php | 2 +- plugins/snowfall-on-login-screen/index.php | 2 +- plugins/two-factor-auth/index.php | 2 +- plugins/white-list/index.php | 4 +-- 24 files changed, 58 insertions(+), 50 deletions(-) diff --git a/plugins/auto-domain-grab/LICENSE b/plugins/auto-domain-grab/LICENSE index 325ab989b..8a36e2657 100644 --- a/plugins/auto-domain-grab/LICENSE +++ b/plugins/auto-domain-grab/LICENSE @@ -1,4 +1,4 @@ -This plugin, written by https://github.com/jas8522 +This extension, written by https://github.com/jas8522 and optimised by https://github.com/rhyswilliamsza https://github.com/rhysit diff --git a/plugins/auto-domain-grab/README b/plugins/auto-domain-grab/README index ad56f159e..4d7e0f495 100644 --- a/plugins/auto-domain-grab/README +++ b/plugins/auto-domain-grab/README @@ -1,14 +1,21 @@ What is it? -In essense, this plugin allows for multiple users across multiple servers to use one RainLoop installation, -all without the administrator needing to create each domain separately. This plugin detects the required -hostname from the inputted email address (for example, it would detect "example.com" as the hostname if -"info@example.com" is inputted). This hostname is then used for IMAP and SMTP communication. +In essense, this extension allows multiple users across multiple servers to +use one Snappymail installation without the administrator having to create +and configure individual domans. + +This extension detects the required hostname from a given email address (for +example, it would use "example.com" as the hostname if a user would +log in as "info@example.com"). + +This hostname is then used for IMAP and SMTP communication. How to Use: -1) Activate plugin -2) Visit Settings, and add a new wildcard domain "*" -3) Set your ports/ssl requirements as needed. These will not be changed by the plugin. -4) In the SMTP and/or IMAP host fields, place the single word "auto". This will be replaced when the plugin is active. -5) That's it! The plugin should now work! \ No newline at end of file +1) Activate extension +2) Go to settings, and add a new wildcard domain "*" +3) Set your ports/TLS/SSL configuration as needed. These settings will not be + altered by the extension. +4) Set the SMTP and/or IMAP host fields to "auto", this field will then be + auto-configured. +5) That's it! diff --git a/plugins/auto-domain-grab/index.php b/plugins/auto-domain-grab/index.php index f55c4597c..34fc0c3ca 100644 --- a/plugins/auto-domain-grab/index.php +++ b/plugins/auto-domain-grab/index.php @@ -1,9 +1,10 @@ ldapAvailable = false; - $logger->Write("The LDAP plugin is not available!", Type::WARNING, self::LOG_KEY); + $logger->Write("The LDAP extension is not available!", Type::WARNING, self::LOG_KEY); return; } diff --git a/plugins/ldap-identities/index.php b/plugins/ldap-identities/index.php index e9d659ae9..2fc18ebd5 100644 --- a/plugins/ldap-identities/index.php +++ b/plugins/ldap-identities/index.php @@ -14,7 +14,7 @@ class LdapIdentitiesPlugin extends AbstractPlugin RELEASE = '2020-11-11', REQUIRED = '2.1.0', CATEGORY = 'Accounts', - DESCRIPTION = 'Plugin that adds functionality to import account identities from LDAP.'; + DESCRIPTION = 'Adds functionality to import account identities from LDAP.'; public function __construct() { diff --git a/plugins/login-register/index.php b/plugins/login-register/index.php index d602745ce..d7d8f1a98 100644 --- a/plugins/login-register/index.php +++ b/plugins/login-register/index.php @@ -8,7 +8,7 @@ class LoginRegisterPlugin extends \RainLoop\Plugins\AbstractPlugin RELEASE = '2021-06-01', REQUIRED = '2.5.2', CATEGORY = 'Login', - DESCRIPTION = 'Links on login screen for registration and forgot password'; + DESCRIPTION = 'Links on login screen for registration and forgotten password'; public function Init() : void { diff --git a/plugins/override-smtp-credentials/index.php b/plugins/override-smtp-credentials/index.php index 36e79e04a..9ade6106a 100644 --- a/plugins/override-smtp-credentials/index.php +++ b/plugins/override-smtp-credentials/index.php @@ -3,12 +3,12 @@ class OverrideSmtpCredentialsPlugin extends \RainLoop\Plugins\AbstractPlugin { const - NAME = 'Override Smtp Credentials', + NAME = 'Override SMTP Credentials', VERSION = '2.1', RELEASE = '2021-04-21', REQUIRED = '2.5.0', CATEGORY = 'Filters', - DESCRIPTION = 'Plugin which allows you to override smtp credentials specified users.'; + DESCRIPTION = 'Override SMTP credentials for specific users.'; public function Init() : void { diff --git a/plugins/proxyauth-login-example/index.php b/plugins/proxyauth-login-example/index.php index f242c973c..afa590482 100644 --- a/plugins/proxyauth-login-example/index.php +++ b/plugins/proxyauth-login-example/index.php @@ -3,7 +3,7 @@ class ProxyauthLoginExamplePlugin extends \RainLoop\Plugins\AbstractPlugin { const - NAME = '', + NAME = 'Proxy Auth Login Example', VERSION = '2.1', REQUIRED = '2.5.0', CATEGORY = 'General', diff --git a/plugins/snowfall-on-login-screen/index.php b/plugins/snowfall-on-login-screen/index.php index 35813c689..065716af8 100644 --- a/plugins/snowfall-on-login-screen/index.php +++ b/plugins/snowfall-on-login-screen/index.php @@ -6,7 +6,7 @@ class SnowfallOnLoginScreenPlugin extends \RainLoop\Plugins\AbstractPlugin NAME = 'Snowfall on login screen', VERSION = '2.0', CATEGORY = 'Fun', - DESCRIPTION = 'Snowfall on login screen plugin (just for fun).'; + DESCRIPTION = 'Snowfall on login screen (just for fun).'; public function Init() : void { diff --git a/plugins/two-factor-auth/index.php b/plugins/two-factor-auth/index.php index 162aeb0a6..f2ca483e9 100644 --- a/plugins/two-factor-auth/index.php +++ b/plugins/two-factor-auth/index.php @@ -10,7 +10,7 @@ class TwoFactorAuthPlugin extends \RainLoop\Plugins\AbstractPlugin RELEASE = '2021-07-28', REQUIRED = '2.6.0', CATEGORY = 'Login', - DESCRIPTION = 'This plugin allows you to have TOTP 2FA'; + DESCRIPTION = 'Provides support for TOTP 2FA'; public function Init() : void { diff --git a/plugins/white-list/index.php b/plugins/white-list/index.php index dd7d9ff38..efad99ea8 100644 --- a/plugins/white-list/index.php +++ b/plugins/white-list/index.php @@ -3,12 +3,12 @@ class WhiteListPlugin extends \RainLoop\Plugins\AbstractPlugin { const - NAME = 'White list', + NAME = 'Whitelist', VERSION = '2.1', RELEASE = '2021-04-21', REQUIRED = '2.5.0', CATEGORY = 'Login', - DESCRIPTION = 'Simple white list plugin (with wildcard and exceptions functionality).'; + DESCRIPTION = 'Simple login whitelist (with wildcard and exceptions functionality).'; public function Init() : void {