Skip to content

Commit

Permalink
add new calendar support to outlook
Browse files Browse the repository at this point in the history
  • Loading branch information
bavincen committed Jul 15, 2016
1 parent 4014e07 commit 3b9167e
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 4 deletions.
18 changes: 16 additions & 2 deletions chrome/content/exchangeSettingsOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ exchSettingsOverlay.prototype = {
},

exchWebServicesCheckRequired: function _exchWebServicesCheckRequired() {

if (!this.gexchWebServicesDetailsChecked) {
this._document.getElementById("exchWebService_folderbaserow").hidden = true;
this._document.getElementById("exchWebService_folderpathrow").hidden = true;
Expand All @@ -107,7 +107,21 @@ exchSettingsOverlay.prototype = {
else {
this._document.getElementById("exchWebService_detailschecked").setAttribute("required", false);
}


if (this._document.getElementById("exchWebService_ectype").selectedIndex == 1 ){
this._document.getElementById("exchWebService_server").value = "https://outlook.office365.com/EWS/Exchange.asmx";
this._document.getElementById("exchWebService_autodiscover").checked = false;
this._document.getElementById("exchWebService_autodiscover").disabled = true;

this.exchWebServicesgServer = this._document.getElementById("exchWebService_server").value;
this.exchWebServicesgUser = this._document.getElementById("exchWebService_mailbox").value;
this._document.getElementById("exchWebService_windowsuser").value = this.exchWebServicesgUser;
}
else {
this._document.getElementById("exchWebService_server").value = "";
this._document.getElementById("exchWebService_autodiscover").disabled = false;
}

if (this._document.getElementById("exchWebService_autodiscover").checked) {

this.exchWebServicesChangeFolderbaseMenuItemAvailability(false);
Expand Down
14 changes: 12 additions & 2 deletions chrome/content/exchangeSettingsOverlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,17 @@

<script type="application/javascript" src="chrome://exchangecalendar/content/exchangeSettingsOverlay.js"/>

<vbox id="exchWebService-exchange-settings">
<checkbox label="&ecautodiscover;" id="exchWebService_autodiscover" oncommand="tmpSettingsOverlay.exchWebServicesAutodiscoverCheckbox(this);"/>
<vbox id="exchWebService-exchange-settings">
<groupbox>
<caption label="&exchWebServices.exchtype.label;"/>
<radiogroup id="exchWebService_ectype" oncommand="tmpSettingsOverlay.exchWebServicesAutodiscoverCheckbox(this);" >
<radio label="&exchWebServices.hostexch.label;" value="exchange" checked="true"/>
<radio label="&exchWebServices.365exch.label;" value="office365"/>
</radiogroup>
</groupbox>
<groupbox>
<caption label="&exchWebServices.detail.label;"/>
<checkbox label="&ecautodiscover;" id="exchWebService_autodiscover" oncommand="tmpSettingsOverlay.exchWebServicesAutodiscoverCheckbox(this);"/>
<grid flex="1">
<columns>
<column/>
Expand Down Expand Up @@ -156,6 +165,7 @@
</row>
</rows>
</grid>
</groupbox>
</vbox>

</overlay>
Expand Down
4 changes: 4 additions & 0 deletions locale/exchangecalendar/de/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@

<!ENTITY exchWebServices.UserAvailability.label "Die Benutzerverfügbarkeitstatus des Postfachkalenders ist nur sichtbar.">

<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
5 changes: 5 additions & 0 deletions locale/exchangecalendar/en-US/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@

<!ENTITY exchWebServices.UserAvailability.label "Only user availability status for the mailbox's calendar will be visible.">

<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">

4 changes: 4 additions & 0 deletions locale/exchangecalendar/fr-FR/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@
<!ENTITY exchWebServices.UserAvailability.label "Seul le status de disponibilité de l'utilsateur du calendrier de cette BAL sera visible.">


<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
4 changes: 4 additions & 0 deletions locale/exchangecalendar/ja-JP/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@

<!ENTITY exchWebServices.UserAvailability.label "Only user availability status for the mailbox's calendar will be visible.">

<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
4 changes: 4 additions & 0 deletions locale/exchangecalendar/nl/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@



<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
4 changes: 4 additions & 0 deletions locale/exchangecalendar/ru/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@

<!ENTITY exchWebServices.UserAvailability.label "Только состояние доступности пользователя для календаря почтового ящика будет видно, когда у вас есть права доступа.">

<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
4 changes: 4 additions & 0 deletions locale/exchangecalendar/sv/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@
<!ENTITY button.label.folderbrowse "Bläddra">

<!ENTITY exchWebServices.UserAvailability.label "Användarens tillgänglighetsstatus för E-postlådans kalender visas.">
<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">
4 changes: 4 additions & 0 deletions locale/exchangecalendar/tr/exchangeSettingsOverlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@

<!ENTITY exchWebServices.UserAvailability.label “Yalnızca, posta kutusuna ait takvimin kullanıcı müsaitliği durumu görünür olacak.">

<!ENTITY exchWebServices.exchtype.label "Exchange Type">
<!ENTITY exchWebServices.hostexch.label "Hosted Exchange">
<!ENTITY exchWebServices.365exch.label "Microsoft Office365">
<!ENTITY exchWebServices.detail.label "Details">

0 comments on commit 3b9167e

Please sign in to comment.