Gina Häußge
257fc0d1cd
Appkeys: allow fetching of all keys
...
Also added TODO list ;)
2018-09-29 15:00:27 +02:00
Gina Häußge
3fe2b611bc
Appkeys: fix template config
2018-09-29 15:00:27 +02:00
Gina Häußge
d6c63a5cb9
appauth -> appkeys
2018-09-29 15:00:27 +02:00
Gina Häußge
ad8205c386
AppAuth: workflow fully implemented & client lib
2018-09-29 15:00:27 +02:00
Gina Häußge
6efd4dfd08
New options for confirmation dialog
...
* oncancel: callback to call when cancel button is pressed
* noclose: don't allow dismissing/closing the dialog without having
chosen to proceed or cancel
2018-09-29 15:00:27 +02:00
Gina Häußge
469bf844ee
Clientlib: support operation without api key
2018-09-29 15:00:27 +02: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
b428faacc8
Appauth plugin: WIP
2018-09-29 15:00:26 +02:00
Gina Häußge
4e3adcc3f3
Add no_firstrun_access decorator
2018-09-29 15:00:26 +02:00
Gina Häußge
f88147003c
Repetier firmware reports fatal errors with another prefix
2018-09-29 14:54:39 +02:00
Gina Häußge
bbbe85f737
Multiline fatal error parsing for Marlin
2018-09-29 14:38:54 +02:00
Gina Häußge
fc97d0b424
Virtual: simulate some fatal errors
2018-09-29 14:38:35 +02:00
Gina Häußge
b054ec47ad
Special handling for fatal errors
...
If the firmware locks up it doesn't make sense to stay connected to
it even if we are supposed to only cancel an ongoing print.
2018-09-29 13:28:09 +02:00
Gina Häußge
87e7a19fdd
Forcelogin: Support theming via custom hook
2018-09-28 17:57:05 +02:00
Gina Häußge
fed257b5d8
Forcelogin: Fix spinner
2018-09-28 17:19:31 +02:00
Gina Häußge
e53ae8cd56
Forcelogin: Access to settings isn't needed either
2018-09-28 17:15:37 +02:00
Gina Häußge
a9f76dd1a3
Forcelogin: allow socket when ACL isn't setup yet
2018-09-27 18:47:00 +02:00
Gina Häußge
6bc5b8a7a9
Forcelogin: lock down sockjs socket as well
2018-09-27 18:44:03 +02:00
Gina Häußge
cb9bedb6a0
Add hooks to control sockjs registrations and messages
2018-09-27 18:43:46 +02:00
Gina Häußge
5ff790048d
Fix unit tests
2018-09-26 15:52:10 +02:00
Gina Häußge
f32ea65b2c
Support EMERGENCY_PARSER & use M108 on cancel (unless disabled)
...
Implements #1504
2018-09-26 15:29:15 +02:00
Gina Häußge
1f957e1ee2
forcelogin: disable while ACL hasn't been configured
2018-09-26 15:21:51 +02:00
Gina Häußge
32be5ca87c
Better error handling if file becomes unreadable
...
Implements #2674
2018-09-24 16:50:14 +02:00
tedder
9cb3631ad0
first py3 fix
2018-09-22 18:05:32 -07:00
tedder
743ff35bcf
add some yaml wrappers for the test environment
2018-09-22 18:05:10 -07:00
tedder
df706f61db
import locally for py3 mock compatability
2018-09-22 17:21:33 -07:00
tedder
791e759b40
keys() doesn't return a list, so restoring the contract.
2018-09-22 17:21:05 -07:00
tedder
22fdc1d933
final open mock tactic: add a central global.
2018-09-22 16:58:24 -07:00
tedder
aa383e3ca1
fix all __builtin__.open patch/mock calls
2018-09-22 16:15:22 -07:00
tedder
472fda6645
setuptools py3 compatability
2018-09-22 16:02:44 -07:00
tedder
bd35de80c3
fix test_file_helpers, couldn't figureout a non-conditional way to do this
2018-09-22 15:55:19 -07:00
tedder
52fe19e5f9
fix util.to_unicode for py2/py3.
2018-09-22 15:54:29 -07:00
tedder
c2f09b1715
fixes to test_comm_helpers
2018-09-22 13:14:27 -07:00
Gina Häußge
8876ab0ce5
SWU: Fix version output of CLI update message
2018-09-21 18:43:20 +02:00
Gina Häußge
ad8910354c
SWU: Fix CLI updating
...
Closes #2712
2018-09-21 18:41:22 +02:00
Gina Häußge
e8d6a9b221
Only reset timeout to busy once it has been set on printer
...
Should fix #2752
2018-09-21 18:25:58 +02:00
Gina Häußge
f3cfe2ba48
Virtual: add long running pseudo G33
...
Useful for testing busy protocol on commands.
2018-09-21 18:25:58 +02:00
Gina Häußge
d2ecb0a28f
Merge pull request #2827 from tedder/docfix_sdReleativePath_maint
...
spellfix 'sdReleativePath'
2018-09-21 18:05:21 +02:00
Ted Timmons
134ee77e4a
spellfix 'sdReleativePath'
...
It's only misspelled in the docs, it is correct in the code.
2018-09-21 08:45:53 -07:00
Gina Häußge
10f3f72b9c
Unit tests: Fix duplicated test method
...
Closes #2805
2018-09-21 14:35:20 +02:00
Gina Häußge
1ccc1fa47b
Merge pull request #2807 from tedder/201809_py3_devel_prep_b
...
201809 py3 devel prep batch b
2018-09-21 12:20:44 +02:00
tedder
2972d38cef
use a number instead of a string for safe_dump
2018-09-18 08:54:58 -07:00
tedder
4662606907
PR feedback: use future instead of six
...
Tests pass.
2018-09-18 08:37:34 -07:00
Gina Häußge
2c50aa789a
Merge branch 'pr/2733' into devel
...
# Conflicts:
# src/octoprint/plugins/discovery/__init__.py
2018-09-18 17:30:30 +02:00
Gina Häußge
78b6d3a5e2
Merge pull request #2800 from gerfderp/patch-1
...
Documentation conjugation fix.
2018-09-18 17:18:18 +02:00
Gina Häußge
a920c4fe21
Merge pull request #2806 from tedder/201809_rewrite_test_get_recovery
...
rewrite test_get_recovery_data
2018-09-18 17:12:27 +02:00
Gina Häußge
9e62b250ac
Merge pull request #2804 from cameroncros/system-api-documentation
...
Fixed up documentation for system api. Now correctly matches current behaviour
2018-09-18 17:11:32 +02:00
Gina Häußge
52468e7e1c
Merge pull request #2802 from tedder/201809_temperature_regex_update
...
201809 temperature regex update
2018-09-18 17:10:37 +02:00
Gina Häußge
03722e5e70
Merge branch 'pr/2731' into devel
...
# Conflicts:
# src/octoprint/cli/analysis.py
2018-09-18 17:06:37 +02:00
Gina Häußge
9112a800c8
Add forcelogin plugin
2018-09-14 20:06:32 +02:00