Quinn Damerell and Gina Häußge
995c8aa0c6
🐛 PMGR: Fix bug in default sort of plugins from the repo (#4273 )
...
Related to #4031
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-10-29 11:20:39 +02:00
Gina Häußge
1fb243099c
💬 pmgr: Fix wording of a message
2021-06-14 15:56:01 +02:00
Gina Häußge
45cf5ddf44
🥅 pmgr: Better handling of python version mismatch
...
Users now get a meaningful error message in both the plugin install log
as well as a clickable FAQ link in the plugin management log
notification.
Works for pip and single file installs.
Implements #4166
2021-06-14 15:55:05 +02:00
cp2004
e403e8cc75
⚡ Don't re-render the plugin repository if notmodified
...
Closes #4131
2021-05-09 16:58:39 +01:00
Gina Häußge
084625fe7c
♻️ pmgr: Split API endpoint
...
api/plugin/pluginmanager has been deprecated in favor of
plugin/pluginmanager/plugins, plugin/pluginmanager/orphans and
plugin/pluginmanager/repository. Additionally, there's now
plugin/pluginmanager/plugin/<key> to retrieve info for a specific plugin
by its identifier.
Repository and orphans are only fetched on opening of the Settings
dialog, plugins and notifications on login with required permissions.
All list endpoints make use of ETag headers.
The former simple API endpoint api/plugin/pluginmanager has been left in
the code for now but marked as deprecated. Same goes for the clientJS
API.
Implements #4035
2021-03-04 18:37:30 +01:00
Joe Martella
28ecef207e
Changes default sorting of plugin manager to "popularity"
2021-02-27 06:29:13 +00:00
Gina Häußge
35c3660958
🐛 pmgr: make upload install async & fix conflict handling
...
It turns out that a) we were not yet doing plugin installation after an
archive/file upload asynchronously, so that any delays there could still
cause timeouts, and that b) we were also not handling the conflict
situation of trying to start another plugin install while one is already
running correctly on the frontend.
This fixes both issues.
2021-01-12 16:33:02 +01:00
Gina Häußge
6b44909f21
🎨 Add prettier for js, less, yaml, json, ...
2020-10-07 18:53:49 +02:00
Gina Häußge
cac1e4b0bd
🐛 PMGR: Ensure log notification is actually visible
...
Caused by a change while analysing/solving #3729
2020-09-21 13:07:54 +02:00
Gina Häußge
9e5d1e9ad6
♻️ PMGR: Further limitation of concurrent requests
...
Prevent multiple concurrent enabling/disabling actions and use central
promise for regular data updates from the backend.
Related to #3729
2020-09-16 13:36:59 +02:00
Gina Häußge
6ea2caa770
🐛 PMGR: Fix saving of plugin settings
2020-09-15 18:51:23 +02:00
Gina Häußge
9f289a0e9c
🥅 PMGR: Make sure we only fire off one request at a time
...
Possibly related to #3729
2020-09-15 16:08:48 +02:00
Gina Häußge
80f2ab86c1
♻️ PMGR: Reuse notification
...
So far we were constantly removing and recreating a notification on each
plugin manager log event. We now only create the notification once and
then reuse/update it.
Potentially related to #3729
2020-09-15 16:07:16 +02:00
Gina Häußge
ec4e2c7193
🔥 PMGR: Get rid of unused code
2020-09-15 16:04:44 +02:00
Gina Häußge
4cf2a673c8
🐛 pmgr: turn install API command fully async
...
Fixes #3668
2020-09-07 17:11:11 +02:00
Gina Häußge
6396d5ede0
🔥 PGMR: Remove "new installs"
...
It doesn't really add that much information and the UI is already
crowded.
2020-06-19 14:18:59 +02:00
Gina Häußge
6d8a131c6d
💄 PMGR: More space for the repo browser
2020-06-19 14:07:13 +02:00
Gina Häußge
a4eb739a95
✨ PMGR: Display more stats from plugin repo
...
We now also include publication date, last push date, release & release
date and github stars in the UI (if available), allow sorting by all
that and also visually highlight abandoned/disabled/incompatible
plugins. Also there's a now a filter to hide abandoned plugins and an
indicator of how many plugins of all available ones are being shown with
the currently active filters and search.
Implements #3606
2020-06-19 13:16:50 +02:00
Gina Häußge
5dd1b19373
🐛 PGMR: Fix affected version list in notices
2020-06-15 11:59:28 +02:00
Gina Häußge
8e662fea9e
✨ PMGR: single file validation & install from upload
2020-06-10 14:38:27 +02:00
Gina Häußge
b675ec6137
✨ PMGR: allow installing single file plugins
...
Only throw URL for now though.
2020-06-09 18:53:01 +02:00
Gina Häußge
65a66b11eb
✨ pgmr: include recent installs in repo browser
...
Also allow sorting by it.
2020-05-20 20:05:37 +02:00
Gina Häußge
052f81275b
🚸 pgmr: Dedicated error message on general failure
...
If we can't load stuff from the backend, don't get stuck in "pip not
available" mode (which confuses people terribly) but instead show a
dedicated error.
2020-05-19 17:50:40 +02:00
Gina Häußge
8a18963a72
✨ pgmr: Add sort by plugin popularity
...
Uses data from the anonymous usage tracking pulled from the repo.
2020-05-19 17:34:57 +02:00
Gina Häußge
10079b8d9d
🐛 PGMR: Fix UI representation of incompatible plugins
...
Second part of fixing #3442
2020-02-04 15:53:56 +01:00
Gina Häußge
6d7721f8f5
✨ PMGR: More cleanup options
...
Additional "clean up all leftovers" feature to clean up anything left
over by plugins already uninstalled.
Also takes care of entries in the disabled plugin list now.
See also #3299
2019-11-15 16:28:27 +01:00
Gina Häußge
e88041c59e
🐛 PMGR: Remove access attempts on removed field
2019-11-15 10:43:34 +01:00
Gina Häußge
7f2eb470e4
Merge branch 'maintenance' into devel
2019-11-08 14:52:20 +01:00
Gina Häußge
b031092f07
✨ PMGR: plugin data cleanup functions
...
Plugin data can now be cleaned up
* on a plugin's uninstall through the plugin manager
* manually through a new action button in the plugin manager
Implements #3299
Ideas for further improvement:
* Management interface to show "orphaned" plugin data and delete
on request.
2019-11-01 13:03:47 +01:00
Gina Häußge
30a4b9e9ab
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/virtual_printer/virtual.py
2019-10-30 15:59:30 +01:00
Gina Häußge
e85e9661e0
🤷♀️ PMGR/SWU: Flag to ignore throttle state
...
Will allow people to circumvent the
shoot-yourself-in-the-foot-countermeasures by editing config.yaml.
If they do that and stuff then fails due to platform instability it's
their problem.
2019-10-30 15:43:52 +01:00
Gina Häußge
8d544e63f4
✨ pmgr: more plugin filters
...
Implements #3288
2019-10-25 14:18:04 +02:00
Gina Häußge
21127bcf2a
Merge branch 'maintenance' into devel
2019-10-23 12:30:06 +02:00
Gina Häußge
7ee9bc32eb
☔ Aggressive escaping
2019-10-09 15:51:38 +02:00
Gina Häußge
0035e7c3ff
🐛 Fix a merge error
2019-10-02 22:34:39 +02:00
Gina Häußge
073060d253
✨ PMGR: Search box
...
Implements #3288
2019-09-26 20:26:47 +02:00
Gina Häußge
04a13268ad
🚸 PMGR: Filter for plugin list
...
We can now filter all/bundled/3rdparty. Should improve overview.
2019-09-24 11:07:45 +02:00
Gina Häußge
49fdac7528
Merge branch 'maintenance' into devel
2019-09-23 15:26:18 +02:00
Gina Häußge
04528a635b
🐛 PMGR: Disable plugin mgmt while printer is busy
...
Not just when only actively printing.
Closes #3278
2019-09-18 14:27:10 +02:00
Gina Häußge
8df2a5436b
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/views.py
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
2019-09-12 09:30:28 +02:00
Gina Häußge
e88eb6dd85
☔ PMGR: Prevent installs while throttled
2019-06-19 15:48:18 +02:00
Nicolai Nielsen
11040f272a
Added confirmation dialog before uninstalling plugin
...
Added confirmation dialog before disabling plugin
Added configuration options to control the confirmation dialogs
Defaults are not to confirm for disabling but confirm for uninstalling
2019-05-27 19:03:29 -05:00
Gina Häußge
c0096c41a0
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/cli/plugins.py
# src/octoprint/events.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/logging/__init__.py
# src/octoprint/plugins/announcements/__init__.py
# src/octoprint/plugins/appkeys/__init__.py
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/static/js/main.js
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/printer_safety_check/__init__.py
# src/octoprint/plugins/softwareupdate/__init__.py
# src/octoprint/plugins/virtual_printer/virtual.py
# src/octoprint/printer/__init__.py
# src/octoprint/printer/estimation.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# src/octoprint/server/api/settings.py
# src/octoprint/server/api/system.py
# src/octoprint/server/apps/__init__.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/server/views.py
# src/octoprint/settings.py
# src/octoprint/slicing/__init__.py
# src/octoprint/static/js/app/helpers.js
# src/octoprint/static/js/app/main.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/js/app/viewmodels/temperature.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/dialogs/settings/api.jinja2
# src/octoprint/templates/initscript.jinja2
# src/octoprint/templates/tabs/control.jinja2
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
# src/octoprint/util/gcodeInterpreter.py
# src/octoprint/vendor/sockjs/tornado/transports/rawwebsocket.py
# src/octoprint/vendor/sockjs/tornado/transports/websocket.py
# translations/messages.pot
2019-05-10 17:13:55 +02:00
Gina Häußge
d64b8512ab
💄 PGMR, SWU: Use scrollables instead of pagination
2019-03-12 17:02:14 +01:00
Gina Häußge
6592be63f8
✨ PMGR: Support python compatibility flag in plugin repo
2019-02-20 18:10:59 +01:00
Gina Häußge
e522633c98
Merge branch 'maintenance' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/softwareupdate/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/server/util/tornado.py
# src/octoprint/static/js/app/client/base.js
# src/octoprint/users.py
2018-11-06 11:57:57 +01:00
Gina Häußge
4f58c64881
New asset type "clientjs" for client library bits
2018-09-29 15:00:27 +02:00
Gina Häußge
7b773f6fd2
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/sidebar/files_header.jinja2
2018-05-18 13:45:42 +02:00
ntoff
bf71a20ac1
Fix greyed plugin manager delete icons still being clickable
...
Fixes https://github.com/foosel/OctoPrint/issues/2549
2018-05-18 19:21:50 +10:00
Gina Häußge
7a037b9c66
Make sure to update data if current permissions change
2018-04-19 22:01:52 +02:00