Commit graph

4915 commits

Author SHA1 Message Date
f31ccc6f57
[Automatic] Updated UI files 2024-12-20 21:32:38 +00:00
7650251ecd
[UI] Proxy all routes under /ws/* in devServer configuration. 2024-12-20 22:30:14 +01:00
14f979049b
[light.hue] Support bridges with ungrouped lights. 2024-12-20 22:30:14 +01:00
f3aa245c0e
[kafka] Extended features.
- Added partition, key, offset, timestamp and headers to
  `KafkaMessageEvent`.

- Added `group_id` to consumers configuration.

- Added `key`, `timeout` and `compression_type` to `kafka.publish`.
2024-12-20 22:30:13 +01:00
f712537673
[kafka] Replaced kafka dependency with kafka-python-ng.
The `kafka` module seems to be unmaintained and it's breaking apart at
initialization.

See: https://stackoverflow.com/questions/77287622/modulenotfounderror-no-module-named-kafka-vendor-six-moves-in-dockerized-djan
2024-12-20 22:30:13 +01:00
fa85de7ec8
[Automatic] Updated UI files 2024-12-06 15:22:43 +00:00
ae0dfb08bc
[light.hue] [UI] Better support for group scenes. 2024-12-06 16:20:26 +01:00
2d8f4196e1
[Automatic] Updated components cache 2024-12-02 23:42:52 +00:00
24449c9995
[light.hue] Better bridge errors management. 2024-12-03 00:41:30 +01:00
58ab04bbbd
[Automatic] Updated components cache 2024-12-01 17:50:13 +00:00
2fe9501bf3
[docs] Exclude common elements from components documentation. 2024-12-01 18:48:55 +01:00
9ddcaaf9fa
[Automatic] Updated UI files 2024-12-01 17:37:23 +00:00
51d0b21162
[#437] Added application panel with events monitor tab. 2024-12-01 18:35:07 +01:00
82e796e20b
[Automatic] Updated UI files 2024-11-22 10:02:13 +00:00
197158fa36
Merge pull request #456 from blacklight/snyk-upgrade-3851baf7186c338443617aeaab267e82
[Snyk] Upgrade @fortawesome/fontawesome-free from 6.5.2 to 6.6.0
2024-11-22 10:46:51 +01:00
21c0787138
Merge branch 'master' into snyk-upgrade-3851baf7186c338443617aeaab267e82 2024-11-22 10:46:44 +01:00
f511e2eaf1
Merge pull request #455 from blacklight/snyk-upgrade-06847a2658543dd161a81487b6e34507
[Snyk] Upgrade core-js from 3.37.1 to 3.38.1
2024-11-22 10:45:38 +01:00
eae57003b5
Merge branch 'master' into snyk-upgrade-06847a2658543dd161a81487b6e34507 2024-11-22 10:45:30 +01:00
c8b6b1fcdd
Merge pull request #454 from blacklight/snyk-upgrade-d8e59147d78b4c5c7864d550ec543844
[Snyk] Upgrade axios from 1.7.4 to 1.7.7
2024-11-22 10:44:30 +01:00
cdab6aab3c
Merge pull request #453 from blacklight/snyk-upgrade-873f5c9ba68f797b57ac46cbfe818acc
[Snyk] Upgrade vue-router from 4.4.0 to 4.4.5
2024-11-22 10:44:14 +01:00
5a32d94991
Merge branch 'master' into snyk-upgrade-873f5c9ba68f797b57ac46cbfe818acc 2024-11-22 10:44:07 +01:00
899d137df7
Merge pull request #452 from blacklight/snyk-upgrade-7282a6d783b3d768cd8dc2f32c574432
[Snyk] Upgrade vue from 3.4.31 to 3.5.12
2024-11-22 10:43:06 +01:00
ac11185af7
[Automatic] Updated UI files 2024-11-20 01:57:17 +00:00
575c0ab730
[UI] FileEditor improvements.
- Switched to dark mode (I couldn't find any decent light theme
  combination that works with the Platypush UI).

- Support passing static `content` and `content-type` rather than only a
  `file`.

- Pass the `with-save` property from `EditorModal` to `Editor`.
2024-11-20 02:52:46 +01:00
010b52ed19
[irc] A temporary workaround for SSL contexts. 2024-11-20 01:35:44 +01:00
61b2afce91
[irc] Fixed Python 3.12 compatibility.
`ssl.wrap_socket()` has been removed in Python 3.12 - see
https://docs.python.org/3.12/whatsnew/3.12.html#ssl.

Instead, the integration should create its own `SSLContext` and use
the `wrap_socket()` from that object.
2024-11-19 23:48:07 +01:00
66a585e653
[Automatic] Updated components cache 2024-11-17 22:58:56 +00:00
acaca67c61
⚠️ Ensure that Websocket connections are always terminated upon auth failure.
In Tornado there can apparently be some race condition where `open` on a
Websocket handler does a `self.close()`, but the client is still sending
some bytes.

In that case, it may happen that the extra message is still processed.

This commit prevents the race condition by raising an exception in
`open` upon authentication failure instead of doing `close()+return`.
2024-11-17 23:52:47 +01:00
171efec739
[chore] Fixed pyproject deprecation warning.
Dynamic entrypoints in `setup.py` should now explicitly be listed as
`dynamic` under the `project` section.
2024-11-17 00:50:05 +01:00
225761c839
Bump version: 1.3.3 → 1.3.4 2024-11-17 00:32:34 +01:00
457c5cb3e3
🐛 Fixed import error on pip install platypush.
pyproject needs a version attribute from a Platypush module, while
`version.py` is currently in the source root instead.
2024-11-17 00:32:23 +01:00
fd07709811
[Build] Added multiarch support for Docker images. 2024-11-12 00:42:34 +01:00
197e1e91dd
[Build] Removed testing repo from Alpine images.
The testing repo is only required by `py3-marshmallow`, which is not yet
included in the community repo, but it can end up breaking some builds
because of the incompatibility with the packages in the base repo.
2024-11-11 23:45:44 +01:00
ad59ff8e4d
README command typo. 2024-11-11 21:51:52 +01:00
d3247a96a0
Bump version: 1.3.2 → 1.3.3 2024-11-11 20:28:01 +01:00
6199991084
Updated CHANGELOG. 2024-11-11 20:27:48 +01:00
55118119d0
[Automatic] Updated components cache 2024-11-11 19:25:23 +00:00
3e02304ac2
🐛 [Auth] Fixed API token generation when 2FA is enabled.
It should suffice for the user to provide username+password when
creating a new API token, even if 2FA is enabled.

That's because user authentication has already occurred by the time that
that check is made, and the user is already logged through a valid
session or API token, so adding an 2FA code check isn't required.

This also ensures that the UI doesn't break with a 401 on
`/#settings?page=tokens&type=api` when creating a new token.
2024-11-11 20:21:26 +01:00
snyk-bot
29284907ca
fix: upgrade @fortawesome/fontawesome-free from 6.5.2 to 6.6.0
Snyk has created this PR to upgrade @fortawesome/fontawesome-free from 6.5.2 to 6.6.0.

See this package in npm:
@fortawesome/fontawesome-free

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
2024-11-11 05:27:02 +00:00
snyk-bot
a1fcbc8ca4
fix: upgrade core-js from 3.37.1 to 3.38.1
Snyk has created this PR to upgrade core-js from 3.37.1 to 3.38.1.

See this package in npm:
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
2024-11-11 05:26:58 +00:00
snyk-bot
8ebae0086e
fix: upgrade axios from 1.7.4 to 1.7.7
Snyk has created this PR to upgrade axios from 1.7.4 to 1.7.7.

See this package in npm:
axios

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
2024-11-11 05:26:53 +00:00
snyk-bot
0b12fd7fe5
fix: upgrade vue-router from 4.4.0 to 4.4.5
Snyk has created this PR to upgrade vue-router from 4.4.0 to 4.4.5.

See this package in npm:
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
2024-11-11 05:26:49 +00:00
snyk-bot
032572a869
fix: upgrade vue from 3.4.31 to 3.5.12
Snyk has created this PR to upgrade vue from 3.4.31 to 3.5.12.

See this package in npm:
vue

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
2024-11-11 05:26:45 +00:00
697a260026
[CI/CD] Fixed shell test. 2024-11-10 22:31:18 +01:00
dce2861021
[CI/CD] Trying the locally mounted docker.sock instead of the TCP interface. 2024-11-10 22:24:41 +01:00
cc2548e159
Fixed base image for update-image-registry. 2024-11-10 21:57:57 +01:00
2dee5a25ec
Removed unrequired git command from update-image-registry.sh. 2024-11-10 21:54:52 +01:00
2410d892f5
Bump version: 1.3.1 → 1.3.2 2024-11-10 21:49:28 +01:00
4d8ad87e42
Revert "Bump version: 1.3.1 → 1.3.2"
This reverts commit 9629e04211, as the
build process encountered some regressions.
2024-11-10 21:49:05 +01:00
40849b1502
[CI/CD] Added Alpine testing repository when required. 2024-11-10 21:44:27 +01:00