cp2004
4826200cec
🐛 Fix a stupid copy paste mistake in virtual M145
2020-11-28 18:52:05 +00:00
Gina Häußge
5cb2564335
👷 Only trigger docker build on main repo
2020-11-26 14:41:42 +01:00
Gina Häußge
4e729c50a8
👷 Only trigger doc build on push from main repo
2020-11-26 14:37:28 +01:00
Gina Häußge
62ff12b1c2
♻️ PMGR: Plugin export name should be plugin_list.json
...
That way it's more consistent with the endpoint name and the file used
in the backups.
2020-11-26 14:31:24 +01:00
Gina Häußge
e59cc370c0
Merge branch 'maintenance' into pr/3833
2020-11-26 14:23:58 +01:00
Gina Häußge
572ea6f2a7
✨ New --overlay CLI flag
...
Allows to specify additional config overlay paths to use between the
default settings and config.yaml. Can be either individual yaml files,
or a whole directory containing an arbitrary number of yaml files.
Allows to change the default configuration without interfering with
config.yaml.
OctoPrint side solution for #3821 , OctoPi needs to be modified to make
use of this for its platform specific configuration.
2020-11-26 10:38:53 +01:00
cp2004
d4af37ae8a
✨ Add plugin list export button
...
Closes #3711
Exports the same plugin list that the backup plugin uses, to the route `/plugin/pluginmanager/export`
2020-11-25 20:57:32 +00:00
cp2004
48d6fb50c5
🐛 Fix CLI backup
...
It's OK CLI, I didn't forget you...
2020-11-25 19:10:07 +00:00
cp2004
1f97ee333d
♻️ Extract generating plugin list to pgmr helper
...
Connected to #3711
2020-11-25 17:48:09 +00:00
Gina Häußge
b124de4f04
🔥 Remove no longer needed _dummy name mapping
2020-11-25 17:27:35 +01:00
Gina Häußge
0eaf5fdeab
💬 Change wording regarding global API key
...
Also announce its pending removal in OctoPrint 2.0.0.
Closes #3830
2020-11-25 13:09:01 +01:00
Gina Häußge
c558fa4b28
Merge branch 'staging/maintenance' into maintenance
2020-11-25 11:35:57 +01:00
Gina Häußge
a4630df622
📌 Pin prettier and black versions
2020-11-25 11:35:40 +01:00
Gina Häußge
201d54e06a
💬 Separate error message from CLOSED_WITH_ERROR state
...
It now has a dedicated place on the state panel. Also gets exposed
separately on the API. API docs clarify value range of state field on
job API.
Closes #3828
2020-11-24 18:17:57 +01:00
Gina Häußge
d6a3f46892
✨ Support format string in get_exception_string helper
2020-11-24 17:13:48 +01:00
Gina Häußge
ecb99dbd9a
Merge branch 'pr/3818' into maintenance
2020-11-23 17:15:22 +01:00
Gina Häußge
c12447dca2
♻️ Extract slugify/sanitizing into util method
...
Reduces code duplication
2020-11-23 17:14:57 +01:00
Gina Häußge
ad724d6e2f
Merge branch 'maintenance' into pr/3818
2020-11-23 17:12:47 +01:00
Gina Häußge
ce170ecba8
Merge pull request #3829 from cp2004/patch-1
...
Fix whitespace issue reporting M145 material heatup on M501/3
2020-11-23 11:27:35 +01:00
Charlie Powell
be0acfeceb
🐛 Fix whitespace issue reporting M145 material heatup on M501/3
2020-11-19 18:15:45 +00:00
Gina Häußge
077d4cd0d4
Merge branch 'staging/maintenance' into maintenance
2020-11-18 16:31:21 +01:00
Gina Häußge
149161694d
🔖 staging/maintenance is now 1.5.0rc4.dev
2020-11-18 16:31:01 +01:00
Gina Häußge
5e7ea35239
🔖 Preparing release of 1.5.0rc3
1.5.0rc3
2020-11-18 13:53:07 +01:00
Gina Häußge
4768a7eb5a
🐛 Value AND key might need str-conversion
...
Closes #3825
2020-11-18 13:09:51 +01:00
Gina Häußge
84fb97f82a
🐛 PMGR: Don't use jsonify outside flask context
...
We've moved `_command_install_archive` into its own thread, so we
must return results instead of jsonify'ing them.
As discovered through #3825
2020-11-18 13:07:58 +01:00
Gina Häußge
684941b48a
Merge branch 'staging/maintenance' into maintenance
2020-11-17 16:01:08 +01:00
Gina Häußge
c30673fac0
🔖 staging/maintenance is now 1.5.0rc3.dev
2020-11-17 16:00:51 +01:00
Gina Häußge
9f5781eff4
🔖 Preparing release of 1.5.0rc2
1.5.0rc2
2020-11-17 14:34:53 +01:00
Gina Häußge
f2ed1ebc74
🥅 Prevent assignment of dangerous permissions to guests
...
If we don't, chances are high someone will happily assign the admin
group as a subgroup to the guest group and then publicly expose their
instance on the internet, thus completely defeating the purpose of
making access control mandatory.
We'll also automatically sanitize such configurations now but log a
warning. I don't see a better way to protect the innocent, sorry.
2020-11-17 14:11:59 +01:00
Gina Häußge
0b17f1e891
🚸 Search through file's name & display
...
Implements #3819
2020-11-16 18:45:52 +01:00
Gina Häußge
e7e731800b
♻️ Prefer configured addresses over standard addresses
...
That way, if OctoPrint is running on a device with network
`192.168.1.0/24` and we query with an address from that range, we'll
actually get that subnet address back instead of the more general
`192.168.0.0/16`.
2020-11-16 18:07:34 +01:00
Gina Häußge
89f3edcb27
✨ New util API command: address
...
Allows to test a provided or the client's address whether it is a LAN
address, and if so returns the subnet address in CIDR notation.
2020-11-16 17:55:49 +01:00
jneilliii
68e3527eec
switch to class methods and slugify backup_prefix
2020-11-16 10:53:04 -05:00
Gina Häußge
1a1083f781
Merge branch 'staging/maintenance' into maintenance
2020-11-16 14:25:18 +01:00
Gina Häußge
c44e90302d
Merge branch 'master' into staging/maintenance
2020-11-16 14:25:07 +01:00
Tobias Wellnitz
5b5163c812
update gcode_scripts.rst with correct UI path for print & resume
...
Small update to the docs to be coherent with the octoprint Settings UI for the `Log position on pause` option.
2020-11-16 14:24:44 +01:00
Tobias Wellnitz
f1417063cb
update gcode_scripts.rst with correct UI path for print & resume
...
Small update to the docs to be coherent with the octoprint Settings UI for the `Log position on pause` option.
2020-11-16 14:21:41 +01:00
Gina Häußge
83f488d1d2
Merge branch 'staging/maintenance' into maintenance
2020-11-16 14:18:56 +01:00
Gina Häußge
d311fb18e0
Merge pull request #3815 from cp2004/fix/language-pack-upload
2020-11-16 14:07:37 +01:00
cp2004
ab5d19bf12
🐛 Fix uploading a language pack
...
In Python 3, `filter()` returns an iterable rather than a list. Whilst this is better for performance, our list is not long and it means we can call `len()` on the list.
Tested using reproduction steps in #3814 and verified that language packs can now be installed properly.
Closes #3814
2020-11-16 14:03:18 +01:00
Gina Häußge
75796dafbc
🎨 prettier pre-commit hook has moved
2020-11-16 13:57:04 +01:00
jneilliii
79cc0b1da9
fix CLI logic
2020-11-15 13:23:56 -05:00
jneilliii
1ef25a4177
revert accidental full jqueryui inclusion
2020-11-15 12:53:59 -05:00
jneilliii
316c830eaa
changes the backup filename to be based on appearance > name setting, if configured
2020-11-15 11:24:45 -05:00
Gina Häußge
2670d16407
Merge branch 'master' into staging/maintenance
2020-11-13 18:18:32 +01:00
Gina Häußge
54f98a5ad1
📝 Document accessControl.salt
2020-11-13 16:38:02 +01:00
Gina Häußge
1238edf1b9
🐛 zeroconf: Add missing answers to PTR query
...
Backported from upstream.
Closes #3813
2020-11-13 13:24:14 +01:00
Gina Häußge
5f2a95d154
🎨 Run zeroconf through black
...
We can't update that from upstream anymore anyhow as this is a version
that's no longer maintained (py2 compatible) and upstream now uses
black too.
2020-11-13 12:21:07 +01:00
Gina Häußge
b4e5fd0299
♻ Make last lines buffer size configurable
...
cc @chendo
2020-11-13 10:58:55 +01:00
Gina Häußge
9c2f50a620
♻ Properties for min/max on CountedEvent
...
cc @chendo
2020-11-13 10:58:27 +01:00