683ffa98c1
[Automatic] Updated UI files
2024-07-25 00:45:14 +00:00
6b5dbe7c1e
[ #339 ] Frontend implementation of the new 2FA logic.
...
Closes : #339
2024-07-25 02:43:15 +02:00
7351a2685a
[Automatic] Updated components cache
2024-07-25 00:24:25 +00:00
79dc5e238d
[core] Skip 2FA code verification for JWT tokens.
2024-07-25 02:23:07 +02:00
a11f17aa8f
[core] Encrypt users 2FA backup codes with bcrypt.
...
Instead of RSA - decrypting is unnecessary.
2024-07-25 02:23:07 +02:00
67d8d0a515
[Automatic] Updated components cache
2024-07-24 22:48:49 +00:00
8ec1ca8543
[ #339 ] Backend preparation for 2FA support.
2024-07-25 00:47:04 +02:00
2cbb005c67
[core] The generation of RSA keys should be behind shared process locks.
2024-07-25 00:38:30 +02:00
cf813e4197
[Automatic] Updated UI files
2024-07-24 19:36:47 +00:00
b1b51b4b7e
[tests] Fixed tests after HTTP auth refactor.
2024-07-24 21:34:30 +02:00
70db33b4e2
[core] Better Redis connection fail handling logic.
...
If the connection to Redis goes down, it shouldn't take down the main
thread.
Instead, catch `RedisConnectionError`, and execute `poll` in a loop
until the connection is restored.
2024-07-24 21:33:04 +02:00
357d92b479
[core] Added current_user()
HTTP utility.
2024-07-24 00:49:21 +02:00
2033f9760a
[core] Refactoring user/authentication layer.
...
- Separated the user model/db classes from the `UserManager`.
- More consistent naming for the flag on the `authenticate_*` functions
that enables returning a tuple with the authentication status - all
those flags are now named `with_status`.
2024-07-23 22:44:40 +02:00
ee27b2c4c6
[core] Refactored Web login/registration layer.
...
Instead of having a single Flask-provided endpoint, the UI should
initialize its own Vue component and manage the authentication
asynchronously over API.
This is especially a requirement for the implementation of 2FA.
The following routes have also been merged/refactored:
- `POST /register` -> `POST /auth?type=register`
- `POST /login` -> `POST /auth?type=login`
- `POST /auth` -> `POST /auth?type=jwt`
2024-07-23 02:08:25 +02:00
8904e40f9f
[UI] Redirect URIs should always be relative to the current host.
2024-07-23 02:08:25 +02:00
fe2497577d
[Automatic] Updated UI files
2024-07-21 19:34:57 +00:00
01aedb5568
[UI] DropdownItem should emit @input
together with @click
.
...
The propagation of the `click` event shouldn't be stopped, as it is
required for the upstream Dropdown event to understand if it needs to
close.
Components should instead listen to `@input` events, so disabled items
will not be triggered.
2024-07-21 21:32:54 +02:00
2ccf00508d
[qrcode] Allow binary content
for qrcode.generate
.
2024-07-21 21:32:54 +02:00
8329de15ba
[UI] Added extra showError
condition on /execute
.
2024-07-21 21:32:53 +02:00
c1b1bd6c50
[UI] Added generic .text-danger
class.
2024-07-21 21:32:49 +02:00
fdd42b8a22
[Automatic] Updated UI files
2024-07-20 22:00:27 +00:00
baa584c1ca
[Torrents UI] Fixed style for files list
2024-07-20 23:58:25 +02:00
929271ee0e
[Automatic] Updated components cache
2024-07-20 20:26:11 +00:00
f608475380
Fix outdated method name in sound
plugin docs.
2024-07-20 20:25:21 +00:00
snyk-bot
5a1c6b064a
fix: requirements.txt to reduce vulnerabilities
...
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
2024-07-20 22:21:54 +02:00
f2b2189282
Merge pull request #437 from blacklight/snyk-fix-be2eea233b2d14c94dc846778f7390d9
...
[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1
2024-07-20 12:43:52 +02:00
3e8ab8d0db
Merge branch 'master' into snyk-fix-be2eea233b2d14c94dc846778f7390d9
2024-07-20 12:43:44 +02:00
3f195b4e9c
Merge pull request #436 from blacklight/snyk-upgrade-68f4dd59f0141e45f5a75099ee1e596c
...
[Snyk] Upgrade vue from 3.4.27 to 3.4.29
2024-07-20 12:42:58 +02:00
e75a865c86
Merge branch 'master' into snyk-upgrade-68f4dd59f0141e45f5a75099ee1e596c
2024-07-20 12:42:51 +02:00
af187e95e5
Merge pull request #435 from blacklight/snyk-upgrade-207399cb68f0b666cd5a74f601c97857
...
[Snyk] Upgrade vue-router from 4.3.2 to 4.3.3
2024-07-20 12:41:55 +02:00
255422d5b8
Merge pull request #434 from blacklight/snyk-upgrade-e9c8d4be8f1465ea41d140fa3ac746c3
...
[Snyk] Upgrade sass from 1.77.2 to 1.77.3
2024-07-20 12:41:42 +02:00
18a7b05a80
Merge pull request #432 from blacklight/dependabot/npm_and_yarn/platypush/backend/http/webapp/braces-3.0.3
...
Bump braces from 3.0.2 to 3.0.3 in /platypush/backend/http/webapp
2024-07-20 12:41:24 +02:00
0c8d86b8d4
Merge pull request #433 from blacklight/snyk-fix-08929d3c6ce8e8043728fa83145c4cd8
...
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2
2024-07-20 12:40:59 +02:00
6ab0c3d953
Merge pull request #431 from blacklight/snyk-upgrade-58571bd8b39cde152d941b6e296a9f10
...
[Snyk] Upgrade axios from 1.6.8 to 1.7.1
2024-07-20 12:40:41 +02:00
48996622d9
[README] Added Codefactor badge.
2024-07-20 12:13:10 +02:00
38edaaf311
[Automatic] Updated UI files
2024-07-20 10:09:48 +00:00
15b615efe8
[Camera UI] React on screen orientation changes to redraw the camera frame.
2024-07-20 12:07:51 +02:00
6e99e87aa6
[PWA] Allow any orientation.
2024-07-20 12:07:51 +02:00
a5c69d2ded
[Automatic] Updated components cache
2024-07-20 01:48:11 +00:00
7661d9c843
[ #393 ] Added bind_socket
parameter to backend.http
.
...
The web server can now listen either on a TCP port, on a UNIX socket, or
both.
Closes : #393
2024-07-20 03:46:57 +02:00
9e36c5550f
[Automatic] Updated UI files
2024-07-20 00:59:17 +00:00
8291a97cd9
[Camera UI] Don't overflow the screen size.
2024-07-20 02:57:21 +02:00
579f9816e2
[Automatic] Updated UI files
2024-07-20 00:27:45 +00:00
b69e950076
[Camera UI] Dynamic fullscreen support.
2024-07-20 02:25:48 +02:00
3fddf67949
[Automatic] Updated UI files
2024-07-17 23:04:48 +00:00
4441461354
[Samsung TV UI] Improved UI style.
2024-07-18 01:02:51 +02:00
52f5ce2642
[Automatic] Updated components cache
2024-07-17 22:44:54 +00:00
392d64d03b
[tv.samsung] Reset the websocket connection in case of command error.
2024-07-18 00:43:12 +02:00
4d39791569
Dynamically generate install_requires
through requirements.txt
.
2024-07-18 00:04:04 +02:00
fabcba14d9
[CI/CD] Commented out the generation of the Arch platypush-git package.
...
See https://aur.archlinux.org/packages/platypush-git#comment-982845
If the PKGBUILD uses a dynamic `pkgver()` function, then `*-git`
packages shouldn't be updated unless there are some changes in the
PKGBUILD file itself.
See https://aur.archlinux.org/packages/platypush-git#comment-982845
2024-07-17 23:16:58 +02:00