calendarimporter 2.0.4:

- added compatible with webapp 1.4
 - added gui for sync - sync algorithms not jet implemented
This commit is contained in:
Christoph Haas 2013-10-03 19:29:23 +00:00
parent ad23a09802
commit baa184dcd9
3 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,6 @@
calendarimporter 2.0.3: calendarimporter 2.0.4:
- added sync support for ics files - added compatible with webapp 1.4
- added gui for sync - sync algorithms not jet implemented
calendarimporter 2.0.3: calendarimporter 2.0.3:
- fixed all day events - fixed all day events

View File

@ -31,12 +31,6 @@ Zarafa.plugins.calendarimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, {
*/ */
constructor: function (config) { constructor: function (config) {
config = 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); 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() { Zarafa.onReady(function() {
if(container.getSettingsModel().get("zarafa/v1/plugins/calendarimporter/enable") === true) { 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
}));
} }
}); });

View File

@ -39,8 +39,9 @@ Zarafa.plugins.calendarimporter.settings.SettingsCalSyncWidget = Ext.extend(Zara
Ext.applyIf(config, { Ext.applyIf(config, {
height : 400, height : 400,
title : _('Calendar Sync settings'), title : _('Calendar Sync settings - Comming soon'),
xtype : 'calendarimporter.settingscalsyncwidget', xtype : 'calendarimporter.settingscalsyncwidget',
disabled : true,
layout : { layout : {
// override from SettingsWidget // override from SettingsWidget
type : 'fit' type : 'fit'