Gina Häußge
ff494fad8f
Merge branch 'maintenance' into devel
2022-02-07 17:04:42 +01:00
Gina Häußge
535dcb7109
⏪ Don't rename to_unicode to to_str after all
...
... at least not yet. to_str is currently a (deprecated)
synonym for to_bytes, and changing that behaviour
would be a breaking change. Better leave it to 2.0.
2022-02-07 15:31:16 +01:00
Shell M. Shrader
85990ad184
✨ Allow configuration of encoding used on serial (#4390 )
2022-02-03 10:34:59 +01:00
Gina Häußge
7fb9df9940
♻️ Migrate code base to Python 3 only
...
* pyupgrade
* various new codemods
* manual removal of Py2/3 compat imports
* manual adjustment of docs, examples, tests
* to_str is now the new to_unicode, deprecated
redirection to to_bytes has been removed
* to_native_str has been redirected to point to
to_str
* to_unicode has been redirected to point to
to_str
* atomic_write refactored to use
NamedTemporaryDirectory
* various other fixes/refactorings all over the
place
2022-02-01 12:57:01 +01:00
Gina Häußge
988fbb52db
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance
2022-01-27 15:19:55 +01:00
Gina Häußge
8be58b105e
🐛 Return effective select/print on uploads API
...
Instead of silently ignoring a select/print
on file upload if the necessary preconditions
(printer is online and free to take new jobs) aren't
met, include the effective print/select flags
on the upload API and in the triggered UPLOAD event.
Cleaner would be to simply abort such an API request
with a 409, but that will cause issues with
existing third party plugins and clients and thus
we leave it at simply making the necessary data
available without changing behaviour.
cc @jneilliii
2022-01-27 15:19:42 +01:00
Christian Würthner
a953938c45
Improve timelapse documentation ( #4349 )
...
* Improve timelapse documentation
* Update with suggestinos
* Add thumbnail filed
2022-01-26 15:54:36 +01:00
Gina Häußge
34c46f6a1b
✨ swu: new pip option "force_reinstall"
...
If set to true, will perform a double install,
once normal (to gather required dependencies), once
with --force-reinstall and --no-deps (to force a
reinstall of the package itself).
See #4363
2022-01-25 16:42:13 +01:00
Gina Häußge
0dba51181c
Merge branch 'maintenance' into devel
2021-12-06 16:25:53 +01:00
GitHub Nightly Merge Action
90b762f8ce
Merge branch 'master' into maintenance
2021-12-01 00:08:17 +00:00
Rotzbua
cfd36beaa1
💬 Change docs & license links to https (#4320 )
2021-11-30 16:09:17 +01:00
Bradley Austin Davis
4b12b0e6f0
Add ipv6 loopback address to example ( #4319 )
...
on my recently installed rpi 4b device with the latest octopi image, `localhost` resolves to `::1`, which I hadn't thought to add to the `localNetworks` list in the config. With this change people following this guide as I did will end up adding the ipv6 version so that `localhost` will correctly resolve regardless of which network stack is active and primary.
2021-11-30 15:55:29 +01:00
Gina Häußge
64fac66dff
Merge branch 'master' into maintenance
2021-11-30 13:54:06 +01:00
Gina Häußge
118eaa66b4
📝 Fix doc bug reported in #4251
...
Plugins get on_plugin_enabled called *before* injection.
Closes #4251
2021-11-30 13:53:35 +01:00
Christian Würthner and Gina Häußge
1627b8627b
✨ Websocket: Allow clients to selectively subscribe to messages (#4280 )
...
Adds a `subscribe` message to allow clients to reduce websocket traffic. Docs updated accordingly.
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-11-10 12:01:02 +01:00
GitHub Nightly Merge Action
d4a543426f
Merge branch 'master' into maintenance
2021-11-05 00:06:56 +00:00
thelastWallE
686eda3536
📝 use slash in git bash
...
- changed backslashes to normal slashes for the creation of the venv.
2021-11-04 10:43:36 +01:00
Gina Häußge
bcea4839f6
Merge branch 'maintenance' into devel
2021-11-01 16:34:21 +01:00
GitHub Nightly Merge Action
e293fd1c3e
Merge branch 'master' into maintenance
2021-10-27 00:06:47 +00:00
Charlie Powell
e451493c0d
✏️ Add missing minDelay timelapse data model entry
2021-10-26 20:16:42 +01:00
Gina Häußge
b3affac9e5
Merge branch 'maintenance' into devel
2021-10-11 16:31:25 +02:00
Gina Häußge
577c8020a1
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance
2021-10-11 16:11:13 +02:00
Gina Häußge
027d8f8069
Merge branch 'master' of github.com:OctoPrint/OctoPrint into master
2021-10-11 15:45:40 +02:00
Gina Häußge
d362685bcb
Merge branch 'rc/maintenance' into master
2021-10-11 11:13:31 +02:00
Gina Häußge
6011839f48
✨ New plugin lifecycle callback on_plugin_pending_uninstall
...
Will be called by the plugin manager when a plugin
is about to be uninstalled through it. Useful for
any cleanup tasks a plugin might want to do when it
gets uninstalled.
Note that this method does not HAVE to be called if
the plugin is uninstalled outside of OctoPrint by
deleting/pip uninstall'ing the plugin.
2021-10-08 16:42:59 +02:00
Gina Häußge
cffcecc2bb
📝 Fix a doc formatting issue
...
RST can be so annoying sometimes...
2021-10-08 15:12:00 +02:00
Bryan Kenote
c1a7f999db
add pip install step to osx documentation
2021-10-08 15:03:27 +02:00
Gina Häußge
6a697e9013
Merge branch 'maintenance' into devel
2021-09-13 14:03:05 +02:00
GitHub Nightly Merge Action
30c9b89299
Merge branch 'master' into maintenance
2021-09-10 00:06:05 +00:00
Charlie Powell
0e1ada7a0e
✏️ Add missing tool change scripts documentation
2021-09-09 14:51:58 +02:00
Gina Häußge
4156ccc08f
Merge branch 'maintenance' into devel
2021-08-04 15:55:54 +02:00
Gina Häußge
cc60f457f8
Merge branch 'master' into maintenance
2021-07-26 11:39:44 +02:00
Charlie Powell
19388fc11f
✏️ Add link to data model for printer profiles for gcode scripts
...
Closes #3603
2021-07-26 11:08:17 +02:00
Charlie Powell
464f0cd83f
✏️ Additional file information properties documented
...
Closes #2682
2021-07-26 11:06:35 +02:00
Ben Sycha and Gina Häußge
161e21fe0f
Apply suggestions from code review to fix RST formatting
...
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-07-20 18:56:51 +02:00
Ben Sycha and Charlie Powell
e993405785
Apply suggestions from code review
...
Fix typos and remove irrelevant line
Co-authored-by: Charlie Powell <31997505+cp2004@users.noreply.github.com >
2021-07-20 18:56:51 +02:00
Ben Sycha
323d7ecb0d
📝 add instructions for setting up vscode IDE
2021-07-20 18:56:51 +02:00
Gina Häußge
037519eebd
📝 Add version added to new event
2021-07-20 11:21:54 +02:00
Ian Wilt
f7e53a4a50
Shouldn't have been apostrophes oops
2021-07-19 15:09:50 +02:00
Ian Wilt
07040b103f
Added event FilamentChange
2021-07-19 15:09:50 +02:00
Gina Häußge
7f5700e0f9
Merge branch 'maintenance' into devel
2021-07-13 15:50:19 +02:00
Gina Häußge
6618be9e84
📝 Document new (bundle only) hook
2021-07-06 16:39:06 +02:00
Gina Häußge
635156cf7a
Merge branch 'maintenance' into devel
2021-07-02 16:32:44 +02:00
GitHub Nightly Merge Action
02c2e9e983
Merge branch 'master' into maintenance
2021-06-23 00:05:29 +00:00
Gina Häußge
85f6fa0182
📝 Clarify cookies vs CORS
...
Closes #4174
2021-06-22 17:40:24 +02:00
cp2004
c8f7f25e21
✏️ 🐛 Fix autodoc duplication issues
...
Now we fixed the docstrings, they are defining what is documented out of a module, so we don't need to include members in the top level file.
2021-06-21 16:27:21 +02:00
cp2004
e1657d5e3e
✏️ 🐛 Fix a bunch of general doc issues
...
Solves
2021-06-21 16:27:21 +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
GitHub Nightly Merge Action
0a018dd2c4
Merge branch 'master' into maintenance
2021-06-09 00:05:38 +00:00