Gina Häußge
6812001639
SWU: Point to log file by name in error messages
2018-02-12 14:39:58 +01:00
Gina Häußge
00616a3d73
Merge pull request #2411 from kantlivelong/terminal_autoscroll_enchancements
...
ENHANCEMENT: Terminal: Autoscroll Enhancements
2018-02-08 20:36:57 +01:00
Shawn Bruce
a7a78c11d4
Terminal: Autoscroll Enhancements
...
* Disable autoscroll when scrolling up.
* Scroll to bottom when autoscroll is toggled to enable.
2018-02-08 13:32:08 -05:00
Gina Häußge
60c7974aa4
Revert "Update to pyserial 3.4"
...
This is causing issues on update thanks to the PySerial installation
logging an error if the former version was installed through
dependency resolution during OctoPrint's python setup.py install run
(which is most likely the case for pretty much all live installations
out there).
Update (and hence activation of fix for #2333 ) postponed until a
solution for this issue is found.
This reverts commit 77989d2a76 .
2018-02-08 16:53:45 +01:00
Gina Häußge
441db2dbbc
Merge pull request #2409 from koenkooi/mkv-maintenance
...
timelapse: add m4v and mkv as supported container formats
2018-02-08 15:50:28 +01:00
Koen Kooi
066d3d7422
timelapse: add m4v and mkv as supported container formats
...
Not every player can handle non-mpeg2 codecs inside a .mpg. QuickTime
Player on OSX goes a step further and won't play h264-in-mp4, only
h264-in-m4v.
2018-02-08 15:44:55 +01:00
Gina Häußge
98b71a5870
Tell PySerial to cancel reads & writes on connection close
...
Only done if the methods needed for that exist and are callable though
(to prevent issues with custom serial port implementations provided
through hooks, or operating systems that don't have support for
cancel_read/cancel_write in PySerial.
Fixes #2333 (at least as far as we'll ever be able to fix it)
2018-02-08 15:17:12 +01:00
Gina Häußge
77989d2a76
Update to pyserial 3.4
2018-02-08 15:04:36 +01:00
Gina Häußge
f35fe32a92
Better fix of "copy all" on Terminal tab
...
See also #2392
2018-02-08 12:36:31 +01:00
Gina Häußge
b79f669351
Fix "copy all" on Terminal tab
...
Closes #2392
2018-02-08 12:28:36 +01:00
Gina Häußge
528bd90d02
Merge pull request #2406 from kantlivelong/about_showTab_fix
...
BUGFIX: Fix showTab function
2018-02-07 17:51:12 +01:00
Gina Häußge
b8d23c8bc1
Logging: Fix a return value
2018-02-07 16:46:33 +01:00
Gina Häußge
bb822fb9dd
Logging: add/move docs for the plugin
2018-02-07 14:18:52 +01:00
Gina Häußge
77aeb6146e
Logging: redirects for backwards compatibility
2018-02-07 14:18:51 +01:00
Gina Häußge
de253e5086
Logging: some refactoring and fixes
...
* logs => logging
* i18n
* Add JS client & streamline API
* Whitespace and metadata fix
* Add LESS/CSS files
* camelCase => snake_case
* fix log deletion & add missing var
2018-02-07 14:17:53 +01:00
Shawn Bruce
986591aed4
Logging: extract log managment into bundled plugin
2018-02-07 14:11:49 +01:00
Shawn Bruce
48f87b2979
Fix showTab function
2018-02-06 11:20:55 -05:00
Gina Häußge
ec12bd7cd4
Introduce CaseInsensitiveSet & use for valid boolean trues
...
Follow up to #2385
2018-02-06 10:15:57 +01:00
tedder
b3b19dc136
add 'True' as a string as a boolean
...
This allows pythonic API clients to pass boolean values in:
requests.get('/api/printer', params={'history': True})
Previously this didn't work, as Octoprint doesn't see True as a boolean, it gets a sting. So it never matches True, it only matches "True".
Easy to test:
curl -H "X-Api-Key: x" http://octopi.local/api/printer?history=true | grep history
curl -H "X-Api-Key: x" http://octopi.local/api/printer?history=True | grep history
2018-02-06 09:48:49 +01:00
Gina Häußge
9f1abee023
Add refresh button to the connection panel
2018-02-06 09:31:48 +01:00
Gina Häußge
fca7005bfa
[Docs] Document basic auth config settings
2018-02-05 15:54:12 +01:00
Gina Häußge
fcf7358855
BasicAuth: Check PW too by default
...
Also slightly refactored to deduplicate.
2018-02-05 15:37:46 +01:00
Gina Häußge
c050bd15ac
Merge branch 'basic_auth_autologin' of https://github.com/bzed/OctoPrint into maintenance
2018-02-05 12:31:26 +01:00
Gina Häußge
3e236dc57d
Temperature graph: Small axis fixes
...
* remove "just now" X axis tick, we just don't show anything for less
than a minute ago now
* add unit to Y axis ticks
Closes #2371
2018-02-05 12:27:57 +01:00
Gina Häußge
aa0ea299ea
Docs for printer profile related bits and pieces
2018-02-01 18:26:13 +01:00
Bernd Zeimetz
57a58b3bd7
Trust basic authentication headers for user login.
...
This is my suggestion on how to handle basic authentication for users
mananaged by OctoPrint's UserManager.
In my opinion OctoPrint should not be doing Basic Authentication on its
own. The commen case is that it runs on some slow hardware which its not
able to handle stupid bots trying out thousands of passwords in short
time. Also you want to protect it as much as possible from the outside
to ensure that the basd internet can't break your 72h print after 71
hours by brute-forcing passwords.
So I'm introducing an
accessControl: trustBasicAuthentication
config option. If enabled, it will take the user name from the
Authorization header, check if the user exists and is enabled - and if
so, just login the user.
2018-01-22 21:32:04 +01:00
Gina Häußge
67005577b7
Cura plugin: str to unicode
...
Closes #2368
2018-01-22 17:48:32 +01:00
Gina Häußge
b1f9e070a4
Return 403 instead of 401 on missing/insufficient credentials
...
Closes #2297
2018-01-22 16:06:36 +01:00
Gina Häußge
b5aae0b8fa
Improve resilience against errors on file listing
...
Closes #2294
2018-01-22 13:51:32 +01:00
Gina Häußge
1b5b243760
Merge pull request #2338 from kantlivelong/octoprint_comm_protocol_scripts_enhancement
...
Allow plugins to define gcode script variables using the octoprint.comm.protocol.scripts hook
2018-01-22 12:07:13 +01:00
Shawn Bruce
6545f9a816
Allow plugins to define gcode script variables using the octoprint.comm.protocol.scripts hook
2018-01-12 13:05:45 -05:00
Gina Häußge
c11288ff65
Merge pull request #2337 from kantlivelong/autoconnect_fix
...
BUGFIX: Fix autoconnect on start so that it works with the port set to AUTO (#2311 )
2018-01-12 15:35:50 +01:00
tedder
ed70944f69
grammatical fix in text
...
[It's a common error](https://brians.wsu.edu/2016/05/31/setup-set-up/ ); I'm not sure if it needs to be fixed in all three places or perhaps only in the .pot file.
(cherry picked from commit a77fbfe )
2018-01-12 15:34:05 +01:00
Gina Häußge
16b690089d
Merge pull request #2328 from tedder/grammar_fix_setup
...
grammatical fix in text
2018-01-12 15:31:09 +01:00
Gina Häußge
88cb28cec9
More resilience against possible None parameters
2018-01-12 15:29:06 +01:00
Shawn Bruce
15c390b199
Fix autoconnect on start so that it works with the port set to AUTO ( #2311 )
2018-01-03 00:08:44 -05:00
tedder
a77fbfe0c2
grammatical fix in text
...
[It's a common error](https://brians.wsu.edu/2016/05/31/setup-set-up/ ); I'm not sure if it needs to be fixed in all three places or perhaps only in the .pot file.
2017-12-27 19:57:47 -08:00
Shawn Bruce
8b09b11faa
Check for valid queue entry before attempting to dequeue.
2017-12-27 11:31:42 -05:00
Gina Häußge
bad3612ed2
Minimum temperature cutoff is now 1 min
...
Solves core reason of #2213
2017-12-14 18:10:41 +01:00
Gina Häußge
b079978384
Fix missing line break in case of > 3 announcements
2017-12-14 14:06:48 +01:00
Gina Häußge
b36a776f51
Merge branch 'maintenance' into devel
2017-12-12 13:09:41 +01:00
Gina Häußge
13558c01f9
Merge branch 'staging/maintenance' into maintenance
2017-12-12 13:09:24 +01:00
Gina Häußge
777c02135e
Fixed a copy paste error in the changelog
1.3.6
2017-12-12 12:42:40 +01:00
Gina Häußge
793bb714eb
Preparing release of 1.3.6
2017-12-12 10:36:33 +01:00
Gina Häußge
8229842334
Revert "Some long overdue == vs === view model cleanup"
...
This reverts commit 8a977e8777 .
Was causing at least one regression, to be redone for 1.3.7
2017-12-12 10:09:27 +01:00
Gina Häußge
ef6b39757b
Merge branch 'maintenance' of github.com:foosel/OctoPrint into maintenance
2017-12-08 16:22:19 +01:00
Gina Häußge
2cae028d47
Merge branch 'staging/maintenance' into maintenance
2017-12-08 16:22:05 +01:00
Gina Häußge
38a711ac56
staging is now 1.3.6rc4
2017-12-08 16:21:05 +01:00
Gina Häußge
a8747f7e36
Fix a bug with release vs dev version detection
1.3.6rc3
2017-12-08 15:09:58 +01:00
Gina Häußge
17e6f5d508
Preparing release of 1.3.6rc3
2017-12-07 17:40:04 +01:00