diff --git a/changelog.txt b/changelog.txt index 10acd26..868fb5d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,6 @@ -calendarimporter 2.0.3: - - added sync support for ics files +calendarimporter 2.0.4: + - added compatible with webapp 1.4 + - added gui for sync - sync algorithms not jet implemented calendarimporter 2.0.3: - fixed all day events diff --git a/js/plugin.calendarimporter.js b/js/plugin.calendarimporter.js index 5708961..4918426 100644 --- a/js/plugin.calendarimporter.js +++ b/js/plugin.calendarimporter.js @@ -31,12 +31,6 @@ Zarafa.plugins.calendarimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, { */ constructor: function (config) { config = config || {}; - - Ext.applyIf(config, { - name : 'calendarimporter', - displayName : _('Calendarimporter Plugin'), - about : Zarafa.plugins.calendarimporter.ABOUT - }); Zarafa.plugins.calendarimporter.ImportPlugin.superclass.constructor.call(this, config); }, @@ -263,6 +257,12 @@ Zarafa.plugins.calendarimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, { *############################################################################################################################*/ Zarafa.onReady(function() { if(container.getSettingsModel().get("zarafa/v1/plugins/calendarimporter/enable") === true) { - container.registerPlugin(new Zarafa.plugins.calendarimporter.ImportPlugin); + container.registerPlugin(new Zarafa.core.PluginMetaData({ + name : 'calendarimporter', + displayName : _('Calendarimporter Plugin'), + about : Zarafa.plugins.calendarimporter.ABOUT, + allowUserDisable : true, + pluginConstructor : Zarafa.plugins.calendarimporter.ImportPlugin + })); } }); diff --git a/js/settings/SettingsCalSyncWidget.js b/js/settings/SettingsCalSyncWidget.js index 9224e9c..35c9424 100644 --- a/js/settings/SettingsCalSyncWidget.js +++ b/js/settings/SettingsCalSyncWidget.js @@ -39,8 +39,9 @@ Zarafa.plugins.calendarimporter.settings.SettingsCalSyncWidget = Ext.extend(Zara Ext.applyIf(config, { height : 400, - title : _('Calendar Sync settings'), + title : _('Calendar Sync settings - Comming soon'), xtype : 'calendarimporter.settingscalsyncwidget', + disabled : true, layout : { // override from SettingsWidget type : 'fit'