Gina Häußge
9a4cebfb61
Merge branch 'maintenance' into devel
2017-03-09 12:04:35 +01:00
Shawn Bruce
5d1a0eaa16
Only reset scroll position for settings content. ( Fixes #1812 )
...
(cherry picked from commit 5c81833 )
2017-03-09 11:57:08 +01:00
Gina Häußge
2d9c16e859
Allow PRs against maintenance for bug fixes
2017-03-09 11:49:55 +01:00
Shawn Bruce
5c81833415
Only reset scroll position for settings content. ( Fixes #1812 )
2017-03-08 14:16:17 -05:00
Gina Häußge
d88ca50de0
Merge branch 'maintenance' into devel
2017-03-08 18:11:54 +01:00
Andy Werner
8a4934e6f8
Fix an issue in user settings
...
* UserSettings: crashed if overwrite an existing key with primitive value by same key with complex value. Also reduced number of calls to user.get_setting()
* Updated tests
(cherry picked from commit b75b53d )
2017-03-08 18:11:36 +01:00
Gina Häußge
a0e5f79483
Only load file into GCODE viewer when that is actually visible
...
Reduces needed bandwidth on page load, might help to mitigate
bandwidth related issues described in #1241 .
2017-03-08 18:03:16 +01:00
Andy Werner
b75b53d05a
Fix an issue in user settings
...
* UserSettings: crashed if overwrite an existing key with primitive value by same key with complex value. Also reduced number of calls to user.get_setting()
* Updated tests
2017-03-07 10:35:33 +01:00
Gina Häußge
ef6159cc96
Applied text changes proposed by @seigel in #1735
2017-03-06 15:51:14 +01:00
Gina Häußge
ab42cc2a7f
Better error resilience against garbage history data from plugins
...
See #1805
2017-03-06 15:32:30 +01:00
Gina Häußge
01cffafe77
Fixed documentation of printer profile API
...
Closes #1732
2017-03-06 14:36:43 +01:00
Gina Häußge
d8f2630fd4
Don't call onUserLoggedIn/Out on user reload
2017-03-06 14:11:41 +01:00
Gina Häußge
811c91955c
Fix for new user settings getting lost until restart
...
On reload of the user settings a new user object was created but not
updated on the associated session user(s). That let to session user
(s) still referring to the old user instances with the only partially
updated user settings.
Behaviour changed such that on a reload of the users from file
(including user settings) all registered session users will now get
their reference updated as well.
Also made modelling of user id to session id a bit less redundant.
2017-03-06 14:02:39 +01:00
Gina Häußge
01ebf8fba7
Fix for two timing sensitive unit tests
2017-03-06 11:54:03 +01:00
Gina Häußge
2dcd6e02b1
Remove webapp headers to play nice with Safari's session handling
...
Solves #1792
2017-03-06 11:37:00 +01:00
Gina Häußge
d845257cf4
Fixed caching of main page
...
Got broken by 62890ef73a
2017-03-01 18:28:37 +01:00
Gina Häußge
c765e6e228
Revert "Only do lookup by userid if session is None"
...
This reverts commit f02fac20ed .
The commit turned out to nuke the "remember me" functionality.
2017-03-01 15:49:19 +01:00
Gina Häußge
20e1219d9e
Virtual printer: configurable ok format
2017-03-01 15:48:36 +01:00
Marc Hannappel
c2cae5b2fc
Added ability to give a description to groups
2017-03-01 11:47:23 +01:00
Gina Häußge
14120f732b
Only check if we need to close login dropdown if it's open
2017-02-28 10:00:51 +01:00
Gina Häußge
b7e2b0f794
Fixed login dropdown not auto closing on click outside of it
...
When two wrongs make one right...
2017-02-28 09:54:36 +01:00
Gina Häußge
f02fac20ed
Only do lookup by userid if session is None
2017-02-27 15:51:24 +01:00
Gina Häußge
30e962b447
Merge branch 'maintenance' into devel
2017-02-24 15:28:01 +01:00
Gina Häußge
755bcaa311
Add current path to "Back" button in file list
...
Closes #1712
2017-02-24 15:05:26 +01:00
Gina Häußge
aab98a7c9f
Disable "Slice" button when printing and local slicer is selected
...
Solves #1631
2017-02-24 13:21:33 +01:00
Gina Häußge
3a984d41ff
Remove color option in printer profile editor
...
We don't use it anywhere and its presence keeps confusing users. Kept
in the model since we might want to use it at some later time.
Closes #1790
2017-02-24 12:38:37 +01:00
Gina Häußge
28d01e2fa6
Disable external heatup detection until firmware is detected
2017-02-24 12:32:05 +01:00
Gina Häußge
2198add8e6
SWU: Refresh cache on startup & prevent concurrent refresh & fix hash
2017-02-24 11:56:02 +01:00
Gina Häußge
1de307e15d
Log version, safe mode & plugins to log on log roll over
...
We want to make sure that information is ALWAYS in each and every log.
2017-02-24 10:53:16 +01:00
Gina Häußge
aab7b7f797
Timelapse: ignore both z-hop flanks but allow z-hop to next layer
...
Former implementation tested for z-hop rising flank and anything that
is falling. That however causes issues with z-hop directly followed
by layer change (diff is not z-hop size but negative, image hence not
captured).
Instead of testing for positive flank == z-hop and any negative flank,
we now test for absolute value == z-hop.
Solves #1777
2017-02-23 17:17:38 +01:00
Gina Häußge
162e8c50d3
Fixed CSS and LESS bundling for core vs plugins vs all
2017-02-23 17:05:42 +01:00
Gina Häußge
636d8e0faa
Eventhandling: Wait for command to finish before triggering next
...
Should solve #733
2017-02-23 16:50:04 +01:00
Gina Häußge
62890ef73a
Fix a bunch of caching issues
...
Cache was not invalidated on change of:
* snapshot URL presence
* system menu entry presence
* gcode viewer enabled/disabled
* changes in access control availability
Refactored cache setup to add enable_timelapse, enable_gcodeviewer
and enable_accesscontrol to ETag calculation, removed system menu
check. Template filtering will now be done based on the values of
these flags at render time, not before.
See also #1776 for a related ticket.
2017-02-23 14:49:47 +01:00
Gina Häußge
79af90dd6a
Make sure we don't try to use an empty logging.yaml
...
Fixes #1560
2017-02-22 18:25:12 +01:00
Gina Häußge
d15262e7cc
Fixed wrong replacement for __progress placeholder in events
...
Data reported from printer backend is already percent, multiplying it
with 100 again produces wrong values.
2017-02-22 17:58:21 +01:00
Gina Häußge
41f0ed0124
Move announcements between system and login
2017-02-22 15:20:07 +01:00
Gina Häußge
ff595a7e31
Move notifications down a bit
...
See discussion in #1741
2017-02-22 15:19:04 +01:00
Gina Häußge
444312d7d9
Free up some space in the navbar
...
* Use only icons for settings and system entries
* Limit length of login entry to 100px
* Limit length of instance name to 250px
* Removed "OctoPrint" text if instance name is set
See discussion in #1741
2017-02-22 15:17:39 +01:00
Gina Häußge
c3740dd59d
Added development dependencies to THIRDPARTYLICENSES
2017-02-21 17:14:39 +01:00
Gina Häußge
c203d79434
Remove empty-folder-filter
...
Doesn't really add anything and only causes issues for people.
Solves #1671
2017-02-21 17:06:26 +01:00
Gina Häußge
6dce2bc250
Added missing entries to THIRDPARTYLICENSES.md
2017-02-21 17:02:05 +01:00
Gina Häußge
cad66fcea7
Added @ghulands to AUTHORS.md
2017-02-21 16:55:17 +01:00
Gina Häußge
f710bb535e
Merge branch 'devel' into pr/kevans91/dep-up
2017-02-21 16:41:02 +01:00
Gina Häußge
814b02900b
Fixed a test left-over
...
Thanks for the heads-up @kevans91
2017-02-21 16:39:51 +01:00
Gina Häußge
ed46d9967a
Adjusted docs of slicing API to match implementation
...
Follow-up to PR #1748
2017-02-21 14:17:14 +01:00
Eyal Soha
6aae0017c4
add sameDevice to SlicingViewModel
...
(cherry picked from commit fea0791 )
2017-02-21 14:15:02 +01:00
Eyal Soha
ebe93f9a6d
add same device to the slicing API
...
(cherry picked from commit ce38ef6 )
2017-02-21 14:14:54 +01:00
Greg Hulands
a16680b453
Issue #1780 : Safari Webcam Fix.
...
(cherry picked from commit e82efd2 )
2017-02-21 14:13:26 +01:00
Gina Häußge
4958353335
Fix repr for User and SessionUser
2017-02-21 14:00:50 +01:00
Gina Häußge
9884c52c4e
Upgrade to current versions again
2017-02-21 13:23:52 +01:00