Gina Häußge
cae6730ea8
🎨 EOF/trailing whitespace/TOML&YAML check
...
And armed and documented pre-commit
2020-10-07 13:45:49 +02:00
Gina Häußge
fbfb34df58
🎨 Switch to use of isort
2020-10-07 13:15:52 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Gina Häußge
af60fd6428
🎨 Change dict constructors to literals
2020-10-06 14:57:47 +02:00
Gina Häußge
c0495d22c9
🐛 Remove default submit from settings forms
...
We only want explicitly defined form behaviour.
Otherwise stuff might be triggered by hitting
the enter key that should not be triggered.
Closes #3740
2020-09-23 11:25:32 +02:00
Gina Häußge
eef51b1cb9
🐛 Mark all bundled plugins py3 compatible
...
That somehow got forgotten. Wasn't needed since bundled always get
loaded, however now that we display that kind of information in the
plugin manager it should reflect reality.
2020-06-10 15:02:46 +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
ee70e9d546
🚸 Include Python version in footer
...
As suggested in https://community.octoprint.org/t/17819
2020-04-02 18:03:53 +02:00
Gina Häußge
43ab47a260
✨ pi support: Permission check for API endpoint
2020-01-27 13:46:09 +01:00
Gina Häußge
30a4b9e9ab
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/virtual_printer/virtual.py
2019-10-30 15:59:30 +01:00
Gina Häußge
e85e9661e0
🤷♀️ PMGR/SWU: Flag to ignore throttle state
...
Will allow people to circumvent the
shoot-yourself-in-the-foot-countermeasures by editing config.yaml.
If they do that and stuff then fails due to platform instability it's
their problem.
2019-10-30 15:43:52 +01:00
Gina Häußge
3b556e9d79
Merge branch 'maintenance' into devel
2019-09-17 17:34:34 +02:00
Gina Häußge
72eef3e224
🐛 Escape single/double quotes in l10n strings
...
Closes #3270
2019-09-13 15:42:59 +02:00
Gina Häußge
8df2a5436b
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/views.py
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
2019-09-12 09:30:28 +02:00
Nicolai Nielsen
8acf417383
Removed extra curly brace in plugin install message during restore
...
Fixed plugin install message for UI (never worked!)
Fixed grammar in connectivity initial setup
Added space at end of lines for several multiline messages
2019-06-04 11:47:41 -05:00
Matthias Urlichs
54d359f730
Don't spew a stack trace if vcgencmd doesn't work / exist
2019-02-04 11:34:05 +01:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
a1a15e40e0
Replace all bare "except:" handlers
...
These are never what we want, as they swallow KeyboardInterrupt.
TODO: many of these handlers really should be more specific and/or
log that they replaced an unparseable value with a default.
2019-01-28 07:50:55 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
Matthias Urlichs
670ca15997
Merge remote-tracking branch 'origin/maintenance' into py23
2019-01-27 17:28:46 +01:00
Matthias Urlichs
f993f744ba
Merge commit 'c623e90ebc59b90b4f4cf582ab8185b2872acff4'; commit 'f416e96414f33fb31afdf4dfbf3c863e3db35543'; commit '9ecf39febe31a44e5f5db28249ebbf006ac1580c'; commit '582b03f21fe3d808bf4e11bbba90af54b6651b34'; commit 'f5c8b04958170f19f1806b1722bf5e857ded3dce'; commit '36818057a3b4769a77731f3be8bc661437db7132'; commit 'd987cb23c119132b287f70f1c979aac8c9fff7d2' into py23
2019-01-27 17:10:01 +01:00
Gina Häußge
45b59494ca
Add new hook too allow plugins to register custom events
...
Implements #2965
2019-01-15 16:54:50 +01:00
MirceaDan
f5c8b04958
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
...
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
2018-12-01 15:07:04 -08:00
MirceaDan
6b149e2fc9
fixed unitests for io.open change
...
the fixups needed change to use io.open in mock
some io.open needed to be read as text
2018-12-01 11:57:10 -08:00
MirceaDan
337e49208a
py23 compat: using io.open instead of open
...
for python3 and python2 to work teh same io.open must be used for file handling
2018-11-30 00:32:57 -08:00
Gina Häußge
a5754a8552
pi_support: Add link to the new FAQ entry
2018-11-15 14:16:27 +01:00
Gina Häußge
a8c91ff6ba
pi_support: Better wording in popover & highlight current
2018-11-15 12:57:02 +01:00
Gina Häußge
38bb81cfe7
tracking: add throttle events, slightly change throttle payload
...
Also adjusted helper signature in pi_support plugin slightly.
Addon to #2878
2018-11-08 15:49:11 +01:00
tedder
76f48b3b13
PR feedback: throttle state and uuid
...
- add a way to get the raw value only from throttle state (glad I already plumbed it into the object!)
- add warning about not sending uuid, modify the log entry too
2018-11-08 01:29:15 +00:00
tedder
c1482eaacd
add throttle_state to tracking
...
- weave the throttle_state through pi_support and tracking. This should come in handy to see how many throttled Pis are out there, as well as if it is correllated with canceled prints.
- upgraded disclosure of tracking information so it shows as INFO-level in the logs and all the information is dumped. If tracking.octoprint.org gets it, I should have it too :)
2018-11-06 15:37:45 -08:00
Gina Häußge
4f58c64881
New asset type "clientjs" for client library bits
2018-09-29 15:00:27 +02:00
Gina Häußge
9e0e4bf7b6
Pi Support: Allow configuration of vcgencmd
2018-07-19 18:17:28 +02:00
Gina Häußge
59a435a787
Pi support: spelling fixes
2018-07-17 18:37:24 +02:00
Gina Häußge
71cc312ccc
Pi support: move itertools import into debugging cluster
2018-07-17 18:25:13 +02:00
Gina Häußge
8d1ae438e5
Pi support: re-enable production config m)
2018-07-17 17:52:37 +02:00
Gina Häußge
7ebcb47955
Pi support: remove obsolete URL from about dialog
2018-07-17 17:49:16 +02:00
Gina Häußge
71e60183c5
Pi Support: add setting for throttle check
...
Just in case something acts up with that...
2018-07-17 17:49:03 +02:00
Gina Häußge
eaa8933782
Pi Support: fix state update push
2018-07-17 17:46:36 +02:00
Gina Häußge
0d330e3c5a
Pi Support: slight change in timer startup
2018-07-17 16:59:03 +02:00
Gina Häußge
18ed113122
Pi Support: fix logic error
2018-07-17 16:57:04 +02:00
Gina Häußge
48e454856c
Pi Support: change check implementation
2018-07-17 15:54:18 +02:00
Gina Häußge
7a2225b332
Pi Support: strip 0 bytes from strings
2018-07-17 15:30:28 +02:00
Gina Häußge
20237a73ac
Pi Support: Add debug logging to throttle check
2018-07-17 15:17:36 +02:00
Gina Häußge
1cff2581db
OctoPi support => Pi support
...
* changed model detection implementation to use device-tree
* now active if running on a Pi, regardless whether that runs OctoPi
or not
* detect undervoltage/overheat issues via vcgencmd and report back on
UI
2018-07-17 14:38:12 +02:00