From 4d23f55c9dace5a2a6f90bc1ad1c3e331d002e91 Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:09:07 +1000 Subject: [PATCH 01/11] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c652926..47d39bf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -SFOA – Show F*cking Outlook Appointments for Thunderbird -======================================================== +Show Outlook Appointments (vcal / ics) +====================================== For a long time I did not even know that Outlook silently sends calendar appointments via email and how all this works. In the last year more and more colleagues and customers of my company started using Outlook for appointments and I wondered always about empty emails or emails which do not make sense at all. @@ -13,7 +13,7 @@ As I am not using Lighting and am not willing to install a huge extension only t I hacked together this Thunderbird extension without knowing much about Thunderbird extensions at all. So I copied code from various other exentions and made it work somehow. I could not find any up-to-date tutorials or documentation of the extension api so I only can hope that my code does what it should. -Don't blame me if something goes horribly wrong when using this exension. I did not dive deep into Thunderbird extensions, I did not read RFCs and I don't know if there are any side effects. +Don’t blame me if something goes horribly wrong when using this exension. I did not dive deep into Thunderbird extensions, I did not read RFCs and I don’t know if there are any side effects. Help me by testing, reviewing and supporting this extension. Fork and create merge requests, I am happy to learn and willing to fix my mistakes. @@ -23,7 +23,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI When opening a message the content is scanned for alternative parts. This btw is the reason Thunderbird does not display the calendar entry. Normally an appointment consists of three parts: text, html and calendar which are all marked as alternatives. Therefore according to RFCs only one has to be shown and Thunderbird prefers text or html. -When found, a button "Download ICS" is shown (has to be added by customizing the bar first) and a large image is shown in the header bar of the message. +When found, a button “Download ICS” is shown (has to be added by customizing the bar first) and a large image is shown in the header bar of the message. ![Screenshot](/images/bar.png?raw=true "Message bar with button and image") @@ -33,19 +33,19 @@ Either click the button or the image to save the ICS file in your temp directory ### Tested Platforms -This addon has been currently tested only on Linux using Thunderbird 60.3.0 64bit. Let me know if it works on your system. +This addon has been currently tested only on Linux using Thunderbird 60.3.0 64-bit. Let me know if it works on your system. ### Installing -Just install the latest XPI from the dist folder by using "Install Add-On From File" in Thunderbird in the addons tab. +Just install the latest XPI from the dist folder by using "Install Add-On From File" in Thunderbird in the `Add-ons Manager` tab. After installing only the banner hint for an ICS attachment will be shown. To add the corresponding button to the tab bar, you have to customize the buttons by right clicking. Then drag and drop the blue button at the place you like. -This Addon is also available on https://addons.thunderbird.net/de/thunderbird/addon/sfoa/ +This Add-on is also available on https://addons.thunderbird.net/addon/sfoa/ ### Thanks -Thanks to all the available extensions out there where I could take a look how things work. But a special thanks goes to the "Rescue Conflicting Alternatives" (https://github.com/clear-code/tb-rescue-conflicting-alternatives) extension which was the base for this one. +Thanks to all the available extensions out there where I could take a look how things work. But a special thanks goes to the “Rescue Conflicting Alternatives” (https://github.com/clear-code/tb-rescue-conflicting-alternatives) extension which was the base for this one. ### ToDo @@ -55,7 +55,7 @@ There is so much to do. First this extension needs more testing. I only tested w * Upload to Mozilla Extension DB * Localize * Show folder selector when saving ICS -* ... +* … ### Support Me From e0385a4b07ad12ed7b62e7a6ee968a268fe7c463 Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:13:46 +1000 Subject: [PATCH 02/11] Update chrome.manifest --- src/chrome.manifest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/chrome.manifest b/src/chrome.manifest index ae60229..3145a04 100644 --- a/src/chrome.manifest +++ b/src/chrome.manifest @@ -1,2 +1,7 @@ content sfoa chrome/content/ + +# locale (default listed first, then alphabetically by locale) +locale sofa en-US chrome/locale/en-US/ +locale sofa hu chrome/locale/hu/ + overlay chrome://messenger/content/messenger.xul chrome://sfoa/content/sfoa.xul From 0a23cde8b663ad5d9ff76e847f8266fa036f90df Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:25:08 +1000 Subject: [PATCH 03/11] Update install.rdf --- src/install.rdf | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/install.rdf b/src/install.rdf index 5a41f3c..8891910 100644 --- a/src/install.rdf +++ b/src/install.rdf @@ -3,11 +3,15 @@ sfoa@omoco.de - Show F*cking Outlook Appointments + Show Outlook Appointments + Display embedded Outlook calendar (vcal/ics) attachments 0.2.3 Sebastian Hammerl - A Thunderbird extension to show embedded Outlook calendar parts + Sebastian Hammerl (en-US) + Óvári (hu) chrome://sfoa/content/outlook-appointment-icon.png + + {3550f703-e582-4d05-9a08-453d09bdfdc6} @@ -15,5 +19,16 @@ 60.* + + + + + hu + Outlook-találkozók megjelenítése (Show Outlook Appointments) + A beágyazott Outlook naptár (vcal/ics) mellékletek megjelenítése + + + + From 348876982061a56244d51a559d73c90a9fe047cc Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:37:35 +1000 Subject: [PATCH 04/11] Create sfoa.properties --- src/chrome/locale/en-US/sfoa.properties | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/chrome/locale/en-US/sfoa.properties diff --git a/src/chrome/locale/en-US/sfoa.properties b/src/chrome/locale/en-US/sfoa.properties new file mode 100644 index 0000000..5947502 --- /dev/null +++ b/src/chrome/locale/en-US/sfoa.properties @@ -0,0 +1,2 @@ +toolbar.download.label=Download ICS +toolbar.download.tooltiptext=Download attached Outlook appointment From 11727fe53d51ad759da92fdfdf76bb6e22e1b267 Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:45:12 +1000 Subject: [PATCH 05/11] Create sfoa.properties --- src/chrome/locale/hu/sfoa.properties | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/chrome/locale/hu/sfoa.properties diff --git a/src/chrome/locale/hu/sfoa.properties b/src/chrome/locale/hu/sfoa.properties new file mode 100644 index 0000000..a309784 --- /dev/null +++ b/src/chrome/locale/hu/sfoa.properties @@ -0,0 +1,2 @@ +toolbar.download.label=ICS letöltése +toolbar.download.tooltiptext=Töltse le a csatolt Outlook-találkozók From 916962c6fd0c4acbe6e1c3710d85f6a071602694 Mon Sep 17 00:00:00 2001 From: ovari <17465872+ovari@users.noreply.github.com> Date: Fri, 19 Apr 2019 00:49:17 +1000 Subject: [PATCH 06/11] Update sfoa.xul --- src/chrome/content/sfoa.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chrome/content/sfoa.xul b/src/chrome/content/sfoa.xul index 3549e43..412d23e 100644 --- a/src/chrome/content/sfoa.xul +++ b/src/chrome/content/sfoa.xul @@ -3,7 +3,7 @@