Overview

Request 2664 (accepted)

Check in 3.5.3


roundcubemail-plugins-kolab.spec Changed
x
 
1
@@ -41,7 +41,7 @@
2
 %global dash_rel_suffix %{?rc_rel_suffix:-%{rc_rel_suffix}}
3
 
4
 Name:           roundcubemail-plugins-kolab
5
-Version:        3.5.2
6
+Version:        3.5.3
7
 
8
 Release:        1%{?dot_rel_suffix}%{?dist}
9
 
10
@@ -2792,6 +2792,9 @@
11
 %defattr(-,root,root,-)
12
 
13
 %changelog
14
+* Thu Dec  5 2019 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.5.3-1
15
+- Release of version 3.5.3
16
+
17
 * Sat Oct 19 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 3.5.2-1
18
 - Release of version 3.5.2
19
 
20
debian.changelog Changed
11
 
1
@@ -1,3 +1,9 @@
2
+roundcubemail-plugins-kolab (1:3.5.3-0~kolab1) unstable; urgency=low
3
+
4
+  * Release version 3.5.3
5
+
6
+ -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>  Thu,  5 Dec 2019 11:11:11 +0200
7
+
8
 roundcubemail-plugins-kolab (1:3.5.2-0~kolab2) unstable; urgency=low
9
 
10
   * Release version 3.5.2
11
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/calendar/README -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/calendar/README Changed
12
 
1
@@ -22,8 +22,8 @@
2
 library plugins. Thus in order to run the calendar plugin, you also need the
3
 following plugins installed:
4
 
5
-* libcalendaring [1]
6
-* libkolab [1]
7
+* kolab/libcalendaring [1]
8
+* kolab/libkolab [1]
9
 
10
 
11
 INSTALLATION
12
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/calendar/calendar_ui.js -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/calendar/calendar_ui.js Changed
81
 
1
@@ -563,6 +563,11 @@
2
         }
3
       });
4
 
5
+      var close_func = function(e) {
6
+          rcmail.command('menu-close', 'eventoptionsmenu', null, e);
7
+          $('.libcal-rsvp-replymode').hide();
8
+        };
9
+
10
       // open jquery UI dialog
11
       $dialog.dialog({
12
         modal: true,
13
@@ -575,21 +580,12 @@
14
             $dialog.parent().find('button:not(.ui-dialog-titlebar-close,.delete)').first().focus();
15
           }, 5);
16
         },
17
-        beforeClose: function(e) {
18
-          rcmail.command('menu-close', 'eventoptionsmenu', null, e);
19
-        },
20
         close: function(e) {
21
-          $dialog.dialog('destroy').attr('aria-hidden', 'true').hide();
22
-          $('.libcal-rsvp-replymode').hide();
23
-        },
24
-        dragStart: function(e) {
25
-          rcmail.command('menu-close', 'eventoptionsmenu', null, e);
26
-          $('.libcal-rsvp-replymode').hide();
27
-        },
28
-        resizeStart: function(e) {
29
-          rcmail.command('menu-close', 'eventoptionsmenu', null, e);
30
-          $('.libcal-rsvp-replymode').hide();
31
+          close_func(e);
32
+          $dialog.dialog('close');
33
         },
34
+        dragStart: close_func,
35
+        resizeStart: close_func,
36
         buttons: buttons,
37
         minWidth: 320,
38
         width: 420
39
@@ -611,12 +607,12 @@
40
           .attr({href: '#', 'class': 'dropdown-link btn btn-link options', 'data-popup-pos': 'top'})
41
           .text(rcmail.gettext('eventoptions','calendar'))
42
           .click(function(e) {
43
-            return rcmail.command('menu-open','eventoptionsmenu', this, e)
44
+            return rcmail.command('menu-open','eventoptionsmenu', this, e);
45
           })
46
           .appendTo($dialog.parent().find('.ui-dialog-buttonset'));
47
       }
48
 
49
-      rcmail.enable_command('event-history', calendar.history)
50
+      rcmail.enable_command('event-history', calendar.history);
51
 
52
       rcmail.triggerEvent('calendar-event-dialog', {dialog: $dialog});
53
     };
54
@@ -626,12 +622,14 @@
55
     {
56
       var cutype = $(this).attr('data-cutype'),
57
         mailto = this.href.substr(7);
58
+
59
       if (rcmail.env.calendar_resources && cutype == 'RESOURCE') {
60
         event_resources_dialog(mailto);
61
       }
62
       else {
63
         rcmail.command('compose', mailto, e ? e.target : null, e);
64
       }
65
+
66
       return false;
67
     };
68
 
69
@@ -3179,9 +3177,9 @@
70
           if (v.role != 'ORGANIZER') {
71
             v.status = 'NEEDS-ACTION';
72
           }
73
-        })
74
+        });
75
 
76
-        event_edit_dialog('new', copy);
77
+        setTimeout(function() { event_edit_dialog('new', copy); }, 50);
78
       }
79
     };
80
 
81
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/calendar/composer.json -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/calendar/composer.json Changed
10
 
1
@@ -4,7 +4,7 @@
2
     "description": "Calendar plugin",
3
     "homepage": "https://git.kolab.org/diffusion/RPK/",
4
     "license": "AGPLv3",
5
-    "version": "3.5.2",
6
+    "version": "3.5.3",
7
     "authors": [
8
         {
9
             "name": "Thomas Bruederli",
10
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/calendar/drivers/database/SQL/sqlite/2013051600.sql -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/calendar/drivers/database/SQL/sqlite/2013051600.sql Changed
6
 
1
@@ -61,3 +61,4 @@
2
 INSERT INTO events (event_id, calendar_id, recurrence_id, uid, created, changed, sequence, start, end, recurrence, title, description, location, categories, all_day, free_busy, priority, sensitivity, alarms, attendees, notifyat)
3
     SELECT event_id, calendar_id, recurrence_id, uid, created, changed, sequence, start, end, recurrence, title, description, location, categories, all_day, free_busy, priority, sensitivity, alarms, attendees, notifyat FROM temp_events;
4
 
5
+DROP TABLE temp_events;
6
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/calendar/drivers/database/SQL/sqlite/2014040900.sql -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/calendar/drivers/database/SQL/sqlite/2014040900.sql Changed
6
 
1
@@ -65,3 +65,4 @@
2
              SELECT event_id, calendar_id, recurrence_id, uid, created, changed, sequence, start, end, recurrence, title, description, location, categories, url, all_day, free_busy, priority, sensitivity, alarms, attendees, notifyat
3
              FROM temp_events;
4
 
5
+DROP TABLE temp_events;
6
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/kolab_auth/composer.json -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/kolab_auth/composer.json Changed
10
 
1
@@ -4,7 +4,7 @@
2
     "description": "Kolab authentication",
3
     "homepage": "https://git.kolab.org/diffusion/RPK/",
4
     "license": "AGPLv3",
5
-    "version": "3.5.2",
6
+    "version": "3.5.3",
7
     "authors": [
8
         {
9
             "name": "Thomas Bruederli",
10
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/kolab_auth/kolab_auth.php -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/kolab_auth/kolab_auth.php Changed
15
 
1
@@ -559,8 +559,11 @@
2
                     $effective_rights = (array)$ldap->effective_rights($target_entry['dn']);
3
 
4
                     if (!empty($effective_rights)) {
5
-                        $effective_rights['attrib'] = $effective_rights['attributeLevelRights'];
6
-                        $effective_rights['entry']  = $effective_rights['entryLevelRights'];
7
+                        // compat with out of date Net_LDAP3
8
+                        $effective_rights = array_change_key_case($effective_rights, CASE_LOWER);
9
+
10
+                        $effective_rights['attrib'] = $effective_rights['attributelevelrights'];
11
+                        $effective_rights['entry']  = $effective_rights['entrylevelrights'];
12
 
13
                         // compare the rights with the permissions mapping
14
                         $allowed_tasks = array();
15
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/kolab_sso/drivers/oauth2.php -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/kolab_sso/drivers/oauth2.php Changed
19
 
1
@@ -283,7 +283,7 @@
2
                         $key = $keyid;
3
                     }
4
                     else {
5
-                        throw new Exception("Failed to extract public key");
6
+                        throw new Exception("Failed to extract public key. " . openssl_error_string());
7
                     }
8
                 }
9
 
10
@@ -311,7 +311,7 @@
11
      */
12
     protected function validate_token_payload($payload)
13
     {
14
-        $items = $this->get_maram('validate_items');
15
+        $items = $this->get_param('validate_items');
16
         $email = $this->config['debug_email'] ?: $payload->{$this->get_param('user_field')};
17
 
18
         if (empty($email)) {
19
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/libkolab/composer.json -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/libkolab/composer.json Changed
10
 
1
@@ -4,7 +4,7 @@
2
     "description": "Plugin to setup a basic environment for the interaction with a Kolab server.",
3
     "homepage": "https://git.kolab.org/diffusion/RPK/",
4
     "license": "AGPLv3",
5
-    "version": "3.5.2",
6
+    "version": "3.5.3",
7
     "authors": [
8
         {
9
             "name": "Thomas Bruederli",
10
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/libkolab/config.inc.php.dist -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/libkolab/config.inc.php.dist Changed
15
 
1
@@ -78,6 +78,8 @@
2
 $config['kolab_users_cache_ttl'] = '10d';
3
 
4
 // JSON-RPC endpoint configuration of the Bonnie web service providing historic data for groupware objects
5
+$config['kolab_bonnie_api'] = null;
6
+/*
7
 $config['kolab_bonnie_api'] = array(
8
     'uri'    => 'https://<kolab-hostname>:8080/api/rpc',
9
     'user'   => 'webclient',
10
@@ -86,3 +88,4 @@
11
     'debug'  => true,   // logs requests/responses to <log-dir>/bonnie
12
     'timeout' => 30,
13
 );
14
+*/
15
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/libkolab/lib/kolab_format_xcal.php -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/libkolab/lib/kolab_format_xcal.php Changed
21
 
1
@@ -203,7 +203,7 @@
2
                 for ($i=0; $i < $byday->size(); $i++) {
3
                     $daypos = $byday->get($i);
4
                     $prefix = $daypos->occurence();
5
-                    $weekdays[] = ($prefix ? $prefix : '') . $weekday_map[$daypos->weekday()];
6
+                    $weekdays[] = ($prefix ?: '') . $weekday_map[$daypos->weekday()];
7
                 }
8
                 $object['recurrence']['BYDAY'] = join(',', $weekdays);
9
             }
10
@@ -382,8 +382,8 @@
11
                 $att = new Attendee;
12
                 $att->setContact($cr);
13
                 $att->setPartStat($this->part_status_map[$attendee['status']]);
14
-                $att->setRole($this->role_map[$attendee['role']] ? $this->role_map[$attendee['role']] : kolabformat::Required);
15
-                $att->setCutype($this->cutype_map[$attendee['cutype']] ? $this->cutype_map[$attendee['cutype']] : kolabformat::CutypeIndividual);
16
+                $att->setRole($this->role_map[$attendee['role']] ?: kolabformat::Required);
17
+                $att->setCutype($this->cutype_map[$attendee['cutype']] ?: kolabformat::CutypeIndividual);
18
                 $att->setRSVP((bool)$attendee['rsvp']);
19
 
20
                 if (!empty($attendee['delegated-from'])) {
21
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/libkolab/lib/kolab_storage.php -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/libkolab/lib/kolab_storage.php Changed
14
 
1
@@ -659,8 +659,10 @@
2
                     // get username part and map it to user name
3
                     $pos = strpos($folder, $delim);
4
                     $fid = $pos ? substr($folder, 0, $pos) : $folder;
5
-                    $fid = self::folder_id2user($fid, true);
6
-                    $fid = str_replace($delim, '', $fid);
7
+
8
+                    if ($user = self::folder_id2user($fid, true)) {
9
+                        $fid = str_replace($delim, '', $user);
10
+                    }
11
 
12
                     $prefix = "($fid)";
13
                     $folder = $pos ? substr($folder, $pos + 1) : '';
14
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/tasklist/README -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/tasklist/README Changed
18
 
1
@@ -12,8 +12,8 @@
2
 library plugins. Thus in order to run the tasklist plugin, you also need the
3
 following plugins installed:
4
 
5
-* libcalendaring [1]
6
-* libkolab [1]
7
+* kolab/libcalendaring [1]
8
+* kolab/libkolab [1]
9
 
10
 
11
 INSTALLATION
12
@@ -67,3 +67,5 @@
13
 
14
 Use Roundcube `skins_allowed` option to limit skins available to the user
15
 or remove incompatible skins from the skins folder.
16
+
17
+[1] https://git.kolab.org/diffusion/RPK/
18
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/tasklist/composer.json -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/tasklist/composer.json Changed
10
 
1
@@ -4,7 +4,7 @@
2
     "description": "Task management plugin",
3
     "homepage": "https://git.kolab.org/diffusion/RPK/",
4
     "license": "AGPLv3",
5
-    "version": "3.5.2",
6
+    "version": "3.5.3",
7
     "authors": [
8
         {
9
             "name": "Thomas Bruederli",
10
roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/tasklist/drivers/database/SQL/sqlite.initial.sql Added
53
 
1
@@ -0,0 +1,51 @@
2
+/**
3
+ * Roundcube Tasklist plugin database
4
+ *
5
+ * @author Thomas Bruederli
6
+ * @licence GNU AGPL
7
+ * @copyright (C) 2014, Kolab Systems AG
8
+ */
9
+
10
+CREATE TABLE tasklists (
11
+    tasklist_id integer NOT NULL PRIMARY KEY,
12
+    user_id integer NOT NULL,
13
+    name varchar(255) NOT NULL,
14
+    color varchar(8) NOT NULL,
15
+    showalarms tinyint NOT NULL DEFAULT '0',
16
+    CONSTRAINT fk_tasklists_user_id FOREIGN KEY (user_id)
17
+        REFERENCES users (user_id) ON UPDATE CASCADE ON DELETE CASCADE
18
+);
19
+
20
+CREATE INDEX ix_tasklists_user_id ON tasklists (user_id, name);
21
+
22
+CREATE TABLE tasks (
23
+    task_id integer NOT NULL PRIMARY KEY,
24
+    tasklist_id integer NOT NULL,
25
+    parent_id integer DEFAULT NULL,
26
+    uid varchar(255) NOT NULL,
27
+    created datetime NOT NULL DEFAULT (datetime('now', 'localtime')),
28
+    changed datetime NOT NULL DEFAULT (datetime('now', 'localtime')),
29
+    del tinyint NOT NULL DEFAULT '0',
30
+    title varchar(255) NOT NULL,
31
+    description text,
32
+    tags text,
33
+    "date" varchar(10) DEFAULT NULL,
34
+    "time" varchar(5) DEFAULT NULL,
35
+    startdate varchar(10) DEFAULT NULL,
36
+    starttime varchar(5) DEFAULT NULL,
37
+    flagged tinyint NOT NULL DEFAULT '0',
38
+    complete real NOT NULL DEFAULT '0',
39
+    status varchar(16) NOT NULL DEFAULT '',
40
+    alarms varchar(255) DEFAULT NULL,
41
+    recurrence varchar(255) DEFAULT NULL,
42
+    organizer varchar(255) DEFAULT NULL,
43
+    attendees text,
44
+    notify datetime DEFAULT NULL,
45
+    CONSTRAINT fk_tasks_tasklist_id FOREIGN KEY (tasklist_id)
46
+        REFERENCES tasklists (tasklist_id) ON UPDATE CASCADE ON DELETE CASCADE
47
+);
48
+
49
+CREATE INDEX ix_tasks_tasklisting ON tasks (tasklist_id, del, date);
50
+CREATE INDEX ix_tasks_uid ON tasks (uid);
51
+
52
+INSERT INTO system (name, value) VALUES ('tasklist-database-version', '2014051900');
53
roundcubemail-plugins-kolab-3.5.2.tar.gz/plugins/tasklist/drivers/database/tasklist_database_driver.php -> roundcubemail-plugins-kolab-3.5.3.tar.gz/plugins/tasklist/drivers/database/tasklist_database_driver.php Changed
37
 
1
@@ -332,7 +332,7 @@
2
             foreach (array('title', 'description', 'organizer', 'attendees') as $col) {
3
                 $sql_query[] = $this->rc->db->ilike($col, '%' . $filter['search'] . '%');
4
             }
5
-            $sql_add = "AND (" . join(" OR ", $sql_query) . ")";
6
+            $sql_add = " AND (" . join(" OR ", $sql_query) . ")";
7
         }
8
 
9
         if ($filter['since'] && is_numeric($filter['since'])) {
10
@@ -421,7 +421,7 @@
11
                 "SELECT `task_id` AS id FROM " . $this->db_tasks
12
                 . " WHERE `tasklist_id` IN (" . $this->list_ids . ")"
13
                     . " AND `parent_id` IN (" . join(',', array_map(array($this->rc->db, 'quote'), $task_ids)) . ")"
14
-                    . " AND `del` = 0",
15
+                    . " AND `del` = 0"
16
             );
17
 
18
             $task_ids = array();
19
@@ -470,7 +470,7 @@
20
             $result = $this->rc->db->query("SELECT * FROM " . $this->db_tasks
21
                 . " WHERE `tasklist_id` IN (" . join(',', $list_ids) . ")"
22
                     . " AND `notify` <= " . $this->rc->db->fromunixtime($time)
23
-                    . " AND NOT " . self::IS_COMPLETE_SQL,
24
+                    . " AND NOT " . self::IS_COMPLETE_SQL
25
             );
26
 
27
             while ($result && ($rec = $this->rc->db->fetch_assoc($result))) {
28
@@ -597,7 +597,7 @@
29
             strval($prop['description']),
30
             join(',', (array)$prop['tags']),
31
             $prop['flagged'] ? 1 : 0,
32
-            $prop['complete'],
33
+            $prop['complete'] ?: 0,
34
             strval($prop['status']),
35
             $prop['alarms'],
36
             $prop['recurrence'],
37
roundcubemail-plugins-kolab.dsc Changed
17
 
1
@@ -2,7 +2,7 @@
2
 Source: roundcubemail-plugins-kolab
3
 Binary: roundcubemail-plugins-kolab
4
 Architecture: all
5
-Version: 1:3.5.2-0~kolab2
6
+Version: 1:3.5.3-0~kolab1
7
 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>
8
 Uploaders: Paul Klos <kolab@klos2day.nl>
9
 Standards-Version: 3.9.3
10
@@ -37,5 +37,5 @@
11
  roundcubemail-plugin-tinymce-config deb web extra
12
  roundcubemail-plugin-wap-client deb web extra
13
 Files:
14
- 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.5.2.tar.gz
15
+ 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.5.3.tar.gz
16
  00000000000000000000000000000000 0 debian.tar.gz
17
Refresh
Refresh
Request History
Jeroen van Meeuwen's avatar

vanmeeuwen created request over 5 years ago

Check in 3.5.3


Jeroen van Meeuwen's avatar

vanmeeuwen accepted review over 5 years ago

Accept


Jeroen van Meeuwen's avatar

vanmeeuwen accepted review over 5 years ago

Accept


Jeroen van Meeuwen's avatar

vanmeeuwen approved review over 5 years ago

Accept


Jeroen van Meeuwen's avatar

vanmeeuwen accepted request over 5 years ago

Accept