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
98c84b6bb9
fix test, match dict
2018-11-08 01:34:45 +00: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
8939537fb5
Merge branch 'staging/maintenance' into maintenance
2018-11-06 15:57:18 +01:00
Gina Häußge
2f08b90200
Merge branch 'master' into staging/maintenance
2018-11-06 15:56:33 +01:00
Gina Häußge
68ca2c5e51
Pin regex dependency to last known working version
...
See #2874 and https://bitbucket.org/mrabarnett/mrab-regex/issues/301/typeerror-character-mapping-must-return
2018-11-06 15:52:41 +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
54677f96f4
Merge branch 'maintenance' into devel
2018-11-06 12:32:25 +01:00
Gina Häußge
0ba987e126
maintenance is now 1.3.11.dev
2018-11-06 12:31:53 +01:00
Gina Häußge
0325628693
staging/maintenance is now 1.3.10rc2.dev
2018-11-06 12:29:28 +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
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.
1.3.10rc1
2018-11-05 14:25:10 +01:00
Gina Häußge
b0a4a49f99
Changelog for 1.3.10rc1
2018-11-05 13:18:05 +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
Gina Häußge
39b2da3230
Merge pull request #2868 from gdombiak/extrude_speed2
...
Documentation fixed and extrusion speed value check
2018-11-02 10:52:42 +01:00
fieldOfView
c489829efb
Add myself to AUTHORS.md
...
because it's a requirement for a PR
2018-11-02 09:31:56 +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
Gina Häußge
c146731e5a
Merge pull request #2865 from gdombiak/extrude_speed
...
Extrude speed
2018-10-31 11:58:28 +01: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
f72f948744
Merge pull request #2828 from tedder/devel_ted_py3_round3
...
tedder's python3 fixes, round 3
2018-10-30 17:36:38 +01: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
3ad4818488
Use read instead of write mode in _load_yaml
2018-10-30 16:56:14 +01:00
Gina Häußge
b3cc44cea5
Fix build error
...
`octoprint_setuptools` is imported into the build before the dependencies are installed, hence we don't have `past.builtins` yet. Since the `basestring` type was only needed for some asserts here that *usually* shouldn't be needed we can just comment out that stuff for now.
2018-10-30 16:46:12 +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
7ca9d56327
Merge branch 'improve/appauth' into maintenance
2018-10-29 11:45:05 +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