Gina Häußge
69681a27d6
Fix the unrendered timelapse list being visible when empty
2018-05-17 17:27:00 +02:00
Gina Häußge
0adcfc693d
Merge branch 'pr/2410' into devel
2018-05-17 16:29:09 +02:00
Gina Häußge
b73507fd2b
Increase default bitrate for timelapses
2018-05-17 16:27:18 +02:00
Gina Häußge
bea6bd013c
Some small fixes
...
* fixed whitespace
* less repetition for output/capture format
* value range check for ffmpegVideoCodec as suggested
2018-05-17 16:23:50 +02:00
Gina Häußge
d62df7643b
Use resize sensor to fix progress bar text widths
...
Closes #2635
2018-05-16 18:29:39 +02:00
Gina Häußge
7d40320a5b
SWU: Fix another leftover wrong permission name
2018-05-15 17:05:54 +02:00
Gina Häußge
09456b923f
SWU: Fix update button not working
...
Closes #2641
2018-05-15 17:01:12 +02:00
Gina Häußge
39e6c11c39
Fix overflown tabdrop tabs not being selectable
...
Closes #2643
2018-05-15 16:45:38 +02:00
Koen Kooi
27b625a614
timelapse: pick container and suffix based on setting
...
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-15 10:42:07 +02:00
Koen Kooi
096e9fc326
timelapse: change videocodecs to predefined list
2018-05-11 12:19:39 +02:00
Koen Kooi
f577d6b45d
timelapse: add setting for videocodec
...
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-11 12:19:34 +02:00
Gina Häußge
104b0a504c
Merge branch 'pr/2586' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/server/util/sockjs.py
# src/octoprint/static/js/app/viewmodels/timelapse.js
2018-05-10 18:18:05 +02:00
Gina Häußge
40bfbe0d7b
knockoutify progress bar
...
Also hide it when we are not rendering anything.
2018-05-10 18:15:49 +02:00
Gina Häußge
4bf5984ace
ffmpeg needs help for continuous progress reporting
...
See https://stackoverflow.com/a/35422274
2018-05-10 18:15:25 +02:00
Gina Häußge
8369d311bf
Small refactoring & fixed tests
2018-05-03 17:42:30 +02:00
Gina Häußge
d8eb57548d
Merge branch 'dev/granularPermissions' into devel
...
# Conflicts:
# src/octoprint/server/api/files.py
# src/octoprint/server/api/job.py
# src/octoprint/static/js/app/viewmodels/users.js
2018-04-26 19:27:11 +02:00
Gina Häußge
d8072f0e05
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
2018-04-26 19:10:16 +02:00
Gina Häußge
41e3a0390f
Removed CombinedPermissions
...
We now support adding other permissions to Permissions on creation, so
there's no need for this anymore.
Adjusted plugin permission addition accordingly by merging "regular" and
"combined" types.
Migrated log download permission.
Fixed some stuff here and there that I can't remember right now.
2018-04-26 19:08:30 +02:00
Gina Häußge
42a9a1976d
Fix anonymous user & disabled ACL mode
2018-04-26 18:25:27 +02:00
Gina Häußge
569991e55c
removeable => removable, changable => changeable
2018-04-26 13:06:14 +02:00
Gina Häußge
b2996f10ff
Get rid of a bit of Python2 only code
2018-04-26 12:56:07 +02:00
Gina Häußge
42fb4f4700
Fix remember me and IPv4/IPv6 sessions
...
Session protection mode "strong" is apparently incompatible to the
remember me function in general and on top of that I observed issues
with at least Windows happily switching between connecting to an
instance via IPv4 and IPv6, causing changes in the reported client IP
and hence the session protection killing the session as a result.
2018-04-26 12:40:07 +02:00
Gina Häußge
52934602cd
Fix forgotten self
2018-04-26 12:03:34 +02:00
Gina Häußge
2a0eda5c34
Make sure we have the current user data in editor
...
Fixes #2534
2018-04-26 11:30:48 +02:00
Gina Häußge
a3b3fbe269
Add some more strings to the known error classes
...
"Missing linenumber" is apparently also an option we want to recognize
as non critical error, and while we are at it let's make sure we also
capture "linenumber" without a space for resend request communication
errors, just in case firmware devs add some variance here.
2018-04-26 11:00:29 +02:00
Gina Häußge
2fe177ffb8
Virtual: Fix default M114 format string
2018-04-25 17:01:24 +02:00
Gina Häußge
d8bc75222f
Remove some left overs from a small refactor
...
Closes #2610
2018-04-25 17:01:24 +02:00
Gina Häußge
c3bb651d9e
Properly decouple individual metadata locks
...
Thanks to @CapnBry for the heads-up here.
2018-04-25 17:01:24 +02:00
Gina Häußge
135cf6a9cc
Migrate file storage metadata to json
...
As suggested by @CapnBry, that should give us a significant speed
boost considering that yaml serialization and deserialization is some
orders of magnitude slower than json.
We only do that for the file metadata for now - it has the biggest gain
to expect from a speed boost, and having the configuration as yaml
actually has its readability advantages.
2018-04-25 17:01:24 +02:00
Gina Häußge
be4b98b9da
Merge pull request #2604 from dforsi/fix/issue/2534
...
Reload older values after cancelling the Settings dialog
2018-04-25 10:51:41 +02:00
Gina Häußge
673b367902
Merge pull request #2591 from dforsi/fix/valid-html
...
Fix markup for some HTML labels
2018-04-25 10:41:57 +02:00
Gina Häußge
81626ceec5
Small change in user display in state panel
2018-04-24 16:52:17 +02:00
Gina Häußge
b653ee59c8
Merge branch 'pr/2576' into maintenance
...
# Conflicts:
# src/octoprint/printer/standard.py
2018-04-24 16:45:08 +02:00
Gina Häußge
79abe31a06
Move printing user into job data & add UI representation
2018-04-24 16:44:41 +02:00
Gina Häußge
30a523b8c1
Fix printer.select_file
...
* properly handle relative paths for selection
* properly handle absolute paths for recovery data comparison
Fixes #2601
2018-04-24 16:00:09 +02:00
Gina Häußge
c104f45b16
SWU: Default to force_base = False
2018-04-24 13:49:21 +02:00
Daniele Forsi
a4cc3a9309
Reload older values after cancelling the Settings dialog
...
Fixes #2534
2018-04-22 23:09:37 +02:00
ZachNo
b7adf115ee
Changed to CommandlineCaller, added test
...
Now using CommandlineCaller using a custom logger function.
Added test in test_timelapse_helpers.py for _process_ffmpeg_output
2018-04-21 21:44:52 -04:00
Gina Häußge
f72b92caff
Revert Tornado 5 fixes for sockjs
2018-04-20 22:39:26 +02:00
Gina Häußge
d3e7842c3a
Revert "Minor adjustments for Tornado 5"
...
This reverts commit 258f3725bf .
2018-04-20 22:39:25 +02:00
Gina Häußge
7cf0f552f5
Track group flags from default groups
2018-04-20 20:31:10 +02:00
Gina Häußge
246c614635
Allow plugins to declare permissions as default for standard groups
2018-04-20 20:00:34 +02:00
Gina Häußge
df62f08ec3
React to permission changes & fix timelapse permissions
2018-04-20 14:32:21 +02:00
Gina Häußge
b6f71eeb3b
restricted_access => require_firstrun
...
We don't want to require a login session anymore in most cases, we have granular permissions for this.
2018-04-20 14:08:02 +02:00
Gina Häußge
e2a7e07a0a
Fix some imports
2018-04-20 14:04:38 +02:00
Gina Häußge
b3acd36092
Don't try to login/out anonymous users
2018-04-20 14:02:39 +02:00
Gina Häußge
7a037b9c66
Make sure to update data if current permissions change
2018-04-19 22:01:52 +02:00
Gina Häußge
c1cf359b43
Fix a group duplication bug
2018-04-19 18:49:05 +02:00
Gina Häußge
2d883d6d20
Make "users" group mandatory for logged in users
...
That makes the migration scenario way easier and also makes sense
in general.
2018-04-19 14:55:47 +02:00
Gina Häußge
a9441400b3
Merge branch 'fix/positionLogTimeout' into maintenance
...
# Conflicts:
# src/octoprint/util/comm.py
2018-04-19 14:10:16 +02:00