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
Gina Häußge
cae4f1a0b7
🚸 Show annoying notification if Py2 is detected
...
As suggested in #4166
2021-06-14 16:28:57 +02:00
Gina Häußge
1fb243099c
💬 pmgr: Fix wording of a message
2021-06-14 15:56:01 +02:00
Gina Häußge
45cf5ddf44
🥅 pmgr: Better handling of python version mismatch
...
Users now get a meaningful error message in both the plugin install log
as well as a clickable FAQ link in the plugin management log
notification.
Works for pip and single file installs.
Implements #4166
2021-06-14 15:55:05 +02:00
Gina Häußge
bb6b694fa7
♻️ Extract octoprint.plugin.core.parse_plugin_metadata
...
This way our plugin AST parser routine becomes reusable in things like
the plugin manager.
2021-06-14 15:53:06 +02:00
Gina Häußge
6dd92f234f
🚸 Recovery: Focus on sys info bundle instead of text dump
...
Follow-up to d19acf892a
2021-06-14 11:25:16 +02:00
Gina Häußge
6f2c8c1e2b
🐛 Fix TEMPLATES_AUTO_RELOAD not being honored
...
Now stuff should reload properly again on change.
2021-06-14 11:21:47 +02:00
Gina Häußge
e98a5df858
🚸 Special metadata output for empty files
...
Instead of zero dimensions and bounding box we now just say "Model
contains no extrusion."
That should hopefully make it clear. Works for new analysis results with
`_empty` flag as well as analysis results with all 0 dimensions.
See also #4162
2021-06-14 11:01:52 +02:00
Gina Häußge
054b856839
🐛 Set empty analysis result for empty files
...
That way they won't get added to the backlog again on every single
server startup.
Fixes #4162
2021-06-14 10:59:41 +02:00
Gina Häußge
d19acf892a
🚸 Make bundle download more visible
...
Many users are still copy/pasting the textual system info dump and
forget to share the bundle. Rephrase the request to target the bundle
and hide the info dump behind a More area. Also link to the bundle
viewer.
2021-06-11 12:15:26 +02:00
Gina Häußge
df5f456072
🔊 Improve logging of folder config issues
...
See #4167
2021-06-10 18:09:10 +02:00
cp2004
f9543773ec
🐛 Missed dialog for fade in
...
Missed the 'reload settings' dialog when sorting out the animations, missed one
2021-06-09 15:48:35 +02:00
GitHub Nightly Merge Action
0a018dd2c4
Merge branch 'master' into maintenance
2021-06-09 00:05:38 +00:00
Gina Häußge
4c1152c70b
📝 Fix printer profiles API docs
...
Phrasing improved and some copy-paste issues resolved as well.
Fixes #4160
2021-06-08 15:53:17 +02:00
ldursw
7955fbd269
Fix code style
2021-06-08 15:28:24 +02:00
ldursw
b60c1092a4
Add arc calculation to gcode interpreter
2021-06-08 15:28:24 +02:00
Gina Häußge
6fc97f8f30
🐛 tracking: Fix a rename error
2021-05-26 18:18:52 +02:00
Gina Häußge
c37c64a742
✨ tracking: Track browser/OS of webui on load
...
Can of course be disabled.
Better implementation of #4148
Thanks you @apbarratt!
2021-05-26 17:11:42 +02:00
Gina Häußge
e6860aaec6
✨ CoreUI: Add browser/browser OS name & version to detection
2021-05-26 17:09:58 +02:00
Gina Häußge
fcf45f7d59
✨ Support position autoreporting
...
Includes proper handling auf cancel/pause situation, where we use the
position report as a signal that all movement has ended and the position
report should be used for final cancel/pause position, adds a new
terminal filter and also takes care of capability report evaluation and
proper interval setting via M154.
cc @thinkyhead - the cancel/pause situation worried me, so I took a look
how to solve it and that meant the implementation was already done as
well. Hope you don't hold it against me to tackle this myself after all.
2021-05-25 19:50:06 +02:00
Gina Häußge
e11cd882e6
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance
2021-05-25 11:16:27 +02:00
Gina Häußge
88921542ef
✨ Send M20 L if detected as supported
...
Also support quoted long names, which apparently are sent by some
firmwares? Make a suggestion for a format that is universally parseable,
document it on the reprep wiki, people STILL find a way to be
incompatible to it. I can't even...
Anyhow. See https://community.octoprint.org/t/adding-support-for-m20-l/34402
2021-05-25 11:15:43 +02:00
Stevil Knevil
1c70931e12
Wrapped text for translation
2021-05-21 10:43:11 +02:00
Stevil Knevil
8e15dffca0
Added helptext
2021-05-21 10:43:11 +02:00
Stevil Knevil
e9ea4c4d95
Improved wording around backup message
2021-05-21 10:43:11 +02:00
Gina Häußge
9cf0802bf2
💚 Fix a typo in a unit test
2021-05-20 15:21:11 +02:00
Gina Häußge
f1ea8a3a02
Merge branch 'master' into maintenance
2021-05-20 14:35:35 +02:00
Gina Häußge
8db57f72ab
📝 Remove a left over
2021-05-20 14:34:54 +02:00
Gina Häußge
86c2b60a4d
Merge branch 'master' into maintenance
2021-05-20 12:13:24 +02:00
Gina Häußge
3c9fa3eff2
📝 Update dev env docs
...
We need to update the links to the py2 windows files. Also make py2
environment instructions optional across the board, they really should
only be relevant for maintenance going forward.
2021-05-20 12:11:00 +02:00
Gina Häußge
f912adcd33
✨ Support unicode file names on Py3
...
If we are on py3 and thus can rely on pathvalidate, we'll now no longer
slugify uploaded files names, but try to keep them as close to the
original name as possible, including unicode and emoji and whatnot. This
requires the underlying file system to support this, so just in case the
old behaviour can be enforced by setting the config flag
feature.enforceReallyUniversalFilenames to true.
Closes #4078
2021-05-20 10:36:01 +02:00
Gina Häußge
ecf56b6658
🔥 Remove deprecated octoprint.util.get_free_bytes
2021-05-19 17:56:08 +02:00
Gina Häußge
1f4d22affb
Merge remote-tracking branch 'origin/maintenance' into maintenance
2021-05-18 14:42:50 +02:00
Gina Häußge
5d326e9c57
🥅 Ensure int for printTimeLeft from plugins
...
See #4084
2021-05-18 14:42:24 +02:00
Gina Häußge
e4fff3ff4f
Merge branch 'master' into maintenance
2021-05-18 14:40:36 +02:00
Gina Häußge
884ccee5f8
📝 Fix some doc bugs
...
Closes #4084
2021-05-18 12:38:45 +02:00
Gina Häußge
ac07c77276
Merge pull request #4135 from eyal0/patch-6
...
bedZ should be a float
2021-05-18 11:37:07 +02:00
Gina Häußge
c838436d77
Merge pull request #4136 from cp2004/fix/samesite-none
...
🐛 Fix SameSite=None cookie
2021-05-18 11:35:37 +02:00
Gina Häußge
f2845855dd
Merge pull request #4137 from oliof/patch-1
...
Update messages.po
2021-05-18 11:33:36 +02:00
Gina Häußge
bce1b028c9
Merge pull request #4128 from StevilKnevil/improve/ignored_commands
...
Improve/ignored commands
2021-05-18 11:31:33 +02:00
Harald Wagener
d153bad51b
Update messages.po
...
tiny grammar fix.
2021-05-13 11:25:06 +02:00
cp2004
d83d4b1528
📝 Adjust/clarify docs
2021-05-12 16:45:27 +01:00
cp2004
2c03ecdfff
🐛 Fix SameSite=None cookie
...
When passing Python's NoneType down to Werkzeug, it uses this logic:
```python
if samesite is not None:
samesite = samesite.title()
if samesite not in {"Strict", "Lax", "None"}:
raise ValueError("SameSite must be 'Strict', 'Lax', or 'None'.")
```
This means that when OctoPrint converted any strings 'None' into NoneType,
they would not show up in the Set-Cookie header.
Investigation: https://community.octoprint.org/t/unable-to-log-into-octoprint-through-an-iframe-on-home-assistant/33977/20?u=charlie_powell
Link to werkzeug source: https://github.com/pallets/werkzeug/blob/1dde4b1790f9c46b7122bb8225e6b48a5b22a615/src/werkzeug/http.py#L1213-L1217
Docs, while not explicitly clear, here: https://werkzeug.palletsprojects.com/en/1.0.x/http/?highlight=dump_cookie#werkzeug.http.dump_cookie
2021-05-12 16:30:44 +01:00
Eyal
7234b26d2a
bedZ should be a float
2021-05-11 09:34:16 -06:00
Gina Häußge
0ad9690abd
Merge pull request #4132 from cp2004/improve/pgmr-cache-no-render
...
⚡ Don't re-render the plugin repository if notmodified
2021-05-11 16:56:54 +02:00
Gina Häußge
fa8d4f7c58
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance
2021-05-10 16:39:07 +02:00
Gina Häußge
6810a2c00f
Merge branch 'master' into maintenance
2021-05-10 16:38:59 +02:00
Gina Häußge
6053cad832
💚 Update cypress dependencies
2021-05-10 16:37:33 +02:00
Gina Häußge
8b319e9637
🔖 Preparing release of 1.6.1
1.6.1
2021-05-10 11:44:33 +02:00
cp2004
e403e8cc75
⚡ Don't re-render the plugin repository if notmodified
...
Closes #4131
2021-05-09 16:58:39 +01:00