Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[caldav] add oauth #2

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

[caldav] add oauth #2

wants to merge 53 commits into from

Conversation

querdenker2k
Copy link
Owner

adding oauth authentication (e. g. google caldav)
cleanup of caldav-io
add new ical4j lib

adding oauth authentication (e. g. google caldav)
cleanup of caldav-io
add new ical4j lib
@querdenker2k
Copy link
Owner Author

change is already tested by community https://community.openhab.org/t/caldav-google-calendar-problem/9219/80

theoweiss and others added 28 commits November 5, 2016 07:19
… to be adapted). Bugfix: honour retention policy in queries. (openhab#4744)

Signed-off-by: Theo Weiss <[email protected]> (github: theoweiss)
* Introduce a 20s delay before attempting to reconnect once connection
is lost.

* Add Mqttitude binding to OH2 distro

* Change Mqttitude reference to Owntracks

* Include start of mqtt transport bundle
Also replaced a couple occurrences of string concatenation with parameterized log calls.
Signed-off-by: Chris Jackson <[email protected]>
Signed-off-by: Slawomir Jaranowski <[email protected]> (github: slawekjaranowski)
Signed-off-by: Chris Jackson <[email protected]>
Signed-off-by: Slawomir Jaranowski <[email protected]> (github: slawekjaranowski)
* Added UPB Binding. Documentation is at:
https://github.com/openhab/openhab/wiki/UPB-Binding

* added nrjavaserial-3.11.0
improved stability

* Config now correctly parses ids above 127, links are now handled better

* Updated copyright headers, some formatting, and other minor requested
code changes.
Signed-off-by: Slawomir Jaranowski <[email protected]> (github: slawekjaranowski)
* [http] Allow all item types to receive updates

Signed-off-by: John Cocula <[email protected]>

* completed JavaDoc on getState method

Signed-off-by: John Cocula <[email protected]>
* correction of issue openhab#4764

multiple "CATEGORIES" lines can be present in an event. Added a loop to
iterate all of the lines matching (instead of the first line previously)

* code cleanup

- remove commented code
- use camelCase (english) variable names

parameterize old log.error having concatenations
openhab#4787)

keep a whitelist of which command classes it should be applied to.
Eliminate excessive messages during OSGi driver activation.

Closes openhab#4779

Signed-off-by: John Holland [email protected] (github: jotihojr)
…penhab#4790)

* Updated JDBC to allow databases with no username and password.

(see openhab#4671)

* Fix comparison issues noted by @watou.
* Changes:
 * Google OAuth2 support added
 * Calendar API upgraded to v3

* Changes:
 * Google calendar API v3 library added
 * Google OAuth2 library added

* Fixes after review.

* Re-added old jars to avoid error during gcal persistance build

* * logger fixes
* Typo correction
* Old gdata jars re-added - needed for org.openhab.persistence.gcal

* GCal - removed default credentials

* GCal and CGalPersisence fixes:
* Oauth2 support added to GCal Persistence
* Removed com.google.gdata.* packages and libraries
* downloadEventFeed() changed to private
* getCredential() changed to public
* New public getCalendarId()
* Changed loging to debug for new job creation
* Fix for removing scheduler in GCalPersistenceService
* Calendar time zone support added

* GCal:
* moved credential management to separate class

* GCal new class for credential management

* GCal minor changes in comments
* AWS update to 1.11.56

* [dynamodb] README updates
* [Plugwise] Reliability improvements

Improves the binding reliability by:
* making sure CR is followed by LF when reading incoming packets, which
should result in less protocol message errors
* polling max 1 second for AcknowledgeMessages so the SendThread does
not wait indefinitely when ACKs get lost

Signed-off-by: Wouter Born <[email protected]>

* Use JLS modifier order

Signed-off-by: Wouter Born <[email protected]>
watou and others added 24 commits November 21, 2016 12:02
Since no explicit service.pid was being specified in gpiobinding.xml, I *think* it had been defaulting to Service Component name `org.openhab.binding.gpio.gpiobinding` (according to [“it will be also used as a service PID in case the component implements a service or its properties are exported for configuration in the OSGi Configuration Admin service”](http://dz.prosyst.com/pdoc/mBS_SDK_7.2.0/um/runtime/osgi/docs/framework/bundles/osgi/scr/scr.html#elements)).

So the choice taken here was to change the binding to use the convention used by other 1.x bindings of explicitly setting the service PID in the SCR to `org.openhab.<id>`.  The alternative approach would be to have the ESH config metadata reference the existing default service PID instead of setting it explicitly in the SCR .xml file, but it made more sense to me to make this 1.x binding like the others.
* applied the ESH code-cleanup rules

* added new tags for Waterkotte Ecotouch

* added new tags for Waterkotte Ecotouch

renamed command "heatTempCurrent" to "tempSet0Deg"

* Add the ecotouch binding to the OH2 distro

* let the UI mask the password

* fix UI config
[dmx] allow newline and tab inside of dmx binding config
…gnoring the message "Not a valid id on the bridge: {bridge}" is logged. (openhab#4822)

Signed-off-by: Martin van Wingerden <[email protected]>
Signed-off-by: Chris Jackson <[email protected]>
adding oauth authentication (e. g. google caldav)
cleanup of caldav-io
add new ical4j lib
# Conflicts:

#	bundles/binding/org.openhab.binding.caldav-personal/src/main/java/org/openhab/binding/caldav_personal/internal/CalDavBindingProviderImpl.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/CalDavLoaderImpl.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/OAuthUtil.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/RuntimeData.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/exception/OAuthException.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/job/EventReloaderJob.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/model/CalendarFile.java

#	bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/model/CalendarRuntime.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.