Commit 664401de authored by Adrien Dorsaz's avatar Adrien Dorsaz

Update upstream source from tag 'upstream/4.0.0-beta5'

Update to upstream version '4.0.0-beta5'
with Debian dir c6e94e0158d98832af9252cdd463b579cb030fe2
parents 44d6ec9c c03902aa

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
# Change Log
All notable changes to this project will be documented in this file.
## [4.0.0-beta5] - 2018-01-28
### Added
- Code beautifiers are available for JavaScript, XML, XUL and RDF files
- Translations are now managed with the Transifex tools.
You can participate with our [Transifex project](https://www.transifex.com/exchangecalendar/exchangecalendar/)
- New locales: cs-CZ, pl, sk
- Thunderbird Global Search preferences to explain that emailtag need them and won't work if disabled.
### Changed
- Use Makefile instead of custom build shell (#98)
- Update install.rdf, README with new community
- Builds now will disable automatic update checker to avoid issue with new forks
- XML requests sent to Exchange servers now set "utf-8" for Content-Type HTTP header.
- Logs now redirects to ExchangeCalendar Github community (#92)
- Code tree has been structured to distinguish parts of the module (#80)
Current parts are now: addressbook, calendar, common and emailtag
Namespaces were updated too to reflect the new code structure.
### Fixed
- Compatibilty with Lightning 5.4.2 and the new option to edit events and tasks from tabs (#60)
- Some events were hidden from month view due to TimeZone errors (#67)
- Hide password in logs if requested (#100)
- Hide password shown in dialog boxes (#103)
### Removed
- `email` root directory contained only empty codes.
- debug preferences were always enabled, they are now removed (#133)
It was disabling cache and forced the Thunderbird Global Search Indexer to be enabled.
## [4.0.0-beta4] - 2017-07-03
### Added
- Turkish localization #43, #44, #46
......@@ -28,7 +57,21 @@ All notable changes to this project will be documented in this file.
## [4.0.0-beta2] - 2017-06-10
### Fixed
- Opening and working with Attachment dialog #12
- Event/Item editor dialog:
- Default toolbar now uses "Save and close" button as in vanilla Lightning #9
- Attendees dialog is now managed by Lightning directly
- Opening and working with Attachment dialog #12
### Known bugs
- Event/Item editor dialog:
- Some times, the HTML editor for task content is frozen and nothing can be edited.
A workaround is to close the task and open it again.
## [4.0.0-beta1] - 2017-05-29
First pre-release under new project and community.
This release should primarily address issues with Thunderbird 52 and Lightning 5.4.
## [3.9.0] - unknown release date
- Stable Release
......
Exchange Calendar is an **add-on for Thunderbird and Lightning** that provides **Exchange calendar support**.
## Introduction
Exchange Calendar is an add-on for [Thunderbird](https://mozilla.org/thunderbird)
and [Seamonkey](https://www.seamonkey-project.org/).
It extends the [Lightning](https://mozilla.org/calendar) add-on to provide
[Microsoft Exchange](http://microsoft.com/exchange) support.
Exchange Calendar extension can:
* Synchronize calendars, tasks, and contacts with a Microsoft Exchange server.
* Create, edit and update events and tasks.
* Display contacts from your address books and the global address list
(they are only readable, they are usable with address autocompletion).
* Manage the Exchange « out of office » feature.
This extension requires:
* Lightning extension corresponding to the Thunderbird release.
* The Exchange server has to provide an Exchange Web Service.
This extension was developed by its original author (Michel Verbraak) for
Exchange 2007, 2010 and 2013.
The ExchangeCalendar community is now maintaining this extension. Support is
best effort and cannot be guaranteed. Contributions are welcome.
## Contributing
This add-on is open-source and based on the work of many [contributors](https://github.com/ExchangeCalendar/exchangecalendar/graphs/contributors).
### Installing developement tools
You will need to install Dom Inspector, Javascript Debugger and some other development tools. Fortunately `Thunderbird addons` makes it easy to install all of these:
Now using bash we'll compile the addon we need (which are written in wiki)
This add-on is open source and based on the work of many
[contributors](https://github.com/ExchangeCalendar/exchangecalendar/graphs/contributors).
This project is a community driven effort to develop and maintain the
"Exchange EWS Provider" extension originally created by Michel Verbraak.
### Provide feedback, report issue
You are welcome to provide feedback on our Github project:
https://github.com/ExchangeCalendar/exchangecalendar
Please note that the project is built only for latest stable Thunderbird release
and latest stable Lightning release.
The more information you can provide about an issue, the easier it becomes to
reproduce and fix. Examples of helpful informations are:
* Thunderbird version
* Lightning version
* Active Thunderbird add-ons
* Log output
### Get project and build it
cd ./exchangecalendar_master; chmod +x ./build.sh; ./build.sh;
To build the add-on, you have to:
```bash
# clone this project
git clone https://github.com/ExchangeCalendar/exchangecalendar.git
cd exchangecalendar
# build it
make build
```
Then an `xpi` file is created in the project folder.
This file is directly installable from the add-on page of Thunderbird.
If it doesn't work, please check you have these tools installed (example for
Debian):
```bash
sudo apt install git-core zip
```
### Patch the code
To help us to maintain the code, we will be thankful to follow these main
guidelines:
* Use indentation with 4 spaces
* Avoid too long lines, try to break long lines into smaller ones
* Avoid to write "spaghetti" code with too many if/else imbrications
* Try to keep code simple to help us maintain it on long term
Note that our `Makefile` has a `beautify` target which will try to beautify
all JavaScript (requires `jsbeautifier` Debian package) and XML code
(requires `tidy` package) to help maintain a clean code.
When your patches are ready, you are welcome to do pull requests on our
repository.
Please help us to review your code by making multiple small pull
requests instead of big ones modifying big parts of the code.
### Translate
You are welcome to provide translation updates on our Transifex project:
https://www.transifex.com/ExchangeCalendar/exchangecalendar
## License
This software is licensed under the [GNU GPL] Version 3
[GNU GPL]: http://www.gnu.org/licenses/gpl.html
This software is provided on a best-effort basis without any warranty.
Please see the [license](http://www.gnu.org/licenses/gpl.html)
for details.
Some of the icons and images used are from the Fugue Icons Collection made
by [Yusuke Kamiyamane](http://p.yusukekamiyamane.com/).
/* ***** BEGIN LICENSE BLOCK *****
* Version: GPL 3.0
*
* The contents of this file are subject to the General Public License
* 3.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.gnu.org/licenses/gpl.html
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* -- Exchange 2007/2010 Contacts.
* -- For Thunderbird.
*
* Author: Michel Verbraak (info@1st-setup.nl)
* Website: http://www.1st-setup.nl/wordpress/?page_id=xx
* email: exchangecontacts@extensions.1st-setup.nl
*
*
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");