mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Release plugins as tar.gz because PharData is more common then ZipArchive
This commit is contained in:
parent
756bf86640
commit
b9b0a550d6
47 changed files with 214 additions and 159 deletions
|
|
@ -1 +0,0 @@
|
|||
1.2
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class AddXOriginatingIpHeaderPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'X-Originating-IP',
|
||||
VERSION = '2.0',
|
||||
DESCRIPTION = 'Adds X-Originating-IP header to outgoing message, containing sender\'s IP address.';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.build-message', 'FilterBuildMessage');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.1
|
||||
|
|
@ -12,6 +12,10 @@
|
|||
|
||||
class AutoDomainGrabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
private $imap_prefix = "mail.";
|
||||
private $smtp_prefix = "mail.";
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class BlackListPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'Black list',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = 'Simple black list plugin (with wildcard and exceptions functionality).';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.login-credentials', 'FilterLoginCredentials');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class ChangeSmtpEhloMessagePlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.smtp-credentials', 'FilterSmtpCredentials');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
0.1
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class ContactGroupExcelPastePlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addJs('js/excel_contact_group.js');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class ContactsSuggestionsExamplePlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('main.fabrica', 'MainFabrica');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class CustomAdminSettingsTabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class CustomAuthExamplePlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = '';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.login-credentials', 'FilterLoginСredentials');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class CustomLoginMappingPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'Custom Login Mapping',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = 'Plugin which allows you to set up custom username by email address.';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.login-credentials', 'FilterLoginСredentials');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.1
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class CustomSettingsTabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class CustomSystemFoldersPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = '';
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 https://github.com/sharq88
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Add ability to paste multi row email addresses from excel.
|
||||
|
|
@ -1 +0,0 @@
|
|||
0.1
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
|
||||
class ParseExcelListPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addJs('js/parse_excel_list.js'); // add js file
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
(function(window, $) {
|
||||
|
||||
$(function() {
|
||||
|
||||
$(window.document).on('keyup', '.b-compose .b-header .inputosaurus-input input[type="text"]:first', function() {
|
||||
|
||||
var
|
||||
$this = $(this),
|
||||
value = $this.val()
|
||||
;
|
||||
|
||||
if (value && value.match(/@/ig).length >= 2)
|
||||
{
|
||||
$this.val($this.val().replace(/\n| /ig, ','));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}(window, $))
|
||||
|
|
@ -1 +0,0 @@
|
|||
1.1
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class LdapContactsSuggestionsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'Contacts suggestions (LDAP)',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Security',
|
||||
DESCRIPTION = 'Plugin that adds functionality to get contacts from LDAP on compose page.';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('main.fabrica', 'MainFabrica');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -6,6 +6,16 @@ use RainLoop\Plugins\Property;
|
|||
|
||||
class LdapIdentitiesPlugin extends AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'LDAP Identities',
|
||||
VERSION = '2.0',
|
||||
AUTHOR = 'FWest98',
|
||||
URL = 'https://github.com/FWest98',
|
||||
RELEASE = '2020-11-11',
|
||||
REQUIRED = '2.1.0',
|
||||
CATEGORY = 'Accounts',
|
||||
DESCRIPTION = 'Plugin that adds functionality to import account identities from LDAP.';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
include_once __DIR__ . '/LdapIdentities.php';
|
||||
|
|
@ -127,4 +137,4 @@ class LdapIdentitiesPlugin extends AbstractPlugin
|
|||
->SetDescription("The base DN to search in for groups")
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class OverrideSmtpCredentialsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'Override Smtp Credentials',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Filters',
|
||||
DESCRIPTION = 'Plugin which allows you to override smtp credentials specified users.';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.smtp-credentials', 'FilterSmtpCredentials');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class ProxyauthLoginExamplePlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = '',
|
||||
CATEGORY = 'General',
|
||||
DESCRIPTION = '';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('event.login-post-login-provide', 'EventLoginPostLoginProvide');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.1
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class SnowfallOnLoginScreenPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'Snowfall on login screen',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Fun',
|
||||
DESCRIPTION = 'Snowfall on login screen plugin (just for fun).';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addJs('js/snowfall.js');
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
1.0
|
||||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
class WhiteListPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'White list',
|
||||
VERSION = '2.0',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = 'Simple white list plugin (with wildcard and exceptions functionality).';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.login-credentials', 'FilterLoginCredentials');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue