Projects
Kolab:16:TestingLinked
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 47
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -61,6 +61,9 @@ Source103: plesk.kolab_folders.inc.php Source104: plesk.libkolab.inc.php +Patch0001: 0001-Unbreak-de_DE-localization-file.patch +Patch0002: 0002-Elastic-Fix-Save-Edit-buttons-on-plain-text-editor-B.patch + Patch1001: roundcubemail-plugins-kolab-3.3-kolab-files-manticore-api.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -1360,6 +1363,8 @@ cp -afv %{SOURCE104} plugins/libkolab/config.inc.php.dist %endif +%patch0001 -p1 +%patch0002 -p1 %patch1001 -p1 find -type d -name "helpdocs" -exec rm -rvf {} \; 2>/dev/null || : @@ -2665,6 +2670,9 @@ %defattr(-,root,root,-) %changelog +* Sun Jan 27 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 3.4.2-2 +- Fix de_DE, save buttons + * Sat Jan 19 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 3.4.2-1 - Release of version 3.4.2
View file
0001-Unbreak-de_DE-localization-file.patch
Added
@@ -0,0 +1,27 @@ +From 5834133fadb9eaf798d98e2aabe159748a0bf9db Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak <machniak@kolabsys.com> +Date: Tue, 22 Jan 2019 07:32:42 +0000 +Subject: PATCH 1/3 Unbreak de_DE localization file + +--- + plugins/tasklist/localization/de_DE.inc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/plugins/tasklist/localization/de_DE.inc b/plugins/tasklist/localization/de_DE.inc +index 65d7e644..0d930c5d 100644 +--- a/plugins/tasklist/localization/de_DE.inc ++++ b/plugins/tasklist/localization/de_DE.inc +@@ -234,8 +234,8 @@ $labels'importsuccess' = '$nr Aufgaben erfolgreich importiert'; + $labels'importerror' = 'Fehler beim Importieren'; + $labels'newerversionexists' = 'Eine neuere Version dieser Aufgabe existiert bereits! Abbruch.'; + $labels'nowritetasklistfound' = 'Keine Aufgabenliste zum Speichern der Aufgabe gefunden'; +-$labels'importedsuccessfully' = 'Die Aufgabe wurde erfolgreich unter '$list' gespeichert'; +-$labels'updatedsuccessfully' = 'Die Aufgabe wurde erfolgreich in '$list' aktualisiert'; ++$labels'importedsuccessfully' = 'Die Aufgabe wurde erfolgreich unter \'$list\' gespeichert'; ++$labels'updatedsuccessfully' = 'Die Aufgabe wurde erfolgreich in \'$list\' aktualisiert'; + $labels'attendeupdateesuccess' = 'Teilnehmerstatus erfolgreich aktualisiert'; + $labels'itipresponseerror' = 'Senden der Antwort auf diese Aufgabenzuweisung fehlgeschlagen'; + $labels'itipinvalidrequest' = 'Diese Einladung ist nicht mehr gültig.'; +-- +2.20.1 +
View file
0002-Elastic-Fix-Save-Edit-buttons-on-plain-text-editor-B.patch
Added
@@ -0,0 +1,111 @@ +From 4b0562086724d6b4d5f1537a5d42a0a6034e8351 Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak <machniak@kolabsys.com> +Date: Tue, 22 Jan 2019 09:44:45 +0000 +Subject: PATCH 2/3 Elastic: Fix Save/Edit buttons on plain text editor + (Bifrost#T173153) + +--- + plugins/kolab_files/kolab_files.js | 11 ++++++---- + plugins/kolab_files/skins/elastic/ui.js | 27 ++++++++++++------------- + 2 files changed, 20 insertions(+), 18 deletions(-) + +diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js +index 3a60ddb1..c32ea009 100644 +--- a/plugins/kolab_files/kolab_files.js ++++ b/plugins/kolab_files/kolab_files.js +@@ -1251,10 +1251,6 @@ function kolab_files_frame_load(frame) + } + catch (e) {}; + +- // on edit page switch immediately to edit mode +- if (rcmail.file_editor && rcmail.file_editor.editable && rcmail.env.action == 'edit') +- rcmail.files_edit(); +- + rcmail.enable_command('files-edit', (rcmail.file_editor && rcmail.file_editor.editable) + || rcmail.env.editor_type + || (file_api.file_type_supported(rcmail.env.file_data.type, rcmail.env.files_caps) & 4)); +@@ -1266,6 +1262,10 @@ function kolab_files_frame_load(frame) + rcmail.enable_command('image-scale', 'image-rotate', info && !!/^image\//.test(info.type)); + rcmail.gui_objects.messagepartframe = frame; + ++ // on edit page switch immediately to edit mode ++ if (rcmail.file_editor && rcmail.file_editor.editable && rcmail.env.action == 'edit') ++ rcmail.files_edit(); ++ + // detect Print button and check if it can be accessed + try { + if ($('#fileframe').contents().find('#print').length) +@@ -3895,6 +3895,9 @@ function kolab_files_ui() + _frame: 1 + }; + ++ if (rcmail.is_framed()) ++ args._framed = 1; ++ + if (params && params.session) + args._session = params.session; + +diff --git a/plugins/kolab_files/skins/elastic/ui.js b/plugins/kolab_files/skins/elastic/ui.js +index 48c23dfa..33edbb12 100644 +--- a/plugins/kolab_files/skins/elastic/ui.js ++++ b/plugins/kolab_files/skins/elastic/ui.js +@@ -78,9 +78,20 @@ function kolab_files_members_list(link) + }; + + +-if (rcmail.env.action == 'open') { ++if (rcmail.env.action == 'open' || rcmail.env.action == 'edit') { + rcmail.addEventListener('enable-command', kolab_files_enable_command); + ++ if (rcmail.env.action == 'open') { ++ $('#toolbar-menu a.button.save').parent().hide(); ++ } ++ else if (rcmail.env.action == 'edit') { ++ if (rcmail.env.editor_type == 'wopi' && rcmail.is_framed()) { ++ parent.$('.ui-dialog:visible .ui-dialog-buttonpane').addClass('hidden'); ++ } ++ ++ rcmail.gui_object('exportmenu', 'export-menu'); ++ } ++ + // center and scale the image in preview frame + if (rcmail.env.mimetype.startsWith('image/')) { + $('#fileframe').on('load', function() { +@@ -92,7 +103,7 @@ if (rcmail.env.action == 'open') { + } + + // Elastic mobile preview uses an iframe in a dialog +- if (rcmail.is_framed()) { ++ if ((rcmail.env.action == 'open' || rcmail.env.editor_type != 'wopi') && rcmail.is_framed()) { + var edit_button = $('#filetoolbar a.button.edit'), + save_button = $('#filetoolbar a.button.save'); + +@@ -111,9 +122,6 @@ if (rcmail.env.action == 'open') { + ); + } + } +-else if (rcmail.env.action == 'edit') { +- rcmail.gui_object('exportmenu', 'export-menu'); +-} + else { + rcmail.addEventListener('files-folder-select', function(p) { + var is_sess = p.folder == 'folder-collection-sessions'; +@@ -126,15 +134,6 @@ else { + } + + $(document).ready(function() { +- if (rcmail.env.action == 'open') { +- $('#toolbar-menu a.button.save').parent().hide(); +- } +- else if (rcmail.env.action == 'edit') { +- if (rcmail.is_framed()) { +- parent.$('.ui-dialog:visible .ui-dialog-buttonpane').addClass('hidden'); +- } +- } +- + if ($('#dragfilemenu').length) { + rcmail.gui_object('file_dragmenu', 'dragfilemenu'); + } +-- +2.20.1 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.4.2-0~kolab2) unstable; urgency=low + + * Fix de_DE, save button + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 27 Jan 2019 11:11:11 +0200 + roundcubemail-plugins-kolab (1:3.4.2-0~kolab1) unstable; urgency=low * Release of version 3.4.2
View file
debian.series
Changed
@@ -1,1 +1,3 @@ roundcubemail-plugins-kolab-3.3-kolab-files-manticore-api.patch -p1 +0001-Unbreak-de_DE-localization-file.patch -p1 +0002-Elastic-Fix-Save-Edit-buttons-on-plain-text-editor-B.patch -p1
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.4.2-0~kolab1 +Version: 1:3.4.2-0~kolab2 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3
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
.