Commit graph

4901 commits

Author SHA1 Message Date
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
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