mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°3169 - Add feature to connect Gsuite mail box with OAuth
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * 2.7 migration
This commit is contained in:
@@ -58,6 +58,10 @@ const oOpenSignInWindow = function (url, name){
|
|||||||
once we reach our landing page, it'll send us a reply
|
once we reach our landing page, it'll send us a reply
|
||||||
*/
|
*/
|
||||||
oListener = window.setInterval(function(){
|
oListener = window.setInterval(function(){
|
||||||
|
if (oWindowObjectReference.closed) {
|
||||||
|
$('.ibo-oauth-wizard--form--submit').prop('disabled', false);
|
||||||
|
clearInterval(oListener);
|
||||||
|
}
|
||||||
oWindowObjectReference.postMessage('anyone', '{{ sReturnUri }}');
|
oWindowObjectReference.postMessage('anyone', '{{ sReturnUri }}');
|
||||||
}, 1000);
|
}, 1000);
|
||||||
/* Once we receive a response, transmit it to the server to get authenticate and display
|
/* Once we receive a response, transmit it to the server to get authenticate and display
|
||||||
@@ -113,7 +117,6 @@ function oUpdateProviderImage(elem){
|
|||||||
$('#b06d66ec-6c84-45dd-8c27-1263a6253192-107').attr('fill', oColor3);
|
$('#b06d66ec-6c84-45dd-8c27-1263a6253192-107').attr('fill', oColor3);
|
||||||
$('#f58f497e-6949-45c8-be5f-eee2aa0f6586').attr('fill', oColor3);
|
$('#f58f497e-6949-45c8-be5f-eee2aa0f6586').attr('fill', oColor3);
|
||||||
$('#aff120b1-519b-4e96-ac87-836aa55663de').attr('fill', oColor3);
|
$('#aff120b1-519b-4e96-ac87-836aa55663de').attr('fill', oColor3);
|
||||||
$('#aff120b1-519b-4e96-ac87-836aa55663de').attr('fill', oColor3);
|
|
||||||
$('#ae7af94f-88d7-4204-9f07-e3651de85c05-111').attr('fill', oColor4);
|
$('#ae7af94f-88d7-4204-9f07-e3651de85c05-111').attr('fill', oColor4);
|
||||||
$('#a6768b0e-63d0-4b31-8462-9b2e0b00f0fd-112').attr('fill', oColor4);
|
$('#a6768b0e-63d0-4b31-8462-9b2e0b00f0fd-112').attr('fill', oColor4);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user