Commit graph

4880 commits

Author SHA1 Message Date
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
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
9629e04211
Bump version: 1.3.1 → 1.3.2 2024-11-10 21:32:49 +01:00
771912c448
Updated CHANGELOG. 2024-11-10 21:32:30 +01:00
2bf61e37fa
[media.jellyfin] Added documentation about API keys limitations. 2024-11-10 21:32:01 +01:00
a7cb15f67d
Improved docker-compose.yml documentation. 2024-11-10 21:29:19 +01:00
27ee490264
[docs] Updated README with new Docker documentation.
Closes: #434
2024-11-10 20:37:28 +01:00
cd2b0a2666
[tests] Fixed Alpine repo name. 2024-11-10 19:03:54 +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
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