Changes of Revision 55

roundcubemail.spec Changed
x
 
1
@@ -49,7 +49,7 @@
2
 %global tmpdir /var/lib/roundcubemail
3
 
4
 %global rc_version 1.4
5
-%global rc_rel_suffix beta86
6
+%global rc_rel_suffix beta95
7
 %global dot_rel_suffix %{?rc_rel_suffix:.%{rc_rel_suffix}}
8
 %global dash_rel_suffix %{?rc_rel_suffix:-%{rc_rel_suffix}}
9
 
10
@@ -3347,8 +3347,8 @@
11
 %defattr(-,root,root,-)
12
 
13
 %changelog
14
-* Fri Oct 26 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 1.4-50.beta86
15
-- Check in 86 revisions ahead of the beta release
16
+* Mon Oct 29 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 1.4-50.beta95
17
+- Check in 95 revisions ahead of the beta release
18
 
19
 * Tue Sep 18 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 1.4-49.beta36
20
 - Check in 36 revisions ahead of beta release
21
debian.changelog Changed
13
 
1
@@ -1,8 +1,8 @@
2
-roundcubemail (1.4-0~kolab52) unstable; urgency=low
3
+roundcubemail (1.4-0~kolab53) unstable; urgency=low
4
 
5
-  * Check in 86 revisions ahead of upstream 1.4-beta release
6
+  * Check in 95 revisions ahead of upstream 1.4-beta release
7
 
8
- -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>  Fri, 26 Oct 2018 11:11:11 +0200
9
+ -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>  Mon, 29 Oct 2018 11:11:11 +0200
10
 
11
 roundcubemail (1.4.0~kolab51) unstable; urgency=low
12
 
13
roundcubemail-1.4-beta86.tar.gz/CHANGELOG -> roundcubemail-1.4-beta95.tar.gz/CHANGELOG Changed
11
 
1
@@ -17,7 +17,9 @@
2
 - Elastic: Support new-line char as a separator for pasted recipients (#6460)
3
 - Elastic: Improved UX of search dialogs (#6416)
4
 - Elastic: Fix unwanted thread expanding when selecting a collapsed thread in non-mobile mode (#6445)
5
+- Elastic: Add "status bar" for mobile in mail composer
6
 - Log errors caused by low pcre.backtrack_limit when sending a mail message (#6433)
7
+- Fix malformed message saved into Sent folder when using big attachments and low memory limit (#6498)
8
 - Fix incorrect IMAP SASL GSSAPI negotiation (#6308)
9
 - Fix so unicode in local part of the email address is also supported in recipient inputs (#6490)
10
 - Fix bug where autocomplete list could be displayed out of screen (#6469)
11
roundcubemail-1.4-beta86.tar.gz/plugins/enigma/enigma.js -> roundcubemail-1.4-beta95.tar.gz/plugins/enigma/enigma.js Changed
27
 
1
@@ -60,12 +60,20 @@
2
             });
3
 
4
             $('a.button.enigma').prop('tabindex', $('#messagetoolbar > a:first').prop('tabindex'));
5
-        }
6
 
7
-        $.each('encrypt', 'sign', function() {
8
-            if (rcmail.env'enigma_force_' + this)
9
-                $('name="_enigma_' + this + '"').prop('checked', true);
10
-        });
11
+            $.each('encrypt', 'sign', function() {
12
+                var opt = this, input = $('#enigma' + opt + 'opt');
13
+
14
+                if (rcmail.env'enigma_force_' + opt) {
15
+                    input.prop('checked', true);
16
+                }
17
+
18
+                // Compose status bar in Elastic
19
+                if (window.UI && UI.compose_status) {
20
+                    input.on('change', function() { UI.compose_status(opt, this.checked); }).trigger('change');
21
+                }
22
+            });
23
+        }
24
 
25
         if (rcmail.env.enigma_password_request) {
26
             rcmail.enigma_password_request(rcmail.env.enigma_password_request);
27
roundcubemail-1.4-beta86.tar.gz/program/js/app.js -> roundcubemail-1.4-beta95.tar.gz/program/js/app.js Changed
51
 
1
@@ -47,7 +47,7 @@
2
   this.group2expand = {};
3
   this.http_request_jobs = {};
4
   this.menu_stack = ;
5
-  this.menu_buttons = ;
6
+  this.menu_buttons = {};
7
   this.entity_selectors = ;
8
   this.image_style = {};
9
 
10
@@ -125,21 +125,25 @@
11
   // register a button with popup menu, to set its state according to the state of all commands in the menu
12
   this.register_menu_button = function(button, menu_id)
13
   {
14
-    var commands = ;
15
-
16
-    $('#' + menu_id).find('a').each(function() {
17
-      var command, link = $(this), onclick = link.attr('onclick');
18
-
19
-      if (onclick && String(onclick).match(/rcmail\.command\(\'(^'+)/))
20
-        command = RegExp.$1;
21
-      else
22
-        command = function() { return link.is('.active'); };
23
-
24
-      commands.push(command);
25
-    });
26
-
27
-    if (commands.length)
28
-      this.menu_buttons.push(button, commands);
29
+    if (this.menu_buttonsmenu_id) {
30
+      this.menu_buttonsmenu_id0.push(button);
31
+    }
32
+    else {
33
+      var commands = ;
34
+      $('#' + menu_id).find('a').each(function() {
35
+        var command, link = $(this), onclick = link.attr('onclick');
36
+
37
+        if (onclick && String(onclick).match(/rcmail\.command\(\'(^'+)/))
38
+          command = RegExp.$1;
39
+        else
40
+          command = function() { return link.is('.active'); };
41
+
42
+        commands.push(command);
43
+      });
44
+
45
+      if (commands.length)
46
+        this.menu_buttonsmenu_id = button, commands;
47
+    }
48
 
49
     this.set_menu_buttons();
50
   };
51
roundcubemail-1.4-beta86.tar.gz/program/lib/Roundcube/rcube.php -> roundcubemail-1.4-beta95.tar.gz/program/lib/Roundcube/rcube.php Changed
13
 
1
@@ -1716,7 +1716,10 @@
2
             $this->smtp->disconnect();
3
         }
4
 
5
-        $message->headers($headers, true);
6
+        // Add Bcc header back
7
+        if (!empty($headers'Bcc')) {
8
+            $message->headers(array('Bcc' => $headers'Bcc'), true);
9
+        }
10
 
11
         return $sent;
12
     }
13
roundcubemail-1.4-beta86.tar.gz/skins/elastic/styles/widgets/buttons.less -> roundcubemail-1.4-beta95.tar.gz/skins/elastic/styles/widgets/buttons.less Changed
14
 
1
@@ -138,6 +138,12 @@
2
     &.insert.recipient:before {
3
         content: @fa-var-user-plus;
4
     }
5
+    &.encrypt:before {
6
+        content: @fa-var-lock;
7
+    }
8
+    &.sign:before {
9
+        content: @fa-var-signature;
10
+    }
11
 }
12
 
13
 a.btn,
14
roundcubemail-1.4-beta86.tar.gz/skins/elastic/styles/widgets/mail.less -> roundcubemail-1.4-beta95.tar.gz/skins/elastic/styles/widgets/mail.less Changed
16
 
1
@@ -312,3 +312,14 @@
2
 #compose-attachments {
3
     margin: .5rem .5rem 0 .5rem;
4
 }
5
+
6
+#composestatusbar {
7
+    position: absolute;
8
+    height: 2.5rem;
9
+    padding-top: .25rem;
10
+    opacity: .3;
11
+
12
+    @media screen and (min-width: (@screen-width-small + 1px)) {
13
+        display: none;
14
+    }
15
+}
16
roundcubemail-1.4-beta86.tar.gz/skins/elastic/templates/compose.html -> roundcubemail-1.4-beta95.tar.gz/skins/elastic/templates/compose.html Changed
9
 
1
@@ -214,6 +214,7 @@
2
        <div id="composebodycontainer">
3
            <label for="composebody" class="voice"><roundcube:label name="arialabelmessagebody" /></label>
4
            <roundcube:object name="composeBody" id="composebody" form="form" cols="70" rows="20" class="form-control" tabindex="1" />
5
+           <div id="composestatusbar"></div>
6
        </div>
7
        </form>
8
        <div class="formbuttons">
9
roundcubemail-1.4-beta86.tar.gz/skins/elastic/ui.js -> roundcubemail-1.4-beta95.tar.gz/skins/elastic/ui.js Changed
71
 
1
@@ -65,6 +65,7 @@
2
     this.searchmenu = searchmenu;
3
     this.headersmenu = headersmenu;
4
     this.header_reset = header_reset;
5
+    this.compose_status = compose_status;
6
     this.attachmentmenu = attachmentmenu;
7
     this.mailtomenu = mailtomenu;
8
     this.recipient_selector = recipient_selector;
9
@@ -678,6 +679,16 @@
10
                         rcmail.display_message(rcmail.gettext('nocontactselected'), 'warning');
11
                     }
12
                 });
13
+
14
+                // Update compose status bar on attachments list update
15
+                if (window.MutationObserver) {
16
+                    var observer, list = $('#attachment-list'),
17
+                        status_callback = function() { compose_status('attach', list.children().length > 0); };
18
+
19
+                    observer = new MutationObserver(status_callback);
20
+                    observer.observe(list0, {childList: true});
21
+                    status_callback();
22
+                }
23
             }
24
 
25
             // Append contact menu to all mailto: links
26
@@ -1399,7 +1410,7 @@
27
             case 'compose-encrypted':
28
                 // show the toolbar button for Mailvelope
29
                 if (args.status) {
30
-                    $('a.button.encrypt').parent().show();
31
+                    $('a.button.encrypt:not(.icon)').parent().show();
32
                 }
33
                 break;
34
 
35
@@ -1407,11 +1418,6 @@
36
                 // enable selector for encrypt and sign
37
                 $('#encryption-menu-button').show();
38
                 break;
39
-
40
-            case 'mark':
41
-                // show the toolbar button for Mailvelope
42
-                $('a.button.markmessage')args.status ? 'removeClass' : 'addClass'('disabled');
43
-                break;
44
             }
45
         }
46
     };
47
@@ -2707,6 +2713,23 @@
48
     };
49
 
50
     /**
51
+     * Add/remove item to/from compose options status bar
52
+     */
53
+    function compose_status(id, status)
54
+    {
55
+        var bar = $('#composestatusbar'), ico = bar.find('a.button.icon.' + id);
56
+
57
+        if (!status) {
58
+            ico.remove();
59
+        }
60
+        else if (!ico.length) {
61
+            $('<a>').attr('class', 'button icon ' + id)
62
+                .on('click', function() { show_sidebar(); })
63
+                .appendTo(bar);
64
+        }
65
+    };
66
+
67
+    /**
68
      * Attachment menu
69
      */
70
     function attachmentmenu(obj, button, event)
71
roundcubemail-1.4-beta86.tar.gz/temp/js_cache/tinymce-langs-4.8.2.zip -> roundcubemail-1.4-beta95.tar.gz/temp/js_cache/tinymce-langs-4.8.2.zip Changed
roundcubemail.dsc Changed
17
 
1
@@ -2,7 +2,7 @@
2
 Source: roundcubemail
3
 Binary: roundcubemail
4
 Architecture: all
5
-Version: 1:1.4-0~kolab52
6
+Version: 1:1.4-0~kolab53
7
 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>
8
 Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>
9
 Homepage: http://www.roundcube.net/
10
@@ -14,5 +14,5 @@
11
  roundcubemail deb web extra
12
  roundcubemail-core deb web extra
13
 Files:
14
- 00000000000000000000000000000000 0 roundcubemail-1.4-beta86.tar.gz
15
+ 00000000000000000000000000000000 0 roundcubemail-1.4-beta95.tar.gz
16
  00000000000000000000000000000000 0 debian.tar.gz
17