Gina Häußge
20ca1018bd
Merge branch 'devel' into dev/commRefactoringNG
2021-07-02 16:35:55 +02:00
Gina Häußge
635156cf7a
Merge branch 'maintenance' into devel
2021-07-02 16:32:44 +02:00
Gina Häußge
d73d530600
✨ Colored console output
2021-07-02 16:24:30 +02:00
Gina Häußge
cbe72cc1ec
🎨 Clean up a Py2 leftover
2021-07-02 16:18:15 +02:00
Gina Häußge
8ff0eab24e
🚧 virtual: Better error handling & identifier
2021-07-02 16:16:49 +02:00
Gina Häußge
11047940bc
🐛 Further debugging
...
Disconnect handling, print time left calculation, and so on
2021-07-02 16:02:13 +02:00
Gina Häußge
a707bfdee4
🚧 Timeouts & error handling on sockets
...
Also fix PushingTransportWrapper for SocketTransport
2021-07-01 19:45:58 +02:00
Gina Häußge
c2d1e279ae
🐛 script.name => script
2021-07-01 19:43:19 +02:00
Gina Häußge
7f8cc5601b
🔥 Deactivating namedpipe stuff
...
This is not yet working and we'll concentrate on TCP and maybe
UDS for now.
2021-07-01 14:35:17 +02:00
cp2004
c355318f1a
🐛 Fix files with no dimensions breaking the files UI
...
I had a response like
```
"date": 1614624977,
"display": "Misc_-_Happy_Birthday_1.gcode",
"gcodeAnalysis": {
"analysisPending": false
},
"hash": "20af558d1fc68865333892cd9d0536293120e3b7",
"name": "Misc_-_Happy_Birthday_1.gcode",
"origin": "local",
"path": "Misc_-_Happy_Birthday_1.gcode",
```
Can't go 3 levels deep in JS without checking that the object exists, which apparently in some cases it doesn't.
2021-06-30 23:28:05 +01:00
Gina Häußge
e0d874059d
🚧 virtual_printer: TCP, UDS, NamedPipe CLI
...
That way we can spawn the printer as a server and test the related
transports more easily.
TODO:
* Test UDS
* Fix NamedPipe stuff, currently connection doesn't work
2021-06-30 19:04:31 +02:00
Gina Häußge
34f94a043d
✨ UnixDomainSocket and Named Pipe transports
2021-06-30 19:01:16 +02:00
Gina Häußge
df08459ede
🥅 Some more sanity checking of FFMPEG params
2021-06-23 12:16:39 +02:00
Gina Häußge
87ddc8468c
♻️ Switch to b:v for bitrate
...
Seems more fitting to do add a stream selector for the video stream
based on the ffmpeg docs and #4059
Closes #4059
2021-06-23 12:16:39 +02:00
Gina Häußge
d774122023
🥅 Protect against invalid bitrate values
2021-06-23 12:16:39 +02:00
Gina Häußge
146c83152d
🚸 Add FAQ link to throttled messages
...
Closes #4069
2021-06-22 19:03:46 +02:00
Gina Häußge
8bf25c33e5
🚸 Remove artifical upper limit on extruder count
...
It was only cosmetic in nature anyhow, and kinda misleading.
Closes #4149
2021-06-22 18:44:53 +02:00
cp2004
e1657d5e3e
✏️ 🐛 Fix a bunch of general doc issues
...
Solves
2021-06-21 16:27:21 +02:00
cp2004
05cd0211ff
✏️ 🐛 Move some future imports below docstrings
...
This broke sphinx autodoc, it would not pick up the module-level docstrings. In most cases, this was not really a problem but printer profiles documentation was missing quite a lot.
2021-06-21 16:27:21 +02:00
cp2004
7a13ec1edc
🐛 Fix G90/G91 feature label
...
Introduced by #4116 , seems I should have paid more attention and not just experimented in the devtools.
2021-06-21 15:21:26 +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
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
Gina Häußge
786203b7ac
🚧 WIP: Fixing/implementing things left and right
2021-06-10 16:51:54 +02:00
Gina Häußge
c2cec4e11c
♻️ Some refactoring
...
And also some bug fixes
2021-06-09 16:08:27 +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
Gina Häußge
b5a7586926
✨ Implement serial port auto detection
2021-06-08 21:35:51 +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
7ffa3595db
🔊 Improved autoconnect logging
2021-06-01 22:35:10 +02:00
Gina Häußge
47e25d54cd
🐛 Implement auto connect on startup
...
If configured as such, OctoPrint will attempt to auto connect to the
default profile on startup.
2021-06-01 22:30:39 +02:00
Gina Häußge
3196f0b445
📝 Some TODOs are taken care of :)
2021-06-01 21:10:42 +02:00
Gina Häußge
d478a0c4bb
🐛 More fixing of param processing
2021-06-01 21:04:26 +02:00
Gina Häußge
d98f7a2dcb
🐛 Fix display of last connection params
2021-06-01 17:48:54 +02:00
Gina Häußge
56033f56a0
🐛 More wrangling with the frontend
2021-06-01 16:09:14 +02:00
Gina Häußge
d62c97081c
✨ Add support for USB serialno & location matching
2021-05-31 19:49:03 +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