92fe119cff
Removed psutil
as a required pip dependency.
...
Moved to optional dependencies for `system` plugin.
It requires gcc, linux-headers and python-dev to be installed on the
system.
The `python-psutil` system package however will still be installed when
Platypush is installed through a package manager.
2024-07-27 14:02:53 +02:00
0963cd3d55
Moving around the __version__ string to get bumpversion to work again.
2024-07-27 12:12:07 +02:00
b71612cb2f
[core] Moved __version__
string to its own package.
...
It reduces the duplication of `__version__`, which before was defined
on:
- `setup.py`
- `setup.cfg`
- `platypush/__init__.py`
2024-07-27 11:46:18 +02:00
90736f8ffb
[Automatic] Updated UI files
2024-07-26 23:58:32 +00:00
6cd342e1f4
[UI] Quickfix: Remove margin from default input style.
2024-07-27 01:55:46 +02:00
e234210fb5
[Automatic] Updated UI files
2024-07-26 23:46:57 +00:00
179c8265cf
[ #419 ] Added ability to view and remove API tokens.
2024-07-27 01:43:18 +02:00
c13623c3f7
[ #419 ] API tokens - frontend implementation.
2024-07-26 21:59:14 +02:00
a8343cb45b
[UI] Persist current settings page on the URL.
2024-07-26 17:37:25 +02:00
91f6beb349
[ #419 ] API tokens - backend implementation.
2024-07-26 02:29:40 +02:00
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
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
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
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
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