Gina Häußge
379c969a9f
💚 Fix docs build
...
A bundled sphinx extension (silently) broken and caused build issues.
We now require Python 3 to build the docs.
2020-06-08 15:16:08 +02:00
Gina Häußge
e4f8448d26
Merge pull request #3575 from eyal0/patch-4
...
Add single quotes around pip install command
2020-06-05 13:18:06 +02:00
Gina Häußge
a4d6e24dad
♻ Isolate virtual printer fully into plugin
2020-06-04 19:02:25 +02:00
Gina Häußge
2206b84f3e
✨ Add hook to extend serial port names
2020-06-04 18:58:09 +02:00
Gina Häußge
2b527f333f
➖ Remove tox
2020-06-03 15:17:21 +02:00
Eyal
5533263e91
Add single quotes around pip install command
...
zsh reqiures this and it shouldn't affect other shells
2020-05-25 21:02:32 -06:00
Gina Häußge
52f990b9cb
Merge branch 'master' into maintenance
2020-04-24 19:05:45 +02:00
Gina Häußge
403b638eb6
📝 Fix an error in the docs
2020-04-24 19:05:08 +02:00
Gina Häußge
45aff52c81
Merge pull request #3534 from flaviut/add-request-profiling
...
Add request profiling
2020-04-24 10:25:57 +02:00
Flaviu Tamas
65b960f0f0
Add request profiling code
...
To profile a given request, just add ?perfprofile to the url. Instead of
returning the actual results, an HTML presentation of the profiling
results is returned.
This is only enabled when debug mode is enabled.
2020-04-23 19:16:48 -04:00
Gina Häußge
a871766175
Merge branch 'master' into maintenance
2020-04-20 21:19:15 +02:00
Gina Häußge
97a82c0cc1
📝 Fix docs of some modules
2020-04-20 21:19:00 +02:00
Gina Häußge
e6336c62ab
☂ Drop file descriptors on all subprocesses
...
At least if possible (close_fds + stdout/stderr redirection is not
supported on win32 in Python <= 3.7).
Closes #3378
2020-04-20 21:05:57 +02:00
Gina Häußge
2cb8b03f7b
🐛 Return 409 on select command if print is ongoing
...
Closes #3525
2020-04-20 13:39:58 +02:00
Gina Häußge
aab012d530
✨ Also test if DNS works in connectivity check
...
Should hopefully unearth cases where the system has a connection to the
internet but name resolution is broken in some way.
We default to resolving octoprint.org.
2020-04-17 14:21:12 +02:00
Gina Häußge
00a5243ec9
✨ config flag to configure SameSite and Secure cookie headers
...
Provides one part of the solution to #3482 . The other part is sadly
on the shoulders of the user, who needs to setup either a whole domain
hierarchy to not run into "third party page" issues that would trigger
SameSite=Lax blocking, or needs to reconfigure their setup to use
https and make sure to set Secure to true.
Closes #3482 (there's nothing else I can do here)
2020-04-15 13:27:56 +02:00
Gina Häußge
d513459c63
Merge branch 'pr/3517' into maintenance
2020-04-14 14:34:50 +02:00
Gina Häußge
63e915c8cc
📝 docs: Update install OctoPi instructions
2020-04-14 14:34:29 +02:00
Gina Häußge
bd2a72d178
📝 docs: Minor changes for version specific imports
...
Also fixed a section that got misplaced by the PR.
2020-04-14 14:33:42 +02:00
Gina Häußge
e366bbb588
📝 docs: update devenv setup
2020-04-14 13:25:15 +02:00
Gina Häußge
e6b747aef5
📝 docs: link to python docs for encoding & errors parameters
...
We don't want to try to duplicate python docs, let's use what already
exists and just make it easier to find.
2020-04-14 13:06:24 +02:00
OllisGit
99efba4fc3
Update python3_migration.rst
...
Added "Explicit imports" description
2020-04-12 11:31:14 +02:00
Gina Häußge
810ee2f6d0
Merge branch 'pr/3503' into maintenance
...
# Conflicts:
# AUTHORS.md
2020-04-07 15:34:56 +02:00
Gina Häußge
09b07274ab
✨ Remove feed/flow rate upper limits altogether
...
Gets rid of sliders as well (since those don't work without an upper
limit) and adds a note to both that they are "write-only" as we don't
have a way to query the current values from the firmware (yay...).
Modifies #3503
Also fixes a bug in #3503 , which only adjusted the client side
boundaries but forgot about the server side.
2020-04-07 15:33:55 +02:00
Gina Häußge
014d32b83b
💬 foosel/OctoPrint => OctoPrint/OctoPrint
...
Also fixed some links while at it.
2020-04-03 15:00:53 +02:00
Tobias Schürg
596a01ab30
Update documentation for factor.
2020-04-01 23:06:16 +02:00
Gina Häußge
761a0fdb61
♻ Extract printer safety warning into dependency
...
Renamed to firmware check, published to PyPI, on a different release
cycle and version number scheme than core OctoPrint but still considered
bundled via a new mechanism to mark external plugins as such.
This will speed up deployment of new firmware checks in case of new
printers with disabled thermal runaway protection, or stuff like the CBD
firmware.
2020-03-27 15:42:06 +01:00
Gina Häußge
b818042fc5
📝 More work on the Py3 migration guide
2020-03-03 12:37:22 +01:00
Gina Häußge
f57afca557
📝 Add example to iterator point
2020-03-02 13:45:37 +01:00
Gina Häußge
230740708b
📝 Guide on migrating plugins to Python 3
2020-03-02 12:51:49 +01:00
Gina Häußge
770ebf2cf9
📝 Docs for new access control situation
2020-02-25 15:34:17 +01:00
Gina Häußge
e30e18e431
📝 Docs for reauthRequired push message
2020-02-24 12:49:12 +01:00
Gina Häußge
cb43197105
🐛 Fix endpoint in docs
2020-01-24 13:08:10 +01:00
Gina Häußge
b1b9329614
♻ Move /api/access/user to /api/currentuser
...
Update documentation accordingly.
See also #3418
2020-01-24 13:05:06 +01:00
Gina Häußge
7317814ce0
📝 Document needed permissions & fix some stuff
2020-01-23 13:21:52 +01:00
Gina Häußge
66ef7b66bb
📝 Documentation for the access API
2020-01-22 18:39:32 +01:00
Gina Häußge
1d0829a1db
🐛 Introduce ClientAuthed event
...
May act as entry point for any kind of push messages a plugin might
wish to send to the client after a connect happened. Since depending
on the current permission configuration this might only be possible
once the client has authenticated on the socket, this is required.
Should close #3400
2020-01-21 15:53:52 +01:00
Gina Häußge
58bc5171ee
✏ Adjusted plugin tutorial for py3
2019-12-13 13:43:29 +01:00
Gina Häußge
231a796200
☔ Limit legal plugin permission keys
2019-12-03 17:26:29 +01:00
Gina Häußge
fe755405e8
📝 Add docs for octoprint.access.permissions hook
...
As mentioned in #3365
2019-12-03 17:14:00 +01:00
Gina Häußge
d8c3063813
⬆️ Update 3rd party deps
2019-11-20 15:30:36 +01:00
Gina Häußge
e17db4e1cf
📝 SWU: document new pypi_release check type
2019-11-15 10:43:34 +01:00
Gina Häußge
7f2eb470e4
Merge branch 'maintenance' into devel
2019-11-08 14:52:20 +01:00
György Balássy
96294df710
Fixed a typo in the restore command name of the Backup plugin
2019-11-05 22:25:25 +01:00
Gina Häußge
9cd597a467
🐛 Fix invalid use of 401 response code
...
Leftovers from fixing #2297 .
Fixes #3327
2019-11-05 13:21:49 +01:00
Dominik Palo
19e03eeeb2
Revert a line break
2019-11-03 09:24:51 +01:00
Dominik Palo
e73aeba03b
Unify macOS naming across docs
2019-11-03 09:23:04 +01:00
Dominik Palo
87f3c5acce
Fix documentation for venv step on macOS
2019-11-03 09:19:24 +01:00
Gina Häußge
888fb97e66
💡 Clarify Error event in docs
...
Closes #3210
2019-10-31 09:57:57 +01:00
Gina Häußge
4bf3445eef
💡 Fix a doc bug
...
Closes #3233
2019-10-30 18:23:57 +01:00