Overview
Request 3140 (accepted)
New release
- Created by mollekopf almost 2 years ago
- In state accepted
-
Open review for
Admin
-
Open review for
vanmeeuwen
-
Open review for
mollekopf
-
Open review for
kolab-developers
Submit package Kolab:16:Testing / roundcubema...fcontained to package Kolab:16 / roundcubemail-selfcontained
buildroundcubemailtarball.sh
Changed
x
1
2
#!/bin/bash
3
4
set -e
5
+set -x
6
7
VERSION=1.5.3
8
GIT_REF=dev/kolab-1.5
9
10
NAME=roundcubemail-$VERSION
11
source buildroundcubemailtarball.config
12
13
-if -x "/usr/local/bin/lessc" ; then
14
- LESSC=/usr/local/bin/lessc
15
-else
16
- LESSC=~/node_modules/less/bin/lessc
17
-fi
18
-
19
-if ! -f $LESSC ; then
20
- echo "Missing lessc"
21
- exit 1
22
-fi
23
-
24
-
25
ROOT_DIR=$(pwd)
26
27
rm -Rf /tmp/$NAME
28
29
composer install
30
bin/install-jsdeps.sh
31
32
+# Install build deps
33
+npm install less less-plugin-clean-css --save-dev
34
+LESSC="$(pwd)/node_modules/less/bin/lessc"
35
+
36
# May require an "npm install less" and "npm install less-plugin-clean-css"
37
pushd skins/elastic
38
$LESSC -x styles/styles.less > styles/styles.css
39
40
bin/updatecss.sh --dir skins/$skin
41
done
42
43
-popd
44
+# Cleanup
45
+npm uninstall --save-dev less less-plugin-clean-css
46
47
+popd
48
49
# Uncomment to run phpstan
50
# pushd $NAME
51
plesk.config.inc.php
Changed
17
1
2
$config'refresh_interval' = 300;
3
$config'check_all_folders' = false;
4
$config'dont_override' = Array(
5
- 'check_all_folders',
6
- 'refresh_interval',
7
- 'skin'
8
- );
9
+ 'check_all_folders',
10
+ 'refresh_interval',
11
+ 'skin',
12
+ 'acl_advanced_mode'
13
+ );
14
15
$config'message_sort_col' = 'date';
16
$config'default_list_mode' = 'threads';
17
roundcubemail-1.5.3.tar.gz/composer.lock
Changed
31
1
2
},
3
{
4
"name": "phpstan/phpstan",
5
- "version": "1.10.14",
6
+ "version": "1.10.15",
7
"source": {
8
"type": "git",
9
"url": "https://github.com/phpstan/phpstan.git",
10
- "reference": "d232901b09e67538e5c86a724be841bea5768a7c"
11
+ "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd"
12
},
13
"dist": {
14
"type": "zip",
15
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d232901b09e67538e5c86a724be841bea5768a7c",
16
- "reference": "d232901b09e67538e5c86a724be841bea5768a7c",
17
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd",
18
+ "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd",
19
"shasum": ""
20
},
21
"require": {
22
23
"type": "tidelift"
24
}
25
,
26
- "time": "2023-04-19T13:47:27+00:00"
27
+ "time": "2023-05-09T15:28:01+00:00"
28
},
29
{
30
"name": "phpunit/php-code-coverage",
31
roundcubemail-1.5.3.tar.gz/node_modules
Added
2
1
+(directory)
2
roundcubemail-1.5.3.tar.gz/node_modules/.bin
Added
2
1
+(directory)
2
roundcubemail-1.5.3.tar.gz/node_modules/.package-lock.json
Added
8
1
2
+{
3
+ "name": "roundcubemail-1.5.3",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {}
7
+}
8
roundcubemail-1.5.3.tar.gz/package-lock.json
Added
8
1
2
+{
3
+ "name": "roundcubemail-1.5.3",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {}
7
+}
8
roundcubemail-1.5.3.tar.gz/package.json
Added
3
1
2
+{}
3
roundcubemail-1.5.3.tar.gz/plugins/kolab_folders/kolab_folders.php
Changed
23
1
2
$subtype = trim(rcube_utils::get_input_value('_subtype', rcube_utils::INPUT_POST));
3
$mbox = $args'record''name';
4
$old_mbox = $args'record''oldname' ?? null;
5
- $subscribe = $args'record''subscribe';
6
+ $subscribe = $args'record''subscribe' ?? true;
7
8
if (empty($ctype)) {
9
return $args;
10
11
12
// Create folder
13
if (!strlen($old_mbox)) {
14
- // By default don't subscribe to non-mail folders
15
- if ($subscribe)
16
- $subscribe = (bool) preg_match('/^mail/', $ctype);
17
-
18
$result = $storage->create_folder($mbox, $subscribe);
19
+
20
// Set folder type
21
if ($result) {
22
$this->set_folder_type($mbox, $ctype);
23
roundcubemail-1.5.3.tar.gz/plugins/libkolab/lib/kolab_storage_cache.php
Changed
37
1
2
* Select Kolab objects filtered by the given query
3
*
4
* @param array Pseudo-SQL query as list of filter parameter triplets
5
- * triplet: array('<colname>', '<comparator>', '<value>')
6
- * @param boolean Set true to only return UIDs instead of complete objects
7
- * @param boolean Use fast mode to fetch only minimal set of information
8
- * (no xml fetching and parsing, etc.)
9
+ * triplet: array('<colname>', '<comparator>', '<value>')
10
+ * @param bool Set true to only return UIDs instead of complete objects
11
+ * @param bool Use fast mode to fetch only minimal set of information
12
+ * (no xml fetching and parsing, etc.)
13
*
14
- * @return array List of Kolab data objects (each represented as hash array) or UIDs
15
+ * @return null|array|kolab_storage_dataset List of Kolab data objects
16
+ * (each represented as hash array) or UIDs
17
*/
18
public function select($query = array(), $uids = false, $fast = false)
19
{
20
$result = $uids ? array() : new kolab_storage_dataset($this);
21
- $count = null;
22
23
// read from local cache DB (assume it to be synchronized)
24
if ($this->ready) {
25
26
// fetch full object data unless only uids are requested
27
$fetchall = !$uids;
28
29
- // skip SELECT if we know it will return nothing
30
- if ($count === 0) {
31
- return $result;
32
- }
33
-
34
$sql_query = "SELECT " . ($fetchall ? '*' : "`msguid` AS `_msguid`, `uid`")
35
. " FROM `{$this->cache_table}` WHERE `folder_id` = ?"
36
. $this->_sql_where($query)
37
roundcubemail-1.5.3.tar.gz/plugins/libkolab/lib/kolab_storage_config.php
Changed
10
1
2
class kolab_storage_config
3
{
4
const FOLDER_TYPE = 'configuration';
5
- const MAX_RELATIONS = 499; // should be less than kolab_storage_cache::MAX_RECORDS
6
+ const MAX_RELATIONS = 499;
7
8
/**
9
* Singleton instace of kolab_storage_config
10
roundcubemail-1.5.3.tar.gz/plugins/libkolab/lib/kolab_storage_dav_cache.php
Changed
37
1
2
public function select($query = , $uids = false, $fast = false)
3
{
4
$result = $uids ? : new kolab_storage_dataset($this);
5
- $count = null;
6
7
$this->_read_folder_data();
8
9
- // fetch full object data on one query if a small result set is expected
10
- $fetchall = !$uids && ($this->limit ? $this->limit0 : ($count = $this->count($query))) < self::MAX_RECORDS;
11
-
12
- // skip SELECT if we know it will return nothing
13
- if ($count === 0) {
14
- return $result;
15
- }
16
-
17
- $sql_query = "SELECT " . ($fetchall ? '*' : "`uid`")
18
+ $sql_query = "SELECT " . ($uids ? "`uid`" : '*')
19
. " FROM `{$this->cache_table}` WHERE `folder_id` = ?"
20
. $this->_sql_where($query)
21
. (!empty($this->order_by) ? " ORDER BY " . $this->order_by : '');
22
23
}
24
25
while ($sql_arr = $this->db->fetch_assoc($sql_result)) {
26
- if ($uids) {
27
- $result = $sql_arr'uid';
28
- }
29
- else if (!$fetchall) {
30
- $result = $sql_arr;
31
- }
32
- else if (($object = $this->_unserialize($sql_arr, true, $fast))) {
33
+ if (!$uids && ($object = $this->_unserialize($sql_arr, true, $fast))) {
34
$result = $object;
35
}
36
else {
37
roundcubemail-1.5.3.tar.gz/plugins/vcard_attachments/vcard_attachments.php
Changed
18
1
2
3
foreach ($contact as $key => $values) {
4
list($field, $section) = rcube_utils::explode(':', $key);
5
+ $section = strtoupper($section ?? '');
6
// avoid unwanted casting of DateTime objects to an array
7
// (same as in rcube_contacts::convert_save_data())
8
if (is_object($values) && is_a($values, 'DateTime')) {
9
10
11
foreach ((array) $values as $value) {
12
if (is_array($value) || is_a($value, 'DateTime') || @strlen($value)) {
13
- $vcard->set($field, $value, strtoupper($section));
14
+ $vcard->set($field, $value, $section);
15
}
16
}
17
}
18
roundcubemail-1.5.3.tar.gz/program/lib/Roundcube/rcube_imap_generic.php
Changed
51
1
2
3
do {
4
if ($this->eof()) {
5
- return $line ?: null;
6
+ return $line;
7
}
8
9
$buffer = fgets($this->fp, $size);
10
11
12
while (strlen($out) < $bytes) {
13
$out = $this->readBytes($bytes);
14
- if ($out === null) {
15
+ if ($out === '') {
16
break;
17
}
18
19
20
21
while (strlen($out) < $bytes) {
22
$line = $this->readBytes($bytes);
23
- if ($line === null) {
24
+ if ($line === '') {
25
break;
26
}
27
28
29
$bytes = (int) $m1;
30
$prev = '';
31
$found = true;
32
+ $chunkSize = 1024 * 1024;
33
34
// empty body
35
if (!$bytes) {
36
$result = '';
37
}
38
+ // An optimal path for a case when we need the body as-is in a string
39
+ else if (!$mode && !$file && !$print && !$formatted) {
40
+ $result = $this->readBytes($bytes);
41
+ }
42
else while ($bytes > 0) {
43
- $line = $this->readLine(8192);
44
+ $line = $this->readBytes($bytes > $chunkSize ? $chunkSize : $bytes);
45
46
- if ($line === null) {
47
+ if ($line === '') {
48
break;
49
}
50
51
roundcubemail-1.5.3.tar.gz/temp/js_cache/tinymce-langs-5.8.2.zip
Changed
roundcubemail-1.5.3.tar.gz/vendor/autoload.php
Changed
7
1
2
3
require_once __DIR__ . '/composer/autoload_real.php';
4
5
-return ComposerAutoloaderInit1d664382e5eafcfdffb85f2dfa64b0a5::getLoader();
6
+return ComposerAutoloaderInit4551b9f5a914eb8b73a369707d8d0539::getLoader();
7
roundcubemail-1.5.3.tar.gz/vendor/composer/autoload_real.php
Changed
54
1
2
3
// autoload_real.php @generated by Composer
4
5
-class ComposerAutoloaderInit1d664382e5eafcfdffb85f2dfa64b0a5
6
+class ComposerAutoloaderInit4551b9f5a914eb8b73a369707d8d0539
7
{
8
private static $loader;
9
10
11
12
require __DIR__ . '/platform_check.php';
13
14
- spl_autoload_register(array('ComposerAutoloaderInit1d664382e5eafcfdffb85f2dfa64b0a5', 'loadClassLoader'), true, true);
15
+ spl_autoload_register(array('ComposerAutoloaderInit4551b9f5a914eb8b73a369707d8d0539', 'loadClassLoader'), true, true);
16
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
17
- spl_autoload_unregister(array('ComposerAutoloaderInit1d664382e5eafcfdffb85f2dfa64b0a5', 'loadClassLoader'));
18
+ spl_autoload_unregister(array('ComposerAutoloaderInit4551b9f5a914eb8b73a369707d8d0539', 'loadClassLoader'));
19
20
$includePaths = require __DIR__ . '/include_paths.php';
21
$includePaths = get_include_path();
22
23
if ($useStaticLoader) {
24
require __DIR__ . '/autoload_static.php';
25
26
- call_user_func(\Composer\Autoload\ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::getInitializer($loader));
27
+ call_user_func(\Composer\Autoload\ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::getInitializer($loader));
28
} else {
29
$map = require __DIR__ . '/autoload_namespaces.php';
30
foreach ($map as $namespace => $path) {
31
32
$loader->register(true);
33
34
if ($useStaticLoader) {
35
- $includeFiles = Composer\Autoload\ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$files;
36
+ $includeFiles = Composer\Autoload\ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$files;
37
} else {
38
$includeFiles = require __DIR__ . '/autoload_files.php';
39
}
40
foreach ($includeFiles as $fileIdentifier => $file) {
41
- composerRequire1d664382e5eafcfdffb85f2dfa64b0a5($fileIdentifier, $file);
42
+ composerRequire4551b9f5a914eb8b73a369707d8d0539($fileIdentifier, $file);
43
}
44
45
return $loader;
46
}
47
}
48
49
-function composerRequire1d664382e5eafcfdffb85f2dfa64b0a5($fileIdentifier, $file)
50
+function composerRequire4551b9f5a914eb8b73a369707d8d0539($fileIdentifier, $file)
51
{
52
if (empty($GLOBALS'__composer_autoload_files'$fileIdentifier)) {
53
require $file;
54
roundcubemail-1.5.3.tar.gz/vendor/composer/autoload_static.php
Changed
27
1
2
3
namespace Composer\Autoload;
4
5
-class ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5
6
+class ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539
7
{
8
public static $files = array (
9
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
10
11
public static function getInitializer(ClassLoader $loader)
12
{
13
return \Closure::bind(function () use ($loader) {
14
- $loader->prefixLengthsPsr4 = ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$prefixLengthsPsr4;
15
- $loader->prefixDirsPsr4 = ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$prefixDirsPsr4;
16
- $loader->prefixesPsr0 = ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$prefixesPsr0;
17
- $loader->fallbackDirsPsr0 = ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$fallbackDirsPsr0;
18
- $loader->classMap = ComposerStaticInit1d664382e5eafcfdffb85f2dfa64b0a5::$classMap;
19
+ $loader->prefixLengthsPsr4 = ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$prefixLengthsPsr4;
20
+ $loader->prefixDirsPsr4 = ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$prefixDirsPsr4;
21
+ $loader->prefixesPsr0 = ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$prefixesPsr0;
22
+ $loader->fallbackDirsPsr0 = ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$fallbackDirsPsr0;
23
+ $loader->classMap = ComposerStaticInit4551b9f5a914eb8b73a369707d8d0539::$classMap;
24
25
}, null, ClassLoader::class);
26
}
27
roundcubemail-1.5.3.tar.gz/vendor/composer/installed.json
Changed
33
1
2
},
3
{
4
"name": "phpstan/phpstan",
5
- "version": "1.10.14",
6
- "version_normalized": "1.10.14.0",
7
+ "version": "1.10.15",
8
+ "version_normalized": "1.10.15.0",
9
"source": {
10
"type": "git",
11
"url": "https://github.com/phpstan/phpstan.git",
12
- "reference": "d232901b09e67538e5c86a724be841bea5768a7c"
13
+ "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd"
14
},
15
"dist": {
16
"type": "zip",
17
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d232901b09e67538e5c86a724be841bea5768a7c",
18
- "reference": "d232901b09e67538e5c86a724be841bea5768a7c",
19
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd",
20
+ "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd",
21
"shasum": ""
22
},
23
"require": {
24
25
"conflict": {
26
"phpstan/phpstan-shim": "*"
27
},
28
- "time": "2023-04-19T13:47:27+00:00",
29
+ "time": "2023-05-09T15:28:01+00:00",
30
"bin":
31
"phpstan",
32
"phpstan.phar"
33
roundcubemail-1.5.3.tar.gz/vendor/composer/installed.php
Changed
35
1
2
'type' => 'library',
3
'install_path' => __DIR__ . '/../../',
4
'aliases' => array(),
5
- 'reference' => 'b28b335e51cf2a83cb35480b53022080d2f5893c',
6
+ 'reference' => '0e7dda399d920cb31cf583b64231a5dd1e56d148',
7
'name' => 'roundcube/roundcubemail',
8
'dev' => true,
9
),
10
11
'dev_requirement' => true,
12
),
13
'phpstan/phpstan' => array(
14
- 'pretty_version' => '1.10.14',
15
- 'version' => '1.10.14.0',
16
+ 'pretty_version' => '1.10.15',
17
+ 'version' => '1.10.15.0',
18
'type' => 'library',
19
'install_path' => __DIR__ . '/../phpstan/phpstan',
20
'aliases' => array(),
21
- 'reference' => 'd232901b09e67538e5c86a724be841bea5768a7c',
22
+ 'reference' => '762c4dac4da6f8756eebb80e528c3a47855da9bd',
23
'dev_requirement' => true,
24
),
25
'phpunit/php-code-coverage' => array(
26
27
'type' => 'library',
28
'install_path' => __DIR__ . '/../../',
29
'aliases' => array(),
30
- 'reference' => 'b28b335e51cf2a83cb35480b53022080d2f5893c',
31
+ 'reference' => '0e7dda399d920cb31cf583b64231a5dd1e56d148',
32
'dev_requirement' => false,
33
),
34
'roundcube/rtf-html-php' => array(
35
roundcubemail-1.5.3.tar.gz/vendor/phpstan/phpstan/bootstrap.php
Changed
9
1
2
self::$composerAutoloader = require 'phar://' . __DIR__ . '/phpstan.phar/vendor/autoload.php';
3
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php';
4
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/async/src/functions_include.php';
5
- require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise-stream/src/functions_include.php';
6
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise-timer/src/functions_include.php';
7
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise/src/functions_include.php';
8
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/ringcentral/psr7/src/functions_include.php';
9
roundcubemail-1.5.3.tar.gz/vendor/phpstan/phpstan/phpstan.phar
Changed
roundcubemail-1.5.3.tar.gz/vendor/phpstan/phpstan/phpstan.phar.asc
Changed
31
1
2
-----BEGIN PGP SIGNATURE-----
3
4
-iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmQ/8NYACgkQUcZzBf/C
5
-5cDBxQ/8CltFbRHz08q3mvi2OHjja2EmUsKvV4GMges9EkImL+tVOKW256520LgM
6
-Vs64r9DBvdzUuCq1CjJNnRgqtHJNlK5CSoZGCKx8oyFuVGa3NjgxM4CuM+FP8oU7
7
-sLBmJjbzVFmguYvXEx5R5JI03JC/qj+ZyhSiopogb0Bg/WA83jL3RBqHEJIFV1IS
8
-FJDW9TEzN7uMG1qNIFmLVvUY17gz7LOw673pyu2R+jNzqHubWfeG7+2lTBQ6GPbT
9
-YLhFB5LCph2x3YAxz6bTcFpXWCfXQYqfoX/ihVsnDb9p9/OzQp0XBE8dtJND3H9T
10
-Xim/NmzRrcVX+v8AIeVpw8s5yPtVTUCkl468T0UEwE66fJqteFOWDDmuSVPn51iH
11
-/7UMNDR8XWOkjM4UU2VRhRhEhXq3efMm1M0nE/wKQ1pbGwTVqrEJnRrLHU6dbCDB
12
-Nl+XwhWykSN5Yo8DqK0RMx4jQ0K2vpUUiUhoqeXk9YbEr8it4TEUMR2JkhX+mrzL
13
-AfEV9b7CathpsFZf0G1xhO0dETtzz4vtnjHLqMUsXM7T8G92S33OOtMVmyo7fwHv
14
-WNPlYMW14d593GJLj8sN737PLpbLKojNeE5wapnK2sNeXMVY6Ty00WeyUeJUsFbc
15
-nhw4pdoS8uEimLMKppzqXeEdKnB0JHvUetv3THB++nt/vVLueKI=
16
-=LZN5
17
+iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmRaZmcACgkQUcZzBf/C
18
+5cAn/Q//fbWiR/qaSvlHpk73KH7iDfoHwNvRrHSQODZdMa4PGiEbL+SXsKnRxFDo
19
+kEJZwgU5qi3WMflt7Ml3dYDlQDgoDerdaiySYFoBcv1NXDWKoF7+Egy1AHxpfNq+
20
+FMCkZNR2ulSaYUCofM4GkTNap4yVkPCy289ZU6yUmRnJxF+hh/CFfdVPAPbwh/a6
21
+UqV3R2ENJZSbtA1pzSTBpUPQGQ9qcsqngKyNyxk1hEd9opdMg2eSFvO1e1ZZm/Tk
22
+Kgh5wCbsbSJuRPGO4vbiybTeO/qXPDlHV6oA5SHnjJ4H24phCsHdyJHHvLQmrUeR
23
+BKHgnH1y/b5J9cgr9OgEQJK9TMHHd6dii9//Qp+0rUZIDZ4Ym2lDSA/Vn/D9GoV3
24
+zo4QYzW3TvE3QMdnLcX/ZtaLliPdDYIaYUXOiyaYwLFGVxSWZWOC5IN0G0bLJb39
25
+Ca/z839nkWdMqg68q/oHC2Nk/v/KZnKg1RlRjYhj53T6nr0JDEiaYMyETSOIFsVX
26
+AcCQnLLwMndUAibJAyORDnTk+ipg0SecFoPvvhea1BtlTfhSDIlrT4OPKZ5nExzd
27
+nR/zGbIH8lCvsBc+hq+Kgodtfs5nauwEOwlVUwet26xL1YKOd0jxz+Zp6tgk0wba
28
+cMf5L9fm85j83DQYr7Ukaaj81kmMujRWDo/dRojKhUlJUrNnjXA=
29
+=jTtX
30
-----END PGP SIGNATURE-----
31
Refresh
Refresh
Login required, please
login
in order to comment
Request History
mollekopf created request almost 2 years ago
New release
mollekopf accepted request almost 2 years ago