[Web] Adjust mailbox format

[Web] Include IMAP lib for future use
[Web] Fix default exception handler
[Web] Fix sync job edit forms
[Web] Other minor fixes
This commit is contained in:
andryyy
2018-11-12 10:03:50 +01:00
parent f9bfac4d27
commit d82c2bfdb7
90 changed files with 5671 additions and 56 deletions

View File

@@ -279,7 +279,7 @@ class ClassLoader
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**
@@ -377,7 +377,7 @@ class ClassLoader
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

View File

@@ -9,4 +9,5 @@ return array(
'RobThree\\Auth\\' => array($vendorDir . '/robthree/twofactorauth/lib'),
'PhpMimeMailParser\\' => array($vendorDir . '/php-mime-mail-parser/php-mime-mail-parser/src'),
'Html2Text\\' => array($vendorDir . '/soundasleep/html2text/src'),
'Ddeboer\\Imap\\' => array($vendorDir . '/ddeboer/imap/src'),
);

View File

@@ -19,6 +19,10 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
array (
'Html2Text\\' => 10,
),
'D' =>
array (
'Ddeboer\\Imap\\' => 13,
),
);
public static $prefixDirsPsr4 = array (
@@ -34,6 +38,10 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
array (
0 => __DIR__ . '/..' . '/soundasleep/html2text/src',
),
'Ddeboer\\Imap\\' =>
array (
0 => __DIR__ . '/..' . '/ddeboer/imap/src',
),
);
public static $classMap = array (

View File

@@ -1,4 +1,65 @@
[
{
"name": "ddeboer/imap",
"version": "1.5.5",
"version_normalized": "1.5.5.0",
"source": {
"type": "git",
"url": "https://github.com/ddeboer/imap.git",
"reference": "acf56f54375babb27a245338a13f4e8246975268"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ddeboer/imap/zipball/acf56f54375babb27a245338a13f4e8246975268",
"reference": "acf56f54375babb27a245338a13f4e8246975268",
"shasum": ""
},
"require": {
"ext-iconv": "*",
"ext-imap": "*",
"ext-mbstring": "*",
"php": "^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.10",
"phpstan/phpstan": "^0.9.1",
"phpstan/phpstan-phpunit": "^0.9.3",
"phpunit/phpunit": "^6.5 || ^7.0",
"zendframework/zend-mail": "^2.8"
},
"time": "2018-08-21T07:30:59+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"Ddeboer\\Imap\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "David de Boer",
"email": "david@ddeboer.nl"
},
{
"name": "Community contributors",
"homepage": "https://github.com/ddeboer/imap/graphs/contributors"
},
{
"name": "Filippo Tessarotto",
"email": "zoeslam@gmail.com"
}
],
"description": "Object-oriented IMAP for PHP",
"keywords": [
"email",
"imap",
"mail"
]
},
{
"name": "php-mime-mail-parser/php-mime-mail-parser",
"version": "2.11.1",