Henning Groß
67ab9d577a
Merge branch 'maintenance' into fix/restore-on-docker-volumes
2019-01-08 10:58:19 +01:00
MirceaDan
d987cb23c1
Merge branch 'devel' into dev/py23_metaclass
2019-01-07 21:41:14 -08:00
Henning Gross
10d045d743
Added @hgross to AUTHORS.md
2019-01-07 22:25:29 +01:00
Henning Gross
44818993ff
#2992 use shutil.move instead of os.rename
2019-01-07 21:49:21 +01:00
tedder
970b9c3384
make login page responsive
...
with responsive plugins like TouchUI, all of the pages render on mobile just fine.. except the login page. I was tired of scrolling much wider than my phone's display to make it show up, so I did some investigation. Turns out it was just missing the meta viewport.
2019-01-02 19:53:21 -08:00
Aaron Griffith
89f94be96a
Use module name when loading plugins from entry points.
2018-12-29 21:52:11 -05:00
Nicholas J. Fiorello Jr
52cfd93301
use jQuery for checked state.
2018-12-24 18:11:47 -05:00
tedder
2a8d103dc6
handle missing uuid at sha time
...
Even if a user doesn't have a uuid at startup, they might enable tracking later and .. then a uuid isn't created until the next startup. For this reason and others, we shouldn't pass None to sha.update. Also, by adding a 'uuid missing' string to the log post, we can now track how many instances are missing a uuid for some reason. (though these may show now as a uuid of 'None').
2018-12-22 14:47:52 -08:00
Gina Häußge
d452051c0a
Add systemd file
...
As discussed in #1716
2018-12-19 14:47:52 +01:00
Gina Häußge
99b32fc6c3
Merge remote-tracking branch 'origin/maintenance' into maintenance
2018-12-19 13:37:51 +01:00
Gina Häußge
5b4f4e3d77
Tentatively support Python 3 while that is being worked on
2018-12-19 13:36:55 +01:00
Gina Häußge
c66b451efd
Merge branch 'maintenance' into devel
2018-12-19 13:35:42 +01:00
Gina Häußge
4e9437114b
Change wording & exception type
2018-12-19 13:35:18 +01:00
Connor Wolf
52c7321c78
Handle unsupported version at runtime.
...
If you have an ancient setuptools, 4a36ddb3aa
won't successfully prevent installing. These changes will at least give a sane error,
rather then just barfing on random syntax errors due to the `unicode` type not
being present in py3k.
Cherry picked from 2f20f2d
2018-12-19 13:34:37 +01:00
Gina Häußge
ef94646083
printer_safety: Added version restriction to anycubic detection
...
Had to refactor check system to make this possible. Checks are now
implemented in classes that allow to track state.
2018-12-19 13:17:45 +01:00
Unknown
37f3396be3
try fix default function
2018-12-18 19:32:31 +01:00
Unknown
f8f461b804
add callback for on success/error for hook sdcopy
2018-12-18 19:07:15 +01:00
Unknown
5396daa7f6
move default fuction to local fuction + minor fix
2018-12-18 18:47:16 +01:00
Gina Häußge
bb51dc23fc
Merge pull request #2960 from jubaleth/fix/ExceptionMessageCorrection
...
Exception message correction
2018-12-18 11:06:35 +01:00
Jubaleth
2733838574
Corrected plugin manager failure exception message
2018-12-17 18:57:22 +01:00
Gina Häußge
a23d92158b
tracking: Track uptime of OctoPrint in ping event
...
That will give us an idea if the current hypothesis that quite a number
of people are shutting down their instance at night is correct or not,
which in turn will inform future startup optimizations.
2018-12-17 17:47:22 +01:00
Gina Häußge
99225244f1
Add full version string to API
2018-12-17 14:20:42 +01:00
Gina Häußge
e30f1b9f82
Add "::1/128" to localNetworks for auto login
...
See BillyBlaze/OctoPrint-TouchUI#266
2018-12-17 12:29:19 +01:00
Unknown
054bbead72
clean doc + add default function + reduce parameter
2018-12-13 21:28:49 +01:00
Unknown
30294e9009
replace tab by space
2018-12-13 18:39:29 +01:00
Gina Häußge
bf5bc14c87
backup: fix needed space calculation
...
It wasn't taking excludes into account. Now its calculation mirrors the
zip file creation.
2018-12-13 16:29:22 +01:00
Gina Häußge
f6dd13af7a
tracking: add printer safety warnings to tracking
...
We want to get an idea how many people are running unsafe firmware.
2018-12-13 15:24:24 +01:00
Gina Häußge
5760b4b264
tracking: check enabled state before preparing payload
...
Otherwise if tracking is disabled we still do the work and then throw
it away, which is kinda stupid.
Also fixes potential issues with using things like the unique_id when
it hasn't in fact been set due to disabled tracking.
2018-12-13 13:13:02 +01:00
Gina Häußge
49b995b234
Set 10min idle timeout on tornado under windows
...
Possible workaround for #2916
2018-12-12 16:06:15 +01:00
Gina Häußge
8cf5ca9589
tracking: Track firmware/communication errors
2018-12-12 15:41:36 +01:00
Gina Häußge
ae36a3905a
printer safety: Mark Malyan M200 fw 4.0+ as safe
...
Implements #2947
2018-12-12 15:25:38 +01:00
Gina Häußge
bfd847f0a6
GCODE viewer: Bring back the layer count
2018-12-12 15:16:17 +01:00
Gina Häußge
e14cb44e13
Fix merge error & forcelogin plugin
2018-12-12 14:39:39 +01:00
Gina Häußge
17ad63dabf
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/templates/tabs/temperature.jinja2
2018-12-10 15:01:16 +01:00
Gina Häußge
ef81702219
Merge remote-tracking branch 'origin/maintenance' into maintenance
2018-12-10 14:59:55 +01:00
Gina Häußge
7cbe6244ae
Merge branch 'staging/maintenance' into maintenance
2018-12-10 14:59:39 +01:00
Gina Häußge
112a8b9c8b
Merge branch 'rc/maintenance'
1.3.10
2018-12-10 13:01:23 +01:00
Gina Häußge
98b692d845
Preparing release of 1.3.10
2018-12-10 12:44:25 +01:00
Gina Häußge
f4f7c87640
Always show actual received from printer instead of off
...
Regardless how cold the temperature is, display it in the table. Some
people otherwise seem to think that OctoPrint "can't handle"
temperatures below 10°C and will blame it for MINTEMP errors triggered
in the firmware.
2018-12-06 11:49:23 +01:00
MirceaDan
39cda08d07
added six to required deps
...
i believe six was already brought in by other packages, but better to be specified in clear than to assume other will install it.
2018-12-03 10:41:46 -08:00
Gina Häußge
3a1611e5c4
Merge branch 'maintenance' into devel
2018-12-03 14:17:32 +01:00
Gina Häußge
5af5cbbb37
Merge branch 'staging/maintenance' into maintenance
2018-12-03 14:16:50 +01:00
Gina Häußge
a657ebd528
staging/maintenance is now 1.3.10rc5.dev
2018-12-03 14:16:31 +01:00
Gina Häußge
e628aedbc1
Preparing release of 1.3.10rc4
1.3.10rc4
2018-12-03 12:42:28 +01:00
MirceaDan
7736cf1e6d
import configparser py3
...
compat with py3
import configparser
2018-12-02 16:10:37 -08:00
MirceaDan
41e74df8d3
click.disable_unicode_literals_warning = True
...
when importing from future unicode literals those warning will need to be disabled
2018-12-02 15:44:20 -08:00
MirceaDan
ac3b8ebfcc
winreg compatibility with python3
...
_winreg has been renamed in winreg in py3
2018-12-02 15:24:19 -08:00
MirceaDan
e0543de8ef
print is a function + header
...
made print a function and added imports from future and encoding
2018-12-02 02:30:47 -08:00
MirceaDan
f243a52823
all files start now with same 2 lines
...
# coding=utf-8
from __future__ import absolute_import, division, print_function
2018-12-02 02:13:12 -08:00
MirceaDan
94013ddb70
py23 compat for defining metaclasses
...
in python 3 and py2 metaclases are define ddiferentley, using six to get to a common solution
2018-12-02 01:25:27 -08:00