[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2014-04-22 Thread David Barth
This is fixed with the configuration option documented here:
https://bugs.launchpad.net/webbrowser-app/+bug/1302780

Online Account integration / mediation is in progress for the desktop
container, with plans to backport on 14.04.01.

** Changed in: webapps-applications
   Status: In Progress = Fix Released

** Changed in: unity-webapps-gmail (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2014-04-21 Thread Pat McGowan
On new 14.04 implementation the issue once again exists.

Current symptom is the gmail view is opened in the webbrowser rather than the 
webapp
2.4.16+14.04.20140409-0ubuntu1


** Changed in: unity-webapps-gmail (Ubuntu)
   Importance: Undecided = High

** Changed in: unity-webapps-gmail (Ubuntu)
   Status: Incomplete = Confirmed

** Changed in: unity-webapps-gmail (Ubuntu)
 Assignee: (unassigned) = Alexandre Abreu (abreu-alexandre)

** Tags added: webapps-hotlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2014-02-23 Thread Adolfo Jayme
** No longer affects: webapps-applications (Ubuntu Raring)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2014-01-14 Thread toda ioan
** Changed in: unity-webapps-gmail (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2013-05-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: webapps-applications (Ubuntu Raring)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2013-04-15 Thread Adrian Duranton
Solucion para Gmail-Unity-webapps

Configurar el Gmail en idioma ESPAÑOL LATINOAMERICANO

Editar el archivo  /usr/share/unity-webapps/userscripts/unity-webapps-
gmail/GMail.user.js  con sudo gedit /usr/share/unity-webapps/userscripts
/unity-webapps-gmail/GMail.user.js

Cambiar donde dice Navigate to  por Ir a

var tag = document.evaluate('//div[@aria-label=Navigate to]/span',
document, null, XPathResult.ANY_UNORDERED_NODE_TYPE,
null).singleNodeValue;

 var tag = document.evaluate('//div[@aria-label=Ir a]/span', document,
null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

Grabar

// ==UserScript==
// @includehttps://mail.google.com/*
// @requireutils.js
// @requiregoogle-common.js
// ==/UserScript==

window.Unity = external.getUnityObject(1);
var pane = null;

function isCorrectPage() {
var i, ids = ['hist_frame', 'js_frame'];

for (i = 0; i  ids.length; i++) {
if (!document.getElementById(ids[i])) {
return false;
}
}

return true;
}

function getNumber(str) {
try {
var onlyNumber = str.match(/\(([0-9]|,)+\)/)[0].match(/([0-9]|,)+/)[0];

return onlyNumber.replace(/,/g, );
} catch (x) {
return '0';
}
}

function getLabels() {
var i, res = [];

var snapshot = 
document.evaluate('//div[2]/div/div/div[5]/div/*/div/div/div[2]/span/a',
 pane, null, 
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (i = 0; i  snapshot.snapshotLength; i++) {
var node = snapshot.snapshotItem(i);

res.push({ name: node.textContent.match(/^[^(]+/)[0],
   count: getNumber(node.textContent),
   link: node.href });
}

return res;
}

function doMatrixIntegration() {
doMainMenuIntegration(document);

var i, labels = getLabels();
for (i = 0; i  labels.length; i++) {
Unity.addAction('/' + labels[i].name, makeRedirector(labels[i].link));
}
}

function checkMessangesCount() {
var tag = document.evaluate('//div[@aria-label=Ir a]/span', document, 
null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

if (tag.textContent != 'Gmail'  tag.textContent != 'Mail') {
return;
}

var inboxLink = 
document.evaluate('//div[@role=navigation]/div/div/div/div/div/div/div/div/div/span/a',
 document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;
var numMessanges = getNumber(inboxLink.text);

var indicators = [];
indicators.push({ name: _(Inbox),
  count: numMessanges,
  callback: makeRedirector(inboxLink.href) });
var i, labels = getLabels();
for (i = 0; i  labels.length; i++) {
indicators.push({ name: labels[i].name, count: labels[i].count, 
callback: makeRedirector(labels[i].link) });
}
showIndicators(indicators);
Unity.Launcher.setCount(Number(numMessanges));
}


function unityLoaded() {
var composeNewMessage = wrapCallback(function () {
var compose = 
document.evaluate('//div[@role=navigation]/div[1]/div[1]/div[1][@role=button]',
 document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

click(compose);
});

Unity.MessagingIndicator.addAction(_(Compose New Message),
   composeNewMessage);
Unity.Launcher.addAction(_(Compose New Message),
 composeNewMessage);

setInterval(wrapCallback(checkMessangesCount), 2000);
checkMessangesCount();

doMatrixIntegration();
}

if (isCorrectPage()) {
setTimeout(wrapCallback(function wait() {
pane = document.evaluate('//div[@role=navigation]',
 document, null, 
XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

if (!pane || !document.getElementsByClassName(nU)) {
setTimeout(wait, 1000);
return;
}
try {
var gmaillogin = 
document.evaluate('//div[@role=navigation]/div/div[1]/div[3]/div/ol/li[4]/div/div/div/div[2]/span[2]',
 document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, 
null).singleNodeValue.textContent;
} catch(err) {
var gmaillogin = ;
}

try {
var gappslogin = 
document.evaluate('//div[@role=navigation]/div/div[1]/div[3]/div/ol/li[4]/div/div/div/div[3]/span[2]',
 document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, 
null).singleNodeValue.textContent;
}catch(err) {
var gappslogin = ;
}
login = gmaillogin.indexOf(@) != -1 ? gmaillogin : 
gappslogin.indexOf(@) != -1 ? gappslogin : ;

Unity.init({ name: GMail,
 login: login,
 iconUrl: icon://unity-webapps-gmail,
 homepage: 'https://mail.google.com',
 domain: 'mail.google.com',
 onInit: wrapCallback(unityLoaded) });
}), 2000);
}


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2013-02-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: unity-webapps-gmail (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2013-01-06 Thread Adolfo Jayme Barrientos
Reverted todaioan's change. Launchpad's being vandalized a lot these
days...

** Changed in: unity-webapps-gmail (Ubuntu)
   Status: Fix Released = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2012-12-10 Thread Edward Donovan
And now you've done it again, toda, and someone with higher privileges
will have to undo this one.

Please stop.  If I can try a simple translation: Te rog, oprește.
Mulțumesc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2012-12-09 Thread hackel
My previous comment could be due to the language setting, as described
in bug #1069576.

** Also affects: unity-webapps-gmail (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2012-12-09 Thread todaioan
** Changed in: unity-webapps-gmail (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2012-12-09 Thread Edward Donovan
** Changed in: unity-webapps-gmail (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028381] Re: GMail Integration does not work with Google Apps for Domains

2012-12-09 Thread todaioan
** Changed in: unity-webapps-gmail (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028381

Title:
  GMail Integration does not work with Google Apps for Domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1028381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs