Gina Häußge
0a3ad8a880
tracking: add time & reason for failure to print_failed
...
(cherry picked from commit b7e373c )
2018-11-12 14:33:43 +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
cb4404a833
Merge branch 'pr/2878' into staging/maintenance
2018-11-08 15:50:13 +01:00
Gina Häußge
38bb81cfe7
tracking: add throttle events, slightly change throttle payload
...
Also adjusted helper signature in pi_support plugin slightly.
Addon to #2878
2018-11-08 15:49:11 +01:00
Gina Häußge
1667f9bd52
Fix bug introduced in 4caf4ef09
2018-11-08 14:00:48 +01:00
Gina Häußge
1ec61a9fe6
Give the favicon mask SVG width and height attrs
...
Otherwise it won't render correctly in Firefox due to drawImage silently
failing, see also https://bugzilla.mozilla.org/show_bug.cgi?id=700533
Closes #2879
2018-11-08 13:42:19 +01:00
tedder
76f48b3b13
PR feedback: throttle state and uuid
...
- add a way to get the raw value only from throttle state (glad I already plumbed it into the object!)
- add warning about not sending uuid, modify the log entry too
2018-11-08 01:29:15 +00:00
Gina Häußge
8596ae5c4a
SWU: Make sure check providers are in the correct format
...
Just in case there's some odd data in `config.yaml` as reported in https://github.com/foosel/OctoPrint/issues/2871#issuecomment-436507623
2018-11-07 11:10:31 +01:00
tedder
c1482eaacd
add throttle_state to tracking
...
- weave the throttle_state through pi_support and tracking. This should come in handy to see how many throttled Pis are out there, as well as if it is correllated with canceled prints.
- upgraded disclosure of tracking information so it shows as INFO-level in the logs and all the information is dumped. If tracking.octoprint.org gets it, I should have it too :)
2018-11-06 15:37:45 -08:00
Gina Häußge
e23fe4a925
forcelogin: Fix issue when running with acl disabled
...
Closes one variant of #2876
2018-11-06 17:34:01 +01:00
Gina Häußge
343195477b
Fix connection fail if fw doesn't send start
...
Closes #2872
2018-11-06 14:47:39 +01:00
Gina Häußge
4caf4ef09b
Fix GCODE viewer not being able to load files
...
Side effect of the ForcedLogin plugin and a bug in
get_flask_user_from_request.
Closes #2873
2018-11-06 14:02:49 +01:00
Gina Häußge
e14c00f135
Revert "Updated several dependencies to current version"
...
This reverts commit 4ed5f7e
The updates cause issues on very old python environments (distribute
instead of setuptools, e.g. OctoPi 0.12) due to new package formats.
We'll postpone them to 1.3.11, since OctoPrint 1.3.10 will then refuse
to upgrade in such environments anyhow.
2018-11-05 14:25:10 +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
1ff02b9f1c
Update bundled German translation
2018-11-05 11:59:48 +01:00
Gina Häußge
e2c1fa3d43
Appkeys: request creation should respond with 201
2018-11-02 17:04:58 +01:00
Gina Häußge
39a466e316
Appkeys: Make timeout thread safe
2018-11-02 12:53:30 +01:00
Gina Häußge
9e940eacc3
Merge branch 'fix_appkey_orphan_dialogs' of https://github.com/fieldOfView/OctoPrint into pr/2869
2018-11-02 12:27:16 +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
fieldOfView
7f36ffdafd
Expire request_access when the client stops polling
2018-11-02 11:04:06 +01:00
fieldOfView
e30e129e2a
Close request_access dialogs on other open connections when a decision is made
...
Once a decision is made on one connection (browser window), dialogs on other connections are no longer relevant.
2018-11-02 09:22:30 +01:00
Gaston Dombiak
32d5b25013
Removed unnecessary variable initialization
2018-11-01 21:44:42 -07: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
e234c6146e
Better detection of ipv6 support
...
Apparently socket.has_ipv6 doesn't actually do what it says in the docs
(state whether the underlying platform supports ipv6). It returns True
even when ipv6 has manually been disabled for whatever reason. So we
will no longer trust this but instead attempt to actually create a v6
socket and only if that succeeds assume that v6 is indeed supported on
the platform.
2018-10-31 13:39:54 +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
e5e8581f9a
Detect invalid test setups in settings tests
...
Should prevent future cases of the chainmap issue observed in #2828 and
maybe also #2829
2018-10-30 17:16:48 +01:00
Gina Häußge
95a9f84b39
Reflect current connection in connection panel
...
Implements #2859
2018-10-30 15:56:36 +01:00
Gina Häußge
371f1a818f
tracking: add uuid to filename hash in print event tracking
...
We don't need to be able to identify the same file across multiple
instances, just repeated prints on the same instance.
Thanks to @scoder for the suggestion.
2018-10-30 13:36:32 +01:00
Gina Häußge
4ed5f7ed28
Updated several dependencies to current version
...
Werkzeug update required a flask monkey patch since we can't update
flask due to it depending on a newer jinja version which is backwards
incompatible and hence would cause issues with third party plugins.
Also added notes to the dependencies that are found to be hard to update
so that future release preparations don't require to figure out the
"why not" all over again.
2018-10-30 13:31:36 +01:00
Gina Häußge
4eb81aae9d
cura: workaround for broken placeholders in profiles
...
Apparently some exports contain ?print_temperature? instead of
{print_temperature} style placeholders? At least that was observed in
the example in #2629 .
This fixes such placeholders.
2018-10-29 17:41:57 +01:00
Gina Häußge
dafa4c97ad
cura: fix extruder count for start gcode selection
...
Fixes #2629
2018-10-29 17:30:49 +01:00
Gina Häußge
0268cafa90
Reflect current port/baudrate/profile in connection tab
...
Fixes #2740
2018-10-29 13:56:34 +01:00
Gina Häußge
a5caac8d38
Disable external heatup detection for teacup fw
...
Implements #2854
2018-10-29 11:55:37 +01:00
Gina Häußge
d9323b7172
docs: new clientjs asset type
2018-10-29 11:44:27 +01:00
Gina Häußge
8f6d67195d
appkeys: clean up pendings older than 10min & meta data
2018-10-29 11:42:12 +01:00
Gina Häußge
d7c5f57c98
appkeys: fix app bulk selection
2018-10-29 10:32:13 +01:00
Gina Häußge
6d7d365b27
appkeys: bulk delete & fixed sorting
2018-10-23 13:47:54 +02:00
Gina Häußge
37190da2d6
Merge branch 'maintenance' into improve/appauth
...
# Conflicts:
# src/octoprint/server/util/flask.py
2018-10-22 18:50:32 +02:00
Gina Häußge
2746139fa6
appkeys: central settings page with all keys
2018-10-22 18:44:55 +02:00
Gina Häußge
1d15c2a176
backup: docs & small changes in wording
2018-10-22 16:42:47 +02:00
Gina Häußge
1889a40241
Merge branch 'improve/swuCheckEnvironment' into maintenance
2018-10-22 13:07:59 +02:00
Gina Häußge
e9e4adf09b
tracking: flask.ext.babel => flask_babel
2018-10-22 13:01:42 +02:00
Gaston Dombiak
c4167a82c5
Fixed unsafe write_message call from another thread.
...
Issue #2850
2018-10-21 00:58:14 -07:00
Gina Häußge
087a9ece2c
Make sure to show only one external address warning notification at once
2018-10-19 17:00:42 +02:00
Gina Häußge
b77380a8ac
Add logging for active/passive login
2018-10-19 16:50:58 +02:00
Gina Häußge
169275b052
Fix wrong position of parentheses, add unit tests
2018-10-19 16:39:18 +02:00
Gina Häußge
757dfcf5c7
unmap ipv6 mapped v4 addresses on lan check
2018-10-19 16:19:51 +02:00
Gina Häußge
8e39eac207
discovery: start name counter at 1
...
We want our second instance with the same name to show up as (2) not (1)
2018-10-19 14:17:16 +02:00