GithubHelp home page GithubHelp logo

jobisoft / tbsync Goto Github PK

View Code? Open in Web Editor NEW
771.0 51.0 54.0 5.38 MB

[Thunderbird Add-On] Central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird

Home Page: https://github.com/jobisoft/TbSync/wiki/About:-TbSync

License: Mozilla Public License 2.0

JavaScript 89.34% CSS 0.40% Batchfile 0.22% Shell 0.44% HTML 9.59%
thunderbird eas sync exchange activesync caldav carddav

tbsync's Introduction

TbSync

  1. Introduction
  2. Where is this going?
  3. External data sources
  4. Icon sources and attributions

Introduction

TbSync is a central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird. Its main objective is to simplify the setup process for such accounts. The following providers (protocols) are currently supported:

Further details can be found in the wiki of the TbSync project and in the how-to-get-started guide.

If you like TbSync and want to support its development, please consider a donation.

Want to add or fix a localization?

To help translating this project, please visit crowdin.com, where the localizations are managed. If you want to add a new language, just contact me and I will set it up.

Here are some general information regarding translations:

Where is this going?

I want to adapt Thunderbirds WebExtension APIs to simplify the addition of additional address book and calendar providers. I plan to keep TbSync as a central UI.

Icon sources and attributions

WTFPL

CC0-1.0

CC-BY 3.0

Apache Software License 2.0

GPL

tbsync's People

Contributors

alessandromenti avatar arai-a avatar chrisjallan avatar dagefoerde avatar desuvinaykumar avatar dilyanpalauzov avatar e-jim avatar fonic avatar jobisoft avatar ldmpub avatar mayeulc avatar ovari avatar puran2 avatar sinya13 avatar tijuca avatar wanderleihuttel avatar wisiemilljungdahl avatar zanonmark avatar zc2com 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  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

tbsync's Issues

Calendar updates not syncing to Office 365

Your environment

TbSync version: 0.7.3
Thunderbird version: 52.6.0

Expected behavior

Bi-directional calendar synchronization between Thunderbird and Office 365

Actual behavior

Synchronization from Thunderbird to Office 365 fails with the following error message:
Sync failed. Server responds with status <Sync.Collections.Collection.Responses.Add[0].Status = 6>.

Steps to reproduce

  1. Connect Account
  2. Unsubscribe from Tasks and Contacts syncing (only sync calendar)
  3. Synchronize and verify success - all calendar events are synchronized to Thunderbird
  4. Accept meeting invite
  5. Synchronize and receive error - updated meeting is not synchronized back to Office 365

double calendar will be created

TbSync version: 0.7.3
Thunderbird version: 52.6.0

It happens with SOGO account that the app creates double calendar without visible reason. This second calendar is not existing in SOGO. The second receives another calendar icon and is empty. The second calendar cannot be removed, just unpublished.

Persönlicher Kalender (Annett) #1.zip

tbsync double calendar

Read-Only mode blocks synching

When I add a calendar from somebody else I do not want to modify it, just view. on the list of calendars left side I can modify the general setting so as the color of entries. On that place I set the "read only" mode. The positive result is that I cannot set by mistage an event on the wrong calendar. The negative effect is that synching fails now.

Problem with recurrent events

Hi
first of all I am really glad about your project and impressed about the status, it already reached.
Congratutalions!

I discovered an issue with recurring events
I am using an kopano/zarafa email server and

  • my recurrent events already created in zarafa are not shown in thunderbird tbsync calendar
  • recurrent events created in thunderbird tbsync calendar show in zarafa a wrong period
    If you want me to debug/test something, just let me know

Regards

Hansjörg

Office 365 - special character break sync

Hi,

I just discovered this plugin after my company migrated to office 365.

I am experiencing an issue at the first synchronization, I have this error :

"ActiveSync protocol violation: Mandatory field <Sync.Collections.Collection.Status> is missing in server response."

From the plugin's interface, I see that we are using ActiveSync version 14.0.

Does anyone has encountered this issue?

Roadmap?

First of all. Great that you are putting life in this plugin again! I used the old one which stopped to work properly and so far was the only good way to get ActiveSync support in Thunderbird.

I was following your progress over the last weeks. Is there any roadmap or do you have a plan to release it officially one day?

Hotmail.com

Hi John,
I recently discovered your great add on and have installed it to get my Hotmail agenda and adress brook synchronised. But unfortunately I cant get it work either using the Outlook.com settings or and customized settings. I was therefore wondering is there would be specific settings for hotmail.com type of adresses as my adress is indeed under the [email protected] and not [email protected]?

In advance many thanks for any help that you could provide and Congrats again for working on this and helping us 😀

Extended addressbook fields

Does it support the same extended addressbook fields/backend like TZPUSH? I use these fields also for my local addressbooks and would be afraid I lose those details when switching to your WIP plugin.

Possible Bug With Recurring Meetings

Hi there. First off, I love this add-on. Thank you for taking your personal time to make this!

Now, I didn't see any mention of this, but if there is and I missed it please feel free to close this. It seems it fails to sync recurring meetings. I have a feeling I'm not the only one.

ActiveSync protocol violation error

My initial sync fails with the following error:
image

Error console shows:
XML Parsing Error: not well-formed
Location: moz-nullprincipal:{b20fc7a0-92aa-4b25-bd74-b829c3a50157}
Line Number 37, Column 12482: {b20fc7a0-92aa-4b25-bd74-b829c3a50157}:37:12482

Contacts not sync

I'm using Office 365. When I subscribed to contacts. Under the Address, everything looks empty. Only name of the folders is there

Handling of meeting invitations

Hi,

Im missing the description of some of the meetings. It appears, that I can see the description for meetings which I created myself, but im missing the notes for meetings, which i got invited to.

This is what a meeting looks like, which I was invited to:
image

This is an example of a meeting, which I created myself (notice the tabs for description, attachments and participants):
image

Im using Thunderbird 52.6.0 (64-Bit) on macOS High Sierra 10.13.3. Descriptions are available for all meetings when using CalDav or ActiveSync on iOs.

If you need any further information, feel free to contact me.

TbSync is blocked by global policy

I may have been overly optimistic, when I reported TbSync working in #28. It did report both FOO.Calendar and FOO.Contacts to have successfully synchronized, but both are empty when I attempt to view them in Lightning and Address Book respectively.

So I went on to enable debug-log and attempted to disconnect/reconnect. Upon attempting to reconnect, I now get the below error:

image

Disabling the debugging option does not help. The server was "autodiscovered" to use version 14 of the protocol and I can not change that -- not through the GUI, at least. I even tried to restart Thunderbird entirely -- nope, the error is still there and the data-sets aren't even pretending to synchronize as they did before.

Horde / status.policykey-failed

Hi there

I'd love to sync contacts etc. with Horde. Setup seems all fine and autodiscover seems to work as well. But when I click on the "Connect" button I get a popup "status.policykey-failed". No idea what's wrong.

Problems syncing imported data

I can't work out from the description if TBSync is supposed to do a two way sync? I've got it configured and connected to a Horde back end, and it has downloaded data from Horde. But it doesn't seem to be pushing anything back from Thunderbird to Horde. Is it supposed to be able to, or not? Thank you

Edit: checking the TBSync account manager, I can see against the calendar status: "status.js-error-in-calendarsync.sendLocalChanges". So it looks like at least it is trying to update data back to Horde

Syncing problems - due to port number?

I am in a school network and I am trying to connect to my school Office 365 account. Autodiscover fails though password and user name are correct. This configuration works fine on my home PC, so I think the reason is some port that is closed in my school network.
Is there any way to get it working? Are there any ports to be opened for autodiscover?

Thanks, fl

PROBLEM WITH (AUTO) SYNC

Hi
Having installed TbSync in conjunction with Thunderbird, and succesfully connected to my Outlook.com account calendar, I have one issue:

1. the sync only seems to be one-way:- When adding an event directly in MS Outlook calendar (web) or via Office Suite programme it appears in T'bird (even after forcing sync in TbSync). When I add an event in T'bird and force the sync, it shows in T'bird BUT does not appear in any Outlook calendar.

Any thoughts on this issue - let me know if you require further info?

Otherwise really cool add-on and only one i can find that actually forms the link to calendar - so at least they show on T'bird (as one way link at present). Thanks and hope you can duplicate issue with your operations and then may be able to resolve issues in future updates.

Regards,
Keith

recurring event´s exceptions should be synched

I know that TBSync does synch now recurring events, but not the "exceptions". I guess with that is meant that (re)moved events within a recurring line won´t be synched, but that is really needed, otherwise the synched calendar is not reliable. A not reliable calendar as good as my brain ;-)

Add Acount Icon is hidden

On a small device (macbook 13'') the 'plus' icon is hidden, when you start the plugin. Takes a time until you understand that you have to enlarge the plugin window to make it appear. A small issue of course, but very irritating to a user.

cool addon!

cheers, Jo

Syncing tasks not working with Tine20

I want to sync Thunderbirds Contacts, Calendars and Tasks with Tine20. When I try to sync tasks I get an error. The Log tells me the following

[Exception... "Component returned failure code: 0x804a0104 [calIDateTime.icalString]"  nsresult: 
"0x804a0104 (<unknown>)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> 
file:///Users/bernhard/Library/Thunderbird/Profiles/ahurds4v.default/extensions/%7Be2fda1a4-762b-
4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: _calIcalCreator/< :: line 44"  data: no]  
(unbekannt)
	_calIcalCreator/< file:///Users/bernhard/Library/Thunderbird/Profiles/ahurds4v.default/extensions
/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:44:13
	eas.sync.Tasks.setThunderbirdItemFromWbxml chrome://tbsync/content/provider/eas/tasksync.js:22:23
	eas.sync.requestRemoteChanges< chrome://tbsync/content/provider/eas/sync.js:516:29
	next self-hosted:1120:9
	TaskImpl_run resource://gre/modules/Task.jsm:319:42
	bound TaskImpl_run self-hosted:957:17

Thanks

Where to get started

Hi,
I wanted to try this out and I have it installed in Thunderbird, but I'm not positive what the next steps are. Can you give me a push in the right direction?

timeoutson initial sync

I recently searched for a way to connect a new android phone to my Zarafa (predecessor of Kopano) server and found tbsync which was a bit tricky to configure at first (I tried via "New calendar" from Lightning Plugin, but didn't have an account setup), but then found the 'account manager'. I added an account and immediately synced everything nicely.

When I tried adding a second account things went from "not quite" to "never again".

The second account (on the same server) has a bigger address book, a much longer calendar history and a way bigger email database (but that isn't synced via tbsync).

Although I haven't configured anything special into the bigger account, the sync just wouldn't finish. it always runs into one issue or the other. I exclusively use the https feature and the server possesses a valid (letsencrypt) certificate, using a subdomain (like in delendor.domain.com).

When I tried to set up tbsync on a computer at work (also Linux OS), I found myself able to correctly sync the address book of the small account before it then timeouts at some stage. Retries didn't help. The bigger account -as experienced at home- never synced anything.

I even tried checking the logs (both server and client but to not much avail. The initial handshake seems to get across, but then things slow down until the client gives up. The server might be a bit slowish. It's a synology NAS (almost 7 years old) with more and more apps running in parallel.

What do I do to properly diagnose th problem?

Make TBSync/Exchange address book default in Thunderbird

It would be really useful if at some point in the future it will be possible to tell TBSync during setup to make the address book it is syncing with the back-end the default one in Thunderbird - so that all new contacts in Thunderbird are saved there and shared with other devices using the same back-end. I think Thunderbird doesn't support this at the moment - but maybe one to keep an eye on in case the TB inner workings get an update at some point?

Sync to existing calendar

Hi John. Thanks for your work on this extension. I use it at work to sync my exchange account with my thunderbird calendar.

One thing I'd love to see in future releases: to choose an already existing target calendar to sync to, instead of creating a new/unique one. Maybe you've already thought of this and it is planned anytime soon? If not I'd like to contribute and look into this matter.

Cheers
Ehm

How to get tbsync to sync automatically

Hi!

I've recently installed TbSync as a means of updating my two EAS accounts in Thunderbird. However, the only way I can get sync to work is to manually open TbSync (double-click on the TbSync button on the bottom left of Thunderbird) and then to manually click on the "Synchronize this account" button for each one.

Is there a setting somewhere to make syncing automatic or to happen to a schedule? Or is it only possible to sync manually?

Thanks for your help!

Not working with 365

Before you post a new issue, please update TbSync to the latest release (or beta, if there is one) and also update your Thunderbird to the latest stable release. Can you still reproduce your issue?
To help resolving your issue, enable debug logging (TbSync Account Manager -> Help) and send me the debug.log via e-mail (use the title of your issue as subject of the email).

Your environment

TbSync version: 0.7.5 (also tried 0.7.3)
Thunderbird version: 52.6

Expected behavior

Connect to 365 and sync calendar, etc.

Actual behavior

Can't talk to outlook.office365.com. It reports 503.

Steps to reproduce

Install plugin. Create account. Set server to outlook.office365.com (or https://outlook.office365.com/EWS/Exchange.asmx as used in Outlook). Try to connect. Get 503 failure. Unclear why it can't talk to the server.

Outlook"s Middle Name and Thunderbird's Display Name

Your environment: French Windows 10 Professionnel
TbSync version: 0.7.3
Thunderbird version: 52.6.0 (32 bits)

  1. Initially, I wanted to know how to define the “Display Name” as «First Name» «Last Name» because, after synchronization, I saw «Last Name», «First Name».
    Is there an option to choose this presentation?

  2. After investigation, I understand the process:
    Contacts from Outlook.com have: “First Name”, “Middle Name”, “Last Name”
    And in Thunderbird Address Book: “First Name”, “Last Name”, “Display Name”
    When I synchronize new contacts:
    Outlook-»Thunderbird: “Display Name” = «Last Name», «First Name» «Middle Name»
    Thunderbird -» Outlook: “Display Name” is lost.
    With existing contacts:
    Outlook-»Thunderbird: “Display Name” is not modified
    Thunderbird -» Outlook: “Display Name” is ignored, «Last Name» and «First Name» are synchronized and «Middle Name» doesn’t change.
    Is it possible to parameterize the synchronization for those fields?

Thank you for this module that gave me the possibility to move from Windows Live Mail to Thunderbird with my contacts in Outlook.com.
Jacques.

ActiveSync with Open-Xchange quitting with HTTP 405

Hi,

I'm trying to connect TbSync with an OX installation. While Android and iOS devices have no problem to connect via EAS TbSync keeps quitting with the following messages:

With Provisioning enabled:

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[setSyncState] : State: syncing, Account: EAS IP Based test

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[setSyncState] : State: requestingprovision, Account: EAS IP Based test

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[Sending data requestingprovision (WBXML)] :
3 1 6a 0 0 e 45 46 47 48 3 4d 53 2d 45 41 53 2d 50 72 6f 76 69 73 69 6f 6e 69 6e 67 2d 57 42 58 4d 4c 0 1 1 1 1

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[Sending data requestingprovision (XML)] :

MS-EAS-Provisioning-WBXML

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[sending] : POST http://IP.OF.OX.SERVER/Microsoft-Server-ActiveSync?Cmd=Provision&User=MYUSER&DeviceType=Thunderbird&DeviceId=mztb9a217ad00e0ef89fb656a7267d2f

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[PolicyKey used] : 0

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[finishSync(): Error @ Account EAS IP Based test] : Communication error (HTTP status 405).

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[setSyncState] : State: done, Account: EAS IP Based test

** Wed May 10 2017 16:16:06 GMT+0200 (CEST) **
[setSyncState] : State: accountdone, Account: EAS IP Based test

** Wed May 10 2017 16:16:08 GMT+0200 (CEST) **
[setSyncState] : State: idle

Without Provisioning:

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[setSyncState] : State: syncing, Account: EAS IP Based test

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[setSyncState] : State: requestingfolders, Account: EAS IP Based test

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[Sending data requestingfolders (WBXML)] :
3 1 6a 0 0 7 56 52 3 30 0 1 1

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[Sending data requestingfolders (XML)] :

0

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[sending] : POST http://IP.OF.OX.SERVER/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=MYUSER&DeviceType=Thunderbird&DeviceId=mztb9a217ad00e0ef89fb656a7267d2f

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[finishSync(): Error @ Account EAS IP Based test] : Communication error (HTTP status 405).

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[setSyncState] : State: done, Account: EAS IP Based test

** Wed May 10 2017 16:18:10 GMT+0200 (CEST) **
[setSyncState] : State: accountdone, Account: EAS IP Based test

** Wed May 10 2017 16:18:11 GMT+0200 (CEST) **
[setSyncState] : State: idle

Calling the site with method OPTIONS results in:

curl -i -k -X OPTIONS http://IP.OF.OX.SERVER/Microsoft-Server-ActiveSync
'HTTP/1.1 200 OK
Date: Wed, 10 May 2017 14:20:43 GMT
Server: grizzly/2.2.22
Public: OPTIONS, POST
MS-ASProtocolVersions: 2.5,12.0,12.1
MS-ASProtocolCommands: Sync,FolderCreate,FolderDelete,FolderSync,FolderUpdate,GetAttachment,GetHierarchy,GetItemEstimate,MeetingResponse,MoveItems,Ping,Provision,ResolveRecipients,Search,SendMail,SmartForward,SmartReply,ValidateCert,Settings,ItemOperations
Pragma: no-cache
Allow: GET, HEAD, POST, TRACE, OPTIONS
Via: 1.1 HOST.DOMAIN.TLD
Keep-Alive: timeout=5, max=100
Content-Length: 0
Accept-Ranges: none
Connection: keep-alive

Do you have any idea why or is there no implementation for open-xchange planned?

js-error-in-calendarsync.processRemoteChanges / TypeError: aId is undefined

** Wed Nov 08 2017 16:06:20 GMT+0100 (CET) **
[setSyncState] : State: recievingchanges, Account: Outlook, Folder: Kalender

** Wed Nov 08 2017 16:06:20 GMT+0100 (CET) **
[Extracted XML data] :
Sync =>
Collections =>
Collection =>
SyncKey = [1486290029]
CollectionId = [9]
Status = [1]
Commands =>
Change =>
ServerId = [baTtHD6xXEuUrZPc_GuEHgAAAAABDW2k7Rw-sVxLlK2T3PxrhB4AALbpYXo1]
ApplicationData =>
DtStamp = [20171108T133503Z]
ApplicationData <=
Change <=
Commands <=
Collection <=
Collections <=
Sync <=

** Wed Nov 08 2017 16:06:20 GMT+0100 (CET) **
[wbxml status check] : Sync: Sync.Collections.Collection.Status = 1

** Wed Nov 08 2017 16:06:20 GMT+0100 (CET) **
[exception] : TypeError: aId is undefined

Handle certificate errors during autodiscover

Autodiscover kept failing for me for reasons difficult to understand, until I imported the employer's CA certificates into Thunderbird.

You may want to make TbSync handle such errors better -- with a more informative error-message and/or an option to create exceptions.

Thank you for your software, BTW. Now that I've overcome the certificate problem, the auto-discovery worked and I was able to import the calendar and the contacts...

Request: GAL contacts also in auto complete (not only on search results)

The original issue has been resolved, there is now a follow up request regarding auto complete, which starts #39 (comment)


Hello. I'm a new user of TbSync, trying to use it with my work Office 365 account. Having an odd error that I haven't seen addressed here (or just missed). When setting up the account, the autodiscover process appears to be successful.

** Fri Jan 26 2018 11:10:34 GMT-0600 (CST) **
[Trying EAS autodiscover] : [https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml]

** Fri Jan 26 2018 11:10:34 GMT-0600 (CST) **
[Error on EAS autodiscover (400)] : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>


** Fri Jan 26 2018 11:10:34 GMT-0600 (CST) **
[Trying EAS autodiscover] : [https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml]

** Fri Jan 26 2018 11:10:34 GMT-0600 (CST) **
[EAS autodiscover with response (status: 200)] : 
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">
    <Culture>en:us</Culture>
    <User>
      <DisplayName>Name</DisplayName>
      <EMailAddress>[email protected]</EMailAddress>
    </User>
    <Action>
      <Settings>
        <Server>
          <Type>MobileSync</Type>
          <Url>https://outlook.office365.com/Microsoft-Server-ActiveSync</Url>
          <Name>https://outlook.office365.com/Microsoft-Server-ActiveSync</Name>
        </Server>
      </Settings>
    </Action>
  </Response>
</Autodiscover>

** Fri Jan 26 2018 11:10:34 GMT-0600 (CST) **
[EAS OPTIONS with response (status: 200)] : 
[] [2.0,2.1,2.5,12.0,12.1,14.0,14.1,16.0,16.1] [Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,ItemOperations,Provision,ResolveRecipients,ValidateCert,Find]

I don't know why it gets that first 400 error, but the second query succeeds and returns my name and email. It defaults to outlook.office365.com and activesync version 14.0. After clicking Connect account, it states that the connection status for both my Contacts and Calendar is OK. New entries are indeed added to my calendar and address book, but I see no actual data in either.

Looking at the debug log, it correctly pulls and lists all of my folders. I then see a bunch of additional sync activity, see it creating the local address book and calendar, etc. No errors that I can find. However, no actual data (events or contacts) are pulled down. Searching the address book also fails. If I create a new message and try to auto-complete someone's e-mail address, I get this in the debug log:

** Fri Jan 26 2018 11:18:44 GMT-0600 (CST) **
[JavaScript Error: "uncaught exception: 2147746065" {file: "resource:///modules/activity/autosync.js" line: 210}]

Any idea what might be going on? I'm going to share my debug.log via e-mail since I'd prefer not to pose the full contents here.

Thanks. Appreciate any help.

recurring event exception: moving event

on recurring events now the exception is supported that one event could be deleted, but moved events won´t be synched. On other clients this event remains as is.

Error Parsing Calendar Data

After configuring to connect to an outlook.com account, the first synchronisation stalls on the first calendar. From reviewing the logs in the Error console, it appears that TbSync has an issue where there is a symbol in the text of a calendar entry.

The first instance was in an entry where the body of the entry had a url with variables appended:
<Body xmlns='Calendar'>http://m.ovi.me/B8AeHQjnueBQ&_s=Xxxxx%2520Xx%25206&_ci=Xxxxx&_co=Xxxxxxxxx&_zi=0000&_cx=XXX&_ln=0%2520Xxxxx%2520Xx</Body>.
I got past this by adding extra text to the body after the url:
<Body xmlns='Calendar'>http://m.ovi.me/B8AeHQjnueBQ&_s=Xxxxx%2520Xx%25206&_ci=Xxxxx&_co=Xxxxxxxxx&_zi=0000&_cx=XXX&_ln=0%2520Xxxxx%2520Xx Extra Test Text</Body>

The second instance was in an entry where the subject of the entry had an "&".
image
Changing the "&" to "and" allowed this entry to parse. The third try failed due to an identical issue.

Could there be an issue with how such characters are processed?

Let me know if there is any specific debugging I can do to provide more info.

Full day event sync with Horde Groupware Timezone problem?

Creating a full day event in Thunderbird with TbSync 0.7.3 and syncing it to Horde Group 5.2 is shown as a two day event in the Webfrontend of Horde. The generated event XML looks like this:

** Tue Jan 30 2018 11:47:19 GMT+0100 **
[Sending data <send.request.localchanges> for I (Kalender von
[email protected]) (XML)] :
<?xml version="1.0"?>
<Sync xmlns='AirSync'>
<Collections>
<Collection>
<SyncKey>{5a7036f9-5a24-4784-a361-xxx}13</SyncKey>
<CollectionId>Ad172b1e8</CollectionId>
<Commands>
<Add>
<ClientId>887d9634-5de9-4c18-b481-xxx</ClientId>
<ApplicationData>
<UID xmlns='Calendar'>887d9634-5de9-4c18-b481-xxx</UID>
<TimeZone
xmlns='Calendar'>AAAAACgARwBNAFQALQAwADAAOgAwADAAKQAgAEUAdQByAG8AcABlAC8ATABvAG4AZABvAG4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgARwBNAFQALQAwADAAOgAwADAAKQAgAEUAdQByAG8AcABlAC8ATABvAG4AZABvAG4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</TimeZone>
<StartTime xmlns='Calendar'>20180129T230000Z</StartTime>
<EndTime xmlns='Calendar'>20180130T230000Z</EndTime>
<DtStamp xmlns='Calendar'>20180130T104711Z</DtStamp>
<Subject xmlns='Calendar'>Test</Subject>
<Location xmlns='Calendar'/>
<Categories xmlns='Calendar'/>
<Attendees xmlns='Calendar'/>
<Body xmlns='AirSyncBase'>
<Type xmlns='AirSyncBase'>1</Type>
<EstimatedDataSize xmlns='AirSyncBase'>0</EstimatedDataSize>
<Data xmlns='AirSyncBase'/>
</Body>
<BusyStatus xmlns='Calendar'>0</BusyStatus>
<Sensitivity xmlns='Calendar'>1</Sensitivity>
<AllDayEvent xmlns='Calendar'>1</AllDayEvent>
<MeetingStatus xmlns='Calendar'>1</MeetingStatus>
</ApplicationData>
</Add>
</Commands>
</Collection>
</Collections>
</Sync>

Invalid recurrence pattern (?) crashes Thunderbird

If an EAS item has the following recurrence pattern:

<Recurrence xmlns='Calendar'>
<Type xmlns='Calendar'>1</Type>
<Interval xmlns='Calendar'>1</Interval>
<Until xmlns='Calendar'>20110109T003000Z</Until>
<DayOfWeek xmlns='Calendar'>127</DayOfWeek>
</Recurrence>

Thunderbird throws

NS_ERROR_OUT_OF_MEMORY: Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [calIRecurrenceItem.getOccurrences]

and does not display any events anymore. To test this, I injected the following event:

<Add>
<ServerId>43:1201</ServerId>
<ApplicationData>
<TimeZone xmlns='Calendar'>LAEAAEUAYQBzAHQAZQByAG4AIABTAHQAYQBuAGQAYQByAGQAIABUAGkAbQBlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAABAAIAAAAAAAAAAAAAACgAVQBUAEMALQAwADUAOgAwADAAKQAgAEUAYQBzAHQAZQByAG4AIABUAGkAbQBlACAAKABVAFMAIAAmACAAQwAAAAMAAAACAAIAAAAAAAAAxP///w==</TimeZone>
<DtStamp xmlns='Calendar'>20120529T035130Z</DtStamp>
<StartTime xmlns='Calendar'>20101113T003000Z</StartTime>
<Subject xmlns='Calendar'>Subject</Subject>
<UID xmlns='Calendar'>[email protected]</UID>
<OrganizerName xmlns='Calendar'>Name</OrganizerName>
<OrganizerEmail xmlns='Calendar'>[email protected]</OrganizerEmail>
<Location xmlns='Calendar'/>
<EndTime xmlns='Calendar'>20101113T004500Z</EndTime>
<Recurrence xmlns='Calendar'>
<Type xmlns='Calendar'>1</Type>
<Interval xmlns='Calendar'>1</Interval>
<Until xmlns='Calendar'>20110109T003000Z</Until>
<DayOfWeek xmlns='Calendar'>127</DayOfWeek>
</Recurrence>
<Body xmlns='AirSyncBase'>
<Type xmlns='AirSyncBase'>1</Type>
<EstimatedDataSize xmlns='AirSyncBase'>4</EstimatedDataSize>
<Data xmlns='AirSyncBase'>

</Data>
</Body>
<Sensitivity xmlns='Calendar'>2</Sensitivity>
<BusyStatus xmlns='Calendar'>2</BusyStatus>
<AllDayEvent xmlns='Calendar'>0</AllDayEvent>
<MeetingStatus xmlns='Calendar'>0</MeetingStatus>
<NativeBodyType xmlns='AirSyncBase'>3</NativeBodyType>
<DisallowNewTimeProposal xmlns='Calendar'>0</DisallowNewTimeProposal>
<ResponseRequested xmlns='Calendar'>1</ResponseRequested>
<ResponseType xmlns='Calendar'>0</ResponseType>
</ApplicationData>
</Add>

Is this a bug in Thunderbird? Can Thunderbird create such a pattern by itself? What to do?

Error status 6 when sync calendar to server

If I create a new calendar event and try to sync to the server I get Status 6 as return code.
Sync from server to local calender is working

`
** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[Sending data sendingchanges (XML)] :

******** ******** ******** ******** iP///ygARwBNAFQAKwAwADIAOgAwADAAKQAgAEUAdQByAG8AcABlAC8AVgBpAGUAbgBuAGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgARwBNAFQAKwAwADIAOgAwADAAKQAgAEUAdQByAG8AcABlAC8AVgBpAGUAbgBuAGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== 20170824T160000Z 20170824T170000Z 20170715T192249Z 2 1 0 ToServer 15 0 1 1

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[sending] : POST https://m.one.com/Microsoft-Server-ActiveSync?Cmd=Sync&User=********&DeviceType=Thunderbird&DeviceId=mztb********

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[PolicyKey used] : ********

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[Receiving Data (WBXML)] :
3 1 6a 0 45 5c 4f 4b 3 31 35 30 30 31 34 36 35 37 34 35 33 37 0 1 52 3 33 39 38 34 31 38 37 0 1 4e 3 31 0 1 46 47 4c 3 32 63 62 64 30 63 34 65 2d 38 39 63 62 2d 34 66 62 34 2d 61 37 66 34 2d 31 33 34 32 39 34 39 35 31 61 39 63 0 1 4d 3 0 1 4e 3 36 0 1 1 1 1 1 1

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[Receiving Data (XML)] :

******** ******** 1 ******** 6

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[setSyncState] : State: serverid, Account: ********, Folder: calendar

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[Extracted XML data] :
Sync =>
Collections =>
Collection =>
SyncKey = []
CollectionId = [
]
Status = [1]
Responses =>
Add =>
ClientId = [********]
ServerId =>
ServerId <=
Status = [6]
Add <=
Responses <=
Collection <=
Collections <=
Sync <=

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[wbxml status] : Server reports status <6>. Error? Aborting Sync.

** Sat Jul 15 2017 21:22:54 GMT+0200 (CEST) **
[finishSync(): Error @ ********] : ActiveSync error (Status 6).
`

Syncing shared calendars (or other shared directories)

First of all, thanks for the add-on. It's good to have an open-source solution.

I couldn't see how to synchronize with shared calendars. They don't show up in the directory list. I'm guessing support for shared calendars isn't implemented currently. Is this correct?

Exchange server connection issue

TbSync version: 0.7.5
Thunderbird version: 52.6.0 (64 bits)

Hi,

I'm trying to connect to my Exchange Outlook web interface, but I still get a connection issue with invalid username or password.
When I connect to my webmail server, the address is https://hamac.ign.fr/owa.
I've also tried the following addresses:

  • https://hamac.ign.fr
  • hamac.ign.fr/ews/exchange.asmx (address I'm using with the EWS exchange provider TB extension, which works fine).

I've tried several usernames:

Here are the logs produced:

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[setSyncState] : State: syncing, Account: test

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[setSyncState] : State: prepare.request.options, Account: test

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[Sending] : OPTIONS https://hamac.ign.fr/ews/exchange.asmx/Microsoft-Server-ActiveSync

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[setSyncState] : State: send.request.options, Account: test

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[setSyncState] : State: eval.request.options, Account: test

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[finishAccountSync(test)] : Could not authenticate, check username and password.

** Tue Mar 13 2018 12:34:30 GMT+0100 (CET) **
[setSyncState] : State: accountdone, Account: test

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[setSyncState] : State: syncing, Account: test

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[setSyncState] : State: prepare.request.options, Account: test

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[Sending] : OPTIONS https://hamac.ign.fr/ews/exchange.asmx/Microsoft-Server-ActiveSync

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[setSyncState] : State: send.request.options, Account: test

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[setSyncState] : State: eval.request.options, Account: test

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[finishAccountSync(test)] : Could not authenticate, check username and password.

** Tue Mar 13 2018 12:34:35 GMT+0100 (CET) **
[setSyncState] : State: accountdone, Account: test

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[setSyncState] : State: syncing, Account: test

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[setSyncState] : State: prepare.request.options, Account: test

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[Sending] : OPTIONS https://hamac.ign.fr/ews/exchange.asmx/Microsoft-Server-ActiveSync

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[setSyncState] : State: send.request.options, Account: test

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[setSyncState] : State: eval.request.options, Account: test

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[finishAccountSync(test)] : Could not authenticate, check username and password.

** Tue Mar 13 2018 12:34:40 GMT+0100 (CET) **
[setSyncState] : State: accountdone, Account: test

Thanks in advance for your help.
Regards,

Cedric

Javascript Error (recRule.getComponent is not a function)

Hi!

Great peace of software.
I'm just reporting an issue I'm having synchronising with activesync.

The GUI shows: Calendar : Javascript Error: Check Debug, and the debug console the following:

recRule.getComponent is not a function  calendarsync.js:684
	eas.calendarsync.getWbxmlFromCalendarItem chrome://tbsync/content/provider/eas/calendarsync.js:684:33
	eas.calendarsync.sendLocalChanges< chrome://tbsync/content/provider/eas/calendarsync.js:222:62
	InterpretGeneratorResume self-hosted:1213:8
	next self-hosted:1120:9
	TaskImpl_run resource://gre/modules/Task.jsm:319:42
	bound TaskImpl_run self-hosted:957:17

I hope you can fix that! Let me know if you need further info.
Thanks

Timezone (CET) causes events shown 1h later

We faced an issue about tb-sync. When a new event is created, it will sync with timezone "CET" but "Europe/Berlin" is expected. This leads to all events showing wrong times (1h later) in groupware and all other syncing clients.

To be sure that tb-sync causes the problem, we testet several other clients:

  1. Smartphone (Android) => OK
  2. Windows Active-Sync (Mail, Calendar, Tasks, Contatcs) => OK
  3. Microsoft Outlook => OK
  4. Thunderbird with tb-sync installed => ERROR!

As I don't know the behaving using other timezones, I would strongly recommend to make the timezone user configurable. (Especially when server and clients are located in different time zones.)

If you need further information, feel free to contact me.
And by the way, Great addon!

2018-02-02 12_53_33- admin-684 1h zeitversatz eines termins zwischen tbsync und tine

How to use TbSync with self signed SSL's

In my office I'm the only employee who needs access to their email outside of the office. While i do have a VPN to the office from my home this does not help when i'm out and about. So I setup a webmail and Active Sync for mobile. But considering i'm the only person who needs it, we didn't waste money on a real SSL.

To get around the SEC_ERROR_UNKNOWN_ISSUER error message (displayed as of TbSync 0.6.8.2), the self signed SSL certificate needs to be added to Thunderbird:

  • In Mozilla Thunderbird, go to Tools > Options > Advanced > tab Certificates.
  • Click on View Certificates and go to tab Servers.
  • Click on Add Exception.
  • Enter the name of your mail server and click on Get Certificate.
  • Save the exception.

ActiveSync protocol violation: Mandatory field <Provision.Status> is missing in server response.

Hi,
I'm trying to sync Zentyal server 5.0.10 with calendar and address book of Thunderbird, whenever I click on Connect I get as an answer that error.
Googling I found that some suggest to remove the check on provision in TBSync configuration, but I cannot understand where to find that checkbox since I can't see it in the GUI.

TbSync version: 0.7.3
Thunderbird version: 52.6.0 (64-bit)

Expected behavior

Sync calendar and address book.

Actual behavior

No sync and the error on the subject.

Steps to reproduce

  1. Install Zentyal activate ActiveSync and create a user.
  2. Install TBSync
  3. Configure TBSync

Account Manager Display Broken in TB60

This is what happens when I try to open the Account Manager:

account-manager

I'm using Thunderbird Daily 64-bit, 59a1, with the latest Lightning 6.1a1. I'm using a high contrast theme. I understand this version may not be supported yet, but this will likely be a coming issue for those who keep up to date with Thunderbird releases. I appreciate any help!

EDIT: Using TbSync v0.6.9.1

Dind not work with SOGo Mailserver

I've tried to connect thr TBSync to our SOGo Mailserver with AES. I tried Version 2.5 and 14, but the Sync hangs after login with the folloing log:

** Thu Sep 21 2017 15:34:25 GMT+0200 **
[PROVIDER] : owncloud::Owncloud (CardDAV & CalDAV)

** Thu Sep 21 2017 15:34:25 GMT+0200 **
[PROVIDER] : eas::Exchange Active Sync

** Thu Sep 21 2017 15:34:28 GMT+0200 **
[setSyncState] : State: accountdone

** Thu Sep 21 2017 15:34:28 GMT+0200 **
[setSyncState] : State: idle

** Thu Sep 21 2017 15:34:29 GMT+0200 **
[JavaScript Error: "Please do not load stuff in the multimessage browser directly, use the SummaryFrameManager instead." {file: "resource://gre/modules/summaryFrameManager.js" line: 84}]
SummaryFrameManager.prototype._onLoad@resource://gre/modules/summaryFrameManager.js:84:9

** Thu Sep 21 2017 15:34:30 GMT+0200 **
[calendarObserver::onLoad] : was loaded.

** Thu Sep 21 2017 15:34:30 GMT+0200 **
[calendarObserver::onLoad] : was loaded.

** Thu Sep 21 2017 15:34:41 GMT+0200 **
[calendarObserver::onLoad] : <Kalender (Arbeit)> was loaded.

** Thu Sep 21 2017 15:34:46 GMT+0200 **
[calendarObserver::onLoad] : <Termine (Allg.)> was loaded.

** Thu Sep 21 2017 15:34:49 GMT+0200 **
[JavaScript Error: "Die Zeichenkodierung des Reintext-Dokuments wurde nicht deklariert. Das Dokument wird in manchen Browser-Konfigurationen mit verstümmeltem Text dargestellt, wenn das Dokument Zeichen außerhalb des US-ASCII-Bereichs enthält. Die Zeichenkodierung der Seite muss im Transferprotokoll deklariert werden oder die Datei muss eine Byte-Order-Markierung als Kodierungssignatur verwenden." {file: "file:///C:/Users/uweh/AppData/Roaming/Thunderbird/Profiles/zjrfeisb.uweh/TbSync/debug.log" line: 0}]

** Thu Sep 21 2017 15:34:49 GMT+0200 **
[JavaScript Error: "Die Zeichenkodierung des Reintext-Dokuments wurde nicht deklariert. Das Dokument wird in manchen Browser-Konfigurationen mit verstümmeltem Text dargestellt, wenn das Dokument Zeichen außerhalb des US-ASCII-Bereichs enthält. Die Zeichenkodierung der Seite muss im Transferprotokoll deklariert werden oder die Datei muss eine Byte-Order-Markierung als Kodierungssignatur verwenden." {file: "file:///C:/Users/uweh/AppData/Roaming/Thunderbird/Profiles/zjrfeisb.uweh/TbSync/debug.log" line: 0}]

** Thu Sep 21 2017 15:34:51 GMT+0200 **
[calendarObserver::onLoad] : was loaded.

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[setSyncState] : State: syncing, Account: uweh

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[setSyncState] : State: requestingprovision, Account: uweh

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[Sending data requestingprovision (WBXML)] :
3 1 6a 0 0 e 45 46 47 48 3 4d 53 2d 45 41 53 2d 50 72 6f 76 69 73 69 6f 6e 69 6e 67 2d 57 42 58 4d 4c 0 1 1 1 1

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[Sending data requestingprovision (XML)] :

MS-EAS-Provisioning-WBXML

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[sending] : POST http://sogo.mz.local/Microsoft-Server-ActiveSync?Cmd=Provision&User=uweh&DeviceType=Thunderbird&DeviceId=mztb989e9766fddb0b6b8e1a3081cca3

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[PolicyKey used] : 0

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[Receiving Data (WBXML)] :
3 1 6a 0 0 e 45 69 3 31 0 1 1

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[Receiving Data (XML)] :

1

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[Extracted XML data] :
Provision =>
AllowHTMLEmail = [1]
Provision <=

** Thu Sep 21 2017 15:35:31 GMT+0200 **
[JavaScript Error: "TypeError: wbxmlData.Provision.Policies is undefined" {file: "chrome://tbsync/content/provider/eas/eas.js" line: 358}]

Could you please help me?

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.