Projects
Kolab:16
roundcubemail
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 89
View file
roundcubemail.spec
Changed
@@ -76,6 +76,8 @@ Source200: 2017111400.sql +Patch0001: 0001-fix-sieve-fatal-error.patch + Patch201: default-configuration.patch Patch202: roundcubemail-1.4-beta86-plugin-enigma-homedir.patch @@ -1516,6 +1518,8 @@ cp -vf %{SOURCE102} plugins/password/config.inc.php.dist %endif +%patch0001 -p1 + %patch201 -p1 %if 0%{?plesk} < 1 %patch202 -p1
View file
0001-fix-sieve-fatal-error.patch
Added
@@ -0,0 +1,81 @@ +commit 1d9ddf9d336f7b903fd2748350d07c1366b92f41 +Author: Aleksander Machniak <alec@alec.pl> +Date: Tue Oct 8 21:25:30 2019 +0200 + + Fix PHP Fatal error: Uncaught Error: Using $this when not in object (#6959) + +diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php +index da39cebd1..7c74d6988 100644 +--- a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php ++++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php +@@ -2237,7 +2237,7 @@ class rcube_sieve_engine + 'type' => 'text', + 'name' => '_action_interval[' . $id . ']', + 'id' => 'action_interval' . $id, +- 'value' => rcube_sieve_vacation::vacation_interval($action), ++ 'value' => rcube_sieve_vacation::vacation_interval($action, $this->exts), + 'size' => 2, + 'class' => $this->error_class($id, 'action', 'interval', 'action_interval'), + )); +diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php +index 931750110..bcb62735d 100644 +--- a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php ++++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php +@@ -125,7 +125,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine + return $this->sieve->error(); + } + +- private function vacation_rule() ++ protected function vacation_rule() + { + if ($this->script_name === false || $this->script_name === null || !$this->sieve->load($this->script_name)) { + return; +@@ -164,7 +164,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine + $this->vacation['list'] = $list; + } + +- private function vacation_post() ++ protected function vacation_post() + { + if (empty($_POST)) { + return; +@@ -388,7 +388,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine + } + } + +- $interval_txt = $interval->show(self::vacation_interval($this->vacation)); ++ $interval_txt = $interval->show(self::vacation_interval($this->vacation, $this->exts)); + if ($seconds_extension) { + $interval_select = new html_select(array('name' => 'vacation_interval_type')); + $interval_select->add($this->plugin->gettext('days'), 'days'); +@@ -521,7 +521,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine + return $out; + } + +- public static function build_regexp_tests($date_from, $date_to, &$error) ++ protected static function build_regexp_tests($date_from, $date_to, &$error) + { + $tests = array(); + $dt_from = rcube_utils::anytodatetime($date_from); +@@ -562,7 +562,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine + return $tests; + } + +- public static function parse_regexp_tests($tests) ++ protected static function parse_regexp_tests($tests) + { + $rx_from = '/^\(([0-9]{2}).*\)\s([A-Za-z]+)\s([0-9]{4})/'; + $rx_to = '/^\(.*([0-9]{2})\)\s([A-Za-z]+)\s([0-9]{4})/'; +@@ -588,10 +588,10 @@ class rcube_sieve_vacation extends rcube_sieve_engine + /** + * Get current vacation interval + */ +- public static function vacation_interval(&$vacation) ++ public static function vacation_interval(&$vacation, $extensions = array()) + { + $rcube = rcube::get_instance(); +- $seconds_extension = in_array('vacation-seconds', $this->exts); ++ $seconds_extension = in_array('vacation-seconds', $extensions); + + if (isset($vacation['seconds'])) { + $interval = $vacation['seconds'];
View file
debian.changelog
Changed
@@ -1,6 +1,6 @@ -roundcubemail (1.4-0~kolab313) unstable; urgency=low +roundcubemail (1.4-0~kolab314) unstable; urgency=low - * Check in 12 revisions ahead of upstream 1.4-rc2 release + * Check in 13 revisions ahead of upstream 1.4-rc2 release -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Mon, 7 Oct 2019 11:11:11 +0200
View file
debian.series
Changed
@@ -1,2 +1,3 @@ default-configuration.patch -p1 roundcubemail-1.4-beta86-plugin-enigma-homedir.patch -p1 +0001-fix-sieve-fatal-error.patch -p1
View file
roundcubemail.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail Binary: roundcubemail Architecture: all -Version: 1:1.4-0~kolab313 +Version: 1:1.4-0~kolab314 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Homepage: http://www.roundcube.net/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.