Commit graph

4099 commits

Author SHA1 Message Date
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
21c0787138
Merge branch 'master' into snyk-upgrade-3851baf7186c338443617aeaab267e82 2024-11-22 10:46:44 +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
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
225761c839
Bump version: 1.3.3 → 1.3.4 2024-11-17 00:32: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
d3247a96a0
Bump version: 1.3.2 → 1.3.3 2024-11-11 20:28:01 +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
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
9629e04211
Bump version: 1.3.1 → 1.3.2 2024-11-10 21:32:49 +01:00
2bf61e37fa
[media.jellyfin] Added documentation about API keys limitations. 2024-11-10 21:32:01 +01:00
2fc91ba4f6
Fixed zbar dependency name for Arch. 2024-11-10 19:02:45 +01:00
559063ed90
Refactored required dependencies for qrcode. 2024-11-10 19:01:00 +01:00
46321559ab
[otp] Explicitly cast the output of otp.generate_secret to string.
Some versions of `pyotp` may return an intermediate
`pyotp.random_base32` object that is not JSON-serializable.
2024-11-10 18:52:10 +01:00
38756119c4
Pass --ignore-installed to pip in most of the cases.
The only case where it's fine to overwrite existing Python packages with
pip versions is when Platypush is running in a virtual environment.

Otherwise, keep the system-installed version if it's available, unless
its version is explicitly incompatible with the one reported in
`requirements.txt`.
2024-11-10 16:21:50 +01:00
b887122a7f
Added pygments to required dependencies.
It is required to correctly render code blocks in the documentation
available to the UI.
2024-11-10 15:55:57 +01:00
3680a9b1d1
Added pyotp and qrcode to core requirements.
A 2FA should be encouraged, thus it makes sense for its dependencies to
be installed by default.
2024-11-10 14:16:04 +01:00
d80bb9a476
[CI/CD] Use Alpine testing repo.
py3-marshmallow is still available only on the testing repo, and it's
now a hard dependency.
2024-11-10 13:20:47 +01:00
a99bde7014
[Automatic] Updated UI files 2024-11-09 23:32:26 +00:00
d799d50391
[Jellyfin UI] Implemented add to/remove from playlist.
Closes: #414
2024-11-10 00:30:14 +01:00
2df88c1911
[YouTube UI] Propagate view event from Subscriptions component. 2024-11-10 00:30:14 +01:00
478e4afb0d
[Automatic] Updated components cache 2024-11-09 22:19:01 +00:00
df580c2907
[media.jellyfin] Added get_playlists and remove_from_playlist actions. 2024-11-09 23:17:43 +01:00
459fe9427c
[youtube] Changed remove_from_playlist API.
To be compatible with the naming conventions of the other media plugins:

- `video_id` -> `item_ids`
- `index` -> `indices`
2024-11-09 23:17:42 +01:00
f47dbc842a
[youtube] Renamed add_to_playlist arguments.
`video_id` -> `item_ids`

This is more consistent with the naming conventions of the other media
plugins.
2024-11-09 23:17:42 +01:00
34aea3cd02
[Automatic] Updated UI files 2024-11-09 15:27:25 +00:00
9999025c0a
[media.jellyfin] Playlist track move implementation [UI]. 2024-11-09 16:24:53 +01:00
1230236ca5
[media.jellyfin] Implement playlist track move [backend]. 2024-11-09 16:23:57 +01:00
b646b5f3d7
[media.jellyfin] Playlist implementation [UI]. 2024-11-08 01:59:55 +01:00
bc42ba16d7
[Automatic] Updated components cache 2024-11-07 23:55:34 +00:00
b967cb1969
[media.jellyfin] Playlists support (backend implementation). 2024-11-08 00:54:18 +01:00
7c7b80c942
[Automatic] Updated components cache 2024-11-06 20:26:27 +00:00
09413bc0cc
[http.webpage] Added headers option.
A `headers` parameter has been added both to the `http.webpage` plugin
configuration and to the `http.webpage.simplify` action.

It can be used to pass extra headers to the Mercury API (e.g.
`User-Agent` or `Cookie`).

Moreover, the default `User-Agent` sent by Mercury has been changed to
an iPhone to increase the success rate of the scraping process.
2024-11-06 21:25:11 +01:00