Gina Häußge
411b925506
🗑 Deprecate octoprint.util.bom_aware_open
...
The same can be achieved with io.open and a -sig encoding.
To be removed in 2.0
Closes #4228
2021-09-14 18:07:34 +02:00
Flaviu Tamas
f3c0c29f69
Use C YAML loader when possible
...
This is a lot faster:
before _get_options: .339, .317, .220, .321, .315
after _get_options: .037, .106, .037, .145, .089
2021-09-13 16:16:53 +02:00
Gina Häußge
700aa78f27
Merge branch 'staging/maintenance' into maintenance
2021-09-13 13:59:54 +02:00
Gina Häußge
f31194f753
🔖 Preparing release of 1.7.0rc3
2021-09-13 11:48:11 +02:00
Gina Häußge
16a7ce0c88
🐛 Fix URL for plugin list export
...
Needed baseurl prefix.
Closes #4231
2021-09-13 09:49:53 +02:00
Gina Häußge
de2b95537c
Merge branch 'staging/maintenance' of github.com:OctoPrint/OctoPrint into staging/maintenance
2021-09-13 09:42:32 +02:00
Gina Häußge
53d73182de
🐛 Set autocapitalize=none on login form
...
Closes #4226
2021-09-13 09:42:23 +02:00
Gina Häußge
01855da915
♻️ Make py2 compatible & internalize search
...
We only use the search in one single place, it's not
part of an external API and three lines only. It makes
sense to internalize it into serialList.
Also, python 2 doesn't yet have os.scandir, so use the
fallback implementation in that case.
2021-09-09 17:06:46 +02:00
Flaviu Tamas
9c072d6440
Replace multiple globs with single regex
...
The existing code lists the directory contents 7 times. This usually
isn't a big deal, but I'm running Octoprint on a really slow ARM board,
so this ends up taking 123ms (coming out to 17ms per call).
We can speed this up a lot by only listing the files once, and searching
through them. With this change, this function is fast enough that it
doesn't show up in the profiler
2021-09-09 17:06:46 +02:00
Charlie Powell
18c3e6660f
🐛 Remove CSS width: auto on announcements dialog, breaks things
...
This makes the width of the modal really narrow when it is first opened & on certain screen sizes, removing this line appears to fix the issues.
Closes #4216
2021-09-09 14:49:56 +02:00
Gina Häußge
0bba8be6dc
🐛 Convert showProgressDialog to #4105 changes
...
Fixes #4210
2021-09-09 12:22:30 +02:00
Gina Häußge
5fc22593f9
🐛 swu: Remove active class
...
Closes #4207
2021-08-11 15:08:45 +02:00
Gina Häußge
d71de9003d
🔖 Preparing release of 1.7.0rc2
2021-08-11 12:20:07 +02:00
Gina Häußge
8740c5a826
🎨 eventmgr: Replace tabs with spaces
2021-08-09 10:34:37 +02:00
Gina Häußge
cdcbb13102
💄 eventmgr: Use faster fade-in animation
...
Closes #4204
2021-08-09 10:34:24 +02:00
Gina Häußge
2f266f9974
🐛 printTimeLeft may be None
...
So we need to check for that first before we try to
convert to an int.
Regression.
Closes #4202
2021-08-09 10:18:18 +02:00
Gina Häußge
a7d4c5f2df
🐛 Change latency mode setting logic
...
We should only ever attempt to set it if we are supposed
to set it to True. Otherwise there's no need to do
anything really and risk running into issues.
Closes #4203
2021-08-09 10:04:48 +02:00
Gina Häußge
3fe45661cd
💬 Fix a translation
2021-08-04 12:54:49 +02:00
Gina Häußge
3c3f55e0c1
🔖 Preparing release of 1.7.0rc1
2021-08-04 11:54:23 +02:00
Gina Häußge
d61705aace
🐛 SWU: Fix first run update
...
It was actually not working at all any more. The new approach
should perform better, cause less duplication and overall
be cleaner.
2021-08-03 11:40:39 +02:00
Gina Häußge
a8660c9ef2
🐛 Fix log coloring
2021-08-03 11:40:39 +02:00
jneilliii and Gina Häußge
4d60b6b604
Update src/octoprint/plugins/eventmanager/templates/eventmanager_settings.jinja2
...
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-08-02 11:01:17 +02:00
jneilliii and Gina Häußge
36e5ded017
Update src/octoprint/plugins/eventmanager/templates/eventmanager_settings.jinja2
...
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-08-02 11:01:17 +02:00
jneilliii and Gina Häußge
a62fc00f3a
Update src/octoprint/plugins/eventmanager/__init__.py
...
Co-authored-by: Gina Häußge <gina@octoprint.org >
2021-08-02 11:01:17 +02:00
jneilliii
18281a9ebd
precommit again
2021-08-02 11:01:17 +02:00
jneilliii
e158b82983
refactor for name and suggested edits
2021-08-02 11:01:17 +02:00
jneilliii
9bbce7caf4
additional localization
2021-08-02 11:01:17 +02:00
jneilliii
122a6667ea
add localization, per @cp2004
2021-08-02 11:01:17 +02:00
jneilliii
51b4375ed7
order events in settings
2021-08-02 11:01:17 +02:00
jneilliii
17c3d6e57a
added an events bundled plugin for managing event settings
2021-08-02 11:01:17 +02:00
Gina Häußge
52e105416d
🥅 Better error handling of resend history issues
...
Not a fix for #4194 , but at least a less fatal handling.
2021-07-26 16:49:49 +02:00
Ian Wilt
07040b103f
Added event FilamentChange
2021-07-19 15:09:50 +02:00
Gina Häußge
f62867de47
🐛 Fix ko invisible binding
2021-07-13 15:39:29 +02:00
Gina Häußge
5cde163f2b
✨ SWU: Offer to update in first run wizard
...
This will now be the very first step of the first run
wizard, IF OctoPrint is detected as outdated.
Implements #3936
2021-07-07 18:27:23 +02:00
Gina Häußge
32a52bdb0f
🐛 Fix a bug in wizard ignored calculation (Py3 only?)
...
If seen was None and current was not, there would be an
error due to comparing an int with None.
2021-07-07 18:04:07 +02:00
Gina Häußge
7d22354566
🐛 Fix less vs CSS3 calc
2021-07-06 19:45:58 +02:00
Gina Häußge
974cde5294
🐛 swu: Fix a bug in log line generation
2021-07-06 17:41:25 +02:00
Gina Häußge
fc106e5918
✨ New hook for bundled plugins to add to systeminfo bundles
...
SWU and PMGR make use of that to add console logs. SWU
now also adds the update log as plugin_softwareupdate_update.log.
Also improved caching and sorting behaviour on SWU update log.
2021-07-06 16:14:45 +02:00
Gina Häußge
8bb3312bba
✨ swu: one month update log
...
Implements #4065
2021-07-06 11:57:33 +02:00
Charlie Powell and Gina Häußge
9f77502214
♻️ Improve logic in analysis dimensions test
...
Co-Authored-By: Gina Häußge <83657+foosel@users.noreply.github.com >
2021-07-05 15:48:08 +02:00
Gina Häußge
1e16e9052c
✨ Include webcamd.log & haproxy.log in sysinfo bundle
2021-07-05 11:57:23 +02:00
Gina Häußge
d73d530600
✨ Colored console output
2021-07-02 16:24:30 +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
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