Gina Häußge
62d5f04373
Merge branch 'fix/portRestrictedCookies' into maintenance
2016-09-05 12:11:12 +02:00
Gina Häußge
b48af7133e
Fixed validator for tornado
2016-09-05 12:10:58 +02:00
Gina Häußge
9a9502b281
"prerelease" might not be in check (chances for that are actually high), don't hiccup on that
2016-09-05 12:09:13 +02:00
Gina Häußge
9d9eb3390d
Cookie names are now port specific, based on the request associated with a response
...
* make sure server_port headers are properly set in reverse proxied scenarios
* overwrite request and response classes to
* always apply reverse proxy environment changes (so far missing for tornado
context)
* strip cookie name suffixes from cookie names on requests and
* be sure to set cookie name suffixes for cookie names on responses
* include script root in path used for cookies
* some minor refactoring in octoprint.server setup routines
* removed ReverseProxied class (didn't work for tornado context)
* add unit tests for the whole reverse proxy, request and response customization
2016-09-05 12:06:56 +02:00
Gina Häußge
ce28b637ab
Better solution for access to .md files when running from source
...
The SelectedFileSystemLoader doesn't collect everything and the
kitchen sink from disk...
2016-08-29 17:50:14 +02:00
Gina Häußge
21b7339187
SWU: Move branch config to update check & fix release version detection again
2016-08-26 14:18:17 +02:00
Gina Häußge
df1a97b0e1
SWU: Only enforce unequality comparison on release channel switch
2016-08-26 10:40:01 +02:00
Gina Häußge
66da377b64
SWU: Minor fixes in the octoprint check population
2016-08-26 10:19:20 +02:00
Gina Häußge
34e5b5d50f
SWU: Sort github releases by version, not publication date
...
We can't rely on the publication date anymore with the introduction of prerelease
channels, since e.g. a current devel prerelease might have been published
earlier than the latest stable but should still be considered the latest release for
this release channel
2016-08-26 10:18:35 +02:00
Gina Häußge
882cf3a142
SWU: git reset => git reset --hard for forced version
2016-08-25 16:49:18 +02:00
Gina Häußge
d9a4ff47b6
Make sure to switch back to master for stable release channel
2016-08-25 16:30:35 +02:00
Gina Häußge
d538b3fd38
Adjust swu plugin settings to selected update method
2016-08-25 15:45:25 +02:00
Gina Häußge
f8386649bf
Fix release channel selector
2016-08-25 13:32:18 +02:00
Gina Häußge
b5bc03e711
First throw at release channels
...
We start out with master (Stable), rc/maintenance (Maintenance) and rc/devel (Devel)
2016-08-25 09:41:12 +02:00
Gina Häußge
0a78c92407
Do access logging via custom request header instead of global flag
...
We don't want any weird things to happen due to multithreading...
2016-08-18 16:14:03 +02:00
Gina Häußge
60c46a3fc4
Fixed use of preemptive cache exceptions in "unless" implementation
2016-08-18 14:05:12 +02:00
Gina Häußge
8782f77577
Slightly modified logging for cached.gif
2016-08-18 14:01:25 +02:00
Gina Häußge
08f9529c6d
Merge remote-tracking branch 'origin/maintenance' into maintenance
2016-08-18 13:58:38 +02:00
Gina Häußge
6499bd160f
Only wait for preemptive cache if it's enabled for path & view
2016-08-18 13:56:46 +02:00
Gina Häußge
599098a589
Have intermediary reload only after preliminary caching
2016-08-18 12:27:30 +02:00
Gina Häußge
aa57277ff8
Only report files as enqueued for analysis which actually are
2016-08-18 08:39:19 +02:00
Gina Häußge
74a94469b6
Fix an issue with global_get from 3rd party plugins
2016-08-17 14:50:53 +02:00
Gina Häußge
217e54d81c
Make sure we are still in printing state before sending next line
...
We might just have "eaten" a line used for triggering a pause (e.g. an M0)
and thus might not be eligible to send the next line from the streamed file
anymore.
Solves #1448
2016-08-16 09:29:29 +02:00
Gina Häußge
b05beb27b5
Don't sanitize . or .. folder names
2016-08-15 16:13:35 +02:00
Gina Häußge
d81ec15f43
Improvements in fuzzy print time algorithm
...
Also use new fuzzy print time in gcode viewer to have some consistency.
2016-08-15 15:42:06 +02:00
Gina Häußge
39372a9475
Also sanitize leading .
...
That way hidden files that are uploaded will be "de-hidden".
Note that NO "de-hiding" of existing files will take place!
2016-08-15 14:19:36 +02:00
Gina Häußge
e8cac14c2f
Make sure uploads folder only has sanitized entries
...
Should make sure stuff doesn't break when people perform manual
file operations on the uploads folder (e.g. uploading files
that don't match the sanitization scheme).
Should solve #1434
2016-08-15 14:19:35 +02:00
Gina Häußge
5bef0926a6
Add [ and ] to valid chars in filenames
...
See #1434
2016-08-15 14:19:34 +02:00
Gina Häußge
7772fdc7bf
Tooltips for state panel
2016-08-15 14:19:33 +02:00
Gina Häußge
cd736c44df
Improved fuzzy print time display
2016-08-15 14:19:32 +02:00
Gina Häußge
11bdc176a0
Fix minute comparison for dumb estimate fallback
...
Probably solves the core reason that caused #1428 to be
reported in the first place, totally inaccurate early linear
approximations (when nothing better is available) making
it to the user.
It should now display "Calcuting..." until the approximation
stabilizes OR the configured max percentage or max time without
an estimate are reached.
2016-08-15 14:17:27 +02:00
Gina Häußge
fe97a8d6bd
maintenance is now 1.2.16.dev
2016-07-30 09:56:49 +02:00
Gina Häußge
afdb98a92f
Postponing the release of 1.2.15 until tomorrow
2016-07-29 21:50:45 +02:00
Gina Häußge
7b48270239
Preparing release of 1.2.15
2016-07-29 16:30:55 +02:00
Gina Häußge
90340487f7
Merge branch 'fix/revertTimeoutAdjustment' into maintenance
2016-07-29 08:54:11 +02:00
Gina Häußge
1f19fd1e1d
Partially revert 937487037
...
This commit might be at the root of the problems reported
in #1423
2016-07-29 07:45:03 +02:00
Gina Häußge
9b13eb8a6c
Support serial hook handlers to not return written bytes
2016-07-29 00:13:03 +02:00
Gina Häußge
444a36d0f0
state_string must always be initialized
...
See #1425
2016-07-28 23:24:29 +02:00
Gina Häußge
7c5cc8d256
Make sure we have at least two timestamps in lastmodified calculation
...
Otherwise our max(*timestamps) call might fail
2016-07-28 15:19:34 +02:00
Gina Häußge
e76a3ea54f
maintenance is now 1.2.15.dev
2016-07-28 14:30:21 +02:00
Gina Häußge
14969e5508
Preparing release of 1.2.14
2016-07-28 12:15:22 +02:00
Gina Häußge
f671006582
Use circle instead of info symbol for print time left quality indicator
2016-07-28 11:37:27 +02:00
Gina Häußge
bd352f4658
Make sure to clear_to_send in timeout handling for active resends
2016-07-28 11:30:23 +02:00
Gina Häußge
046536dd70
If a line is filtered while printing, read next line to continue sending
...
We want to make sure that while printing we always continue sending something,
either from the command queue or the printed file.
2016-07-28 11:18:57 +02:00
Gina Häußge
f9cb29ac91
A bunch of documentation fixes and updates
2016-07-28 09:43:41 +02:00
Gina Häußge
fad2e8f1b8
Visual distinction of state panel UI clusters
2016-07-27 18:38:40 +02:00
Gina Häußge
f2ecb96c83
Add indicator of origin of print time left estimate to UI
2016-07-27 18:38:17 +02:00
Gina Häußge
0a81e8b161
Use centered text in progress bars
...
* print progress shows percentage
* upload progress shows what it always showed, but fully centered
* GCODE viewer progress shows what it always showed, but fully centered
2016-07-27 15:05:16 +02:00
Gina Häußge
eb822c83a3
Add LESS/CSS for (centered) text in progress bars & knockout helper
2016-07-27 15:04:07 +02:00
Gina Häußge
ec8427cbb8
Fix a bug causing the "Streaming ..." text to vanish on transfer to SD
2016-07-27 14:46:00 +02:00