Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .ci/run_browser_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ TESTS_MODE=tablet vendor/bin/phpunit -c tests/Browser/phpunit.xml --fail-on-warn
# Mobile mode tests are unreliable on Github Actions
# echo "TESTS_MODE: PHONE"
# TESTS_MODE=phone vendor/bin/phpunit -c tests/Browser/phpunit.xml --fail-on-warning --fail-on-risky --display-deprecations --exclude-group=failsonga-phone

echo "TESTS_MODE: DESKTOP with zipstream"
composer require $COMPOSER_ARGS -n 'maennchen/zipstream-php:^3.0'
TESTS_MODE=desktop vendor/bin/phpunit -c tests/Browser/phpunit.xml --fail-on-warning --fail-on-risky --display-deprecations plugins/zipdownload/tests/Browser
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
run: |
composer require "kolab/net_ldap3:~1.1.1" --no-update
composer require "laravel/dusk:^8.3" --no-update
composer require "maennchen/zipstream-php:^3.0" --no-update

- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
},
"suggest": {
"bjeavons/zxcvbn-php": "^1.0 required for Zxcvbn password strength driver",
"kolab/net_ldap3": "~1.1.4 required for connecting to LDAP"
"kolab/net_ldap3": "~1.1.4 required for connecting to LDAP",
"maennchen/zipstream-php": "^3.0 optional for larger zip support in zipdownload plugin"
},
"repositories": [
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/zipdownload/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "roundcube-plugin",
"description": "Adds an option to download all attachments to a message in one zip file, when a message has multiple attachments. Also allows the download of a selection of messages in one zip file. Supports mbox and maildir format.",
"license": "GPL-3.0-or-later",
"version": "3.6",
"version": "3.8",
"authors": [
{
"name": "Thomas Bruederli",
Expand Down
2 changes: 1 addition & 1 deletion plugins/zipdownload/config.inc.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ $config['zipdownload_attachments'] = 1;
$config['zipdownload_selection'] = '50MB';

// Charset to use for filenames inside the zip
$config['zipdownload_charset'] = 'ISO-8859-1';
$config['zipdownload_charset'] = 'UTF-8';
Loading
Loading