Commit graph

4857 commits

Author SHA1 Message Date
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
8bc5e5b8c5
[#434] Added pipeline to update registry images. 2024-11-10 15:23:04 +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
c3766ee423
[Automatic] Updated UI files 2024-11-05 11:15:31 +00:00
dc3e896d51
Merge pull request #451 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/multi-9f37c16f8f
Bump cookie and express in /platypush/backend/http/webapp
2024-11-05 12:10:43 +01:00
65da4bb33f
Merge pull request #450 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/rollup-2.79.2
Bump rollup from 2.79.1 to 2.79.2 in /platypush/backend/http/webapp
2024-11-05 12:10:27 +01:00
dependabot[bot]
e33a2c1a70
Bump cookie and express in /platypush/backend/http/webapp
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 11:10:19 +00:00
7147af7f3b
Merge pull request #449 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/webpack-5.95.0
Bump webpack from 5.88.2 to 5.95.0 in /platypush/backend/http/webapp
2024-11-05 12:10:10 +01:00
7b64b35f53
Merge pull request #448 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/multi-9423f4c335
Bump body-parser and express in /platypush/backend/http/webapp
2024-11-05 12:09:32 +01:00
c28745e710
Merge pull request #447 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/multi-cf87d80143
Bump send and express in /platypush/backend/http/webapp
2024-11-05 12:09:16 +01:00
cfce4e11e2
Merge pull request #446 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/multi-d66d039ac5
Bump serve-static and express in /platypush/backend/http/webapp
2024-11-05 12:08:52 +01:00
845e40fd95
Merge pull request #443 from blacklight/snyk-fix-5ef3afe3fbfad34ca892e17f8d68fd7a
[Snyk] Security upgrade axios from 1.7.1 to 1.7.4
2024-11-05 12:08:22 +01:00
53817413a4
Merge branch 'master' into snyk-fix-5ef3afe3fbfad34ca892e17f8d68fd7a 2024-11-05 12:08:13 +01:00
4836c6d036
Merge pull request #442 from blacklight/snyk-fix-307eb1aee4e5140527394bd3a929643b
[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1
2024-11-05 12:07:17 +01:00
c1416fdcf9
Merge pull request #441 from blacklight/snyk-upgrade-ba475f1c345b09c787ee96292badb5b6
[Snyk] Upgrade axios from 1.7.1 to 1.7.2
2024-11-05 12:06:42 +01:00
a4a56fdbee
Merge branch 'master' into snyk-upgrade-ba475f1c345b09c787ee96292badb5b6 2024-11-05 12:06:33 +01:00
227fdf4271
Merge pull request #440 from blacklight/snyk-upgrade-0bb24e2b5457007f3b0c55c99e017fb1
[Snyk] Upgrade vue from 3.4.29 to 3.4.31
2024-11-05 12:04:36 +01:00
bb02e7c9e4
Merge branch 'master' into snyk-upgrade-0bb24e2b5457007f3b0c55c99e017fb1 2024-11-05 12:03:15 +01:00
81bf0e9561
Merge pull request #439 from blacklight/snyk-upgrade-c2f62e1f7d3dac8bdb3d5bbc73b40e8f
[Snyk] Upgrade sass from 1.77.3 to 1.77.6
2024-11-05 12:01:14 +01:00
5c1aeed30c
Merge pull request #438 from blacklight/snyk-upgrade-1a34e4a33d2d3e97e1e1d82394a1163c
[Snyk] Upgrade vue-router from 4.3.3 to 4.4.0
2024-11-05 11:59:07 +01:00
6dacddad97
[Automatic] Updated UI files 2024-11-04 00:43:27 +00:00
4759da30eb
[Execute UI] Fixed glitch when switching action args. 2024-11-04 01:41:19 +01:00
d15d744017
[Automatic] Updated components cache 2024-11-03 23:29:40 +00:00
3e54d5d7b3
[switch.tplink] Extended exception handling to all SmartDevice methods. 2024-11-04 00:28:29 +01:00
43e88c71c6
[Automatic] Updated components cache 2024-11-03 23:16:50 +00:00
71bafec11e
[switch.tplink] Better error handling.
The whole `_update_devices` for loop should be covered by a try-except
block. That's because custom attribute getters may be invoked also after
expanding the results, resulting in unhandled `SmartDeviceException`.
2024-11-04 00:15:37 +01:00
2883c4f086
Added .ignore file.
Mostly to filter out generated `dist/*` files under the webapp folder,
which may cause polluted results when using ripgrep to search things.
2024-11-04 00:15:37 +01:00
e2382c5ea2
[Automatic] Updated components cache 2024-11-03 09:44:34 +00:00
dd02be12fc
[db] Wrap SQL statements into connection.begin() blocks.
The latest release of SQLAlchemy 2.x has apparently removed the
`autocommit` implicit logic for good.

Mutations should be explicitly wrapped into `with ... begin()` blocks,
or they will be rolled back when the connection is closed.
2024-11-03 10:38:22 +01:00
1cb42f8923
[Automatic] Updated UI files 2024-11-02 21:09:28 +00:00
6936a67182
[UI] null check on datetime* functions. 2024-11-02 15:50:37 +01:00
13856365fc
[Automatic] Updated components cache 2024-10-22 00:58:31 +00:00