Giter Club home page Giter Club logo

gdata-provider's People

Contributors

aceman444 avatar alecaddd avatar ar5had avatar arai-a avatar archaeopteryx avatar asutherland avatar callek avatar circlecode avatar clokep avatar creativepsyco avatar darktrojan avatar dependabot[bot] avatar ehsan avatar fqueze avatar gozer-mozillamessaging avatar indygreg avatar issammani avatar jcranmer avatar jfx2006 avatar jorgk3 avatar kepta avatar kewisch avatar make-my-day avatar mkmelin avatar mmecca avatar mschroeder avatar oxalin avatar paenglab avatar paulmorris avatar swatinem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gdata-provider's Issues

[Lightning, Provider: GData]: use stored oauth when the password manager is disabled

Reopening of issue from: https://bugzilla.mozilla.org/show_bug.cgi?id=1476330

Setup:

  • Ubuntu 18.04 LTS
  • Thunderbird 68.2.1

It seems, that in case the password manager is disabled (i.e. by the KeeBird plugin), Lightning/GData will always pop up Oauth2 login window instead of using the OAuth token stored during the previous session.

The method with the stored OAuth2 and running KeeBird works properly with Google e-mail accounts served directly by Thunderbird. However, for Google calendars, Lightning/GData behaves differently than Thunderbird causing problems.

More details regarding the issue can be found under:

Provider for Google Calendar (gdata-provider) extension shows up in version 68.0 instead of 68.1 in Thunderbird 68.1 ESR

As observed in https://bugzilla.mozilla.org/show_bug.cgi?id=1544320#c43

Steps to reproduce:
- Install Thunderbird 68.1 ESR (British version) from https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/68.1.0/win32/en-GB/Thunderbird%20Setup%2068.1.0.exe
- Go to TB Menu > Add-ons > Extensions
- Search for Provider for Google Calendar
- Add this add-on via the add button
- Restart Thunderbird

Actual results:
- Provider for Google Calendar extension shows up in version 68.0

Expected results:
- Provider for Google Calendar extension should show up in version 68.1 as it seems available https://archive.mozilla.org/pub/thunderbird/releases/68.1.0/en-US/gdata-provider.en-US.xpi

No calendars appear after granting access to Google

I've tried this with several different accounts, and I'm never able to get the list of calendars to populate, even though I've successfully logged in via the popup window and granted access to my account. One possible solution I've seen is to disable all other Google calendars, but I don't have any other ones set up, so that's not an option.

I enabled debug logging, and here's what I see in the error console:

Lightning: [calGoogleSession] Authentication failure: undefined gdataSession.jsm:282

[Exception... "null"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gdata-provider/modules/gdataSession.jsm :: login/authFailed< :: line 284"  data: no] gdataSession.jsm:284:33
    authFailed resource://gdata-provider/modules/gdataSession.jsm:284
    <anonymous> self-hosted:1007
    onPromptAuthAvailable resource://gdata-provider/modules/gdataSession.jsm:301
    onAccessTokenFailed resource://gdata-provider/modules/OAuth2.jsm:240
    onAccessTokenFailed self-hosted:1013
    onload resource://gre/modules/Http.jsm:77

The NS_ERROR_FAILURE is interesting to me because this is on Linux, specifically openSUSE Tumbleweed.

Thunderbird / Lightning Version: 68.1.2 (64-bit)
Google Calendar Provider Version: 68.0

Authentication Failure - 400 Bad Request

If i try to login with my Google account it fails with status code 400 (Bad Request).

  • Thunderbird 68.2.0
  • GData Provider 68.0
  • Windows 7 x64

XHR POST https://accounts.google.com/o/oauth2/token

Request Headers:

Host: accounts.google.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 Lightning/68.2.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Content-Length: 286
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
TE: Trailers

Response Headers:

content-type: application/json; charset=utf-8
vary: Origin
vary: X-Origin
vary: Referer
content-encoding: gzip
date: Wed, 30 Oct 2019 15:30:17 GMT
server: ESF
cache-control: private
content-length: 88
x-xss-protection: 0
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q049=":443"; ma=2592000,h3-Q048=":443" ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
X-Firefox-Spdy: h2

Failed to acquire a new OAuth token: invalid_grant, "Malformed auth code."

Since a while adding a new calendar (Thunderbird-60 and SeaMonkey2.49, GData-provider-4.4.2, Gentoo and Arch) is quite a nightmare. It works randomly one time out of X -- even after removing all google calendars and oauth tokens. The procedure goes through without UI errors and ends up with an empty list of available calendars; the error console shows:

[calGoogleSessionManager] Creating session [email protected]
[calGoogleSession] Token expired 1571828596 seconds ago, resetting
[calGoogleCalendar] Logging in session [email protected]
[calGoogleCalendar] No access token for [email protected], refreshing token
[calGoogleSession] Adding item https://www.googleapis.com/tasks/v1/users/@me/lists to queue
[calGoogleSession] Adding item https://www.googleapis.com/calendar/v3/users/me/calendarList to queue
[calGoogleCalendar] Failed to acquire a new OAuth token for [email protected] data: {
  "error": "invalid_grant",
  "error_description": "Malformed auth code."
}

After many attempts I managed to (re-)configure all my calendars (spent 2-3 hours!). There's something fishy... please have a look.

Can't create event with default reminder

Provider 68.2.1 in thunderbird 68.4.1 is refusing to create events with default reminder. I saw this in the error console (ctrl+shift+J):
defaultReminders is undefined 7 gdata-lightning-item-iframe.js:144

If set a non-default reminder I can create an event.

Looking at thunderbird/lightning calendar options I see the default reminder is set to 15 minutes.

Cannot close Google calendar event item after opening it in Thunderbird 68.1 ESR with Lightning/Calendar/Provider for Google Calendar (gdata.provider) 68.1

Bugzilla Bug 1581304

Steps to reproduce:

Actual results:

  • When clicking on the cross icon to close the event item window, nothing happens, the windows does not close.

The following errors appear in DevTools > Console:

defaultReminders is undefined gdata-lightning-item-iframe.js:144
    <anonymous> chrome://gdata-provider/content/gdata-lightning-item-iframe.js:144
    x resource://gdata-provider/modules/gdataUtils.jsm:1346
    saveDialog chrome://lightning/content/lightning-item-iframe.js:1610
    saveItem chrome://lightning/content/lightning-item-iframe.js:3049
    isItemChanged chrome://lightning/content/lightning-item-iframe.js:3996
    onCommandCancel chrome://lightning/content/lightning-item-iframe.js:477
    onCancel chrome://lightning/content/lightning-item-iframe.js:539
    receiveMessage chrome://lightning/content/lightning-item-iframe.js:213
TypeError: defaultReminders is undefined
gdata-lightning-item-iframe.js:144:13
    <anonymous> chrome://gdata-provider/content/gdata-lightning-item-iframe.js:144
    x resource://gdata-provider/modules/gdataUtils.jsm:1346
    saveDialog chrome://lightning/content/lightning-item-iframe.js:1610
    saveItem chrome://lightning/content/lightning-item-iframe.js:3049
    isItemChanged chrome://lightning/content/lightning-item-iframe.js:3996
    onCommandCancel chrome://lightning/content/lightning-item-iframe.js:477
    onCancel chrome://lightning/content/lightning-item-iframe.js:539
    receiveMessage chrome://lightning/content/lightning-item-iframe.js:213

Expected results:

  • When attempting to close the event items window, it should close immediately... which is the usual behaviour...

No calendars shown

Thundebird 60.9.0 (64-bit)
Provider for Google Calendar 4.4.2
Elementary OS 5.0 Juno

After entering my google account details, in the window to select the calendars to synchronize, there are NO calendars shown.

Screenshot from 2019-11-12 10 34 08

Provider for GC and TB v60.9.1

I start TB 60.9.1 and it prompts for UN & PW then allow. I have to do this every time an it isn't loading all calendar entries. Seemingly from some date on. Is a fix coming for this? Everybody says get off of v59 but there are major pieces like this that don't work in v60 or v68.

Provider Calendars GUI problem

Installed versions are:
Lightning 68.4.2
Provider 68.2.1

I can see existing events from all Google calendars. They are without their assigned colors and cannot be edited or added to. The Calendar list is blank, there are seven.
Calendar Problem

I've tried disabling and removing and reinstalling both add-ons multiple times. I have disabled Lightning Calendar Tabs and Rise of the Tools

I tried the procedure in "Lightning disappears after a Thunderbird update (release and beta versions)", without improvement. I also tried deleting the files
extensions.sqlite
extensions.sqlite-journal (if found)- not found
extensions.ini- not found
extensions.json

Thank you

Thunderbird to google synchronisation and vice versa -- issue --

Hallo,
Don't know if this is a bug or a missing or bad thunderbird or google setting.

Ubuntu 18.04.2 - 64bit,
Thunderbird 60.9.0,
Lightning calendar 6.2.9,
Provider for Google Calendar 4.4.2,

Google calendar is add to Thunderbird (as described in the FAQ list).
When adding a event in calendar using Google it appears in Lightning after hitting the synchronization button. Deleting the event in Lightning deletes also the event in Google calendar (after synchronization).
When adding an event into Thunderbird Lightning and synchronizing (to get it in Google) nothing happens.

Thus:
Google → Thunderbird Lightning synchronization works. Events created in Google, synchronized to Lightning, can be deleted in Lightning and disappear in Google. Events created in Lightning DO NOT synchronize into Google.

The read only calendar option is not ticked for any calendar in Thunderbird.

Somebody an idea why?
Is there not an option somewhere to automatically synchronise calendars?

Many Thanks in advance

Clear an existing "session" ?

I have tested gdata-provider with a google account. It worked, but I now need to connect it to a different google account. I need to use the same email address as used when testing, because invitations need to go to that other google account.

However, when creating a new calendar it says
"please pick an existing session or enter your email address to create new session"

if I enter the email address used when testing, this is (apparently) an open session and it shows me my testing calendars. deleting calendars, rebooting etc dont seem to help.

How can I remove the accounts related to my 'session', or the email address used in that session ?

Gdata-Provider stops working after Tunderbird & Lighning updated to 68.4.1

Provider for Google Calendar - 68.2.1
Thunderbird & Lightning - 68.4.1
Windows 10 Home 1909 (18363.592)

Almost all of the commands dealing with the calendar in Thunderbird are grayed out. My Google and other calendars no longer show up as an entry in the list of calendars. Individual calendar entries appear on calendar tab with existing info but are read only. I can not even open an individual calendar entry or create a new one.

I used to be able to recover from this situation by closing the calendar in Thunderbird and then closing Thunderbird. Create new event or edit an existing event by logging into Google Calendar directly. Logoff Google Calendar and then logon to Thunderbird and either open the Today Pane or the Calendar tab.

Any help would be appreciated.

Provider v68.2.1 does not work with TB 72.0b2 (64-bit)

There are two problems.

First: Reminders cannot be dismissed. I get into an endless loop and have to kill TB. If I disable Provider the problem stops. The endless loop alternates between the screen to dismiss or sleep the reminder and the screen saying the action has already been taken, resubmit or ignore.

Second: Subscribed Google calendars (with full R/W authority) will not update on TB Calendar Display. If you try to create a new event it is created on Google but not replicated on Calendar.

This has been reported in a review (not by me) on the Thunderbird Provider page. Not a good review.

When I sync on my Google calendar I have 2 errors in the development error console:

    Lightning: [Exception ... "Cannot convert primitive JavaScript value into an array arg 0 [calIItemBase.setCategories]" nsresult: "0x80570022 (NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY)" location: "JS frame :: resource: // gdata-provider / modules / gdataUt .jsm :: JSONToEvent :: line 835 "data: no] 

and

    Lightning: [calCachedCalendar] replay action failed: null, uri = googleapi: // [email protected] /?calendar=XXXXXX%40gmail.com, result = Cannot convert primitive JavaScript value into an array arg 0 [calIItemBase.setCategories], operation = [xpconnect wrapped calIOperation] 

"Migrate read-only calendars" Popup then Empty Calendar

Hi there, I'm not sure what's happening but when I enable the Provider for Google Calendar plugin and restart Thunderbird to activate it, upon restarting a popup displays titled "Migrate read-only calendars". No matter what I click on this popup (OK, cancel or the 'X' button), when I navigate to my calendar tab it is now completely blank. I checked the error logs and have these errors:

Overlays.jsm: Could not resolve 2 references 
(2) […]
​
0: <menupopup id="options-privacy-menupopup">
​
1: <hbox id="status-privacy" class="statusbarpanel">
​
length: 2
​
<prototype>: Array []
Overlays.jsm:195
statusPrivacy is null gdata-event-dialog.js:40
    <anonymous> chrome://gdata-provider/content/gdata-event-dialog.js:40
    loadScript resource:///modules/Overlays.jsm:561
    load resource:///modules/Overlays.jsm:226
    load resource:///modules/Overlays.jsm:48
    observe chrome://messenger/content/parent/ext-legacy.js:229
Overlays.jsm: Could not resolve 1 references 
Array [ menupopup#appmenu_taskPopup ]
Overlays.jsm:195
Use of Mutation Events is deprecated. Use MutationObserver instead. calendar-views.js:97:9
Attempt to set a forbidden header was denied: Content-Length cardbookWebDAV.js:387:17
getViewDeck(...) is null calendar-views-utils.js:301
    currentView chrome://calendar/content/calendar-views-utils.js:301
    setDateRange chrome://calendar/content/calendar-views-utils.js:600
    setDateRange chrome://calendar/content/calendar-month-base-view.js:296
    showDate chrome://calendar/content/calendar-month-base-view.js:253
    goToDay chrome://calendar/content/calendar-views.js:275
    switchToView chrome://calendar/content/calendar-views-utils.js:280
    ltnSwitch2Calendar chrome://lightning/content/messenger-overlay-sidebar.js:629
    openTab chrome://lightning/content/messenger-overlay-sidebar.js:70
    openTab chrome://messenger/content/tabmail.xml:624
    oncommand chrome://messenger/content/messenger.xul:1
uncaught exception: 2147746065 autosync.jsm:251:30

I'm not sure what to do next! Any help would be appreciated :)

Overwrite warning in Thunderbird regarding an event that does not exist on either side anymore

When Thunderbird/gdata-provider synchronize with the Google calendar, I receive a warning about an event that supposedly recently has been changed "on the server" as well.

The change on the Thunderbird/Lightning calendar side is a "delete", so the warning says that by deleting this entry, any change on the server would be lost.

If I open the Google calendar in a browser, I do not see that event there any more. My suspicion is that I deleted it on my smartphone, and then later, because Thunderbird hadn't yet synchronized and the event was still visible there, as well in Thunderbird.

The curious thing about this: The event is over a month old and was deleted (on either side, I think) back then. But the warnings only started appearing today.

If I chose "Delete anyway", then the warning disappears for the moment, but pops up the next time the calendar is synchronized. If I choose "Discard changes and reload", the warning disappears and immediately appears again. Clicking "Discard changes and reload" repeatedly doesn't change this, the warning simply pops up immediately again.

As I cannot see the event in either calendar (TB/Lightning or Googe/Browser, or Android/Smartphone), I wouldn't know any way of getting rid of the warning.

I had an older version of the add-on, which I then updated to the latest version (4.4.2), with the problem persisting. TB version is 60.9.1.

Any idea how to get rid of this? Anbody else made a similar experience?

Not possible to use Provider in newest version of Thunderbird 68.4 - 68.5

Hi there!
While latest version of provider still works correcty even if thunderbird get updated to the latest version, an installation and setup from scratch simply not working.
Issue found on:
Windows 10 - 64bits - Reinstalled and updated 2 weeks ago (jan 2020)
Ubuntu 19.10 - Thunderbird pre-installed from repo
Ubuntu 19.10 - Thunderbird installed from mozilla's repo ppa:mozillateam/ppa

The issue is the same:

  • Install thunderbird and later install provider
  • set up new calendars on network - gmail
  • pass Google autentication that ends fine
  • when I have to choose which calendar I want to sync, an empty window appear and I cannot select.

Available if you need some debug but I need to know how to do it :)

Problems with TB 73.0b1 and provider 68.2.1

I don't know exactly when my calendar stopped synchronizing with google, but today I tried to find a way to fix it and it only got worse. I found many comments that re-installing the provider fixed the issue so I told TB to remove it, restarted TB, downloaded the latest version from Thunderbird Add-ons - Provider for Google Calendar, installed the new .xpi file and restarted TB again.

At that point, TB was unable to even CHECK MAIL! (It appeared hung for a long time and then said the connection timed out.) A mysterious tall, narrow (about twice as tall as wide) window appeared on top of TB, but it didn't even have a title, just a close button in the top right corner. I rebooted my computer and tried again with the same results. I told TB to disable the provider add-on, restarted TB and it immediately checked and downloaded my mail.

I am willing to try almost any diagnostic procedures requested, if it will help. Also, I am running Windows 10 Home (64 bit) version 1903 build 18362.592, Thunderbird 73.0b1 (32 bit) and provider_for_google_calendar-68.2.1-tb.xpi. The only other add-on I have installed is Lightning, also version 73.0b1.

No calendars listed, events appear dimmed

In Thunderbird 68.2.2 with Lighting and Provider 68.2.1, I do not see the list of my calendars. Events appear dimmed and when clicked show the information, but it's not possible to save any changes.

P.S. I have general.useragent.compatMode.firefox set to true since the problems from two weeks ago, but Calendar page seems completely dysfunctional again :-(

[FAQ] "Turn cookies on or off"

TB 68.3.0
gdata-provider: 68.2.1

For whatever reason, Google decided I needed to re-authenticate today (I upgraded TB last week, possibly quit it over the holidays).

After authenticating with my username and password, instead of 2FA I would get a "Turn cookies on or off" screen and a link to Google help pages.

After a bunch of digging around I found that a long, long time ago I apparently set network.cookie.cookieBehavior to 2, or "don't let Thunderbird send cookies". Changing this to 1, or "Only cookies from the originating server are allowed" allowed 2FA to proceed on the next login. Previously '2' was an acceptable value, for however many long years I've been using your addon (thanks!).

Perhaps something like this for the FAQ:

Q: When I try to authenticate with a Google account set up with 2FA, after i type in my username and password I get a message in the authentication dialog that says, "Turn cookies on or off".
A: Check in your Config Editor (Preferences ... Advanced ... General ... Config Editor) for the setting 'Network.cookie.cookieBehavior'. If ti is set to 2, reset it to the default of 0, or 1 for more privacy. See: http://kb.mozillazine.org/Network.cookie.cookieBehavior

Addon not working in latest version

The addon is not workign anymore since the latest update.

I constantly get a google login mask. Uninstalling and reinstalling made it even worse: I cannot select any calendar anymore.
image

The selection mask stays blank:

image

Calendar tab is not showing google calendars after Thundebird 68.1.1 update

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Behaviour:
Autoupdate is active
After boot and thunderbird start update was notified
Thunderbird started, google asked for permissions, granted
Today pane was not shown
Calendar tab was not shown
Turned on Today pane, no information was shown
Turned on Calendar tab, events are shown, calendars are not shown...

The issue comes intermittently, mostly misbehaving.
Today pane should be ON as configured, most times Thunderbird is opened Today pane is not shown.
Calendar tab should be ON as last shown, most times Thunderbird is opened Calendar pane is not shown.
attachment

Can't modify calendar events because of usage exceeded without signup

I can't seem to modify my google calendar events. I enabled logging and got this error

image

right before I get this error:

Lightning: [calGoogleCalendar] Modifying item Important Event failed:2147500037: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "forbidden",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}

I've tried disabling and re-enabling the provider extension to no avail. What's weird here, is that I never seem to get prompted anymore to enter my google password. How do I get Thunderbird/Google Provider to prompt me for my google password so that I can sign in again?

Using these versions:

  • Thunderbird 68.4.2 (32-bit) on Windows
  • Lightning 68.4.2
  • Provider for Google Calendar 68.2.1

Impossible to register an event into google agenda from Thunderbird

Thunderbird 68.3.1
Windows 10 familly
Extensions : Lightning and Provider for Google agenda
When I want to register an event from Thunderbird into my google agenda, I have an error message.
Later on, it's no more possible to select the google agenda to register an other event.
From google agenda, I can register events and I can see them into thunderbird.
You can see it below.
error message
To remove the warning, I have to reboot Thunderbird.
I already reinstall the extensions.
Thanks for your help

Android Issue when delete only one event of a serie

Hi !
It's an issue I have since long time.
I have TB+Lightning on computer and Gmail calendar on 2 Android phone.
In Lightning, when I delete a single event from a series of recurring events, it synchronizes well with Gmail but on Android it removes all events in the series.
Any idea ?
Thanks.

feature: Save invitations to non-primary calendar

Right now, I can save a copy of an invitation to my main calendar, then copy+paste into non-primary calendar. If I can do that, why can't gdata-provider do this for me? I know notifications will not work, but a warning dialog would be enough.

Please provide a way to completely disable sending email on behalf of the user unless explicitly requested

Steps to reproduce:

I wanted to copy events from one remote calendar into another. Following advice I found on the web, I exported it into an ICS file, then imported that ICS file and selected a Google calendar as the destination.

I also deleted some events from the Google calendar using the context menu's "delete event" entry.

Actual results:

The import partially succeeded, and Thunderbird spammed all attendees of all imported events with new invites.

When I deleted some events from one of the two calendars, Thunderbird cancelled the events on my behalf, again spamming the other attendees and sowing confusion.

It was royally embarrassing.

Expected results:

When importing the calendar, my intention was not to create new events and send new invites, just to rearrange my records of existing events. When I selected "delete event" from the context menu, my intention was not to cancel the event, just to remove my own record of it from one of the places where that record existed.

Thunderbird should not send any email on behalf of the user without the user explicitly requesting it; if you think that it should send such emails by default, at least there should be a way to disable this "loose cannon" behaviour.

While searching for solutions to this issue on the web I came across several reports from people who wanted to do something similar: use their calendars to keep track of their appointments, but not automatically notify anyone of changes they made to their calendar.

Looking through the preferences and the config editor (and indeed the web), I found no obvious way of disabling this behaviour.

I'm now afraid to use Thunderbird for calendaring because I have no way of knowing which UI actions will cause it to send unwanted email to other event participants.

I don't know how much of this is up to the gdata-provider extension and how much to Thunderbird itself; I filed a similar bug against Thunderbird: https://bugzilla.mozilla.org/show_bug.cgi?id=1597327.

Provide xpi for thunderbird 60

I have ubuntu 18 and the latest official release is thunderbird 60. I found there is no compatible working addon version available for tb 60. I guess the latest version contains a lot of bug fixes (the only compatible version (4.4.2) of this addon doesn't work because of constant google login attempts)

No calendar selection window when accepting an invitation

After changing the email of a Google Calendar and accepting an invitation, the window that shows the list of calendars does not appear (nothing happens). The error console shows:

2019-09-12 18:18:53 Conversations.MonkeyPatch DEBUG Intercepted message load, 1 message(s) selected
2019-09-12 18:18:53 Conversations.MonkeyPatch DEBUG Hey, know what? The selection hasn't changed, so we're good!
2019-09-12 18:18:53 Conversations.MonkeyPatch DEBUG Hockey-hack
JavaScript error: chrome://lightning/content/imip-bar.js, line 465: TypeError: ltnImipBar.itipItem is null

Google network calendar with ~4000 items takes ~8mn to load - lightning/calendar 68.1 - Provider for Google Calendar 68.1 (gdata-provider) - Thunderbird 68.1 ESR

Steps to reproduce:

Following performance issues reported with CalDav network calendar in https://bugzilla.mozilla.org/show_bug.cgi?id=1502923 and https://bugzilla.mozilla.org/show_bug.cgi?id=1572823 (Work in Progress), I thought to take the same approach to measure performance and evaluate progress over time of loading Google Calendar with ~4000 items via Lightning/Calendar and Provider for Google Calendar (gdata-provider).

Environment setup steps:
- Install Thunderbird 68.1 ESR (British version) from https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/68.1.0/win32/en-GB/Thunderbird%20Setup%2068.1.0.exe
- Create a new Thunderbird user profile
- No email setup
- Go to TB Menu > Add-ons > Extensions
- Search for Provider for Google Calendar
- Add this add-on via the add button
- Restart Thunderbird
- Set to show All Events in Find Events view (unifinder)
- No columns selected in Find Events view (default settings)
- Add one Google network calendar with ~4000 items

Actual results:
- Loading the entire calendar takes more than 8 minutes!

Expected results:
- Loading such calendar via .ics file over HTTP takes only 1 or 2 seconds max!

Can't select email for all google calendars

Hi,

I recently created a bug report for the calendar in Thunderbird, however my ticket was apparently for the wrong developer and I got appoint here instead.

Please see the detailed report I made here, https://bugzilla.mozilla.org/show_bug.cgi?id=1600292

In short what I wanna report is that I can only select a Email: for the main calendar of my Google account, however I would like to select it on another calendar on same account (not the default one that is created as default), is this possible to implement?

In case I need to detail all stuff here let me know, otherwise please see the the link above where I already did my best to explain the issue.

The specified time range is empty

I have issues with invitations in Google Calendar: https://bugzilla.mozilla.org/show_bug.cgi?id=1567255

Perhaps these errors are important?

console.log: Lightning: [calGoogleCalendar] Request GET https://www.googleapis.com/calendar/v3/users/me/calendarList/******%40group.calendar.google.com responded with HTTP 200
console.log: Lightning: [calGoogleRequest] Clock skew is 1 seconds
console.log: Lightning: [calGoogleCalendar] Request POST https://www.googleapis.com/calendar/v3/calendars/*****%40group.calendar.google.com/events responded with HTTP 400
console.log: Lightning: [calGoogleCalendar] A request Error Occurred. Status Code: 400 Bad Request Body: {
 "error": {
  "errors": [
   {
    "domain": "calendar",
    "reason": "timeRangeEmpty",
    "message": "The specified time range is empty.",
    "locationType": "parameter",
    "location": "timeMax"
   }
  ],
  "code": 400,
  "message": "The specified time range is empty."
 }
}

console.error: Lightning: 
  [calGoogleCalendar] Adding Item null failed:2147746065: A request Error Occurred. Status Code: 400 Bad Request Body: {
 "error": {
  "errors": [
   {
    "domain": "calendar",
    "reason": "timeRangeEmpty",
    "message": "The specified time range is empty.",
    "locationType": "parameter",
    "location": "timeMax"
   }
  ],
  "code": 400,
  "message": "The specified time range is empty."
 }
}

console.warn: Lightning: [calCachedCalendar] Unable to perform playback action add to the server, will try again next time (5f3f35ed-9eea-4ae3-b300-b5e6db0181d9,A request Error Occurred. Status Code: 400 Bad Request Body: {
 "error": {
  "errors": [
   {
    "domain": "calendar",
    "reason": "timeRangeEmpty",
    "message": "The specified time range is empty.",
    "locationType": "parameter",
    "location": "timeMax"
   }
  ],
  "code": 400,
  "message": "The specified time range is empty."
 }
}
)

Sync with google is gone in latest version

Hi,

It worked perfectly and after an update it didn't.
Uninstalled everything from Thunderbird and then reinstalled the latest version of thunderbird and plugins (Lightning and Provider for Google Calendar).

OS used: Linux Mint 19.3 - 64-bit
Thunderbird (downloaded from the Thunderbird website is) now version: 68.3.1 (64-bit).
Lightning version: 68.3.1.1
Provide for Google calendar: 68.2.1

Setup/subscribed in Thunderbird to my Google calendar (it is visible and I can hit Synchronize).

This is what happens:

  • When creating an event in Thunderbird/Lightning and hitting synchronize, nothing happens.
    • Lightning displays the event but there is no event in Google calendar.
  • When creating a calendar entry in Google calendar and then synchronizing, the created appointment appears in Thunderbird.
  • When creating a reminder in Google calendar it does not appear in Thunderbird although the option is turned on in the thunderbird Calendar options for the added Google calender.
    • Strange is that old reminders set in Google appear in Lightning.
    • When deleting them in Google they disappear in Lightning.
    • New reminders are not passed from Google to Thunderbird.

Conclusion: It worked perfectly and now it kind of works.

Thanks for looking into this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.