From f535b1e0d6239fd431c76febecfe19563a899d3b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 6 Jan 2010 22:01:29 +0000 Subject: [PATCH] reindentation Monotone-Parent: fd525de6c21ea2751cd74a7ad3a3a4d36ae50f3c Monotone-Revision: cfefc003ab42b0c862e3b48be27b49e68ef65e44 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-06T22:01:29 Monotone-Branch: ca.inverse.sogo --- UI/AdministrationUI/product.plist | 25 +- UI/Common/product.plist | 212 ++++---- UI/Contacts/product.plist | 436 ++++++++--------- UI/MailPartViewers/product.plist | 26 +- UI/MailerUI/product.plist | 772 +++++++++++++++--------------- UI/MainUI/product.plist | 161 ++++--- UI/PreferencesUI/product.plist | 61 ++- UI/Scheduler/product.plist | 554 ++++++++++----------- 8 files changed, 1122 insertions(+), 1125 deletions(-) diff --git a/UI/AdministrationUI/product.plist b/UI/AdministrationUI/product.plist index 43037f363..bfb7ae21c 100644 --- a/UI/AdministrationUI/product.plist +++ b/UI/AdministrationUI/product.plist @@ -1,22 +1,21 @@ -{ /* -*-javascript-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI ); - publicResources = ( - ); + publicResources = (); factories = { }; categories = { - SOGoUserFolder = { - slots = { - }; - methods = { - Administration = { - protectedBy = "View"; - pageName = "UIxAdministration"; - }; - }; - }; + SOGoUserFolder = { + slots = { + }; + methods = { + Administration = { + protectedBy = "View"; + pageName = "UIxAdministration"; + }; + }; + }; }; } diff --git a/UI/Common/product.plist b/UI/Common/product.plist index 40b9527a2..73a787a6e 100644 --- a/UI/Common/product.plist +++ b/UI/Common/product.plist @@ -1,28 +1,28 @@ -{ /* -*-java-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, Mailer ); - + publicResources = ( - calendar.css, - uix.css, - menu_logo_top.gif, - line_left.gif, - line_stretch.gif, - line_right.gif, - box_topleft.gif, - box_top.gif, - box_topright.gif, - box_left.gif, - box_right.gif, - box_botleft.gif, - box_bottom.gif, - box_botright.gif, - corner_right.gif, - closewindow.gif, - OGoLogo.gif, - upward_sorted.gif, - downward_sorted.gif, - non_sorted.gif - ); + calendar.css, + uix.css, + menu_logo_top.gif, + line_left.gif, + line_stretch.gif, + line_right.gif, + box_topleft.gif, + box_top.gif, + box_topright.gif, + box_left.gif, + box_right.gif, + box_botleft.gif, + box_bottom.gif, + box_botright.gif, + corner_right.gif, + closewindow.gif, + OGoLogo.gif, + upward_sorted.gif, + downward_sorted.gif, + non_sorted.gif + ); factories = { }; @@ -30,97 +30,97 @@ categories = { SOGoObject = { methods = { - addUserInAcls = { - protectedBy = "Change Permissions"; - actionClass = "UIxObjectActions"; - actionName = "addUserInAcls"; - }; - removeUserFromAcls = { - protectedBy = "Change Permissions"; - actionClass = "UIxObjectActions"; - actionName = "removeUserFromAcls"; - }; - delete = { - protectedBy = "Delete Object"; - actionClass = "UIxObjectActions"; - actionName = "delete"; - }; - acls = { - protectedBy = "ReadAcls"; - pageName = "UIxAclEditor"; - }; - saveAcls = { - protectedBy = "Change Permissions"; - pageName = "UIxAclEditor"; - actionName = "saveAcls"; - }; - userRights = { - protectedBy = "ReadAcls"; - pageName = "UIxUserRightsEditor"; - }; - saveUserRights = { - protectedBy = "Change Permissions"; - pageName = "UIxUserRightsEditor"; - actionName = "saveUserRights"; - }; + addUserInAcls = { + protectedBy = "Change Permissions"; + actionClass = "UIxObjectActions"; + actionName = "addUserInAcls"; + }; + removeUserFromAcls = { + protectedBy = "Change Permissions"; + actionClass = "UIxObjectActions"; + actionName = "removeUserFromAcls"; + }; + delete = { + protectedBy = "Delete Object"; + actionClass = "UIxObjectActions"; + actionName = "delete"; + }; + acls = { + protectedBy = "ReadAcls"; + pageName = "UIxAclEditor"; + }; + saveAcls = { + protectedBy = "Change Permissions"; + pageName = "UIxAclEditor"; + actionName = "saveAcls"; + }; + userRights = { + protectedBy = "ReadAcls"; + pageName = "UIxUserRightsEditor"; + }; + saveUserRights = { + protectedBy = "Change Permissions"; + pageName = "UIxUserRightsEditor"; + actionName = "saveUserRights"; + }; }; }; SOGoParentFolder = { methods = { - createFolder = { - protectedBy = "Add Folders"; - actionClass = "UIxParentFolderActions"; - actionName = "createFolder"; - }; + createFolder = { + protectedBy = "Add Folders"; + actionClass = "UIxParentFolderActions"; + actionName = "createFolder"; + }; }; }; SOGoGCSFolder = { methods = { - subscribe = { - protectedBy = ""; - actionClass = "UIxFolderActions"; - actionName = "subscribe"; - }; - unsubscribe = { - protectedBy = ""; - actionClass = "UIxFolderActions"; - actionName = "unsubscribe"; - }; - canAccessContent = { - protectedBy = "Access Object"; - actionClass = "UIxFolderActions"; - actionName = "canAccessContent"; - }; - activateFolder = { - protectedBy = ""; - actionClass = "UIxFolderActions"; - actionName = "activateFolder"; - }; - deactivateFolder = { - protectedBy = ""; - actionClass = "UIxFolderActions"; - actionName = "deactivateFolder"; - }; - renameFolder = { - protectedBy = "Change Permissions"; - actionClass = "UIxFolderActions"; - actionName = "renameFolder"; - }; - batchDelete = { - protectedBy = "Delete Objects"; - actionClass = "UIxFolderActions"; - actionName = "batchDelete"; - }; - copy = { - protectedBy = "Access Contents Information"; - actionClass = "UIxFolderActions"; - actionName = "copy"; - }; - move = { - protectedBy = "Delete Objects"; - actionClass = "UIxFolderActions"; - actionName = "move"; - }; + subscribe = { + protectedBy = ""; + actionClass = "UIxFolderActions"; + actionName = "subscribe"; + }; + unsubscribe = { + protectedBy = ""; + actionClass = "UIxFolderActions"; + actionName = "unsubscribe"; + }; + canAccessContent = { + protectedBy = "Access Object"; + actionClass = "UIxFolderActions"; + actionName = "canAccessContent"; + }; + activateFolder = { + protectedBy = ""; + actionClass = "UIxFolderActions"; + actionName = "activateFolder"; + }; + deactivateFolder = { + protectedBy = ""; + actionClass = "UIxFolderActions"; + actionName = "deactivateFolder"; + }; + renameFolder = { + protectedBy = "Change Permissions"; + actionClass = "UIxFolderActions"; + actionName = "renameFolder"; + }; + batchDelete = { + protectedBy = "Delete Objects"; + actionClass = "UIxFolderActions"; + actionName = "batchDelete"; + }; + copy = { + protectedBy = "Access Contents Information"; + actionClass = "UIxFolderActions"; + actionName = "copy"; + }; + move = { + protectedBy = "Delete Objects"; + actionClass = "UIxFolderActions"; + actionName = "move"; + }; }; }; }; diff --git a/UI/Contacts/product.plist b/UI/Contacts/product.plist index 5532a8b00..a0c6a512d 100644 --- a/UI/Contacts/product.plist +++ b/UI/Contacts/product.plist @@ -1,4 +1,4 @@ -{ /* -*-java-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI, Contacts ); publicResources = (); @@ -6,235 +6,235 @@ factories = {}; categories = { - SOGoContactFolders = { - slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoContactFolder.toolbar"; - }; + SOGoContactFolders = { + slots = { + toolbar = { + protectedBy = "View"; + value = "SOGoContactFolder.toolbar"; }; - methods = { - view = { - protectedBy = "View"; - pageName = "UIxContactFoldersView"; - }; - mailer-contacts = { - protectedBy = "View"; - pageName = "UIxContactFoldersView"; - actionName = "mailerContacts"; - }; - contactSearch = { - protectedBy = ""; - pageName = "UIxContactFoldersView"; - actionName = "contactSearch"; - }; - allContactSearch = { - protectedBy = ""; - pageName = "UIxContactFoldersView"; - actionName = "allContactSearch"; - }; - updateAdditionalAddressBooks = { - protectedBy = "View"; - pageName = "UIxContactFoldersView"; - actionName = "updateAdditionalAddressBooks"; - }; - acls = { - protectedBy = "ReadAcls"; - pageName = "UIxAclEditor"; - }; - saveAcls = { - protectedBy = "Change Permissions"; - pageName = "UIxAclEditor"; - actionName = "saveAcls"; - }; - checkRights = { - protectedBy = "View"; - pageName = "UIxContactFoldersView"; - actionName = "checkRights"; - }; - userFolders = { - protectedBy = "View"; - pageName = "UIxContactsUserFolders"; - }; - saveDragHandleState = { - protectedBy = "View"; - pageName = "UIxContactFoldersView"; - actionName = "saveDragHandleState"; - }; + }; + methods = { + view = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; }; - }; + mailer-contacts = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "mailerContacts"; + }; + contactSearch = { + protectedBy = ""; + pageName = "UIxContactFoldersView"; + actionName = "contactSearch"; + }; + allContactSearch = { + protectedBy = ""; + pageName = "UIxContactFoldersView"; + actionName = "allContactSearch"; + }; + updateAdditionalAddressBooks = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "updateAdditionalAddressBooks"; + }; + acls = { + protectedBy = "ReadAcls"; + pageName = "UIxAclEditor"; + }; + saveAcls = { + protectedBy = "Change Permissions"; + pageName = "UIxAclEditor"; + actionName = "saveAcls"; + }; + checkRights = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "checkRights"; + }; + userFolders = { + protectedBy = "View"; + pageName = "UIxContactsUserFolders"; + }; + saveDragHandleState = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "saveDragHandleState"; + }; + }; + }; -/* both following class should be "reparented" so as to only have - SOGoContactFolder here... */ - SOGoContactGCSFolder = { - slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoContactFolder.toolbar"; - }; + /* both following class should be "reparented" so as to only have + SOGoContactFolder here... */ + SOGoContactGCSFolder = { + slots = { + toolbar = { + protectedBy = "View"; + value = "SOGoContactFolder.toolbar"; }; - methods = { - view = { - protectedBy = "View"; - pageName = "UIxContactsListView"; - }; - contactSearch = { - protectedBy = ""; - pageName = "UIxContactsListView"; - actionName = "contactSearch"; - }; - newcontact = { - protectedBy = ""; - pageName = "UIxContactEditor"; - actionName = "new"; - }; - newlist = { - protectedBy = "Add Documents, Images, and Files"; - pageName = "UIxListEditor"; - actionName = "new"; - }; - mailer-contacts = { - protectedBy = "View"; - pageName = "UIxContactsListView"; - actionName = "mailerContacts"; - }; - export = { - protectedBy = "View"; - actionClass = "UIxContactFolderActions"; - actionName = "export"; - }; - import = { - protectedBy = "View"; - actionClass = "UIxContactFolderActions"; - actionName = "import"; - }; - userRights = { - protectedBy = "ReadAcls"; - pageName = "UIxContactsUserRightsEditor"; - }; - saveUserRights = { - protectedBy = "Change Permissions"; - pageName = "UIxContactsUserRightsEditor"; - actionName = "saveUserRights"; - }; + }; + methods = { + view = { + protectedBy = "View"; + pageName = "UIxContactsListView"; }; - }; - - SOGoContactSourceFolder = { - slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoContactFolder.toolbar"; - }; + contactSearch = { + protectedBy = ""; + pageName = "UIxContactsListView"; + actionName = "contactSearch"; }; - methods = { - view = { - protectedBy = ""; - pageName = "UIxContactsListView"; - }; - newcontact = { - protectedBy = ""; - pageName = "UIxContactEditor"; - actionName = "new"; - }; - mailer-contacts = { - protectedBy = ""; - pageName = "UIxContactsListView"; - actionName = "mailerContacts"; - }; - canAccessContent = { - protectedBy = ""; - actionClass = "UIxFolderActions"; - actionName = "canAccessContent"; - }; - copy = { - protectedBy = "Access Contents Information"; - actionClass = "UIxFolderActions"; - actionName = "copy"; - }; + newcontact = { + protectedBy = ""; + pageName = "UIxContactEditor"; + actionName = "new"; }; - }; + newlist = { + protectedBy = "Add Documents, Images, and Files"; + pageName = "UIxListEditor"; + actionName = "new"; + }; + mailer-contacts = { + protectedBy = "View"; + pageName = "UIxContactsListView"; + actionName = "mailerContacts"; + }; + export = { + protectedBy = "View"; + actionClass = "UIxContactFolderActions"; + actionName = "export"; + }; + import = { + protectedBy = "View"; + actionClass = "UIxContactFolderActions"; + actionName = "import"; + }; + userRights = { + protectedBy = "ReadAcls"; + pageName = "UIxContactsUserRightsEditor"; + }; + saveUserRights = { + protectedBy = "Change Permissions"; + pageName = "UIxContactsUserRightsEditor"; + actionName = "saveUserRights"; + }; + }; + }; - SOGoContactGCSEntry = { - methods = { - view = { - protectedBy = "Access Contents Information"; - pageName = "UIxContactView"; - }; - edit = { - protectedBy = "Access Contents Information"; - pageName = "UIxContactEditor"; - }; - editAsContact = { - protectedBy = "Access Contents Information"; - pageName = "UIxContactEditor"; - }; - save = { - protectedBy = "Change Images And Files"; - pageName = "UIxContactEditor"; - actionName = "save"; - }; - saveAsContact = { - protectedBy = "Change Images And Files"; - pageName = "UIxContactEditor"; - actionName = "save"; - }; - write = { - protectedBy = "View"; - pageName = "UIxContactEditor"; - actionName = "write"; - }; + SOGoContactSourceFolder = { + slots = { + toolbar = { + protectedBy = "View"; + value = "SOGoContactFolder.toolbar"; }; - }; + }; + methods = { + view = { + protectedBy = ""; + pageName = "UIxContactsListView"; + }; + newcontact = { + protectedBy = ""; + pageName = "UIxContactEditor"; + actionName = "new"; + }; + mailer-contacts = { + protectedBy = ""; + pageName = "UIxContactsListView"; + actionName = "mailerContacts"; + }; + canAccessContent = { + protectedBy = ""; + actionClass = "UIxFolderActions"; + actionName = "canAccessContent"; + }; + copy = { + protectedBy = "Access Contents Information"; + actionClass = "UIxFolderActions"; + actionName = "copy"; + }; + }; + }; - SOGoContactGCSList = { - methods = { - view = { - protectedBy = "Access Contents Information"; - pageName = "UIxListView"; - }; - properties = { - protectedBy = "Access Contents Information"; - pageName = "UIxListView"; - actionName = "properties"; - }; - edit = { - protectedBy = "Access Contents Information"; - pageName = "UIxListEditor"; - }; - editAsList = { - protectedBy = "Access Contents Information"; - pageName = "UIxListEditor"; - }; - save = { - protectedBy = "Change Images And Files"; - pageName = "UIxListEditor"; - actionName = "save"; - }; - saveAsList = { - protectedBy = "Change Images And Files"; - pageName = "UIxListEditor"; - actionName = "save"; - }; + SOGoContactGCSEntry = { + methods = { + view = { + protectedBy = "Access Contents Information"; + pageName = "UIxContactView"; }; - }; + edit = { + protectedBy = "Access Contents Information"; + pageName = "UIxContactEditor"; + }; + editAsContact = { + protectedBy = "Access Contents Information"; + pageName = "UIxContactEditor"; + }; + save = { + protectedBy = "Change Images And Files"; + pageName = "UIxContactEditor"; + actionName = "save"; + }; + saveAsContact = { + protectedBy = "Change Images And Files"; + pageName = "UIxContactEditor"; + actionName = "save"; + }; + write = { + protectedBy = "View"; + pageName = "UIxContactEditor"; + actionName = "write"; + }; + }; + }; - SOGoContactLDIFEntry = { - methods = { - view = { - protectedBy = ""; - pageName = "UIxContactView"; - }; - edit = { - protectedBy = ""; - pageName = "UIxContactEditor"; - }; - write = { - protectedBy = ""; - pageName = "UIxContactEditor"; - actionName = "write"; - }; + SOGoContactGCSList = { + methods = { + view = { + protectedBy = "Access Contents Information"; + pageName = "UIxListView"; }; - }; + properties = { + protectedBy = "Access Contents Information"; + pageName = "UIxListView"; + actionName = "properties"; + }; + edit = { + protectedBy = "Access Contents Information"; + pageName = "UIxListEditor"; + }; + editAsList = { + protectedBy = "Access Contents Information"; + pageName = "UIxListEditor"; + }; + save = { + protectedBy = "Change Images And Files"; + pageName = "UIxListEditor"; + actionName = "save"; + }; + saveAsList = { + protectedBy = "Change Images And Files"; + pageName = "UIxListEditor"; + actionName = "save"; + }; + }; + }; + + SOGoContactLDIFEntry = { + methods = { + view = { + protectedBy = ""; + pageName = "UIxContactView"; + }; + edit = { + protectedBy = ""; + pageName = "UIxContactEditor"; + }; + write = { + protectedBy = ""; + pageName = "UIxContactEditor"; + actionName = "write"; + }; + }; + }; }; } diff --git a/UI/MailPartViewers/product.plist b/UI/MailPartViewers/product.plist index ec3679ed1..f5c59c51a 100644 --- a/UI/MailPartViewers/product.plist +++ b/UI/MailPartViewers/product.plist @@ -1,8 +1,8 @@ -{ /* -*-java-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN ); publicResources = ( - ); +); factories = { }; @@ -10,10 +10,10 @@ categories = { SOGoHTMLMailBodyPart = { methods = { - view = { + view = { protectedBy = "View"; - pageName = "UIxMailPartExternalHTMLViewer"; - }; + pageName = "UIxMailPartExternalHTMLViewer"; + }; }; }; SOGoCalendarMailBodyPart = { @@ -33,16 +33,16 @@ actionClass = "UIxMailPartICalActions"; actionName = "delegate"; }; - updateUserStatus = { + updateUserStatus = { protectedBy = "View"; actionClass = "UIxMailPartICalActions"; actionName = "updateUserStatus"; - }; - /* tentative = { - protectedBy = "View"; - actionClass = "UIxMailPartICalAction"; - actionName = "markTentative"; - }; */ + }; + /* tentative = { + protectedBy = "View"; + actionClass = "UIxMailPartICalAction"; + actionName = "markTentative"; + }; */ addToCalendar = { protectedBy = "View"; actionClass = "UIxMailPartICalActions"; @@ -52,7 +52,7 @@ protectedBy = "View"; actionClass = "UIxMailPartICalActions"; actionName = "deleteFromCalendar"; - }; + }; }; }; }; diff --git a/UI/MailerUI/product.plist b/UI/MailerUI/product.plist index 917654d98..932e6d6c7 100644 --- a/UI/MailerUI/product.plist +++ b/UI/MailerUI/product.plist @@ -1,69 +1,69 @@ -{ /* -*-java-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI, Mailer, MailPartViewers ); publicResources = ("generic.js", - "UIxAppointmentEditor.js", - "UIxContactEditor.js", - "UIxMailToSelection.js", + "UIxAppointmentEditor.js", + "UIxContactEditor.js", + "UIxMailToSelection.js", - "lori_32x32.png", + "lori_32x32.png", - "tbtv_account_17x17.gif", - "tbtv_drafts_17x17.gif", - "tbtv_inbox_17x17.png", - "tbtv_junction2_17x17.gif", - "tbtv_junction_17x17.gif", - "tbtv_leaf_corner_17x17.png", - "tbtv_line_17x17.gif", - "tbtv_minus_17x17.gif", - "tbtv_plus_17x17.gif", - "tbtv_corner_17x17.gif", - "tbtv_corner_minus_17x17.gif", - "tbtv_corner_plus_17x17.gif", - "tbtv_sent_17x17.gif", - "tbtv_trash_17x17.gif", + "tbtv_account_17x17.gif", + "tbtv_drafts_17x17.gif", + "tbtv_inbox_17x17.png", + "tbtv_junction2_17x17.gif", + "tbtv_junction_17x17.gif", + "tbtv_leaf_corner_17x17.png", + "tbtv_line_17x17.gif", + "tbtv_minus_17x17.gif", + "tbtv_plus_17x17.gif", + "tbtv_corner_17x17.gif", + "tbtv_corner_minus_17x17.gif", + "tbtv_corner_plus_17x17.gif", + "tbtv_sent_17x17.gif", + "tbtv_trash_17x17.gif", - "tbtb_addressbook.png", - "tbtb_compose.png", - "tbtb_delete.png", - "tbtb_deletedoc.png", - "tbtb_filetofolder.png", - "tbtb_forward.png", - "tbtb_getmail.png", - "tbtb_next.png", - "tbtb_previous.png", - "tbtb_print.png", - "tbtb_reply.png", - "tbtb_replyall.png", - "tbtb_search.png", - "tbtb_trash.png", + "tbtb_addressbook.png", + "tbtb_compose.png", + "tbtb_delete.png", + "tbtb_deletedoc.png", + "tbtb_filetofolder.png", + "tbtb_forward.png", + "tbtb_getmail.png", + "tbtb_next.png", + "tbtb_previous.png", + "tbtb_print.png", + "tbtb_reply.png", + "tbtb_replyall.png", + "tbtb_search.png", + "tbtb_trash.png", - "tbtb_compose_addressbook_30x30.png", - "tbtb_compose_attach_30x30.png", - "tbtb_compose_clip_30x30.png", - "tbtb_compose_cut_30x30.png", - "tbtb_compose_dup_30x30.png", - "tbtb_compose_file_30x30.png", - "tbtb_compose_lock_30x30.png", - "tbtb_compose_quote_30x30.png", - "tbtb_compose_send_30x30.png", - "tbtb_compose_spell_30x30.png", + "tbtb_compose_addressbook_30x30.png", + "tbtb_compose_attach_30x30.png", + "tbtb_compose_clip_30x30.png", + "tbtb_compose_cut_30x30.png", + "tbtb_compose_dup_30x30.png", + "tbtb_compose_file_30x30.png", + "tbtb_compose_lock_30x30.png", + "tbtb_compose_quote_30x30.png", + "tbtb_compose_send_30x30.png", + "tbtb_compose_spell_30x30.png", - "message-mail.png", - "message-mail-read.png", + "message-mail.png", + "message-mail-read.png", - "dot.png", - "flag.png", - "icon_unread.gif", + "dot.png", + "flag.png", + "icon_unread.gif", - "title_attachment_14x14.png", - "title_config.png", - "title_junk.png", - "title_read_14x14.png", - "title_thread.png", - "title_sortdown_12x12.png", - "title_sortup_12x12.png", - ); + "title_attachment_14x14.png", + "title_config.png", + "title_junk.png", + "title_read_14x14.png", + "title_thread.png", + "title_sortdown_12x12.png", + "title_sortup_12x12.png", + ); factories = { }; @@ -71,379 +71,379 @@ categories = { SOGoMailFolder = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoMailObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoMailObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "View"; - pageName = "UIxMailListView"; - }; - subscribe = { - protectedBy = ""; - actionClass = "UIxMailFolderActions"; - actionName = "subscribe"; - }; - unsubscribe = { - protectedBy = ""; - actionClass = "UIxMailFolderActions"; - actionName = "unsubscribe"; - }; - quotas = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "quotas"; - }; - ajax = { - protectedBy = "View"; - pageName = "UIxMailAjaxRequest"; - }; - index = { - protectedBy = "View"; - pageName = "UIxMailListView"; - }; - GET = { /* hack to make it work as the default method */ - protectedBy = "View"; - pageName = "UIxMailListView"; - }; - getMail = { - protectedBy = "View"; - pageName = "UIxMailListView"; - actionName = "getMail"; - }; - expunge = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "expunge"; - }; - createFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "createFolder"; - }; - renameFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "renameFolder"; - }; - delete = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "delete"; - }; - batchDelete = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "batchDelete"; - }; - saveMessages = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "saveMessages"; - }; - copyMessages = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "copyMessages"; - }; - moveMessages = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "moveMessages"; - }; - setAsDraftsFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "setAsDraftsFolder"; - }; - setAsSentFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "setAsSentFolder"; - }; - setAsTrashFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "setAsTrashFolder"; - }; - userRights = { - protectedBy = "ReadAcls"; - pageName = "UIxMailUserRightsEditor"; - }; - saveUserRights = { - protectedBy = "Change Permissions"; - pageName = "UIxMailUserRightsEditor"; - actionName = "saveUserRights"; - }; + view = { + protectedBy = "View"; + pageName = "UIxMailListView"; + }; + subscribe = { + protectedBy = ""; + actionClass = "UIxMailFolderActions"; + actionName = "subscribe"; + }; + unsubscribe = { + protectedBy = ""; + actionClass = "UIxMailFolderActions"; + actionName = "unsubscribe"; + }; + quotas = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "quotas"; + }; + ajax = { + protectedBy = "View"; + pageName = "UIxMailAjaxRequest"; + }; + index = { + protectedBy = "View"; + pageName = "UIxMailListView"; + }; + GET = { /* hack to make it work as the default method */ + protectedBy = "View"; + pageName = "UIxMailListView"; + }; + getMail = { + protectedBy = "View"; + pageName = "UIxMailListView"; + actionName = "getMail"; + }; + expunge = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "expunge"; + }; + createFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "createFolder"; + }; + renameFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "renameFolder"; + }; + delete = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "delete"; + }; + batchDelete = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "batchDelete"; + }; + saveMessages = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "saveMessages"; + }; + copyMessages = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "copyMessages"; + }; + moveMessages = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "moveMessages"; + }; + setAsDraftsFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "setAsDraftsFolder"; + }; + setAsSentFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "setAsSentFolder"; + }; + setAsTrashFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "setAsTrashFolder"; + }; + userRights = { + protectedBy = "ReadAcls"; + pageName = "UIxMailUserRightsEditor"; + }; + saveUserRights = { + protectedBy = "Change Permissions"; + pageName = "UIxMailUserRightsEditor"; + actionName = "saveUserRights"; + }; }; }; SOGoTrashFolder = { /* just a new toolbar, other things come from SOGoMailFolder */ slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoMailObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoMailObject.toolbar"; + }; }; methods = { - emptyTrash = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "emptyTrash"; - }; + emptyTrash = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "emptyTrash"; + }; }; }; SOGoMailObject = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoMailObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoMailObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "View"; - pageName = "UIxMailView"; - }; - viewsource = { - protectedBy = "View"; - actionClass = "UIxMailSourceView"; - actionName = "viewSource"; - }; - popupview = { - protectedBy = "View"; - pageName = "UIxMailPopupView"; - }; - junk = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "junk"; - }; - edit = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "edit"; - }; - reply = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "reply"; - }; - replyall = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "replyToAll"; - }; - forward = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "forward"; - }; - markMessageUnflagged = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "markMessageUnflagged"; - }; - markMessageFlagged = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "markMessageFlagged"; - }; - markMessageUnread = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "markMessageUnread"; - }; - markMessageRead = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "markMessageRead"; - }; - addLabel1 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "addLabel1"; - }; - addLabel2 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "addLabel2"; - }; - addLabel3 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "addLabel3"; - }; - addLabel4 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "addLabel4"; - }; - addLabel5 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "addLabel5"; - }; - removeLabel1 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeLabel1"; - }; - removeLabel2 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeLabel2"; - }; - removeLabel3 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeLabel3"; - }; - removeLabel4 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeLabel4"; - }; - removeLabel5 = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeLabel5"; - }; - removeAllLabels = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "removeAllLabels"; - }; + view = { + protectedBy = "View"; + pageName = "UIxMailView"; + }; + viewsource = { + protectedBy = "View"; + actionClass = "UIxMailSourceView"; + actionName = "viewSource"; + }; + popupview = { + protectedBy = "View"; + pageName = "UIxMailPopupView"; + }; + junk = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "junk"; + }; + edit = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "edit"; + }; + reply = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "reply"; + }; + replyall = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "replyToAll"; + }; + forward = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "forward"; + }; + markMessageUnflagged = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "markMessageUnflagged"; + }; + markMessageFlagged = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "markMessageFlagged"; + }; + markMessageUnread = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "markMessageUnread"; + }; + markMessageRead = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "markMessageRead"; + }; + addLabel1 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "addLabel1"; + }; + addLabel2 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "addLabel2"; + }; + addLabel3 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "addLabel3"; + }; + addLabel4 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "addLabel4"; + }; + addLabel5 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "addLabel5"; + }; + removeLabel1 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeLabel1"; + }; + removeLabel2 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeLabel2"; + }; + removeLabel3 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeLabel3"; + }; + removeLabel4 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeLabel4"; + }; + removeLabel5 = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeLabel5"; + }; + removeAllLabels = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "removeAllLabels"; + }; }; }; SOGoMailAccounts = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoMailObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoMailObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "View"; - pageName = "UIxMailMainFrame"; - }; - compose = { - protectedBy = "View"; - pageName = "UIxMailMainFrame"; - actionName = "compose"; - }; - foldersState = { - protectedBy = "View"; - pageName = "UIxMailMainFrame"; - actionName = "getFoldersState"; - }; - saveDragHandleState = { - protectedBy = "View"; - pageName = "UIxMailMainFrame"; - actionName = "saveDragHandleState"; - }; - saveFoldersState = { - protectedBy = "View"; - pageName = "UIxMailMainFrame"; - actionName = "saveFoldersState"; - }; + view = { + protectedBy = "View"; + pageName = "UIxMailMainFrame"; + }; + compose = { + protectedBy = "View"; + pageName = "UIxMailMainFrame"; + actionName = "compose"; + }; + foldersState = { + protectedBy = "View"; + pageName = "UIxMailMainFrame"; + actionName = "getFoldersState"; + }; + saveDragHandleState = { + protectedBy = "View"; + pageName = "UIxMailMainFrame"; + actionName = "saveDragHandleState"; + }; + saveFoldersState = { + protectedBy = "View"; + pageName = "UIxMailMainFrame"; + actionName = "saveFoldersState"; + }; }; }; SOGoMailAccount = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoMailObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoMailObject.toolbar"; + }; }; methods = { - compose = { - protectedBy = "View"; - actionClass = "UIxMailAccountActions"; - actionName = "compose"; - }; - mailboxes = { - protectedBy = "View"; - actionClass = "UIxMailAccountActions"; - actionName = "listMailboxes"; - }; - createFolder = { - protectedBy = "View"; - actionClass = "UIxMailFolderActions"; - actionName = "createFolder"; - }; - statusFolders = { - protectedBy = "View"; - actionClass = "UIxMailAccountActions"; - actionName = "statusFolders"; - }; + compose = { + protectedBy = "View"; + actionClass = "UIxMailAccountActions"; + actionName = "compose"; + }; + mailboxes = { + protectedBy = "View"; + actionClass = "UIxMailAccountActions"; + actionName = "listMailboxes"; + }; + createFolder = { + protectedBy = "View"; + actionClass = "UIxMailFolderActions"; + actionName = "createFolder"; + }; + statusFolders = { + protectedBy = "View"; + actionClass = "UIxMailAccountActions"; + actionName = "statusFolders"; + }; }; }; SOGoDraftsFolder = { slots = { - toolbar = { - protectedBy = "View"; - value = ( /* the toolbar groups */ - ( /* first group */ - { link = "getMail"; - image = "tb-mail-getmail-flat-24x24.png"; - cssClass = "tbicon_getmail"; label = "Get Mail"; }, - { - link = "#"; // "compose"; // target = "_blank"; - isSafe = NO; - onclick = "return openMessageWindow(null, 'compose');"; - image = "tb-mail-write-flat-24x24.png"; - cssClass = "tbicon_compose"; label = "Write"; }, - ) - ); - }; + toolbar = { + protectedBy = "View"; + value = ( /* the toolbar groups */ + ( /* first group */ + { link = "getMail"; + image = "tb-mail-getmail-flat-24x24.png"; + cssClass = "tbicon_getmail"; label = "Get Mail"; }, + { + link = "#"; // "compose"; // target = "_blank"; + isSafe = NO; + onclick = "return openMessageWindow(null, 'compose');"; + image = "tb-mail-write-flat-24x24.png"; + cssClass = "tbicon_compose"; label = "Write"; }, + ) + ); + }; }; }; SOGoDraftObject = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoDraftObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoDraftObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "View"; - pageName = "UIxMailEditor"; - }; - edit = { - protectedBy = "View"; - pageName = "UIxMailEditor"; - }; - save = { - protectedBy = "View"; - pageName = "UIxMailEditor"; - actionName = "save"; - }; - send = { - protectedBy = "View"; - pageName = "UIxMailEditor"; - actionName = "send"; - }; - delete = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "delete"; - }; - deleteAttachment = { - protectedBy = "View"; - actionClass = "UIxMailActions"; - actionName = "deleteAttachment"; - }; + view = { + protectedBy = "View"; + pageName = "UIxMailEditor"; + }; + edit = { + protectedBy = "View"; + pageName = "UIxMailEditor"; + }; + save = { + protectedBy = "View"; + pageName = "UIxMailEditor"; + actionName = "save"; + }; + send = { + protectedBy = "View"; + pageName = "UIxMailEditor"; + actionName = "send"; + }; + delete = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "delete"; + }; + deleteAttachment = { + protectedBy = "View"; + actionClass = "UIxMailActions"; + actionName = "deleteAttachment"; + }; }; }; }; diff --git a/UI/MainUI/product.plist b/UI/MainUI/product.plist index a89666752..da77a845b 100644 --- a/UI/MainUI/product.plist +++ b/UI/MainUI/product.plist @@ -1,12 +1,11 @@ -{ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, Appointments, CommonUI ); - publicResources = ( - ); + publicResources = (); factories = { }; - + classes = { SOGoRootPage = { superclass = "SoComponent"; @@ -19,12 +18,12 @@ protectedBy = ""; defaultAccess = "allow"; defaultRoles = { - "View" = ( "Owner", "ObjectViewer" ); - "Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" ); - "Access Object" = ( "Owner", "ObjectViewer", "ObjectEditor", "ObjectCreator", "ObjectEraser" ); - "Access Contents Information" = ( "Owner", "ObjectViewer" ); + "View" = ( "Owner", "ObjectViewer" ); + "Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" ); + "Access Object" = ( "Owner", "ObjectViewer", "ObjectEditor", "ObjectCreator", "ObjectEraser" ); + "Access Contents Information" = ( "Owner", "ObjectViewer" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" ); - "Add Folders" = ( "Owner", "FolderCreator" ); + "Add Folders" = ( "Owner", "FolderCreator" ); "ReadAcls" = ( "Owner" ); "Change Permissions" = ( "Owner" ); "Delete Object" = ( "Owner", "ObjectEraser" ); @@ -34,22 +33,22 @@ DELETE = { protectedBy = "Delete Object"; }; - GET = { + GET = { protectedBy = "Access Contents Information"; - }; - PUT = { - protectedBy = "Change Images And Files"; - }; + }; + PUT = { + protectedBy = "Change Images And Files"; + }; }; }; SOGoContentObject = { superclass = "SOGoObject"; defaultAccess = "allow"; - /* defaultAccess = "Access Contents Information"; */ + /* defaultAccess = "Access Contents Information"; */ protectedBy = "Access Object"; defaultRoles = { - "Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" ); - "Change Images And Files" = ( "Owner", "ObjectEditor" ); + "Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" ); + "Change Images And Files" = ( "Owner", "ObjectEditor" ); "Delete Objects" = ( "Owner", "ObjectEraser" ); }; }; @@ -57,11 +56,11 @@ superclass = "SOGoObject"; protectedBy = "Access Object"; defaultRoles = { - "Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" ); - "View" = ( "Owner", "ObjectViewer", "ObjectEditor" ); - "Access Object" = ( "Owner", "AuthorizedSubscriber" ); - "Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" ); - "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" ); + "Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" ); + "View" = ( "Owner", "ObjectViewer", "ObjectEditor" ); + "Access Object" = ( "Owner", "AuthorizedSubscriber" ); + "Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" ); + "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" ); "Delete Object" = ( "Owner" ); "Delete Objects" = ( "Owner", "ObjectEraser" ); }; @@ -70,18 +69,18 @@ superclass = "SOGoFolder"; protectedBy = "Access Contents Information"; defaultRoles = { - "Access Contents Information" = ( "Authenticated" ); + "Access Contents Information" = ( "Authenticated" ); "WebDAV Access" = ( "Authenticated" ); - "Add Folders" = ( "Owner" ); + "Add Folders" = ( "Owner" ); }; }; SOGoUserFolder = { superclass = "SOGoFolder"; protectedBy = "Access Contents Information"; defaultRoles = { - "Access Contents Information" = ( "Authenticated" ); + "Access Contents Information" = ( "Authenticated" ); "WebDAV Access" = ( "Authenticated" ); - "View" = ( "Authenticated" ); + "View" = ( "Authenticated" ); }; }; SOGoGCSFolder = { @@ -92,39 +91,39 @@ categories = { SOGo = { // TODO: move decls to class slots = { - toolbar = { - value = "none"; // keep this in order to avoid lookups on username - // "toolbar" - }; + toolbar = { + value = "none"; // keep this in order to avoid lookups on username + // "toolbar" + }; }; methods = { view = { protectedBy = ""; pageName = "SOGoRootPage"; }; - index = { + index = { protectedBy = ""; pageName = "SOGoRootPage"; }; -/* crash = { + /* crash = { + protectedBy = ""; + pageName = "SOGoRootPage"; + actionName = "crash"; + }; + exception = { + protectedBy = ""; + pageName = "SOGoRootPage"; + actionName = "exception"; + }; + raisedException = { + protectedBy = ""; + pageName = "SOGoRootPage"; + actionName = "raisedException"; + }; */ + connect = { protectedBy = ""; pageName = "SOGoRootPage"; - actionName = "crash"; - }; - exception = { - protectedBy = ""; - pageName = "SOGoRootPage"; - actionName = "exception"; - }; - raisedException = { - protectedBy = ""; - pageName = "SOGoRootPage"; - actionName = "raisedException"; - }; */ - connect = { - protectedBy = ""; - pageName = "SOGoRootPage"; - actionName = "connect"; + actionName = "connect"; }; GET = { // more or less a hack, see README of dbd protectedBy = ""; @@ -140,39 +139,39 @@ protectedBy = ""; pageName = "SOGoUserHomePage"; }; - logoff = { + logoff = { protectedBy = ""; pageName = "SOGoUserHomePage"; - actionName = "logoff"; - }; - usersSearch = { - protectedBy = "View"; - pageName = "SOGoUserHomePage"; - actionName = "usersSearch"; - }; - foldersSearch = { - protectedBy = "View"; - pageName = "SOGoUserHomePage"; - actionName = "foldersSearch"; - }; + actionName = "logoff"; + }; + usersSearch = { + protectedBy = "View"; + pageName = "SOGoUserHomePage"; + actionName = "usersSearch"; + }; + foldersSearch = { + protectedBy = "View"; + pageName = "SOGoUserHomePage"; + actionName = "foldersSearch"; + }; }; }; -// SOGoGroupsFolder = { -// methods = { -// index = { -// protectedBy = "View"; -// pageName = "SOGoGroupsPage"; -// }; -// }; -// }; -// SOGoGroupFolder = { -// methods = { -// index = { -// protectedBy = "View"; -// pageName = "SOGoGroupPage"; -// }; -// }; -// }; + // SOGoGroupsFolder = { + // methods = { + // index = { + // protectedBy = "View"; + // pageName = "SOGoGroupsPage"; + // }; + // }; + // }; + // SOGoGroupFolder = { + // methods = { + // index = { + // protectedBy = "View"; + // pageName = "SOGoGroupPage"; + // }; + // }; + // }; SOGoFreeBusyObject = { methods = { ajaxRead = { @@ -182,9 +181,9 @@ }; }; }; -// SOGoCustomGroupFolder = { -// methods = { -// }; -// }; + // SOGoCustomGroupFolder = { + // methods = { + // }; + // }; }; } diff --git a/UI/PreferencesUI/product.plist b/UI/PreferencesUI/product.plist index 2891bffa1..ccb4bc782 100644 --- a/UI/PreferencesUI/product.plist +++ b/UI/PreferencesUI/product.plist @@ -1,40 +1,39 @@ -{ /* -*-javascript-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI ); - publicResources = ( - ); + publicResources = (); factories = { }; categories = { - SOGoUserFolder = { - slots = { - toolbar = { - protectedBy = "View"; - value = "UIxPreferences.toolbar"; - }; - }; - methods = { - preferences = { - protectedBy = "View"; - pageName = "UIxPreferences"; - }; - identities = { - protectedBy = "View"; - pageName = "UIxIdentities"; - }; - jsonDefaults = { - protectedBy = "View"; - actionClass = "UIxJSONPreferences"; - actionName = "jsonDefaults"; - }; - jsonSettings = { - protectedBy = "View"; - actionClass = "UIxJSONPreferences"; - actionName = "jsonSettings"; - }; - }; - }; + SOGoUserFolder = { + slots = { + toolbar = { + protectedBy = "View"; + value = "UIxPreferences.toolbar"; + }; + }; + methods = { + preferences = { + protectedBy = "View"; + pageName = "UIxPreferences"; + }; + identities = { + protectedBy = "View"; + pageName = "UIxIdentities"; + }; + jsonDefaults = { + protectedBy = "View"; + actionClass = "UIxJSONPreferences"; + actionName = "jsonDefaults"; + }; + jsonSettings = { + protectedBy = "View"; + actionClass = "UIxJSONPreferences"; + actionName = "jsonSettings"; + }; + }; + }; }; } diff --git a/UI/Scheduler/product.plist b/UI/Scheduler/product.plist index d6f3e99b0..0416a05fa 100644 --- a/UI/Scheduler/product.plist +++ b/UI/Scheduler/product.plist @@ -1,28 +1,28 @@ -{ /* -*-java-*- */ +{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI, Appointments, Contacts, ContactsUI ); publicResources = ( - previous_week.gif, - next_week.gif, - icon_view_overview.gif, - icon_view_overview_inactive.gif, - icon_view_chart.gif, - icon_view_chart_inactive.gif, - icon_view_list.gif, - icon_view_list_inactive.gif, - icon_view_columns.gif, - icon_view_columns_inactive.gif, - icon_popupcalendar.gif, - first.gif, - previous.gif, - next.gif, - last.gif, - skycalendar.html, - skycalendar.js, - green_corner.gif, - invisible_space_2.gif, - cycles.plist, - ); + previous_week.gif, + next_week.gif, + icon_view_overview.gif, + icon_view_overview_inactive.gif, + icon_view_chart.gif, + icon_view_chart_inactive.gif, + icon_view_list.gif, + icon_view_list_inactive.gif, + icon_view_columns.gif, + icon_view_columns_inactive.gif, + icon_popupcalendar.gif, + first.gif, + previous.gif, + next.gif, + last.gif, + skycalendar.html, + skycalendar.js, + green_corner.gif, + invisible_space_2.gif, + cycles.plist, + ); factories = { }; @@ -30,159 +30,159 @@ categories = { SOGoAppointmentFolders = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoAppointmentFolders.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoAppointmentFolders.toolbar"; + }; }; methods = { - view = { - protectedBy = "View"; - pageName = "UIxCalMainView"; - }; - addWebCalendar = { - protectedBy = "View"; - actionClass = "UIxCalMainActions"; - actionName = "addWebCalendar"; - }; - reloadWebCalendars = { - protectedBy = "View"; - actionClass = "UIxCalMainActions"; - actionName = "reloadWebCalendars"; - }; - saveDragHandleState = { - protectedBy = "View"; - pageName = "UIxCalMainView"; - actionName = "saveDragHandleState"; - }; - dateselector = { - protectedBy = "View"; - pageName = "UIxCalDateSelector"; - }; - calendarslist = { - protectedBy = "View"; - pageName = "UIxCalendarSelector"; - actionName = "calendarsList"; - }; - alarmslist = { - protectedBy = "View"; - actionClass = "UIxCalListingActions"; - actionName = "alarmsList"; - }; - eventslist = { - protectedBy = "View"; - actionClass = "UIxCalListingActions"; - actionName = "eventsList"; - }; - eventsblocks = { - protectedBy = "View"; - actionClass = "UIxCalListingActions"; - actionName = "eventsBlocks"; - }; - taskslist = { - protectedBy = "View"; - actionClass = "UIxCalListingActions"; - actionName = "tasksList"; - }; - findPossibleSlot = { - protectedBy = "View"; - actionClass = "UIxCalListingActions"; - actionName = "findPossibleSlot"; - }; - dayview = { - protectedBy = "View"; - pageName = "UIxCalDayView"; - }; - multicolumndayview = { - protectedBy = "View"; - pageName = "UIxCalMulticolumnDayView"; - }; - weekview = { - protectedBy = "View"; - pageName = "UIxCalWeekView"; - }; - monthview = { - protectedBy = "View"; - pageName = "UIxCalMonthView"; - }; - show = { - protectedBy = "View"; - pageName = "UIxCalView"; - actionName = "redirectForUIDs"; - }; - userRights = { - protectedBy = "ReadAcls"; - pageName = "UIxCalUserRightsEditor"; - }; - saveUserRights = { - protectedBy = "Change Permissions"; - pageName = "UIxCalUserRightsEditor"; - actionName = "saveUserRights"; - }; - editAttendees = { - protectedBy = "View"; - pageName = "UIxAttendeesEditor"; - }; - editRecurrence = { - protectedBy = "View"; - pageName = "UIxRecurrenceEditor"; - }; - editReminder = { - protectedBy = "View"; - pageName = "UIxReminderEditor"; - }; - colorPicker = { - protectedBy = "View"; - pageName = "UIxColorPicker"; - }; + view = { + protectedBy = "View"; + pageName = "UIxCalMainView"; + }; + addWebCalendar = { + protectedBy = "View"; + actionClass = "UIxCalMainActions"; + actionName = "addWebCalendar"; + }; + reloadWebCalendars = { + protectedBy = "View"; + actionClass = "UIxCalMainActions"; + actionName = "reloadWebCalendars"; + }; + saveDragHandleState = { + protectedBy = "View"; + pageName = "UIxCalMainView"; + actionName = "saveDragHandleState"; + }; + dateselector = { + protectedBy = "View"; + pageName = "UIxCalDateSelector"; + }; + calendarslist = { + protectedBy = "View"; + pageName = "UIxCalendarSelector"; + actionName = "calendarsList"; + }; + alarmslist = { + protectedBy = "View"; + actionClass = "UIxCalListingActions"; + actionName = "alarmsList"; + }; + eventslist = { + protectedBy = "View"; + actionClass = "UIxCalListingActions"; + actionName = "eventsList"; + }; + eventsblocks = { + protectedBy = "View"; + actionClass = "UIxCalListingActions"; + actionName = "eventsBlocks"; + }; + taskslist = { + protectedBy = "View"; + actionClass = "UIxCalListingActions"; + actionName = "tasksList"; + }; + findPossibleSlot = { + protectedBy = "View"; + actionClass = "UIxCalListingActions"; + actionName = "findPossibleSlot"; + }; + dayview = { + protectedBy = "View"; + pageName = "UIxCalDayView"; + }; + multicolumndayview = { + protectedBy = "View"; + pageName = "UIxCalMulticolumnDayView"; + }; + weekview = { + protectedBy = "View"; + pageName = "UIxCalWeekView"; + }; + monthview = { + protectedBy = "View"; + pageName = "UIxCalMonthView"; + }; + show = { + protectedBy = "View"; + pageName = "UIxCalView"; + actionName = "redirectForUIDs"; + }; + userRights = { + protectedBy = "ReadAcls"; + pageName = "UIxCalUserRightsEditor"; + }; + saveUserRights = { + protectedBy = "Change Permissions"; + pageName = "UIxCalUserRightsEditor"; + actionName = "saveUserRights"; + }; + editAttendees = { + protectedBy = "View"; + pageName = "UIxAttendeesEditor"; + }; + editRecurrence = { + protectedBy = "View"; + pageName = "UIxRecurrenceEditor"; + }; + editReminder = { + protectedBy = "View"; + pageName = "UIxReminderEditor"; + }; + colorPicker = { + protectedBy = "View"; + pageName = "UIxColorPicker"; + }; }; }; SOGoAppointmentFolder = { methods = { - properties = { - protectedBy = "Access Contents Information"; - pageName = "UIxCalendarProperties"; - }; - saveProperties = { - protectedBy = "Access Contents Information"; - pageName = "UIxCalendarProperties"; - actionName = "saveProperties"; - }; - show = { - protectedBy = "View"; - pageName = "UIxCalView"; - actionName = "redirectForUIDs"; - }; - export = { - protectedBy = "View"; - actionClass = "UIxCalFolderActions"; - actionName = "export"; - }; - import = { - protectedBy = "View"; - actionClass = "UIxCalFolderActions"; - actionName = "import"; - }; - userRights = { - protectedBy = "ReadAcls"; - pageName = "UIxCalUserRightsEditor"; - }; - saveUserRights = { - protectedBy = "Change Permissions"; - pageName = "UIxCalUserRightsEditor"; - actionName = "saveUserRights"; - }; - newevent = { - protectedBy = ""; - pageName = "UIxAppointmentEditor"; - actionName = "new"; - }; - newtask = { - protectedBy = ""; - pageName = "UIxTaskEditor"; - actionName = "new"; - }; + properties = { + protectedBy = "Access Contents Information"; + pageName = "UIxCalendarProperties"; + }; + saveProperties = { + protectedBy = "Access Contents Information"; + pageName = "UIxCalendarProperties"; + actionName = "saveProperties"; + }; + show = { + protectedBy = "View"; + pageName = "UIxCalView"; + actionName = "redirectForUIDs"; + }; + export = { + protectedBy = "View"; + actionClass = "UIxCalFolderActions"; + actionName = "export"; + }; + import = { + protectedBy = "View"; + actionClass = "UIxCalFolderActions"; + actionName = "import"; + }; + userRights = { + protectedBy = "ReadAcls"; + pageName = "UIxCalUserRightsEditor"; + }; + saveUserRights = { + protectedBy = "Change Permissions"; + pageName = "UIxCalUserRightsEditor"; + actionName = "saveUserRights"; + }; + newevent = { + protectedBy = ""; + pageName = "UIxAppointmentEditor"; + actionName = "new"; + }; + newtask = { + protectedBy = ""; + pageName = "UIxTaskEditor"; + actionName = "new"; + }; }; }; @@ -191,45 +191,45 @@ SOGoAppointmentObject = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoAppointmentObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoAppointmentObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "ViewAllComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "view"; - }; - edit = { - protectedBy = "ViewAllComponent"; - pageName = "UIxAppointmentEditor"; - }; - editAsAppointment = { - protectedBy = "ViewAllComponent"; - pageName = "UIxAppointmentEditor"; - }; - save = { - protectedBy = "ModifyComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "save"; - }; - saveAsAppointment = { - protectedBy = "ModifyComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "save"; - }; - accept = { - protectedBy = "RespondToComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "accept"; - }; - decline = { - protectedBy = "RespondToComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "decline"; - }; + view = { + protectedBy = "ViewAllComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "view"; + }; + edit = { + protectedBy = "ViewAllComponent"; + pageName = "UIxAppointmentEditor"; + }; + editAsAppointment = { + protectedBy = "ViewAllComponent"; + pageName = "UIxAppointmentEditor"; + }; + save = { + protectedBy = "ModifyComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "save"; + }; + saveAsAppointment = { + protectedBy = "ModifyComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "save"; + }; + accept = { + protectedBy = "RespondToComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "accept"; + }; + decline = { + protectedBy = "RespondToComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "decline"; + }; delegate = { protectedBy = "RespondToComponent"; actionClass = "UIxAppointmentEditor"; @@ -240,99 +240,99 @@ SOGoTaskObject = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoAppointmentObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoAppointmentObject.toolbar"; + }; }; methods = { - view = { - protectedBy = "ViewAllComponent"; - pageName = "UIxTaskEditor"; - actionName = "view"; - }; - edit = { - protectedBy = "ViewAllComponent"; - pageName = "UIxTaskEditor"; - }; - editAsTask = { - protectedBy = "ViewAllComponent"; - pageName = "UIxTaskEditor"; - }; - save = { - protectedBy = "ModifyComponent"; - pageName = "UIxTaskEditor"; - actionName = "save"; - }; - saveAsTask = { - protectedBy = "ModifyComponent"; - pageName = "UIxTaskEditor"; - actionName = "save"; - }; - changeStatus = { - protectedBy = "ModifyComponent"; - pageName = "UIxTaskEditor"; - actionName = "changeStatus"; - }; + view = { + protectedBy = "ViewAllComponent"; + pageName = "UIxTaskEditor"; + actionName = "view"; + }; + edit = { + protectedBy = "ViewAllComponent"; + pageName = "UIxTaskEditor"; + }; + editAsTask = { + protectedBy = "ViewAllComponent"; + pageName = "UIxTaskEditor"; + }; + save = { + protectedBy = "ModifyComponent"; + pageName = "UIxTaskEditor"; + actionName = "save"; + }; + saveAsTask = { + protectedBy = "ModifyComponent"; + pageName = "UIxTaskEditor"; + actionName = "save"; + }; + changeStatus = { + protectedBy = "ModifyComponent"; + pageName = "UIxTaskEditor"; + actionName = "changeStatus"; + }; }; }; SOGoComponentOccurence = { methods = { - confirmEditing = { - protectedBy = "ViewAllComponent"; - pageName = "UIxOccurenceDialog"; - }; - confirmDeletion = { - protectedBy = "ModifyComponent"; - pageName = "UIxOccurenceDialog"; - actionName = "confirmDeletion"; - }; + confirmEditing = { + protectedBy = "ViewAllComponent"; + pageName = "UIxOccurenceDialog"; + }; + confirmDeletion = { + protectedBy = "ModifyComponent"; + pageName = "UIxOccurenceDialog"; + actionName = "confirmDeletion"; + }; }; }; SOGoAppointmentOccurence = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoAppointmentObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoAppointmentObject.toolbar"; + }; }; methods = { - edit = { - protectedBy = "ViewAllComponent"; - pageName = "UIxAppointmentEditor"; - }; - save = { - protectedBy = "ModifyComponent"; - pageName = "UIxAppointmentEditor"; - actionName = "save"; - }; - delete = { - protectedBy = "Delete Objects"; - pageName = "UIxOccurenceDialog"; - actionName = "delete"; - }; + edit = { + protectedBy = "ViewAllComponent"; + pageName = "UIxAppointmentEditor"; + }; + save = { + protectedBy = "ModifyComponent"; + pageName = "UIxAppointmentEditor"; + actionName = "save"; + }; + delete = { + protectedBy = "Delete Objects"; + pageName = "UIxOccurenceDialog"; + actionName = "delete"; + }; }; }; SOGoTaskOccurence = { slots = { - toolbar = { - protectedBy = "View"; - value = "SOGoTaskObject.toolbar"; - }; + toolbar = { + protectedBy = "View"; + value = "SOGoTaskObject.toolbar"; + }; }; methods = { - edit = { - protectedBy = "ViewAllComponent"; - pageName = "UIxTaskEditor"; - }; - save = { - protectedBy = "ModifyComponent"; - pageName = "UIxTaskEditor"; - actionName = "save"; - }; + edit = { + protectedBy = "ViewAllComponent"; + pageName = "UIxTaskEditor"; + }; + save = { + protectedBy = "ModifyComponent"; + pageName = "UIxTaskEditor"; + actionName = "save"; + }; }; }; };