Christian Clauss
6ee8325f5b
✏️ Fix several typos (#4599 )
2022-08-02 15:48:14 +02:00
Gina Häußge
a355499467
✨ Support traefik's X-Forwarded-Prefix header
...
Traefik sets `X-Forwarded-Prefix` to the prefix path
if the stripPrefix middleware is used. Instead of
having to define `X-Script-Name` manually in such
cases, this now makes OctoPrint also check that
header for prefix information.
See also https://doc.traefik.io/traefik/middlewares/http/stripprefix/
2022-08-02 14:14:34 +02:00
Gina Häußge
4a9b18582d
Merge branch 'master' into staging/bugfix
2022-08-02 12:27:20 +02:00
Federico Nembrini
8d2d06eeee
🚸 SWU: Add a display indication when the Github access token is set (#4540 )
...
* Add github set flag in software update plugin
* Improve github token presence check
* Remove "github_set" from default settings.
Improve credentials presence check.
Revert restricted_paths edit.
2022-08-02 10:18:05 +02:00
GitHub Nightly Merge Action
6fe358eb68
Merge branch 'master' into maintenance
2022-08-02 00:14:25 +00:00
Kestin Goforth
534824eb17
🐛 GCV: Fix rendering of G02 and G03 (#4587 )
...
* Fix rendering for G02 and G03 commands
* Improve performance of arc direction check
2022-08-01 14:03:06 +02:00
Christian Clauss
db83680d57
🐛 Fix improper use of sys.version (#4574 )
...
`sys.version >= "3"` would fail on Python 4 and higher.
2022-08-01 11:44:06 +02:00
Christian Clauss
5753ee3cfa
✏ Highlight branch names in PR template ( #4573 )
2022-08-01 11:41:55 +02:00
Kestin Goforth
037ca04122
🐛 Use G2/G3 arc length for move time estimates (#4581 )
2022-08-01 11:36:16 +02:00
Charlie Powell
7824d0e58c
✨ Automatically detect less files to build (#4584 )
2022-08-01 11:31:36 +02:00
Christian Clauss
8680ca4495
🎨 Convert type comments into Python type hints (#4575 )
...
* com2ann: Convert type comments into Python type hints - again
* Make modifications based on code review
2022-08-01 09:23:56 +02:00
Kestin Goforth
936af41d0e
🐛 Invert start and end angles for G02 commands (#4580 )
2022-07-18 16:22:41 +01:00
GitHub Nightly Merge Action
a2e9aefe9c
Merge branch 'master' into maintenance
2022-07-13 00:14:54 +00:00
Christian Clauss
c18a5046d5
✏️ timelapse.rst: Fix typos (#4569 )
2022-07-12 18:48:39 +01:00
Gina Häußge
ae4426e4c2
🐛 Fix handling of % in timelapse filenames (#4563 )
...
Switched all replacement logic to {} style format strings, which means
we no longer need to escape % internally. Only escaping it in one single
place now, before pacing the capture file pattern to ffmpeg, as THAT
uses % style formatting.
Closes #4505
2022-06-29 16:23:29 +02:00
Christian
0af5972a28
🐛 Fix skip dialog in wizard popping up twice (#4561 )
...
* remove show.bs.tab listener which triggered twice the innerTabShown
* add myself in the authors files
2022-06-28 14:35:37 +02:00
Gina Häußge
18b0565ea6
🐛 swu: Fix multiple credentials saving
...
We make sure to check if any of the credentials
we support are contained in the incoming settings
data and if so set that, and only that, on our
plugin settings, instead of overwriting the
stored credentials with just those that changed.
See #4540
2022-06-28 11:19:31 +02:00
JoveToo
306e513ee3
✨ GCodeViewer: in-memory compression (#4435 )
...
Individual commits:
* Add last position cache
* Must be lower than percentage of next level.
* Fully working version with jsonc compression
* Switch to pako.js for both speed and efficiency
* compressed code is now an instance of Uint8Array
* Temporary fix for rebuildLayerPercentageLookup and purgeEmptyLayers
* Fix merge issues
* Fix prettier
* Fix prettier
* Calculate empty layers and percentage of layer in doAnalyse
* Delete all state when doing clear()
* Delete all state when doing clear()
* Add options to control compression. Allow to enable compression from the warning page.
* Do not always turn on compression by default.
* Correctly calculate the rendererEmptyLayers array.
* Only show "force compression" if compression is not already enabled.
* pre-commit fixes
* Use correct index and fix merge issues.
* Add some comments.
* Update src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 (Co-authored-by: Gina Häußge <gina@octoprint.org >)
* Move "Skip to this" up and make the threshold dependent on alwaysCompress setting.
* Remove redundant "Skip to this" (Co-authored-by: Gina Häußge <gina@octoprint.org >)
2022-06-27 16:57:16 +02:00
Gina Häußge
bfe40f0c74
👷 More work on DeploySentinel integration
2022-06-27 13:55:17 +02:00
CoReYe
eaad6350fd
Fixed typo ( #4553 )
2022-06-27 10:19:54 +02:00
Charlie Powell
151c38a515
🐛 gcodeInterpreter: Avoid ZeroDivisionError with firmware retraction (#4555 )
...
Closes #4554
2022-06-27 10:09:11 +02:00
GitHub Nightly Merge Action
41d11d8a75
Merge branch 'master' into maintenance
2022-06-24 00:11:53 +00:00
Gina Häußge
3087548664
👷 Add DeploySentinel to e2e tests
...
Got sponsored access, might help debug the
test flakyness.
2022-06-23 16:33:19 +02:00
Gina Häußge
2e1ec42c5b
👷♂️ Needs to run against pull_request_target
2022-06-23 10:50:06 +02:00
GitHub Nightly Merge Action
2259d25153
Merge branch 'master' into maintenance
2022-06-22 00:14:34 +00:00
Gina Häußge
c3531bc5b4
💄 GCV: Fix settings markup.
2022-06-21 15:29:11 +02:00
Gina Häußge
6bddada8c2
👷♂️ Add task labeling
2022-06-21 10:12:53 +02:00
GitHub Nightly Merge Action
2b092a9899
Merge branch 'master' into maintenance
2022-06-21 00:12:10 +00:00
Gina Häußge
008292ce60
Use org wide secret
2022-06-20 15:56:07 +02:00
Gina Häußge
01f24e6cea
👷♂️ Add issues/PRs to backlog automatically
2022-06-20 15:49:00 +02:00
Gina Häußge
8174a8e16b
🐛 Fix version of pydantic-settings, 2nd try
2022-06-09 13:08:09 +02:00
Gina Häußge
9a18fa0f24
🐛 Fix version of pydantic-settings
2022-06-09 13:04:10 +02:00
Gina Häußge
8a8c0b16a2
♻️ Migrate default settings to pydantic model
...
Currently using pydantic-settings for with_attrs_docs decorator
to retrieve doc strings as descriptions. Should be replaced with
vendored utility.
2022-06-09 12:43:22 +02:00
Billy Richardson
10ec9cd4e4
✅ Add more unit tests for helpers.js (#4536 )
2022-06-08 12:03:23 +02:00
Federico Nembrini
64ad527753
✨ Record last fan speed (#4531 )
...
* Add fan speed record to record last, pause and cancel fan speed
Update doc.
* Replace fan speed record with simple fan speed variable
Update doc.
2022-06-07 13:43:50 +02:00
luzpaz
999ccac230
✏️ Fix misc. typos (#4533 )
...
Found via `codespell -q 3 -S *.po`
2022-05-31 14:18:38 +02:00
Billy Richardson
e8be86c15f
✅ Add a few unit tests for helpers.js (#4529 )
2022-05-31 14:17:27 +02:00
Billy Richardson
fe84605f24
👷 Add JS QUnit tests to build workflow with node-qunit-puppeteer (#4534 )
2022-05-31 14:16:47 +02:00
GitHub Nightly Merge Action
5931d4493d
Merge branch 'master' into maintenance
2022-05-30 13:00:08 +00:00
Gina Häußge
53b9b61857
👷 Only trigger release jobs on main repo
2022-05-30 14:51:54 +02:00
Gina Häußge
e2349b4565
👷 Ignore errors on Discord hook & e2e
...
e2e are too flaky, discord hook might be unconfigured in a fork.
2022-05-30 14:45:16 +02:00
Charlie Powell
c491f4fedc
⬆️ Bump wrapt to fix Python 3.11 compatibility (#4530 )
...
Fully tested on 3.7, 3.10 and 3.11 - any issues that did exist appear to have been resolved.
2022-05-30 11:04:51 +02:00
JoveToo
cd7f44cb57
There are not files with \r-only line endings ( #4450 )
2022-05-25 16:01:31 +02:00
Gina Häußge
422e3d2b66
🔖 staging/bugfix is now 1.8.2.dev
2022-05-24 12:25:17 +02:00
Gina Häußge
9491db60da
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance
2022-05-24 12:24:17 +02:00
Gina Häußge
7aa5cab728
Merge branch 'master' into maintenance
2022-05-24 12:24:11 +02:00
Gina Häußge
260a1aef11
🔖 Preparing release of 1.8.1
1.8.1
2022-05-24 10:55:31 +02:00
Franck Nijhof
9a8dde1650
Use lazy logging in octoprint. ( #4512 )
2022-05-24 10:32:53 +02:00
Franck Nijhof
6709f9ca3c
Migrate black configuration to pyproject.toml ( #4511 )
2022-05-24 10:28:42 +02:00
Franck Nijhof
d56e8302c7
Update black to 22.3.0 ( #4510 )
2022-05-24 10:27:54 +02:00