Fabio Manganiello
f28f08dd1a
Keep the main menu open on page load by default on >= desktop
2022-11-26 01:15:03 +01:00
Fabio Manganiello
fecd96f64c
Solved issue with main menu shrinking a bit when the main panel has too much wide content
2022-11-26 00:32:11 +01:00
Fabio Manganiello
33cc055249
Switched expanded main menu to light colors
2022-11-26 00:31:36 +01:00
Fabio Manganiello
a57e67b96f
Better style for the settings' users and token panels
2022-11-25 23:16:16 +01:00
Fabio Manganiello
21c1c96f2e
Use Dropdown for the settings menu
2022-11-25 23:15:41 +01:00
Fabio Manganiello
292ed2abff
Better style for dropdown items.
...
- Larger icon div to prevent text overlapping with icons
- Support for `selected` class
2022-11-25 23:14:28 +01:00
Fabio Manganiello
73f6712f7a
Bump version: 0.23.6 → 0.24.0
2022-11-22 00:12:25 +01:00
Fabio Manganiello
c0dd91838b
Merge branch 'master' into 29-generic-entities-support
2022-11-21 22:13:47 +01:00
Fabio Manganiello
d95baac74e
Add user credentials on the encrypted JWT token.
...
Adding the credentials ensures that tokens associated to non-existing
users, or users with an invalid password, won't be accepted, even if
they were correctly encrypted using the host's keypair.
This adds an additional layer of security in case the host's keypair
gets compromised.
2022-11-21 13:16:09 +01:00
Fabio Manganiello
98d7c95aa7
Removed two unrequired `return` statements
2022-11-21 13:04:48 +01:00
Fabio Manganiello
ba1681fc22
Merge branch 'master' into 29-generic-entities-support
2022-11-21 12:36:01 +01:00
Fabio Manganiello
a2c8e27bd8
Removed PyJWT dependency.
...
PyJWT is a very brittle and cumbersome dependency that expects several
cryptography libraries to be already installed on the system, and it can
lead to hard-to-debug errors when ported to different systems.
Moreover, it installs the whole `cryptography` package, which is several
MBs in size, takes time to compile, and it requires a Rust compiler to
be present on the target machine.
Platypush will now use the Python-native `rsa` module to handle JWT
tokens.
2022-11-21 12:30:38 +01:00
Fabio Manganiello
02f89258b8
FIX: Task.set_name only works on Python >= 3.8
2022-11-21 09:49:57 +01:00
Fabio Manganiello
ae17a12c12
FIX: `UserManager.get_users`
...
`UserManager.get_users` should not return a reference to the query
object, since the query object will be invalidated as soon as the
connection is closed.
Instead, it should return directly the list of `User` objects.
2022-11-21 00:57:00 +01:00
Fabio Manganiello
e579fb3417
Don't display sensors with null value
2022-11-21 00:05:19 +01:00
Fabio Manganiello
b9e6614b04
Added support for `EnumSensor` entities
2022-11-21 00:04:07 +01:00
Fabio Manganiello
d171000a0e
Initial support for sensor entities in `zwave.mqtt`
2022-11-14 22:08:15 +01:00
Fabio Manganiello
a7bc4f443c
Imports order
2022-11-14 21:30:43 +01:00
Fabio Manganiello
45d0e4445b
Sorted entity type names
2022-11-14 00:46:58 +01:00
Fabio Manganiello
96ce4729f9
Updated webapp dist files
2022-11-14 00:46:40 +01:00
Fabio Manganiello
b7757d17cc
Updated webapp dist files
2022-11-14 00:06:41 +01:00
Fabio Manganiello
7fac5392b8
Blink entities only if their values have actually changed
2022-11-13 23:52:21 +01:00
Fabio Manganiello
211372e472
Added support for dimmers on `zigbee.mqtt`
2022-11-13 18:48:36 +01:00
Fabio Manganiello
833d908a32
Blink entities body upon update
2022-11-13 01:39:40 +01:00
Fabio Manganiello
24f5a8283c
Added `PRAGMA foreign_keys = ON` before deleting entities on SQLite
...
SQLite doesn't enable foreign keys cascade on delete by default.
2022-11-13 01:18:45 +01:00
Fabio Manganiello
f90d84a3d4
Don't wait for UI updates for entities that are not queriable
2022-11-13 00:54:37 +01:00
Fabio Manganiello
fb594cb8b1
Updated webapp dist files
2022-11-12 16:31:35 +01:00
Fabio Manganiello
69e097707d
Don't lock read session from the main database
2022-11-12 16:10:57 +01:00
Fabio Manganiello
86edd70d93
Fixed session/concurrency management on the main SQLite db
...
- The `declarative_base` instance should be shared
- Database `session_locks` should be stored at module, not instance
level
- Better isolation of scoped sessions
- Enclapsulated `get_session` method in `UserManager`
2022-11-12 15:36:17 +01:00
Fabio Manganiello
bfeb0a08c4
Encapsulate `_get_session` in `EntityManager`
2022-11-12 15:14:10 +01:00
Fabio Manganiello
8450129858
LINT fixes
2022-11-12 11:39:12 +01:00
Fabio Manganiello
8a894d0989
`user_manager` should be a global object instead of being initialized on-demand
2022-11-12 11:38:40 +01:00
Fabio Manganiello
6b7933cd33
Using a different SQLite database for entities
...
This prevents multiprocessing/concurrency issues when modifying the same
database file both from the main process and from the web server process
2022-11-12 02:00:55 +01:00
Fabio Manganiello
3fc94181b7
LINT fixes
2022-11-11 22:02:36 +01:00
Fabio Manganiello
26f869b6e4
LINT fixes
2022-11-11 21:49:38 +01:00
Fabio Manganiello
02a4c9f667
Added is_query_disabled attribute to entities
2022-11-11 20:40:36 +01:00
Fabio Manganiello
84bb77bd5b
Replaced ambiguous logger variable name
2022-11-11 20:37:39 +01:00
Fabio Manganiello
00a43dd1f8
Implemented `EnumSwitch` entity type
...
Done for `zigbee.mqtt`, other plugins will follow
2022-11-11 01:46:38 +01:00
Fabio Manganiello
801ed05684
Added support for binary sensors (in zigbee.mqtt for now)
2022-11-05 01:47:50 +01:00
Fabio Manganiello
6454f9d018
Propert snake case -> camel case conversion for backend entities -> frontend components
2022-11-04 22:53:24 +01:00
Fabio Manganiello
0f19104512
Improved zigbee.mqtt node property queries.
...
Now handling cases of nodes with values having multiple levels (> 1) of
nested properties.
2022-11-04 22:51:40 +01:00
Fabio Manganiello
5ca3c06f96
Normalize device names in set_lights
2022-11-02 23:32:21 +01:00
Fabio Manganiello
d5f8d55b4b
Fixed zigbee.mqtt light entity conversion
2022-11-02 23:07:12 +01:00
Fabio Manganiello
636d1ced3a
A more robust way of splitting devices provided in the <ieee_address:value> format
2022-11-02 22:49:19 +01:00
Fabio Manganiello
7db84acd34
Notify of entity scan timeouts on the console instead of creating tons of notifications
2022-11-02 22:24:06 +01:00
Fabio Manganiello
02abef71e3
Fixes for zigbee devices polling
...
- Don't publish a `get` request if the device has no exposed queriable
attributes.
- Perform the recursive build of the `get` request payload before
checking for the `access` attribute.
2022-11-02 21:54:47 +01:00
Fabio Manganiello
64513be6b8
Initial implementation of sensor entities.
...
Implemented (at least in `zigbee.mqtt`, for now):
- `TemperatureSensor`
- `HumiditySensor`
- `VoltageSensor`
- `CurrentSensor`
- `EnergySensor`
- `PowerSensor`
- `NumericSensor` (generic fallback 1)
- `RawSensor` (generic fallback 2)
- `Sensor` (root class)
2022-11-02 16:38:17 +01:00
Fabio Manganiello
440cd60d6e
A (slightly) smarter way to infer the plural spelling of singular entity names
2022-11-02 16:35:20 +01:00
Fabio Manganiello
3d1a08f7af
Changed default entity grouping on the frontend.
...
Changed from `type` to `category`, which is basically the `name_plural`
attribute of the associated entity type metadata.
This allows us to define distinct entity metadata entries that we still
want to share the same grouping - for instance, `temperature_sensor`,
`humidity_sensor` and `battery` should all be grouped under `Sensors` on
the frontend.
2022-11-02 16:33:12 +01:00
Fabio Manganiello
68dd09e8ae
Removed unused `expanded` data attribute
2022-11-02 16:31:50 +01:00
Fabio Manganiello
d7214c4c83
Fix for `No converter available` warnings on zigbee2mqtt
...
Only include readable (not state-only) properties on the payload sent to
to `zigbee2mqtt/<device>/get`.
2022-10-31 00:51:26 +01:00
Fabio Manganiello
a1cf671334
Added support for link_quality entities to `zigbee.mqtt`
2022-10-30 11:03:22 +01:00
Fabio Manganiello
78dc8416fb
Snake case -> camel case for backend -> frontend entity types conversion
2022-10-30 11:01:46 +01:00
Fabio Manganiello
691d109fb7
Expunge entities after session commit to ensure that the ORM objects can be reused
2022-10-30 11:00:09 +01:00
Fabio Manganiello
71ccf6d04a
Support for battery sensors on zigbee.mqtt
2022-10-29 18:16:38 +02:00
Fabio Manganiello
42651e937b
LINT fixes on zigbee.mqtt plugin
2022-10-29 14:09:44 +02:00
Fabio Manganiello
d61b053f72
Support for battery entities
2022-10-29 13:38:42 +02:00
Fabio Manganiello
cdacf50fc7
Support for decimal.Decimal type JSON serialization
2022-10-29 13:35:52 +02:00
Fabio Manganiello
b8215d2736
A more robust cron start logic
...
If may happen (usually because of a race condition) that a cronjob has
already been started, but it hasn't yet changed its status from IDLE to
RUNNING when the scheduler checks it.
This fix guards the application against such events. If they occur, we
should just report them and move on, not terminate the whole scheduler.
2022-10-27 10:45:59 +02:00
Fabio Manganiello
486cd66885
More LINTs
2022-10-23 21:23:19 +02:00
Fabio Manganiello
72c7444a45
LINT
2022-10-23 18:23:20 +02:00
Fabio Manganiello
951950c864
Added dimmer entities
2022-10-23 00:30:32 +02:00
Fabio Manganiello
d7278857e5
Ensure that no records with duplicate key exist within an SQLAlchemy session before flushing
2022-10-23 00:28:42 +02:00
Fabio Manganiello
3e6ebdd23b
Don't store/show the state of write-only toggle switches
2022-10-23 00:28:01 +02:00
Fabio Manganiello
8cd5cb3338
The Slider should only react to @input events
2022-10-23 00:26:59 +02:00
Fabio Manganiello
1af7ece881
Added deprecation notice for `zwave` plugin and backend (use `zwave.mqtt` instead)
2022-10-22 19:17:58 +02:00
Fabio Manganiello
5c68365188
Better management for entity error icons
2022-10-14 23:37:36 +02:00
Fabio Manganiello
7f575bacaa
Implemented the new zwavejs2mqtt features for adding and removing nodes
2022-10-14 23:28:02 +02:00
Fabio Manganiello
5995d045e1
Merge branch 'master' into 29-generic-entities-support
2022-10-14 20:57:13 +02:00
Fabio Manganiello
a5db599268
FIX: Skip empty lines on `config.include`
2022-10-14 20:56:18 +02:00
Fabio Manganiello
c89ed24f4b
Updated webapp dist files
2022-10-12 03:07:17 +02:00
Fabio Manganiello
1b791156bd
Proper support for color zigbee lights
2022-10-12 03:00:42 +02:00
Fabio Manganiello
e617fc75d4
Fixed slider ranges and label
2022-10-12 02:59:50 +02:00
Fabio Manganiello
041f64c80f
Dirty workaround to prevent redefinition of SQLAlchemy ORM model classes
2022-10-10 01:38:15 +02:00
Fabio Manganiello
aa5b52db2f
FIX: Still redirect to /register by default if no users have been created
2022-10-10 01:36:28 +02:00
Fabio Manganiello
5f09d449f4
`extend_existing=True` for entity tables
2022-10-09 23:15:50 +02:00
Fabio Manganiello
6ec8a991df
Fixed tests
2022-10-08 15:18:26 +02:00
Fabio Manganiello
958ef6b987
Better entity modal padding
2022-10-07 11:12:30 +02:00
Fabio Manganiello
16c55b45f6
updated dist files
2022-10-07 11:12:13 +02:00
Fabio Manganiello
b9b7404230
Web panel improvements.
...
- Don't return a redirect to the login page if an authentication failed
over a JSON endpoint - instead, return a JSON payload with the error.
- Added support for additional fonts.
- Re-designed the login/registration page.
- Updated caniuse database.
2022-10-07 02:24:29 +02:00
Fabio Manganiello
c0ffea681f
updated dist files
2022-10-07 02:23:12 +02:00
Fabio Manganiello
2cc80e7f16
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-10-07 00:05:54 +02:00
Fabio Manganiello
b88983f055
Added `qos` argument to `mqtt.publish`.
2022-10-05 01:13:47 +02:00
Fabio Manganiello
fed7c2c6ff
Fixed typo in schema path
2022-09-30 11:30:57 +02:00
Fabio Manganiello
1d78c3e753
FIX: Broken docstring
2022-09-30 10:56:08 +02:00
Fabio Manganiello
ae226a5b01
Added `tts.mimic3` integration.
...
Closes : #226
2022-09-30 10:51:17 +02:00
Fabio Manganiello
fef7aff245
LINT fixes for mpv plugin
2022-09-30 10:41:56 +02:00
Fabio Manganiello
82ab7face2
A more robust logic to detect the webserver local bind address
2022-09-30 03:10:37 +02:00
Fabio Manganiello
4bab9d2607
[ #224 ] Implemented Wallabag integration
2022-09-29 10:51:16 +02:00
Fabio Manganiello
deb25196d2
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-09-28 02:17:10 +02:00
Fabio Manganiello
a0575ed6de
Bump version: 0.23.5 → 0.23.6
2022-09-19 20:41:02 +02:00
Fabio Manganiello
09baceab4b
Include album_id and the list of tracks in music.tidal.get_album
2022-09-19 20:39:21 +02:00
Fabio Manganiello
c2a3f2f4f3
Bump version: 0.23.4 → 0.23.5
2022-09-18 19:55:05 +02:00
Fabio Manganiello
36dd645209
Use session.playlist instead of session.user.playlist to query playlists
2022-09-18 06:04:53 +02:00
Fabio Manganiello
61cda60751
Proper implementation for Tidal's add_to_playlist and remove_from_playlist methods
...
- Using tidalapi's `UserPlaylist.add` and `UserPlaylist.delete` methods
instead of defining my own through `_api_request`, so we won't have to
deal with the logic to set the ETag header.
- Added `remove_from_playlist` method.
2022-09-18 05:22:12 +02:00
Fabio Manganiello
7c610adc84
FIX: Apply expanduser to the credentials_file setting in music.tidal
2022-09-17 06:30:20 +02:00
Fabio Manganiello
a9ebb4805a
Fixed doc warnings
2022-09-17 06:25:28 +02:00
Fabio Manganiello
e1aa214bad
tidal-integration ( #223 )
...
Reviewed-on: #223
2022-09-16 21:48:09 +02:00
Fabio Manganiello
41acf4b253
Generate event ID as true random strings, not MD5 hashes of UUIDs
2022-09-05 03:08:39 +02:00
Fabio Manganiello
c77746e278
If the output of a hook is null, make sure to normalize it an empty string before pushing it to Redis
2022-09-04 16:16:02 +02:00
Fabio Manganiello
4682fb4210
Throw an assertion error when on_duplicate_update is specified on db.insert with no key_columns
2022-09-04 16:02:37 +02:00
Fabio Manganiello
0143dac216
Improved support for bulk database statements
...
- Wrapped insert/update/delete operations in transactions
- Proper (and much more efficient) bulk logic
- Better upsert logic
- Return inserted/updated records if the engine supports it
2022-09-04 13:30:35 +02:00
Fabio Manganiello
a90aa2cb2e
Make sure that a webhook function never returns a null response
2022-09-04 00:52:41 +02:00
Fabio Manganiello
1ea53a6f50
Support for query placeholders in `db.select`
2022-09-04 00:28:08 +02:00
Fabio Manganiello
61c96612bc
Merge branch 'master' into 219-opml-import-export
2022-09-02 00:23:57 +02:00
Fabio Manganiello
6c6e68b512
Added support for OPML import and export in the RSS plugin.
...
[closes #219 ]
2022-09-02 00:21:40 +02:00
Fabio Manganiello
a286cf5000
Updated PopcornTime base URL
2022-09-01 11:13:16 +02:00
Fabio Manganiello
c5b12403d0
Implemented support for returning richer HTTP responses on webhooks.
...
A `WebhookEvent` hook can now return a tuple in the format `(data,
http_code, headers)` in order to customize the HTTP status code and the
headers of a response.
2022-09-01 01:37:18 +02:00
Fabio Manganiello
96b2ad148c
A smarter way of building and matching the event condition
2022-08-31 02:19:21 +02:00
Fabio Manganiello
67413c02cd
Handle the case where the condition is a serialized dictionary
2022-08-31 01:55:21 +02:00
Fabio Manganiello
db45d7ecbf
FIX: More robust logic against section configurations that may not be maps
2022-08-31 01:27:53 +02:00
Fabio Manganiello
a675fe6a92
Updated CHANGELOG
2022-08-31 00:49:08 +02:00
Fabio Manganiello
c3fa3315f5
Implemented synchronization with webhook responses.
...
When a client triggers a `WebhookEvent` by calling a configured webhook
over `/hook/<hook_name>`, the server will now wait for the configured
`@hook` function to complete and it will return the returned response
back to the client.
This makes webhooks much more powerful, as they can be used to proxy
HTTP calls or other services, and in general return something to the
client instead of just executing actions.
2022-08-30 23:35:19 +02:00
Fabio Manganiello
1880a99052
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-08-29 01:41:47 +02:00
Fabio Manganiello
e08947a3b7
Merge pull request #311 from BlackLight/dependabot/npm_and_yarn/platypush/backend/http/webapp/terser-5.14.2
...
Bump terser from 5.12.1 to 5.14.2 in /platypush/backend/http/webapp
2022-08-29 00:59:55 +02:00
Fabio Manganiello
6d63d2fc74
Merge pull request #305 from BlackLight/dependabot/npm_and_yarn/platypush/backend/http/webapp/shell-quote-1.7.3
...
Bump shell-quote from 1.7.2 to 1.7.3 in /platypush/backend/http/webapp
2022-08-29 00:59:19 +02:00
Fabio Manganiello
540a7d469e
- Fixed documentation errors and warnings
...
- Split Matrix integration into `plugin` and `client` files.
2022-08-29 00:55:46 +02:00
Fabio Manganiello
b11a0e8bbb
Bump version: 0.23.3 → 0.23.4
2022-08-28 15:27:54 +02:00
Fabio Manganiello
c417d2f692
Implemented last Matrix integration features.
...
- Added presence, typing and seen receipt events.
- Added set display_name and avatar methods.
2022-08-28 15:17:11 +02:00
Fabio Manganiello
e479ca7e3e
Completing the Matrix plugin integration
...
Newly implemented actions:
- `get_messages`
- `get_room_members`
- `update_device`
- `delete_devices`
- `room_alias_to_id`
- `add_room_alias`
- `delete_room_alias`
- `kick`
- `ban`
- `unban`
- `forget`
2022-08-28 12:26:27 +02:00
Fabio Manganiello
0e3cabc5f6
Support `attribute` parameter on `Function` schema fields.
2022-08-28 11:55:30 +02:00
Fabio Manganiello
d890b6cbe8
Added create_room action
2022-08-27 23:26:42 +02:00
Fabio Manganiello
912168626c
Added join_room, leave_room and invite_to_room and extended handling on invitation events
2022-08-27 21:50:48 +02:00
Fabio Manganiello
513195b396
Implemented support for file upload
2022-08-27 15:12:50 +02:00
Fabio Manganiello
48ec6ef68b
Implemented proper support for encrypted media and added download method
2022-08-26 23:48:29 +02:00
Fabio Manganiello
e4eb4cd7dc
More granular control over trusted devices, and added global synchronization event
2022-08-25 00:34:01 +02:00
Fabio Manganiello
550f026e13
Cleaner logging for assertion errors in plugin actions
2022-08-25 00:30:53 +02:00
Fabio Manganiello
c89c712928
Fixed device trust process
2022-08-24 01:49:43 +02:00
Fabio Manganiello
05908e1a77
Fixing key verification process
2022-08-17 10:28:31 +02:00
Fabio Manganiello
c04bc8d2bc
The matrix plugin joins the AsyncRunnablePlugin family too
2022-08-15 02:18:29 +02:00
Fabio Manganiello
2797ffbe53
The websocket plugin now extends AsyncRunnablePlugin too
2022-08-15 02:18:29 +02:00
Fabio Manganiello
770a14daae
ntfy plugin migrated to AsyncRunnablePlugin.
...
This commit removes a lot of the loop management boilerplate.
2022-08-15 02:18:29 +02:00
Fabio Manganiello
dba03d3e33
Added AsyncRunnablePlugin class.
...
This class handles runnable plugins that have their own asyncio event
loop, without the pain usually caused by the management of multiple
threads + asyncio loops.
2022-08-15 02:18:28 +02:00
Fabio Manganiello
f4672ce5c3
Refactored concurrency model in ntfy plugin
2022-08-15 02:18:28 +02:00
Fabio Manganiello
9e2b4a0043
Removed references to deprecated websockets attributes
2022-08-15 02:18:28 +02:00
Fabio Manganiello
dc7ba881f1
Merge branch 'master' into matrix-integration
2022-08-12 14:39:13 +02:00
Fabio Manganiello
4e1e6da67e
Added recv action on websocket plugin
2022-08-12 14:16:01 +02:00
Fabio Manganiello
354f3906f9
Changed autojoin_on_invite default value
2022-08-12 00:11:15 +02:00
Fabio Manganiello
7ab02e705d
Removed redundant _action_wrapper decorator
2022-08-05 19:04:43 +02:00
Fabio Manganiello
99de5318ff
Merge pull request #313 from BlackLight/snyk-upgrade-58f5a7acf019c661bec911d06f0bf10a
...
[Snyk] Upgrade core-js from 3.21.1 to 3.23.4
2022-08-05 13:26:25 +02:00
Fabio Manganiello
b3bab9b1d8
Merge pull request #314 from BlackLight/snyk-upgrade-9823d0f9eee2d94f4547598322ba6a48
...
[Snyk] Upgrade vue-router from 4.0.14 to 4.1.2
2022-08-05 13:26:07 +02:00
Fabio Manganiello
55602cc282
Merge branch 'master' into snyk-upgrade-30cde2b595c9da96da481c691c0964d5
2022-08-05 13:05:25 +02:00
snyk-bot
3d5fc9a10b
fix: upgrade sass-loader from 10.2.1 to 10.3.1
...
Snyk has created this PR to upgrade sass-loader from 10.2.1 to 10.3.1.
See this package in npm:
https://www.npmjs.com/package/sass-loader
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-04 20:31:51 +00:00
snyk-bot
be4dd48d76
fix: upgrade sass from 1.49.9 to 1.53.0
...
Snyk has created this PR to upgrade sass from 1.49.9 to 1.53.0.
See this package in npm:
https://www.npmjs.com/package/sass
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-04 20:31:45 +00:00
snyk-bot
bd21779a17
fix: upgrade vue-router from 4.0.14 to 4.1.2
...
Snyk has created this PR to upgrade vue-router from 4.0.14 to 4.1.2.
See this package in npm:
https://www.npmjs.com/package/vue-router
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-04 20:31:33 +00:00
snyk-bot
58afc1090c
fix: upgrade core-js from 3.21.1 to 3.23.4
...
Snyk has created this PR to upgrade core-js from 3.21.1 to 3.23.4.
See this package in npm:
https://www.npmjs.com/package/core-js
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-04 20:31:28 +00:00
Fabio Manganiello
cbe2e7bbfe
[WIP]
2022-08-04 03:08:54 +02:00
Fabio Manganiello
c17d0080b5
Merge branch 'master' into matrix-integration
2022-08-04 02:14:22 +02:00
Fabio Manganiello
7c87238fec
match_condition should return immediately (no score-based fuzzy search) if an event condition is an exact match
2022-08-04 01:04:00 +02:00
Fabio Manganiello
55671f4aff
If a request on a RunnablePlugin throws an exception then we should also restart the plugin upon reload
...
Plus some Black/LINT chores
2022-07-25 00:41:08 +02:00
Fabio Manganiello
c32142c8b5
Added wait_stop() method to RunnablePlugin
2022-07-23 17:33:23 +02:00
Fabio Manganiello
32be4df11c
More robust way to retrieve an object's attribute on schemas
2022-07-23 17:32:14 +02:00
dependabot[bot]
c7927a3d2f
Bump terser from 5.12.1 to 5.14.2 in /platypush/backend/http/webapp
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 00:35:29 +00:00
Fabio Manganiello
3edb8352b4
Support sections with empty bodies in the YAML configuration files.
2022-07-16 02:09:22 +02:00
Fabio Manganiello
cc29136db7
[ #2 ] Support for caching rooms info and exposing them in the events
2022-07-15 00:37:21 +02:00
Fabio Manganiello
719bd4fddf
[ #217 WIP] Initial plugin implementation.
...
- Added initial synchronization and users cache.
- Added loop to poll for new events (TODO: use websocket after the first sync)
- Added login, sync and join actions
2022-07-14 01:50:46 +02:00
Fabio Manganiello
3513ee3e1c
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-07-08 23:13:36 +02:00
dependabot[bot]
06168d4ebd
Bump shell-quote from 1.7.2 to 1.7.3 in /platypush/backend/http/webapp
...
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 11:29:13 +00:00
Fabio Manganiello
c6c7128099
Wrapped clipboard management logic in a try-except block to prevent the clipboard plugin from failing hard
2022-06-14 16:47:52 +02:00
Fabio Manganiello
5966566d54
Fixed LGTM warnings
2022-06-10 20:56:40 +02:00
Fabio Manganiello
8d26c8634d
Keep the ntfy process in stop_wait state even when the plugin is configured with no subscriptions
2022-06-09 11:59:29 +02:00
Fabio Manganiello
1da17fca35
Print invalid rules to help debug broken configurations
2022-06-08 15:34:14 +02:00
Fabio Manganiello
35cb72f5aa
Do a lazy plugin initialization in the Variable class
...
This is useful for two reason:
1. Slightly faster variable initialization times.
2. The cached variable object won't fail on the next `.get()`/`.set()`
if the `db` or `redis` plugins have failed for some reason.
2022-06-07 00:04:29 +02:00
Fabio Manganiello
115bed7d8b
Added limit parameter to `lastfm.get_similar_tracks`
2022-06-06 14:12:45 +02:00
Fabio Manganiello
3d22d6b082
Added get_track and get_similar_tracks methods on `lastfm` plugin
2022-06-05 18:49:34 +02:00
Fabio Manganiello
5971ec32c8
Removed `clipboard` backend.
...
The relevant clipboard monitoring logic has been moved to the
`clipboard` plugin. Thus, enabling the plugin should provide all the
feature, with no need for an additional backend.
2022-06-04 12:32:02 +02:00
Fabio Manganiello
7e31ac6ed8
Added missing web build files
2022-06-02 23:41:50 +02:00
Fabio Manganiello
c9f435a6cb
Added support for ntfy notification on the frontend (just like Pushbullet)
2022-06-02 23:36:43 +02:00
Fabio Manganiello
0d0995d71d
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-06-02 20:58:34 +02:00
Fabio Manganiello
cb7021152f
Added `get_recent_tracks` method to the `lastfm` plugin
2022-06-02 20:57:35 +02:00
Fabio Manganiello
d3f4865395
Fixed variable name conflict
2022-06-02 01:44:38 +02:00
Fabio Manganiello
f080478385
s/click_url/url/g in ntfy message definitions
2022-06-02 00:40:26 +02:00
Fabio Manganiello
2898a33752
s/click_url/url/g in ntfy message definitions
2022-06-02 00:36:14 +02:00
Fabio Manganiello
0919a0055d
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-06-02 00:13:43 +02:00
Fabio Manganiello
b857ce60a7
Bump version: 0.23.2 → 0.23.3
2022-06-01 23:08:32 +02:00
Fabio Manganiello
8be515c17b
[ closes #219 ] Added ntfy integration
2022-06-01 23:01:29 +02:00
Fabio Manganiello
5b3e1317f4
Only refresh entities that are visible on the interface
2022-05-30 09:23:25 +02:00
Fabio Manganiello
1df71cb54a
Proper support for light entities on smartthings
2022-05-30 09:23:05 +02:00
Fabio Manganiello
0689e05e96
Apply the light color to the icon fill instead of the bulb icon itself
2022-05-30 09:18:19 +02:00
Fabio Manganiello
89560e7c38
Only include entities associated to enabled plugins or with no plugins in `entities.get`
2022-05-29 23:59:46 +02:00
Fabio Manganiello
30dfdeecb0
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-05-25 10:11:57 +02:00
Fabio Manganiello
239025290d
--redis-queue argument should be a string
2022-05-25 10:11:29 +02:00
Fabio Manganiello
7a0e39111d
FIX: A feed entry may not necessarily have an `id` attribute
2022-05-06 14:38:25 +02:00
Fabio Manganiello
f57f940d57
Made _is_switch more resilient against rogue Z-Wave values
2022-05-01 22:18:46 +02:00
Fabio Manganiello
117f92e5b4
Deprecated the `light.hue` backend
...
The polling logic has been moved to the `light.hue` plugin itself
instead, so it's no longer required to have both a plugin and a backend
enabled in order to fully manage a Hue bridge.
2022-05-01 21:55:35 +02:00
Fabio Manganiello
a5541c33b0
Added support for light entities in zigbee.mqtt
...
TODO: Support for colors (I don't have a color Zigbee bulb to test it on yet)
2022-05-01 21:10:54 +02:00
Fabio Manganiello
b23f45f45e
Process a zigbee entity update event with all the properties, not only the ones that have been changed
2022-05-01 21:09:13 +02:00
Fabio Manganiello
088cf23958
Do not emit input event from the light component upon update
...
It may be an incomplete update that breaks the UI, and it will be
overwritten by the backend event anyway
2022-05-01 21:08:02 +02:00
Fabio Manganiello
e8f4b7c10e
CSS adjustments
2022-05-01 15:44:57 +02:00
Fabio Manganiello
dd12d57552
Added light UI entity component
2022-05-01 15:35:20 +02:00
Fabio Manganiello
5aa3750807
Re-sync the list of entities when the entities component is mounted
2022-05-01 15:34:45 +02:00
Fabio Manganiello
f760d44224
Refactored/simplified UI code for entities management
2022-05-01 15:34:15 +02:00
Fabio Manganiello
8d91fec771
Better implementation for light.hue.set_lights
2022-05-01 15:33:12 +02:00
Fabio Manganiello
c22c17a55d
More flexible implementation for LightPlugin abstract methods
2022-05-01 15:31:45 +02:00
Fabio Manganiello
46df3a6a98
FIX: `reachable` is an attribute of `state`
2022-05-01 01:58:05 +02:00
Fabio Manganiello
8e06b8c727
Fixed range scaling on Slider component
2022-04-30 23:40:14 +02:00
Fabio Manganiello
30a024befb
Manage hue/sat/bri/ct light ranges on the light entity object itself
2022-04-30 19:38:50 +02:00
Fabio Manganiello
b16af0a97f
Include entity `data` attributes in the entity info modal
2022-04-30 16:39:37 +02:00
Fabio Manganiello
c7970842d7
Disable logging by default for entity events (they can be quite spammy)
2022-04-30 02:13:20 +02:00
Fabio Manganiello
7df67aca82
updated_at should have utcnow() onupdate, not now()
2022-04-30 01:48:55 +02:00