Projects
Kolab:3.4
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 110
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -23,7 +23,7 @@ %global tmpdir %{_var}/lib/roundcubemail Name: roundcubemail-plugins-kolab -Version: 3.2.6 +Version: 3.2.7 Release: 1%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail @@ -148,6 +148,8 @@ Requires: roundcubemail(plugin-kolab_files-assets) = %{?epoch:%{epoch}:}%{version}-%{release} Requires: roundcubemail(plugin-kolab_files-skin) = %{?epoch:%{epoch}:}%{version}-%{release} Requires: roundcubemail(plugin-libkolab) = %{?epoch:%{epoch}:}%{version}-%{release} +# Already a part of php-common in rpm packaging +Requires: php-curl Provides: roundcubemail(plugin-kolab_files) = %{?epoch:%{epoch}:}%{version}-%{release} %description -n roundcubemail-plugin-kolab_files @@ -878,6 +880,10 @@ fi done + if [ "$(basename ${plugin})" == "kolab_files" ]; then + echo "Requires: php-curl" + fi + echo "Provides: roundcubemail(plugin-$(basename ${plugin})) = %%{?epoch:%%{epoch}:}%%{version}-%%{release}" echo "" echo "%description -n roundcubemail-plugin-$(basename ${plugin})" @@ -1925,6 +1931,9 @@ %defattr(-,root,root,-) %changelog +* Wed Feb 25 2015 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.2.7-1 +- Release of version 3.2.7 + * Sun Feb 15 2015 Daniel Hoffend <dh@dotlan.net> - 3.2.5-2 - Removed tmpdir+symlink for odfviewer
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.2.7-0~kolab1) unstable; urgency=low + + * Release of version 3.2.7 + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 25 Feb 2015 18:41:13 +0200 + roundcubemail-plugins-kolab (1:3.2.6-0~kolab2) unstable; urgency=low * added dependency to php5-curl #4507
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/calendar.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/calendar.php
Changed
@@ -3210,6 +3210,11 @@ */ public function user_delete($args) { + // delete itipinvitations entries related to this user + $db = $this->rc->get_dbh(); + $table_itipinvitations = $db->table_name('itipinvitations', true); + $db->query("DELETE FROM $table_itipinvitations WHERE `user_id` = ?", $args['user']->ID); + $this->load_driver(); return $this->driver->user_delete($args); }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Calendar plugin", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli",
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/drivers/kolab/kolab_calendar.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/drivers/kolab/kolab_calendar.php
Changed
@@ -207,6 +207,14 @@ return $this->events[$id]; } + /** + * Get attachment body + * @see calendar_driver::get_attachment_body() + */ + public function get_attachment_body($id, $event) + { + return $this->ready ? $this->storage->get_attachment($event['id'], $id): false; + } /** * @param integer Event's new start (unix timestamp) @@ -319,7 +327,7 @@ if (count($words)) { $hits = 0; foreach ($words as $word) { - $hits += $me->_fulltext_match($event, $word, false); + $hits += $me->fulltext_match($event, $word, false); } if ($hits < count($words)) { return false; @@ -727,7 +735,7 @@ /** * Match the given word in the event contents */ - private function _fulltext_match($event, $word, $recursive = true) + public function fulltext_match($event, $word, $recursive = true) { $hits = 0; foreach ($this->search_fields as $col) { @@ -746,7 +754,7 @@ // search in recurrence exceptions if (!$hits && $recursive && !empty($event['recurrence']['EXCEPTIONS'])) { foreach ($event['recurrence']['EXCEPTIONS'] as $exception) { - $hits = $this->_fulltext_match($exception, $word, false); + $hits = $this->fulltext_match($exception, $word, false); if ($hits) break; } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/drivers/kolab/kolab_driver.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/drivers/kolab/kolab_driver.php
Changed
@@ -583,15 +583,6 @@ $cid = $event['calendar'] ? $event['calendar'] : reset(array_keys($this->calendars)); if ($storage = $this->get_calendar($cid)) { - // handle attachments to add - if (!empty($event['attachments'])) { - foreach ($event['attachments'] as $idx => $attachment) { - // we'll read file contacts into memory, Horde/Kolab classes does the same - // So we cannot save memory, rcube_imap class can do this better - $event['attachments'][$idx]['content'] = $attachment['data'] ? $attachment['data'] : file_get_contents($attachment['path']); - } - } - $success = $storage->insert_event($event); if ($success && $this->freebusy_trigger) { @@ -1614,7 +1605,7 @@ if (!($cal = $this->get_calendar($event['calendar']))) return false; - return $cal->storage->get_attachment($event['id'], $id); + return $cal->get_attachment_body($id, $event); } /**
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/drivers/kolab/kolab_invitation_calendar.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/drivers/kolab/kolab_invitation_calendar.php
Changed
@@ -188,6 +188,33 @@ return $event; } + /** + * Get attachment body + * @see calendar_driver::get_attachment_body() + */ + public function get_attachment_body($id, $event) + { + // find the actual folder this event resides in + if (!empty($event['_folder_id'])) { + $cal = $this->cal->get_calendar($event['_folder_id']); + } + else { + $cal = null; + foreach (kolab_storage::list_folders('', '*', 'event', null) as $foldername) { + $cal = new kolab_calendar($foldername, $this->cal); + if ($cal->ready && $cal->storage && $cal->get_event($event['id'])) { + break; + } + } + } + + if ($cal && $cal->storage) { + return $cal->get_attachment_body($id, $event); + } + + return false; + } + /** * @param integer Event's new start (unix timestamp)
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/drivers/kolab/kolab_user_calendar.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/drivers/kolab/kolab_user_calendar.php
Changed
@@ -174,6 +174,22 @@ return $this->events[$id]; } + /** + * Get attachment body + * @see calendar_driver::get_attachment_body() + */ + public function get_attachment_body($id, $event) + { + if (!$event['calendar'] && ($ev = $this->get_event($event['id']))) { + $event['calendar'] = $ev['calendar']; + } + + if ($event['calendar'] && ($cal = $this->cal->get_calendar($event['calendar']))) { + return $cal->get_attachment_body($id, $event); + } + + return false; + } /** * @param integer Event's new start (unix timestamp)
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/lib/calendar_itip.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/lib/calendar_itip.php
Changed
@@ -152,12 +152,14 @@ // delete old entry $this->rc->db->query("DELETE FROM $this->db_itipinvitations WHERE `token` = ?", $base); + $event_uid = $event['uid'] . ($event['_instance'] ? '-' . $event['_instance'] : ''); + $query = $this->rc->db->query( "INSERT INTO $this->db_itipinvitations (`token`, `event_uid`, `user_id`, `event`, `expires`) VALUES(?, ?, ?, ?, ?)", $base, - $event['uid'], + $event_uid, $this->rc->user->ID, self::serialize_event($event), date('Y-m-d H:i:s', $event['end']->format('U') + 86400 * 2) @@ -178,12 +180,14 @@ */ public function cancel_itip_invitation($event) { + $event_uid = $event['uid'] . ($event['_instance'] ? '-' . $event['_instance'] : ''); + // flag invitation record as cancelled $this->rc->db->query( "UPDATE $this->db_itipinvitations SET `cancelled` = 1 WHERE `event_uid` = ? AND `user_id` = ?", - $event['uid'], + $event_uid, $this->rc->user->ID ); } @@ -196,7 +200,8 @@ */ public function generate_token($event, $attendee) { - $base = sha1($event['uid'] . ';' . $this->rc->user->ID); + $event_uid = $event['uid'] . ($event['_instance'] ? '-' . $event['_instance'] : ''); + $base = sha1($event_uid . ';' . $this->rc->user->ID); $mail = base64_encode($attendee); $hash = substr(md5($base . $mail . $this->rc->config->get('des_key')), 0, 6);
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/calendar/skins/larry/calendar.css -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/calendar/skins/larry/calendar.css
Changed
@@ -2316,3 +2316,12 @@ font-size: 120%; } +.calendaritipattend .itip-reply-controls .noreply-toggle, +.calendaritipattend .itip-reply-controls #noreply-event-rsvp { + display: none; +} + +.calendaritipattend .itip-reply-controls a.reply-comment-toggle { + margin-left: 2px; +} +
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_activesync/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_activesync/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "ActiveSync configuration utility for Kolab accounts", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli", @@ -26,6 +26,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_addressbook/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_addressbook/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Kolab addressbook", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli", @@ -26,6 +26,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_addressbook/kolab_addressbook.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_addressbook/kolab_addressbook.php
Changed
@@ -288,7 +288,7 @@ 'type' => 'checkbox', 'name' => '_source[]', 'value' => $id, - 'checked' => $prop['active'], + 'checked' => false, 'aria-labelledby' => $label_id, )); }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
Changed
@@ -1002,9 +1002,11 @@ // validate e-mail addresses $valid = parent::validate($save_data); - // require at least one e-mail address (syntax check is already done) + // require at least one e-mail address if there's no name + // (syntax check is already done) if ($valid) { if (!strlen($save_data['name']) + && !strlen($save_data['organization']) && !array_filter($this->get_col_values('email', $save_data, true)) ) { $this->set_error('warning', 'kolab_addressbook.noemailnamewarning');
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_config/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_config/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Kolab configuration storage", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Aleksander Machniak", @@ -21,6 +21,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_delegation/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_delegation/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Kolab delegation feature", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Aleksander Machniak", @@ -21,7 +21,7 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6", + "kolab/libkolab": ">=3.2.7", "kolab/kolab_auth": ">=3.2.2" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_files/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_files/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "User interface for Kolab File Manager (Chwala)", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Aleksander Machniak", @@ -21,6 +21,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_folders/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_folders/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Type-aware folder management/listing for Kolab", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Aleksander Machniak", @@ -21,6 +21,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_notes/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_notes/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Notes module for Roundcube connecting to a Kolab server for storage", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli", @@ -21,7 +21,7 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6", + "kolab/libkolab": ">=3.2.7", "roundcube/jqueryui": ">=1.10.4" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/kolab_tags/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/kolab_tags/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Email tags plugin", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Aleksander Machniak", @@ -21,6 +21,6 @@ "require": { "php": ">=5.3.0", "roundcube/plugin-installer": ">=0.1.3", - "kolab/libkolab": ">=3.2.6" + "kolab/libkolab": ">=3.2.7" } }
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/libkolab/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/libkolab/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Plugin to setup a basic environment for the interaction with a Kolab server.", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli",
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/libkolab/config.inc.php.dist -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/libkolab/config.inc.php.dist
Changed
@@ -13,7 +13,7 @@ $config['kolab_format_version'] = '3.0'; // Optional override of the URL to read and trigger Free/Busy information of Kolab users -// Defaults to https://<imap-server->/freebusy +// Defaults to /freebusy or https://<imap-server->/freebusy $config['kolab_freebusy_server'] = null; // Enables listing of only subscribed folders. This e.g. will limit
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/libkolab/lib/kolab_storage_cache_contact.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/libkolab/lib/kolab_storage_cache_contact.php
Changed
@@ -54,6 +54,11 @@ $sql_data['email'] = ''; } + // use organization if name is empty + if (empty($sql_data['name']) && !empty($object['organization'])) { + $sql_data['name'] = rcube_charset::clean($object['organization']); + } + return $sql_data; } } \ No newline at end of file
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/tasklist/composer.json -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/tasklist/composer.json
Changed
@@ -4,7 +4,7 @@ "description": "Task management plugin", "homepage": "http://git.kolab.org/roundcubemail-plugins-kolab/", "license": "AGPLv3", - "version": "3.2.6", + "version": "3.2.7", "authors": [ { "name": "Thomas Bruederli",
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
Changed
@@ -997,6 +997,13 @@ unset($object['startdate']); } + // as per RFC (and the Kolab schema validation), start and due dates need to be of the same type (#3614) + // this should be catched in the client already but just make sure we don't write invalid objects + if (!empty($object['start']) && !empty($object['due']) && $object['due']->_dateonly != $object['start']->_dateonly) { + $object['start']->_dateonly = true; + $object['due']->_dateonly = true; + } + $object['complete'] = $task['complete'] * 100; if ($task['complete'] == 1.0 && empty($task['complete'])) $object['status'] = 'COMPLETED';
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/tasklist/localization/en_US.inc -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/tasklist/localization/en_US.inc
Changed
@@ -25,6 +25,8 @@ $labels['createtask'] = 'Create Task <Enter>'; $labels['createnewtask'] = 'Create new Task (e.g. Saturday, Mow the lawn)'; $labels['createfrommail'] = 'Save as task'; +$labels['printtitle'] = 'Print tasks'; +$labels['printdescriptions'] = 'Print descriptions'; $labels['mark'] = 'Mark'; $labels['unmark'] = 'Unmark'; $labels['edit'] = 'Edit'; @@ -103,6 +105,8 @@ $labels['errorsaving'] = 'Failed to save data.'; $labels['notasksfound'] = 'No tasks found for the given criteria'; $labels['invalidstartduedates'] = 'Start date must not be greater than due date.'; +$labels['invalidstartduetimes'] = 'Start and due dates must either both or none specify a time.'; +$labels['recurrencerequiresdate'] = 'Recurring tasks require either a start or due date.'; $labels['deletetasktconfirm'] = 'Do you really want to delete this task?'; $labels['deleteparenttasktconfirm'] = 'Do you really want to delete this task and all its subtasks?'; $labels['deletelistconfirm'] = 'Do you really want to delete this list with all its tasks?';
View file
roundcubemail-plugins-kolab-3.2.6.tar.gz/plugins/tasklist/tasklist.js -> roundcubemail-plugins-kolab-3.2.7.tar.gz/plugins/tasklist/tasklist.js
Changed
@@ -2206,6 +2206,14 @@ alert(rcmail.gettext('invalidstartduedates', 'tasklist')); return false; } + else if ((data.time == '') != (data.starttime == '')) { + alert(rcmail.gettext('invalidstartduetimes', 'tasklist')); + return false; + } + } + else if (data.recurrence && !data.startdate && !data.date) { + alert(rcmail.gettext('recurrencerequiresdate', 'tasklist')); + return false; } // collect tags @@ -2546,7 +2554,7 @@ // in focusview mode, only tasks from the selected list are allowed if (focusview) - match = $.inArray(rec.list, focusview_lists) >= 0; + match = $.inArray(rec.list, focusview_lists) >= 0 && match; if (match && tagsfilter.length) { match = rec.tags && rec.tags.length;
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.2.6-0~kolab2 +Version: 1:3.2.7-0~kolab1 Maintainer: Christoph Wickert <wickert@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3 @@ -10,5 +10,5 @@ Package-List: roundcubemail-plugins-kolab deb web extra Files: - 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.2.6.tar.gz + 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.2.7.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
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
.