Coder Social home page Coder Social logo

balbusm / xul-ext-eds-calendar Goto Github PK

View Code? Open in Web Editor NEW
32.0 6.0 6.0 603 KB

EDS Calendar Integration

Home Page: https://addons.thunderbird.net/en-US/thunderbird/addon/eds-calendar-integration/

License: GNU General Public License v2.0

JavaScript 99.79% HTML 0.21%
thunderbird eds-calendar add-on linux

xul-ext-eds-calendar's People

Contributors

balbusm avatar dependabot[bot] avatar mbalbus 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xul-ext-eds-calendar's Issues

Addon hangs Thunderbird on Fedora 21

Originally reported by: Mateusz Balbus (Bitbucket: balbusm, GitHub: balbusm)


Issue reporte by user on AMO.
Addon hangs Thunderbird. Blank screen is displayed.
Issue reproducible on Fedora 21, evolution data sever version 3.12.10-2.fc21.

Logs:

*** LOG edscalendar.utils: Opened libglib-2.0.so.0
*** LOG edscalendar.utils: Opened libgio-2.0.so.0
*** LOG edscalendar.utils: Opened libgobject-2.0.so.0
*** LOG edscalendar.utils: Opened libical.so.1
*** WARN edscalendar.utils: Failed to open libecal-1.2.so.15: Error: couldn't open library libecal-1.2.so.15
*** LOG edscalendar.utils: Opened libecal-1.2.so.16
*** WARN edscalendar.utils: Failed to open libedataserver-1.2.so.17: Error: couldn't open library libedataserver-1.2.so.17
*** LOG edscalendar.utils: Opened libedataserver-1.2.so.18

(thunderbird:2735): GLib-GObject-WARNING **: cannot register existing type 'EDBusSource'

(thunderbird:2735): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(thunderbird:2735): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:2735): GLib-GObject-WARNING **: invalid cast from 'EDBusSourceProxy' to '<invalid>'

Issue is caused by method e_source_registry_new_sync which is binding to libedataserver.


Thunderbird 128 ESR support

Hi, the long-term release Thunderbird 128 ESR is out and EDS Calendar Integration does not yet support it. Thanks.

How to change the default tray icon ?

Hello,

Thank you for your plugin.
Could you tell me how to change the icon of the the tray icon ?
I would like to choose a black and white icon on my Debian Cinnamon ?

Thanks

Is EDS Calendar Integration working in Thunderbird 102+ ?

Soon, the Mozilla PPA team will update Thunderbird on Ubuntu 22.04 to version 102.1.0
Is EDS Calendar Integration working in TB 102+?

I am asking, because the the manifest file shows:
"strict_max_version": "91.*"

BTW, thanks for the excellent EDS Calendar Integration addon!

Clock applet not showing anything

My widget is not syncing.I haven't found browser.dom.window.dump.enabled or logging.enabled , so, I don't know how to provide complete information. But clearly, extension is not working:

image

This is what've been able to find at the inspector. I haven't found logging.enabled at storage. I've got the library installed:
evolution-data-server ya está en su versión más reciente (3.44.4-0ubuntu1.1).

Extension version: 1.1.0

Thunderbird: 115.4.1 (64-bit)

I am not using ubuntu, but pop-os. With gnome version:

$ gnome-shell --version
** (process:273626): WARNING **: 09:40:08.815: Failed to set RT scheduler: Operation not permitted
GNOME Shell 42.5

Imported items not added

Imported calendar items from google calendar are not added by eds calendar.
Reason is onModify is called instead of onAdd which causes that items are ignored.
Implement extra functionality to add missing items onModify.

Fedora 28 - core dumped

I remove evolution-ews and unfortunately I still got:

Segmentation fault (core dumped)

$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 28 (Twenty Eight)
Release:	28
Codename:	TwentyEight
$ uname -a
Linux laptop 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Thunderbird 102 Flatpak not working

This addon does not work in the Thunderbird Flatpak.

Thunderbird: 102.4.2
Flatpak: 1.14.0
Gnome: 43.0

Output:

*** 2022-11-10T13:16:27.437Z LOG  edscalendar.edscalendar : Loaded prefs
JavaScript error: , line 0: uncaught exception: Object
JavaScript error: undefined, line 0: Error: An unexpected error occurred
*** 2022-11-10T13:16:31.993Z LOG  edscalendar.edscalendar : Shutting down Eds Calendar
*** 2022-11-10T13:16:35.420Z LOG  edscalendar.edscalendar : Loaded prefs
JavaScript error: , line 0: uncaught exception: Object
JavaScript error: undefined, line 0: Error: An unexpected error occurred 

error.log

Just 2 of my calendars are synchronized

I've just install today this extension, and only 2 of my calendars are synchronized (my thunderbird version is 78.14.0 (64 bits)).
I get the error :

NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED: JavaScript component does not have a method named: "getItems"'JavaScript component does not have a method named: "getItems"' when calling method: [calICalendar::getItems] edsCalendarClient.jsm:77
    processCalendars resource://edscalendar/legacy/modules/edsCalendarClient.jsm:77
    asyncLoopInternal resource://edscalendar/legacy/modules/utils/asyncHelper.jsm:61
    asyncLoopInternal resource://edscalendar/legacy/modules/utils/asyncHelper.jsm:62
    jobId resource://edscalendar/legacy/modules/utils/asyncHelper.jsm:72

Could you help me please ? Did I miss a step ?
Many thanks

Recurring events not showing in Ubuntu time and date indicator

Hi Mateusz, I made a review about one month and a half ago about how much I like this extension and suggesting that all instances of recurring events appeared in the indicator, believing this would be a new feature. I've now realized that you answered saying this was unexpected, so here I am to file a bug report.

I'm on an up-to-date Ubuntu 15.10. If I click on the time and date indicator, I can see the calendar with some bold-faced numbers and a list of events. Bold faced numbers correspond to days with a recorded event. If I have a recurring event called "bowling" which happens all Wednesdays starting on January 1st (assuming it's Wednesday). Then January 1st would be in bold face, and if I select that day I'll see "bowling" in the list. But the following Wednesday, January 8th, won't be bold face unless there is another event, and if I click on it I won't see "bowling".

It would be great to have this fixed. It would also be great that we could choose to see in the list of events, those which are just for today, or for the day we click in.

Thanks a lot for this extension, it's really useful for me, and I'm sure I'm not alone in this. Thanks!!!!

Addon hangs on Ubuntu 16.04

Hey there
I've tested 1:38.7.2 Thunderbird for 16.04 ubuntu and got it frozen with this plugin
Upgrade to thunderbird-beta ( 1:45.0~b2 ) gave no luck
So removed the plugin for getting it working

Porting the 0.7 version to Thundebrird 78

Is possible to port the functions of version 0.7 to thunderbird 78?
Otherwise is possible to add compatibility with libecal 1.2 in the latest version?
On rhel 8 the latest version of library is 1.2 and thunderbird is 78 so is not possible to use this addon.

Google calendar not synced with EDS when event appears after sync

Prerequisites:

  • Installed "Provided for Google Calendar"

Steps to reproduce:

  1. Create new event via Google Calendar Web interface
  2. Synchronize TB calendar

Results:
Lighting gets synchronized whoever EDS Integration doesn't pick up this event
Reason behind that is "Provided for Google Calendar" creates "onModifyItem" event instead of "onAddItem"

Addon hangs on Debian Buster

Hello,

Since an upgrade from Debian 9 to 10, Thunderbird (and EDS) stops to work.
No crash, but hangs forever.

If I disable/remove the addon, everything is getting back working.
I tryed to remove and re-install, same issue.

Here the log I have :

(thunderbird:7231): GLib-GObject-WARNING **: 10:01:37.803: cannot register existing type 'CamelObject'
(thunderbird:7231): GLib-CRITICAL **: 10:01:37.803: g_once_init_leave: assertion 'result != 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_register_static: assertion 'parent_type > 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(thunderbird:7231): GLib-CRITICAL **: 10:01:37.803: g_once_init_leave: assertion 'result != 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_register_static: assertion 'parent_type > 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(thunderbird:7231): GLib-CRITICAL **: 10:01:37.803: g_once_init_leave: assertion 'result != 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_register_static: assertion 'parent_type > 0' failed
(thunderbird:7231): GLib-CRITICAL **: 10:01:37.803: g_once_init_leave: assertion 'result != 0' failed
(thunderbird:7231): GLib-GObject-CRITICAL **: 10:01:37.803: g_type_register_static: assertion 'parent_type > 0' failed
(thunderbird:7231): GLib-CRITICAL **: 10:01:37.803: g_once_init_leave: assertion 'result != 0' failed

Debian Buster (10).
Wayland.
Thunderbird 60.6.1 64bits
EDS 0.5.1

Thanks for you help

Add multithreading support

Calendar with thousands of events can block entire Thunderbird for couple of minutes.
Make saving calendar events asynchronous.

Extension does not work with Gnome 3.4

Gnome 3.34 has upgraded libecal from 1.2 to 2.0.
This extension does not run on Gnome 3.34, stating it cannot find libecal-1.2.so.

I tried changing references to libecal-1.2 to libecal-2.0. This causes a segfault. (See attached log file).
error-log.txt

Feature Request: Choose which calendars should be synchronized

I have several calendars integrated in my lightning, some are just for information, and not with my dates.
It would be nice to be able to choose which calendars should be shown, so I can view my own events in the gnome-clock, and all information in Thunderbird/Lightning.

Join TbSync for unified UI

I try to evolve TbSync into "the" central sync manager for contacts, tasks and events of external accounts for Thunderbird. Currently supporting CalDAV/CardDAV and EAS (ActiveSync). EWS is being worked on (Exchange WebServices).

TbSync offers an API to "hook" external providers into TbSync. External providers can re-use most of the UI and only have to provide the core sync functions.

Are you interested in joining? TbSync and its API is ready for Thunderbird 60+. An example of an external provider is the CalDAV/CardDAV provider:
https://addons.thunderbird.net/en-US/thunderbird/addon/dav-4-tbsync/

I will provide you with all the help you need, if you are interested.

Edit: remove redundancy

EDS not removing calendar from OS after unsubcribing in TB

Description:

I have unsubscribed from a custom web calendar in Thunderbird, and it is not getting removed from the "Calendar" Mint app.

This same calendar is generating me the same error seen in #18, so I don't know if they are related.

As for my setup info, I have 2 extra calendars that work just fine (Exchange Calendars synced with TbSync), aside from the one I am trying to get removed (iCal from a URL).

Version info:

  • OS: Linux Mint 21.3 Cinnamon (6.0.4)
  • Kernel: 6.5.0-1013-oem
  • Thunderbird: 115.6.0 (64-bit) (Preinstalled on OS version)
  • EDS: 1.1.0

Logs:
https://pastebin.com/SjaYM4tQ

Gnome applet doesn’t follow the hide/show button in TB

And a second little improvement :

I don’t always want to see all my calendars in the Gnome applet. For exemple on my personal computer I may want to not see my professional calendar, even if it is configured in TB.

In Thunderbird I can hide/show these calender (the little eye next to the calendar). But the Gnome applet doesn’t follow the state of this button.

If I go in Evolution, and change the state here, the Gnome applet is updated.

Maybe it is possible to sync the hide/show state as well ?

Task are not sync

Everything is in the titles.

If I modify an event in TB, it is updated in real time in evolution.
But calendars do not appear in the task window of evolution.

Doesn't work on ubuntu18.04

I installed this addon on thunderbird v68, however I still don't see my events on ubuntu calendar. How can I check where the problem lies?
image

Duplicate (and more) events

Hello,

I'm using EDS calendar integration 0.5 on Icedove 45.6.0 with Evolution Data Server 3.12.9.
It seems that when sync, EDS calendar integration keeps old events and recreate them, so I have more than 20 occurrence of each of my events in my evolution calendar which is quite boring. I have this issue only with my ICS calendar remotely sync from my university so maybe there is something in this way.

Here is my calendar in Evolution (with several copies of the same event) :
My calendar in Evolution 50%

And the same calendar as I can see it in Icedove :
The same calendar in Icedove 50%

only two calendars syncing

of my 5 thunderbird webdav calendars, only 2 are syncing with eds.

is there a limit to how many calendars i can have working with this addon?

Version 0.5.2 gives LoadingLibException

Hello!

I cannot get the extension working with the newest version 0.5.2. However, the older version 0.5.1 works fine.

I'm using Thunderbird 60.8.0 (64-bit) on Ubuntu 18.04/Gnome 3.28.2 (troubleshoot information for thunderbird here). The log when starting thunderbird gives

[calBackendLoader] Using Thunderbird's builtin libical backend

(thunderbird:23733): Gtk-WARNING **: 15:45:04.037: Theme parsing error: <data>:1:34: Expected ')' in color definition

(thunderbird:23733): Gtk-WARNING **: 15:45:04.037: Theme parsing error: <data>:1:76: Expected ')' in color definition
*** LOG edscalendar.edsCalendarClient: XXXXXXXXXXXXXInit start
*** LOG edscalendar.utils: Generated libedataserver-1.2.so
JavaScript error: chrome://edscalendar/content/edsCalendarClient.js, line 37: uncaught exception: LoadingLibException: Unable to load library libglib-2.0.so with any ABI from 0 to 30
JavaScript error: chrome://edscalendar/content/edsCalendarClient.js, line 37: NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]
1565095513224	addons.xpi	WARN	Can't get modified time of /usr/lib/thunderbird/features/[email protected]

I checked that the library exists (among other places) as /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.

When using the version 0.5.1, the log gives in the beginning

[calBackendLoader] Using Thunderbird's builtin libical backend

(thunderbird:26792): Gtk-WARNING **: 15:54:54.394: Theme parsing error: <data>:1:34: Expected ')' in color definition

(thunderbird:26792): Gtk-WARNING **: 15:54:54.394: Theme parsing error: <data>:1:76: Expected ')' in color definition
*** LOG edscalendar.edsCalendarClient: Init start
*** LOG edscalendar.utils: Opened libglib-2.0.so.0
*** LOG edscalendar.utils: Opened libgio-2.0.so.0
*** LOG edscalendar.utils: Opened libgobject-2.0.so.0
*** LOG edscalendar.utils: Opened libical.so.3
*** LOG edscalendar.utils: Opened libedataserver-1.2.so.23
*** LOG edscalendar.utils: Opened libecal-1.2.so.19
*** LOG edscalendar.libecal: Loading new declaration of e_cal_client_connect_sync...
*** LOG edscalendar.libecal: Successfully loaded e_cal_client_connect_sync

after which it loads the calendar events so everything seems to be fine.

This isn't a huge issue since the old version still works, but maybe you could figure out what the issue is?

Latest version works with TB 107 but need to manual edit .xpi

This is to let you know the latest version (1.0.1) works like a charm with TB 107 (beta channel). Unfortunately, there is a hard check in place in the xpi that prevents its installation.
I managed to install it after modifying manifest.json into

{
  "manifest_version": 2,
  "author": "Mateusz Balbus",
  "homepage_url": "https://github.com/balbusm/xul-ext-eds-calendar",
  "applications": {
    "gecko": {
      "id": "{e6696d02-466a-11e3-a162-04e36188709b}",
      "strict_min_version": "102.0",
      "strict_max_version": "107.*" // <- change here
    }
  },
  ...
}

Quick git blame points to 3edbff0, but is there any reason to not include versions up to 107?

Thunderbird not starting if this Addon is active

Ubuntu 19.04
Thunderbird 60.9.0

[calBackendLoader] Using Thunderbird's builtin libical backend JavaScript error: resource://gre/modules/XPCOMUtils.jsm, line 187: TypeError: can't redefine non-configurable property "cal" JavaScript error: chrome://global/content/bindings/tree.xml, line 1285: TypeError: this.parentNode is null 1571823258036 addons.xpi WARN Can't get modified time of /usr/lib/thunderbird/features/[email protected] ExceptionHandler::GenerateDump cloned child 19633 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal...

One or few calendars not getting copied

This is the main error it throws:

ERROR edscalendar.calEDSProvider: Batch is started but provided calendar Personal - 2e6cb6cb-9bf8-402e-a9e8-03432323523 doesn't match calendar Calendar1 - undefined
*** ERROR edscalendar.calEDSProvider: CalendarServiceException@resource://edscalendar/exceptions.jsm:26:13
getECalClient@jar:file:///home/r/.thunderbird/ffffff.default/extensions/%7Be6696d02-466a-11e3-a162-04e36188709b%7D.xpi!/components/calEDSProvider.js:315:17
adoptItem@jar:file:///home/r/.thunderbird/ffffff.default/extensions/%7Be6696d02-466a-11e3-a162-04e36188709b%7D.xpi!/components/calEDSProvider.js:546:18
addItem@jar:file:///home/r/.thunderbird/ffffff.default/extensions/%7Be6696d02-466a-11e3-a162-04e36188709b%7D.xpi!/components/calEDSProvider.js:597:16
processItem@chrome://edscalendar/content/edsCalendarClient.js:135:11
asyncLoopInternal@chrome://edscalendar/content/edsCalendarClient.js:92:9

and later another:

*** ERROR edscalendar.edsCalendarClient: Operation add on element null failed. 2147500037 - Batch is started but provided calendar Personal - 2e6cb6cb-9bf8-402e-a9e8-738709072554 doesn't match calendar Calendar2 - undefined

Implement two-way sync

It would be a nice addition to have a setting to change between one-way sync and two-way sync, so that changes made in evolution would show up in thunderbird too.

Minor improvements needed after TB78 migration

List of minor improvements that could be added after migration to TB78:

  • "Init finished" is printed before asyncLoop is finished
  • Add status bar to see progress of sync
  • Change test framework to make tests working again
  • C libs are not closed on addon disabled, close c libs at least on app shutdown

Thunderbird 115+

Hi!
Any plans to adjust the plugin to 115+ versions?
Greets
Witek

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.