Gina Häußge
f64abb22b3
🐛 Fix file name validation never validating
2021-03-12 18:13:11 +01:00
Gina Häußge
89273598ae
⚡ ️ Don't calculate last modified twice
2021-03-12 18:12:38 +01:00
Gina Häußge
90f1a44c2d
🔊 Increase timings logging
...
Now can also log on entering the decorated function.
2021-03-12 18:11:59 +01:00
Gina Häußge
f9745515e1
🎨 Add pyupgrade
2021-03-11 14:34:06 +01:00
Gina Häußge
cf2ce1e88b
♻️ Default to JSON api errors for blueprints as well
...
Behaviour can be overwritten via BluePrintPlugin
.get_blueprint_api_prefixes.
2021-03-10 21:54:36 +01:00
Gina Häußge
b1596f30d9
♻️ Use flask.abort where it makes sense
...
And use a custom error handler to return json error responses on API
endpoints.
2021-03-10 21:37:51 +01:00
Gina Häußge
e66497756a
✨ logging: bulk download logs
...
Implements #3746
2021-03-09 16:40:49 +01:00
Gina Häußge
62f03e371f
🥅 Fail fast on invalid file names
2021-03-09 14:47:58 +01:00
Gina Häußge
a441e48906
🥅 Don't return input params in error messages
...
While we always escape errors in the frontend, other clients or plugins
might not and thus this could cause XSS issues.
2021-03-09 14:47:43 +01:00
Gina Häußge
07c1d53a44
🥅 logging: Don't manage anything but .log files
...
You never know what people might do.
2021-03-09 14:47:29 +01:00
Gina Häußge
47cf12e9f3
💚 e2e: fix pmgr endpoint
...
Changed with 084625fe7c
2021-03-09 12:38:59 +01:00
Gina Häußge
ab59bd4421
♻️ Fix a deprecation warning
...
Closes #4030
2021-03-09 11:05:43 +01:00
Gina Häußge
084625fe7c
♻️ pmgr: Split API endpoint
...
api/plugin/pluginmanager has been deprecated in favor of
plugin/pluginmanager/plugins, plugin/pluginmanager/orphans and
plugin/pluginmanager/repository. Additionally, there's now
plugin/pluginmanager/plugin/<key> to retrieve info for a specific plugin
by its identifier.
Repository and orphans are only fetched on opening of the Settings
dialog, plugins and notifications on login with required permissions.
All list endpoints make use of ETag headers.
The former simple API endpoint api/plugin/pluginmanager has been left in
the code for now but marked as deprecated. Same goes for the clientJS
API.
Implements #4035
2021-03-04 18:37:30 +01:00
Gina Häußge
25cf537931
♻️ gcv: Better idenitifiers in settings dialog
2021-03-04 12:54:19 +01:00
Gina Häußge
e79c41abf9
🐛 acn: fix wrong local storage identifier
2021-03-04 12:53:47 +01:00
Gina Häußge
4c4570e2e1
🐛 GCode analysis & viewer: Assume bed at Z 0.0
...
People might not actually always have a home command in their GCODE
files, so let's just depend on the so far pretty universal truth that
printers have a bed at z=0 and that is just always the lowest Z of a
printed object. And just in case, let's make this value configurable
because the printer gods only know what some people might come up with
in terms of experimental printer mechanics that end up with negative z
coordinates or a bed at z=100.
Closes #4036
2021-03-04 12:49:13 +01:00
Gina Häußge
ffea45ce54
🐛 Fix ETag header format
...
Better fix for the problem targeted by #4029 . Huge thanks to @encetamasb
for the heads-up!
2021-03-03 12:37:54 +01:00
Gina Häußge
00f11bc581
➖ Remove rsa dependency
...
Leftover, should have gotten kicked for 1.4.0 already.
2021-03-03 11:24:49 +01:00
Gina Häußge
b7e2796e60
Merge pull request #4031 from martellaj/martellaj/plugin-default-sort
2021-03-03 10:40:06 +01:00
Gina Häußge
0494fa5753
Merge pull request #4034 from jjtk88/m117_virtual_printer_fix
...
catch exception when M117 with no arguments is sent using virtual printer
2021-03-03 10:39:12 +01:00
k
d6e1868569
minor fix for M117 with no args
2021-02-28 12:29:37 -06:00
Joe Martella
f5d21618d1
Adds myself to AUTHORS.md
2021-02-27 06:31:32 +00:00
Joe Martella
28ecef207e
Changes default sorting of plugin manager to "popularity"
2021-02-27 06:29:13 +00:00
Gina Häußge
fe7541c784
Merge pull request #4017 from LazeMSS/GcodeViewerHidePrime
2021-02-23 17:47:20 +01:00
Gina Häußge
ac2e25f6d6
♻️ skipUntilthis => skipUntilThis
...
Also made some comparisons a bit more resilient.
2021-02-23 17:06:13 +01:00
LazeMSS
0dc452e445
✨ Add support for skipping gcode in the gcode viewer
2021-02-23 17:06:12 +01:00
Gina Häußge
97b6f25cfd
Merge branch 'pr/3916' into maintenance
2021-02-23 11:32:55 +01:00
Gina Häußge
fec2f9b83e
🐛 Further firmware line parser fixes
...
Something like _KEY should never get recognized as a key.
2021-02-23 11:32:36 +01:00
GitHub Nightly Merge Action
b87e99187d
Merge branch 'master' into maintenance
2021-02-23 00:28:41 +00:00
cp2004
bd3f7f8897
🎨 Make black happy again
2021-02-22 18:46:24 +00:00
cp2004
e43f4ddb50
💚 Add more tests for firmware info splitting
...
Part of #3916
2021-02-22 18:34:15 +00:00
Gina Häußge
d0f6bf3e06
🐛 Allow numbers, but not at the start
2021-02-22 18:53:45 +01:00
Gina Häußge
ea58ccd9a3
Merge pull request #4026 from shadycuz/fix/test_config_reload
2021-02-22 16:50:08 +01:00
Gina Häußge
86aa5548c6
✅ Make test fix align with other such cases
2021-02-22 16:47:05 +01:00
Gina Häußge
2fc287768b
🚸 Migrate request template to forms
...
Also add link to support.octoprint.org to issue selection.
2021-02-22 16:07:51 +01:00
Gina Häußge
5335750939
👷 New issue form yaml is live
2021-02-22 15:45:23 +01:00
Levi Blaney
a628549ad3
Fixes #3999 test fails to reload config file
2021-02-20 10:12:16 -05:00
GitHub Nightly Merge Action
f303f72055
Merge branch 'master' into maintenance
2021-02-18 00:28:42 +00:00
Gina Häußge
27af9721e5
📝 Update title
2021-02-17 17:50:59 +01:00
Gina Häußge
14b462ae98
🚸 Bug issue form v2
2021-02-17 17:50:59 +01:00
Gina Häußge
72db742a56
Merge branch 'master' into maintenance
2021-02-17 15:13:08 +01:00
Gina Häußge
6cfbf33d08
🐛 Fix get_comparable_version
...
Apparently not all versions of pkg_resources have a release field on
Version. So let's create that ourselves instead.
2021-02-17 15:11:09 +01:00
Gina Häußge
559e5d8f84
👷 Disable nightly merge from maintenance to devel
...
That will need too much manual merging for now due to Py2&3 vs Py3.
2021-02-17 14:51:11 +01:00
GitHub Nightly Merge Action
6f6dcdeef2
Merge branch 'master' into maintenance
2021-02-17 13:45:54 +00:00
Gina Häußge
4a58c848b8
🎨 Let prettier do its job
2021-02-17 14:44:43 +01:00
Gina Häußge
1637631ef7
👷 Make sure to fetch all history
2021-02-17 14:41:11 +01:00
Gina Häußge
5d6a27b751
👷 Add a nightly merge
...
Should keep `maintenance` and `devel` up to date.
2021-02-17 14:36:21 +01:00
Gina Häußge
55b08f6b5b
✨ backup: allow retore of backups from newer patch versions
...
E.g. backups from 1.6.3 can be applied on 1.6.2. However, 1.6.x still
won't be possible to restore under 1.5.x or earlier.
2021-02-17 14:05:40 +01:00
Gina Häußge
c00fe8fda2
Merge branch 'improve/backup-max-size' into maintenance
2021-02-16 19:13:10 +01:00
Gina Häußge
32fd4df542
✨ backup: add warning about max upload size
...
Closes #3993
2021-02-16 19:12:52 +01:00