Changes of Revision 56

roundcubemail.spec Changed
x
 
1
@@ -57,7 +57,7 @@
2
 %global basedir %{name}-%{rc_version}%{?dash_rel_suffix}
3
 
4
 Name:           roundcubemail
5
-Version: 1.5.8.3
6
+Version: 1.5.8.4
7
 
8
 Release:        4%{?dot_rel_suffix}%{?dist}
9
 
10
debian.changelog Changed
7
 
1
@@ -1,4 +1,4 @@
2
-roundcubemail (1.5.8.3-1~kolab1) unstable; urgency=low
3
+roundcubemail (1.5.8.4-1~kolab1) unstable; urgency=low
4
 
5
   * New tarball
6
 
7
roundcubemail-1.5.tar.gz/CHANGELOG.md Changed
9
 
1
@@ -3,6 +3,7 @@
2
 ## Unreleased
3
 
4
 - Fix regression where printing/scaling/rotating image attachments was broken (#9571)
5
+- Fix regression where HTML messages were displayed unstyled (#9586)
6
 
7
 ## Release 1.5.8
8
 
9
roundcubemail-1.5.tar.gz/logs/errors.log Changed
16
 
1
@@ -1,4 +1,4 @@
2
-15-Aug-2024 12:04:44 UTC PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/db/mysql.php:134
3
+19-Aug-2024 14:12:37 UTC PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/db/mysql.php:134
4
 Stack trace:
5
 #0 /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/rcube_db.php(167): rcube_db_mysql->dsn_options(Array)
6
 #1 /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/rcube_db.php(153): rcube_db->conn_create(Array)
7
@@ -7,7 +7,7 @@
8
 #4 /tmp/roundcubemail-1.5/roundcubemail-1.5/vendor/bin/rcubeinitdb.sh(115): include('/tmp/roundcubem...')
9
 #5 {main}
10
   thrown in /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/db/mysql.php on line 134
11
-15-Aug-2024 12:04:44 UTC PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/db/mysql.php:134
12
+19-Aug-2024 14:12:37 UTC PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/db/mysql.php:134
13
 Stack trace:
14
 #0 /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/rcube_db.php(167): rcube_db_mysql->dsn_options(Array)
15
 #1 /tmp/roundcubemail-1.5/roundcubemail-1.5/program/lib/Roundcube/rcube_db.php(153): rcube_db->conn_create(Array)
16
roundcubemail-1.5.tar.gz/program/lib/Roundcube/rcube_washtml.php Changed
14
 
1
@@ -708,6 +708,12 @@
2
      */
3
     public function get_config($prop)
4
     {
5
+        $config_props = 'html_elements', 'html_attribs', 'ignore_elements', 'void_elements', 'css_prefix';
6
+
7
+        if (in_array($prop, $config_props)) {
8
+            return $this->{"_{$prop}"};
9
+        }
10
+
11
         return isset($this->config$prop) ? $this->config$prop : null;
12
     }
13
 
14
roundcubemail-1.5.tar.gz/tests/Actions/Mail/Index.php Changed
23
 
1
@@ -444,6 +444,21 @@
2
     }
3
 
4
     /**
5
+     * Test handling css style in HTML in wash_html() method
6
+     */
7
+    public function test_wash_html()
8
+    {
9
+        $html = '<div id="testid" class="testclass">Test</div>'
10
+            . '<style type="text/css">#testid .testclass { color: red; } *.testclass { font-weight: bold; }</style>';
11
+        $opts = 'safe' => false, 'css_prefix' => 'v1', 'add_comments' => false;
12
+
13
+        $washed = \rcmail_action_mail_index::wash_html($html, $opts);
14
+
15
+        $this->assertTrue(strpos($washed, '<div id="v1testid" class="v1testclass">') !== false);
16
+        $this->assertTrue(strpos($washed, '<style type="text/css">#v1testid .v1testclass { color: red; } *.v1testclass { font-weight: bold; }</style>') !== false);
17
+    }
18
+
19
+    /**
20
      * Test handling of body style attributes
21
      */
22
     public function test_wash_html_body_style()
23
roundcubemail-1.5.tar.gz/vendor/composer/installed.php Changed
19
 
1
@@ -3,7 +3,7 @@
2
         'name' => 'roundcube/roundcubemail',
3
         'pretty_version' => 'dev-dev/kolab-1.5',
4
         'version' => 'dev-dev/kolab-1.5',
5
-        'reference' => 'c8c584b97bb38604283de338d3a4ed05d92dd346',
6
+        'reference' => 'a360052d9916bea169c149874ff98b21cf8f21d8',
7
         'type' => 'library',
8
         'install_path' => __DIR__ . '/../../',
9
         'aliases' => array(),
10
@@ -665,7 +665,7 @@
11
         'roundcube/roundcubemail' => array(
12
             'pretty_version' => 'dev-dev/kolab-1.5',
13
             'version' => 'dev-dev/kolab-1.5',
14
-            'reference' => 'c8c584b97bb38604283de338d3a4ed05d92dd346',
15
+            'reference' => 'a360052d9916bea169c149874ff98b21cf8f21d8',
16
             'type' => 'library',
17
             'install_path' => __DIR__ . '/../../',
18
             'aliases' => array(),
19
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/index Changed
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/logs/HEAD Changed
8
 
1
@@ -1,3 +1,3 @@
2
-0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@ac31e212d3f1.(none)> 1723723484 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
3
-39a754269fe6e5d94b0fe87215e89232876bda01 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@ac31e212d3f1.(none)> 1723723484 +0000   checkout: moving from master to master
4
-39a754269fe6e5d94b0fe87215e89232876bda01 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@ac31e212d3f1.(none)> 1723723484 +0000   reset: moving to 39a754269fe6e5d94b0fe87215e89232876bda01
5
+0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@92ff47c51c68.(none)> 1724076757 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
6
+39a754269fe6e5d94b0fe87215e89232876bda01 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@92ff47c51c68.(none)> 1724076757 +0000   checkout: moving from master to master
7
+39a754269fe6e5d94b0fe87215e89232876bda01 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@92ff47c51c68.(none)> 1724076757 +0000   reset: moving to 39a754269fe6e5d94b0fe87215e89232876bda01
8
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/logs/refs/heads/master Changed
4
 
1
@@ -1,1 +1,1 @@
2
-0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@ac31e212d3f1.(none)> 1723723484 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
3
+0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@92ff47c51c68.(none)> 1724076757 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
4
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/logs/refs/remotes/origin/HEAD Changed
4
 
1
@@ -1,1 +1,1 @@
2
-0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@ac31e212d3f1.(none)> 1723723484 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
3
+0000000000000000000000000000000000000000 39a754269fe6e5d94b0fe87215e89232876bda01 default <default@92ff47c51c68.(none)> 1724076757 +0000   clone: from /home/default/.cache/composer/vcs/https---git.kolab.org-diffusion-PNL-php-net-ldap.git/
4
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/info/packs Changed
5
 
1
@@ -1,2 +1,2 @@
2
-P pack-b903dfabddcecea2bc9abd0b95567a155cd7b86d.pack
3
+P pack-d11f406b0b723f91b0d350db99fc935749fea803.pack
4
 
5
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-b903dfabddcecea2bc9abd0b95567a155cd7b86d.idx Deleted
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-b903dfabddcecea2bc9abd0b95567a155cd7b86d.pack Deleted
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-b903dfabddcecea2bc9abd0b95567a155cd7b86d.rev Deleted
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-d11f406b0b723f91b0d350db99fc935749fea803.idx Added
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-d11f406b0b723f91b0d350db99fc935749fea803.pack Added
roundcubemail-1.5.tar.gz/vendor/kolab/net_ldap3/.git/objects/pack/pack-d11f406b0b723f91b0d350db99fc935749fea803.rev Added
roundcubemail.dsc Changed
10
 
1
@@ -2,7 +2,7 @@
2
 Source: roundcubemail
3
 Binary: roundcubemail
4
 Architecture: all
5
-Version: 1:1.5.8.3-1~kolab1
6
+Version: 1:1.5.8.4-1~kolab1
7
 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com>
8
 Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com>
9
 Homepage: http://www.roundcube.net/
10