Matthias Urlichs
008cde6ef6
octoprint.user => octoprint.access.user
2019-01-28 14:14:23 +01:00
Matthias Urlichs
a1a15e40e0
Replace all bare "except:" handlers
...
These are never what we want, as they swallow KeyboardInterrupt.
TODO: many of these handlers really should be more specific and/or
log that they replaced an unparseable value with a default.
2019-01-28 07:50:55 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
Matthias Urlichs
670ca15997
Merge remote-tracking branch 'origin/maintenance' into py23
2019-01-27 17:28:46 +01:00
Matthias Urlichs
958fc7600d
Merge commit 'e0543de8ef5c1f67d4064e84a5e7ecacbdf1029e' into py23
2019-01-27 17:15:52 +01:00
Matthias Urlichs
f993f744ba
Merge commit 'c623e90ebc59b90b4f4cf582ab8185b2872acff4'; commit 'f416e96414f33fb31afdf4dfbf3c863e3db35543'; commit '9ecf39febe31a44e5f5db28249ebbf006ac1580c'; commit '582b03f21fe3d808bf4e11bbba90af54b6651b34'; commit 'f5c8b04958170f19f1806b1722bf5e857ded3dce'; commit '36818057a3b4769a77731f3be8bc661437db7132'; commit 'd987cb23c119132b287f70f1c979aac8c9fff7d2' into py23
2019-01-27 17:10:01 +01:00
Gina Häußge
3b26a2f7d2
Take bundle status into account for plugin sorting
2019-01-17 17:54:24 +01:00
Gina Häußge
467dd344cf
docs: document time field in PrintCancelled payload
2019-01-16 18:48:53 +01:00
Gina Häußge
06a3baa588
Merge branch 'maintenance' into pr/2900
2019-01-16 17:52:06 +01:00
Gina Häußge
07934d26eb
Refactored some things and added more docs
...
There was still some redundancy due to how SD upload so far was
implemented. Things are now better reusable from hooks.
Also fixed the problem that OctoPrint would *always* use the first hook,
whether it actually handled the upload or not.
2019-01-16 17:51:53 +01:00
Gina Häußge
3ae97a3e13
Add user & job owner to print job events
...
Adds print job owner (= user who selected/started a job) and user who
started/paused/resumed/cancelled a job to the print job events as
applicable.
Also added logging of print job events to octoprint.log with this
information.
Plugins can use the event data for further logging or tracking.
Implements #2982
2019-01-16 14:04:16 +01:00
Gina Häußge
da61a49bd8
Forgot something
2019-01-15 17:28:13 +01:00
Gina Häußge
002802bb20
Deprecate appkey API in favor of Application Keys Plugin
...
Slated to be removed in 1.4.0. AFAIK nobody used it anyhow.
2019-01-15 17:25:58 +01:00
Gina Häußge
45b59494ca
Add new hook too allow plugins to register custom events
...
Implements #2965
2019-01-15 16:54:50 +01:00
Gina Häußge
c66b451efd
Merge branch 'maintenance' into devel
2018-12-19 13:35:42 +01:00
Unknown
f8f461b804
add callback for on success/error for hook sdcopy
2018-12-18 19:07:15 +01:00
Gina Häußge
99225244f1
Add full version string to API
2018-12-17 14:20:42 +01:00
Unknown
054bbead72
clean doc + add default function + reduce parameter
2018-12-13 21:28:49 +01:00
Unknown
30294e9009
replace tab by space
2018-12-13 18:39:29 +01:00
MirceaDan
f243a52823
all files start now with same 2 lines
...
# coding=utf-8
from __future__ import absolute_import, division, print_function
2018-12-02 02:13:12 -08:00
MirceaDan
36818057a3
commands to be able to develop for py2 and py3 in same time
...
this way we can test both py2 and py3
2018-12-01 13:13:19 -08:00
Gina Häußge
970c867ee4
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/users.py
2018-11-28 16:33:11 +01:00
Gina Häußge
c4295d6a81
Merge branch 'staging/maintenance' into maintenance
2018-11-28 14:57:14 +01:00
Gina Häußge
c2ef371089
Docs: add documentation for some config params
2018-11-23 11:12:40 +01:00
Gina Häußge
6556d555bd
forcelogin: Keep message backlog while not authed
...
First part of the fix for #2898
2018-11-19 15:22:33 +01:00
Unknown
abb14dc17a
add hook for sdcard copy + documentation
2018-11-16 11:17:05 +01:00
Unknown
a45c86eed1
Revert "add self param to error_hook + update documentation"
...
This reverts commit c30380d423 .
2018-11-16 11:03:35 +01:00
Unknown
c30380d423
add self param to error_hook + update documentation
2018-11-16 11:02:15 +01:00
Gina Häußge
88c93a7c11
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
2018-11-13 16:22:07 +01:00
Gina Häußge
56a1d4f966
Merge branch 'staging/maintenance' into maintenance
2018-11-13 16:17:08 +01:00
Gina Häußge
82615791a2
Add time & reason for failure to PrintFailed event
...
(cherry picked from commit dae0264 )
2018-11-12 14:33:42 +01:00
Gina Häußge
2b5af2c36a
Add docs for octoprint.util.commandline
2018-11-09 18:16:57 +01:00
Gina Häußge
a939130748
Better description for Error event
2018-11-08 18:39:03 +01:00
Gina Häußge
dae0264a58
Add time & reason for failure to PrintFailed event
2018-11-08 17:41:27 +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
5b4839369e
appkeys: Probe endpoint to check for workflow support
...
Also adjusted docs and js client lib accordingly.
2018-11-05 12:50:05 +01:00
Gina Häußge
2e38f237de
Fix cancel snippet for shared nozzle setups
...
See https://discourse.octoprint.org/t/prusa-mmu2-how-to-properly-configure/4937/
2018-11-02 12:20:05 +01:00
Gaston Dombiak
6227a0dfb9
1) Fixed documentation about speed unit and 2) extrusion speed is now limited to printer profile max value
2018-10-31 20:45:56 -07:00
Gina Häußge
5ee242be4a
Fix doc bug: mm/s => mm/min
2018-10-31 11:54:17 +01:00
Gaston Dombiak
556878a774
Merge branch 'maintenance' into extrude_speed
2018-10-30 19:09:05 -07:00
Gaston Dombiak
00aa4876e9
Added support to specify extrude/retract speed. Only at REST API. No UI changes were made
2018-10-30 19:01:20 -07:00
Gina Häußge
7ca9d56327
Merge branch 'improve/appauth' into maintenance
2018-10-29 11:45:05 +01:00
Gina Häußge
342d526a51
appkeys: finalize docs
2018-10-29 11:08:00 +01:00
Gina Häußge
d89ca38ee8
WIP: Docs for appkeys plugin
2018-10-29 10:30:48 +01:00
Gina Häußge
cb969be403
docs: clarify that user name == user id
2018-10-24 09:52:26 +02:00
Gina Häußge
7cb649c303
docs: fix auth message docs on push API
...
Thanks @gdombiak for the heads-up
2018-10-24 09:48:00 +02:00
Gina Häußge
c9f10ae723
printer_safety_check: docs update
2018-10-22 17:42:31 +02:00
Gina Häußge
202006149c
forcelogin: documentation, incl. newly added hooks
2018-10-22 17:38:48 +02:00
Gina Häußge
671973062e
announcements: add missing images for docs
2018-10-22 16:43:07 +02:00
Gina Häußge
1d15c2a176
backup: docs & small changes in wording
2018-10-22 16:42:47 +02:00