Gina Häußge
64fac66dff
Merge branch 'master' into maintenance
2021-11-30 13:54:06 +01:00
Gina Häußge
118eaa66b4
📝 Fix doc bug reported in #4251
...
Plugins get on_plugin_enabled called *before* injection.
Closes #4251
2021-11-30 13:53:35 +01:00
Gina Häußge
6011839f48
✨ New plugin lifecycle callback on_plugin_pending_uninstall
...
Will be called by the plugin manager when a plugin
is about to be uninstalled through it. Useful for
any cleanup tasks a plugin might want to do when it
gets uninstalled.
Note that this method does not HAVE to be called if
the plugin is uninstalled outside of OctoPrint by
deleting/pip uninstall'ing the plugin.
2021-10-08 16:42:59 +02:00
Gina Häußge
6618be9e84
📝 Document new (bundle only) hook
2021-07-06 16:39:06 +02:00
cp2004
e1657d5e3e
✏️ 🐛 Fix a bunch of general doc issues
...
Solves
2021-06-21 16:27:21 +02:00
Gina Häußge
c3a796ae4c
✨ New hook: octoprint.system.additional_commands
...
Allows to inject additional commands into the system menu from plugins.
Implements #4143
2021-06-15 19:44:52 +02:00
Gina Häußge
b0917feba7
✨ New frontend callback "onBeforePrintStart"
...
Can be used to hook into and prevent the start of a print job via click
on "Start" in the print state or click on select & print in the file
list.
2021-06-15 11:35:29 +02:00
Shawn Bruce
513b9b951c
Fix typo in docs for octoprint.server.api.before_request
2021-05-05 11:51:31 -04:00
Gina Häußge
43e5c65472
✨ Add hook "octoprint.printer.handle_connect"
...
Can be used to intercept connect command on Printer interface and
prevent or just hook into.
Closes #3984
2021-03-24 10:08:00 +01:00
Gina Häußge
cf1d6e6a32
Merge branch 'master' into maintenance
2021-01-19 11:44:09 +01:00
Gergő Törcsvári
fad6ee2904
✏️ Added plugin version management to documentation
2021-01-18 10:43:14 +01:00
Shawn Bruce
c8dbd89411
Add onbeforeusersettingsave
2021-01-12 19:41:32 -05:00
Gina Häußge
a84b5be104
📝 Remove some outdated documentation
2021-01-11 19:17:38 +01:00
Gina Häußge
5a86da1090
📝 Remove some outdated documentation
2021-01-11 16:02:33 +01:00
Gina Häußge
f291fa898e
Merge branch 'master' into maintenance
2020-10-08 13:01:32 +02:00
Gina Häußge
1688d8f22a
📝 Feedback controls only work if defined in config.yaml
...
Closes #3759
2020-10-08 12:56:55 +02:00
Gina Häußge
d98b793705
📝 Added version added info to all hooks
2020-09-23 19:10:07 +02:00
Gina Häußge
0d96f1b8ca
✨ New hook octoprint.printer.additional_state_data
...
Use to inject additional data into the regular state pushes to
PrinterCallbacks, including the push socket.
As requested in OctoPrint/plugins.octoprint.org#553
2020-09-23 18:55:29 +02:00
Gina Häußge
65eb45c56a
✨ backup: allow plugins to flag excludes among their data
...
Plugins may now implement the hook octoprint.plugin.backup.additional_excludes
to flag entries inside their data folder (or the whole data folder
in case of .) as to be excluded from backups. The list of currently
excluded folders is supplied to the hook handler as well in order
to make such a decision conditionally.
Implements #3720
2020-09-10 18:04:38 +02:00
Gina Häußge
98c7fc8197
🐛 Fix action command parsing
...
Introduce two new parameters `name` and `params` for hooks to use.
2020-09-03 13:12:39 +02:00
Gina Häußge
b1e2121682
✨ New recovery endpoint & refactoring
...
At /recovery/ there's now a (for now basic) recovery dialog that
currently allows the core functionality from the system command menu, so
shutting down and rebooting the system, restarting OctoPrint and
restarting OctoPrint in safe mode. The most important part here is the
ability to restart in safe mode, as that will allow to get OctoPrint
back into working order if an errant third party plugin or language
pack has made the standard UI non functional.
For that reason, no third party plugins are enabled or utilized on the
recovery dialog, even the theming hook is aggressively error resilient.
In order to still allow to authenticate the user (no one but ADMIN
should be allowed to use the recovery UI) the loginui plugin has been
merged into core as its own endpoint /login/ which coreui and recovery
can redirect to. This is a welcome change considering that the loginui
was absolutely necessary anyhow, and it being a plugin was merely a side
effect of backporting from forcelogin. This has now been cleaned up.
2020-07-20 17:00:31 +02:00
Charles Willis
22177092be
fix firmware capabilities hook name
2020-06-19 15:24:24 +01:00
Gina Häußge
0aed3c05cb
📝 Fix some intersphinx issues
2020-06-16 18:09:42 +02:00
Gina Häußge
2206b84f3e
✨ Add hook to extend serial port names
2020-06-04 18:58:09 +02:00
Gina Häußge
52f990b9cb
Merge branch 'master' into maintenance
2020-04-24 19:05:45 +02:00
Gina Häußge
403b638eb6
📝 Fix an error in the docs
2020-04-24 19:05:08 +02:00
Gina Häußge
63e915c8cc
📝 docs: Update install OctoPi instructions
2020-04-14 14:34:29 +02:00
Gina Häußge
bd2a72d178
📝 docs: Minor changes for version specific imports
...
Also fixed a section that got misplaced by the PR.
2020-04-14 14:33:42 +02:00
OllisGit
99efba4fc3
Update python3_migration.rst
...
Added "Explicit imports" description
2020-04-12 11:31:14 +02:00
Gina Häußge
014d32b83b
💬 foosel/OctoPrint => OctoPrint/OctoPrint
...
Also fixed some links while at it.
2020-04-03 15:00:53 +02:00
Gina Häußge
b818042fc5
📝 More work on the Py3 migration guide
2020-03-03 12:37:22 +01:00
Gina Häußge
f57afca557
📝 Add example to iterator point
2020-03-02 13:45:37 +01:00
Gina Häußge
230740708b
📝 Guide on migrating plugins to Python 3
2020-03-02 12:51:49 +01:00
Gina Häußge
770ebf2cf9
📝 Docs for new access control situation
2020-02-25 15:34:17 +01:00
Gina Häußge
58bc5171ee
✏ Adjusted plugin tutorial for py3
2019-12-13 13:43:29 +01:00
Gina Häußge
231a796200
☔ Limit legal plugin permission keys
2019-12-03 17:26:29 +01:00
Gina Häußge
fe755405e8
📝 Add docs for octoprint.access.permissions hook
...
As mentioned in #3365
2019-12-03 17:14:00 +01:00
Gina Häußge
d8c3063813
⬆️ Update 3rd party deps
2019-11-20 15:30:36 +01: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
fca626a3d6
✨ Support tags on GCODE script hook
...
Also add `plugin:<plugin id>` to script parts from plugins.
Implements #3101
2019-05-08 16:55:18 +02:00
Gina Häußge
be4a931e32
✨ Add Python 3 compat control property
...
As discussed in #2722
2019-02-20 16:14:12 +01:00
Gina Häußge
b6b562399e
💥 Remove deprecated AppSessionManager
...
Has been replaced by the bundled AppKeys plugin and its workflow.
Deprecation will be announced in 1.3.11.
2019-02-13 17:04:31 +01:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
819d690bc3
Merge devel into py23
2019-02-01 16:50:56 +01:00
Gina Häußge
604d2f7811
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/server/views.py
# src/octoprint/templates/dialogs/settings/api.jinja2
2019-02-01 11:12:29 +01:00
Matthias Urlichs
24d2efd3ce
Merge devel into py23
2019-01-31 20:08:40 +01:00
Gina Häußge
1acf69cb6d
🐛 Add CORS headers to tornado endpoints (if enabled)
...
Fixes 1) of #3024
2019-01-31 17:38:10 +01:00
Gina Häußge
38eff3fe6f
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/server/api/system.py
2019-01-31 14:07:14 +01:00
Gina Häußge
c36a378b60
Merge branch 'hotfix/documentation_error' into maintenance
2019-01-30 15:08:41 +01:00
Gina Häußge
9a7ebde76b
📝 Fix documentation for firmware info & capability plugin hooks
2019-01-30 15:02:32 +01:00