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
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
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
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
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
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
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
Gina Häußge
1852578136
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/logging/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/static/css/octoprint.css
2018-04-04 16:47:51 +02:00
Gina Häußge
db14723ea2
Use regular scrollbars instead of slimscroll
...
See #2379
2018-03-26 15:17:17 +02:00
Gina Häußge
d1711f0376
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/server/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/static/css/octoprint.css
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/templates/tabs/timelapse.jinja2
2018-03-20 16:10:19 +01:00
Gina Häußge
01d37fc9ee
PMGR: Reduce notification spam
2018-03-05 17:25:15 +01:00
Gina Häußge
40082456c1
Don't even import disabled plugins
...
We want to avoid disabled plugins interfering with our application
in any way at all.
Hence disabled plugins are now treated the same way as blacklisted ones.
The system will only create a dummy entry for them and not import them
at all. As a consequence, a restart of the platform will be necessary
for disabling plugins that were disabled.
The Plugin Manager has been adjusted accordingly.
Note that by no longer even importing the base file, plugin name,
version, description and other such metadata defined through control
properties won't be accessible.
Closes #2442
2018-02-23 19:05:34 +01:00
Gina Häußge
b9a5e1db69
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/corewizard/__init__.py
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/softwareupdate/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/job.py
# src/octoprint/server/api/log.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/views.py
# src/octoprint/static/css/octoprint.css
# src/octoprint/static/js/app/main.js
# src/octoprint/static/js/app/viewmodels/log.js
# src/octoprint/static/js/app/viewmodels/loginstate.js
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/static/less/octoprint.less
# src/octoprint/templates/dialogs/settings/logs.jinja2
# src/octoprint/templates/tabs/control.jinja2
# src/octoprint/util/__init__.py
2018-02-20 15:42:43 +01:00
Gina Häußge
8229842334
Revert "Some long overdue == vs === view model cleanup"
...
This reverts commit 8a977e8777 .
Was causing at least one regression, to be redone for 1.3.7
2017-12-12 10:09:27 +01:00
Gina Häußge
d8cffc4b22
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/announcements/static/js/announcements.js
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/server/__init__.py
# src/octoprint/static/css/octoprint.css
# src/octoprint/static/js/app/viewmodels/connection.js
# src/octoprint/static/js/app/viewmodels/control.js
# src/octoprint/static/js/app/viewmodels/files.js
# src/octoprint/static/js/app/viewmodels/gcode.js
# src/octoprint/static/js/app/viewmodels/log.js
# src/octoprint/static/js/app/viewmodels/loginstate.js
# src/octoprint/static/js/app/viewmodels/navigation.js
# src/octoprint/static/js/app/viewmodels/printerprofiles.js
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/js/app/viewmodels/temperature.js
# src/octoprint/static/js/app/viewmodels/terminal.js
# src/octoprint/static/js/app/viewmodels/timelapse.js
# src/octoprint/static/js/app/viewmodels/users.js
2017-11-21 11:42:28 +01:00
Gina Häußge
8a977e8777
Some long overdue == vs === view model cleanup
2017-11-21 10:18:46 +01:00
Gina Häußge
65753a0539
Convert to new viewmodel declaration
...
We've been supporting the new object based view model declaration
format since 1.3.0, time to move the bundled view models towards
actually using it.
2017-11-21 10:17:52 +01:00
Gina Häußge
398e10588c
Slight changes in permission resolution
...
* We now use a set key (derived from name used for setting the
attribute on Permissions or provided in permission definition from
plugins)
* We do a multipass resolution of combined plugin permissions (the
former approach was limited to two passes)
We also do logging on the permissions added through plugins. Also did
some code deduplication while at it.
2017-11-09 18:54:51 +01:00
Marc Hannappel
08c90e0909
Merge branch 'maintenance' of github.com:foosel/OctoPrint into dev/permission
2017-10-27 09:11:26 +02:00
Gina Häußge
0afa854763
Support a centralized plugin blacklist (opt-in)
...
A centralized plugin blacklist read from plugins.octoprint.org on server
start now allows us to stop plugins from being loaded that are known to
cause severe issues with OctoPrint's regular operation.
Blacklist entries can be restricted for specific plugin versions &
OctoPrint versions, allowing for very granular control of any kind of
blocking.
Additionally users may disable blacklist processing in general (an
opt-in wizard and a new section in the settings have been added) and
at server start via the new --ignore-blacklist parameter available for
"octoprint serve" and "octoprint daemon".
If a plugin is blacklisted, OctoPrint will not even import the
plugin module in question (if only a plugin key is specified OR a key
and a version and the plugin's version is already known during import
time, which is the case for plugins loaded from entry points) or at the
very least stop the plugin from being enabled (if a plugin key and a
version is specified and the plugin's version is only known after
loading, which is the case for plugins loaded from directories).
2017-10-25 17:29:00 +02:00
Marc Hannappel
9804e3eca0
Merge branch 'devel' of github.com:foosel/OctoPrint into dev/permission
2017-10-25 11:10:58 +02:00
Marc Hannappel
d88b1fbec0
Merge branch 'devel' of github.com:foosel/OctoPrint into dev/permission
2017-10-25 09:11:13 +02:00
Gina Häußge
a9819cc2f9
b/h5 => strong on new reset warnings
2017-10-18 17:19:45 +02:00
Gina Häußge
fd53f47f86
Wider scrollbars & no fade out
...
Increased scrollbar width of file list and plugin repository list to
10px (from 5px). Fixed scroll bar hiding itself on initialization due to
alwaysVisible not properly persisting the initial binding.
Enhance knockout binding syntax for slimScrolledForeach: slimscroll
initialization parameters may now be provided during data binding via
the additional slimscroll property accepted as part of the extended
foreach syntax, e.g.
slimScrolledForEach: {data: ..., slimscroll: {alwaysVisible: true, ...}}
Implements #2111
2017-10-13 17:52:54 +02:00
ntoff
178131945e
Add possible print distruption warning to shutdown dialog
2017-10-06 09:32:49 +10:00
Marc Hannappel
4cbddf66d3
Merge branch 'maintenance' of github.com:foosel/OctoPrint into dev/permission
2017-10-04 09:55:51 +02:00
Gina Häußge
c5e7212fa2
PMGR: Support VCS URLs to install from
...
Implements #2104
2017-10-02 17:56:38 +02:00
Marc Hannappel
9ba9c3b9c5
Merge devel into dev/Permissions with some additions
...
- Fixed a forgoten refactoring inside the first run wizard
- Added possibility to also throw a warning when deprecated JavaScript Variables are used
- Therefore made the whole deprecation logging a bit more generic, so it will be easy to reuse it in the future
- Reintroduces the "deprecated" USER_ARRAY as a non deprecated array, so we have a central place where we can adjust the permissions for users (only valid for first run and creating the user group on migration)
- User group will be created on first run now and when migrating from an older version
2017-09-28 09:00:05 +02:00
Marc Hannappel
1c07974f6c
Adjust the bundled Plugins to the new hasPermission functions
2017-07-27 16:11:45 +02:00
Gina Häußge
e06c09e206
Fix some more FontAwesome related things
...
* remove some more "fa" classes where they didn't belong
* use "fa-toggle-(on|off)" instead of circles where they were used
to signify toggle actions
* fix SD card icon being too high
Another follow-up to #1915
2017-07-21 12:29:18 +02:00
Gina Häußge
266cae3509
PMGR: Refresh on any connectivity change
2017-07-19 18:49:52 +02:00
Gina Häußge
0dcbffb9d2
Bundled plugins: Handle connectivity states
...
See also #2011
2017-07-19 18:42:29 +02:00