Gina Häußge
8e662fea9e
✨ PMGR: single file validation & install from upload
2020-06-10 14:38:27 +02:00
Gina Häußge
4c73774104
💚 Fix flake8
2020-06-09 19:05:28 +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
e0a5751d9f
💄 pgmr: Slight restyling of repository browser
...
Make sure icons don't get separated from their text and reduce
amount of unused space.
2020-05-19 17:36:24 +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
b763c0516d
Merge branch 'pr/3566' into maintenance
2020-05-15 13:13:50 +02:00
Gina Häußge
6367ab8bf9
✨ pgmr: Display installation stats from repo
...
Based on tracking data, coming full circle here.
2020-05-14 00:18:40 +02:00
Shawn Bruce
1d2e82644c
Use global_remove instead of global_set in octoprint.plugins.pluginmanager._cleanup_settings.
...
SeenWizards plugin data should be removed during cleanup.
2020-05-12 15:46:35 -04:00
Gina Häußge
0da0e6cf8b
✨ pmgr: Add Python version to plugin list
2020-04-03 16:59:12 +02:00
Gina Häußge
453ef0cb97
♻ Remove implicit blueprint protection in favour of explicit one
2020-02-25 17:03:29 +01:00
Gina Häußge
a75c641c18
♻ Implement login dialog through UiPlugin
...
Otherwise alternative UIs might still be wide open, and caching and such
was also really painful to solve before.
The LoginUI Plugin is pretty much just a distilled ForceLogin plugin.
Also declared it as hidden so it won't show up/be manageable by the
plugin manager.
2020-02-25 15:33:42 +01: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
d8c3063813
⬆️ Update 3rd party deps
2019-11-20 15:30:36 +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
e3ae71eabd
🐛 PMGR: Apparently mtime can sometimes still be None
...
Handle that.
See https://community.octoprint.org/t/plugins-pip-error-on-fresh-octopi-0-17-0-install/13466
for an example.
2019-11-15 10:43:34 +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
3739bbc652
💄 pmgr/swu: dynamic size for scrollables
2019-10-25 14:26:46 +02: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
204d212323
Merge branch 'maintenance' of github.com:foosel/OctoPrint into maintenance
2019-09-18 14:28:15 +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
3b556e9d79
Merge branch 'maintenance' into devel
2019-09-17 17:34:34 +02:00
Gina Häußge
72eef3e224
🐛 Escape single/double quotes in l10n strings
...
Closes #3270
2019-09-13 15:42:59 +02:00
Gina Häußge
84f6833597
🚨 Fix unused variable issue
2019-09-12 21:05:00 +02:00
Gina Häußge
fab5f34aaa
🔀 Rebuilt CSS
2019-09-12 20:50:46 +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
Gina Häußge
1f4fabe6ef
🐛 PMGR: Refresh data from server if needed on endpoint GET
...
Closes #3190
2019-06-03 12:17:03 +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
361fbaa366
🐛 pmgr: Smaller height for plugin list
...
Should work around #3161
2019-05-27 16:22:50 +02:00
Gina Häußge
547db7c1f5
☔ pmgr: better handling of unexpected repository format
...
Closes #3157 and Sentry SERVER-116
2019-05-15 17:34:54 +02: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
b353c4eee2
✨ extra logging parameter to add plugin identifier
...
Will allow to identify logged exceptions originating from calling
plugins, but also log plugin identifiers directly in the log message
if so desired.
2019-04-05 17:47:36 +02:00
Gina Häußge
ff9c83ea25
☔ Don't confuse users with pip's "OMG PY2.7 IS EOL!!1!" message
...
We know that python 2.7 is about to reach end of life. We are making
preparations for this in the devel branch. We don't need pip going
around and alarming our users about something they cannot solve, and
which pretty much is already solved anyhow.
So we nuke this stupid message present in current pip versions. Hard.
See also #2988
2019-04-04 11:51:16 +02:00
Gina Häußge
9ec3a6ae7a
➖ Remove python-dateutil dependency
...
It's no longer installable from source under OctoPi 0.14 due to an
unpinned setup_requires dependency on setuptools_scm, and since we still
have to support that installation scenario that is a problem. Thankfully
it's only used in the plugin manager for parsing the notice date, and
we can just use datetime.strptime for that.
2019-03-27 14:34:13 +01: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
e972026ad0
🚸 PMGR: show message if plugin repo list is empty
...
E.g. due to filters or compatibility issues.
2019-02-20 18:11:08 +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
935639a51a
🐛 Fix json file writing
...
Apparently json.dump produces mixed bytes/unicode content. So now we use
json.dumps wrapped in to_bytes and that's it.
2019-02-06 16:51:54 +01:00