platypush/platypush
Fabio Manganiello e022712b7b [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.
2024-01-18 23:31:27 +00:00
..
app Added cachedir to configuration. 2023-10-09 01:33:44 +02:00
backend [#347] Merge kafka backend and plugin. 2024-01-18 01:28:56 +00:00
builder Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
bus Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
commands Removed typing-extensions dependency. 2023-09-18 14:05:39 +02:00
common Marshmallow has replaced field.default with field.dump_default. 2024-01-05 02:56:10 +01:00
config Updated reference configuration sample for alarm. 2023-12-18 14:05:35 +01:00
context [#302] Merged pushbullet backend and plugin. 2024-01-09 23:46:07 +00:00
cron Added wait_stop method to the entities engine and cron scheduler. 2023-08-14 23:49:47 +02:00
entities [alarm] Added media_repeat configuration. 2023-12-18 13:46:45 +01:00
event Removed dependency from prctl. 2023-07-23 19:17:30 +02:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
install Reduced Docker images to a single layer. 2024-01-15 21:54:22 +01:00
message [#347] Merge kafka backend and plugin. 2024-01-18 01:28:56 +00:00
migrations Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
platydock Added Fedora to the available Docker base images. 2023-09-22 19:02:13 +02:00
platyvenv [platyvenv] Add the venv bin directory to the PATH. 2023-10-22 02:28:31 +02:00
plugins [Google] Updated authorization flow for Google plugins. 2024-01-18 23:31:27 +00:00
procedure Several improvements for request/procedure execution. 2024-01-04 13:13:16 +01:00
process Removed typing-extensions dependency. 2023-09-18 14:05:39 +02:00
runner Ensure that the application always terminates on Ctrl+C. 2023-10-22 02:33:15 +02:00
schemas [#302] Merged pushbullet backend and plugin. 2024-01-09 23:46:07 +00:00
user LINT/format fixes. 2023-04-25 10:36:27 +02:00
utils New components cache management. 2024-01-06 22:21:59 +01:00
__init__.py Expose run on the base package level. 2023-11-03 20:54:46 +00:00
__main__.py The __main__ function should take no arguments. 2023-08-17 01:35:39 +02:00
cli.py [WIP] Large refactor of the inspection plugin and models. 2023-10-09 01:33:44 +02:00
components.json.gz [Automatic] Updated components cache 2024-01-18 23:29:13 +00:00
logger.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00