[#350] Merged google.fit backend and plugin #354

Merged
blacklight merged 6 commits from 350-migrate-google-fit into master 2024-01-19 00:31:07 +01:00
Owner

Closes: #350

Closes: #350
blacklight added 5 commits 2024-01-19 00:29:39 +01:00
0d7ac9da78
[Google] Updated documentation of Google plugins.
Expanded explanation of the desktop vs. headless authentication process
and where the credential files are supposed to be copied if the user
opts for a non-automatic authentication flow.
6b89ede091
[Google] Updated authorization flow for Google plugins.
The new authorization flow also requires the user to input a code
returned on the browser's authorization page.

Since the Google authentication libraries seem to use a simple `input()`
to read this code, things are likely to fail quite badly if Platypush is
run in non-interactive mode - e.g. through a systemd service or in a
Docker container.

Thus we need to go with Google's automatic flow only if `DISPLAY` or
`BROWSER` are set (thus the interactive flow can proceed), and throw an
`AssertionError` with the command to execute if no display/browser are
detected.
continuous-integration/drone/push Build is passing Details
8d89c50e55
[#350] Merge `google.fit` backend and plugin.
Closes: #350.
continuous-integration/drone/push Build is passing Details
6009b94b87
Fixed minor docstring typo.
blacklight added 1 commit 2024-01-19 00:29:48 +01:00
continuous-integration/drone/push Build is passing Details
988e6fb92d
Merge branch 'master' into 350-migrate-google-fit
blacklight merged commit a9d6ad528b into master 2024-01-19 00:31:07 +01:00
blacklight deleted branch 350-migrate-google-fit 2024-01-19 00:31:07 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#354
No description provided.