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
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
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
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
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
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
13558c01f9
Merge branch 'staging/maintenance' into maintenance
2017-12-12 13:09:24 +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
Gina Häußge
133a4658ee
Switch to https for (plugins.)octoprint.org
...
Also add utm tags to the two support-octoprint links so we have a chance
to see if anyone ever actually clicks on those.
2017-12-07 16:35:01 +01:00
Gina Häußge
0a2e2ed297
Don't write default update type & method to config
...
If we set method to pip in 1.3.6 and then roll back to 1.3.5 we will
need to a manual config.yaml update otherwise or we will no longer be
able to update.
Be removing the force parameter and using the actual default settings
instead of current ones, we don't do that anymore.
2017-12-07 11:15:43 +01:00
Gina Häußge
86934c8863
Support M114 response from RepRapFirmware
...
RRF uses format X:... Y:... Z:... E0:... E1:... instead of
X:... Y:... Z:... E:...
2017-12-06 16:03:19 +01:00
Gina Häußge
13eb5ec7ed
Merge pull request #2250 from kantlivelong/resettable_timer
...
Added ResettableTimer class
2017-12-06 11:42:45 +01:00
Shawn Bruce
6ce6160f3d
Added ResettableTimer class
2017-12-05 12:00:12 -05:00
Gina Häußge
9bdbb930ad
Merge branch 'staging/maintenance' into maintenance
2017-12-05 16:01:28 +01:00
Gina Häußge
6b41dbc12b
staging is 1.3.6rc3.dev
2017-12-05 16:00:58 +01:00
Gina Häußge
3f4a70cf92
Prepare release of 1.3.6rc2
1.3.6rc2
2017-12-05 12:34:55 +01:00
Gina Häußge
41eb9481b3
Fix offset values on API after setting one offset
...
Make sure to set the actual effective offsets as provided by the comm
layer (which merges incoming single offset adjustments) instead of only
setting the input, effectively nuking return of offsets set prior.
Closes #2268
2017-12-05 12:17:48 +01:00
Gina Häußge
743d590d52
model might not be set yet
...
So don't try to read its length right away.
Closes #2267
2017-12-05 10:54:33 +01:00
Gina Häußge
900e8a2aaf
Docs: Fixed a typo
2017-12-05 10:40:20 +01:00
Gina Häußge
06816fb8dc
Test: checksum missing => missing checksum
2017-12-04 16:04:38 +01:00
Gina Häußge
cc0a17f2ac
Unit tests for MachineCom._handle_errors
...
With various Marlin and Repetier error variants.
2017-12-04 15:56:31 +01:00
Gina Häußge
9b1b4420a3
Make error messages in virtual printer configurable
...
We want to be able to test various firmware variants for stuff like
checksum and line number mismatches...
See also #2262
2017-12-04 11:47:29 +01:00
Gina Häußge
263925625b
resend_request_communication_errors was too narrow
...
Didn't match Marlin's "checksum mismatch", only Repetier's "checksum
error". Since the error handler checks against
recoverable_communication_errors before
resend_request_communication_errors, we can just switch back to the more
broader check against "checksum" for the latter.
We could also have added an explicit check for "checksum mismatch"
instead but since we used to check for "checksum" and we don't know what
other varieties for this specific error might be out there in the
thousands of firmware variants (who needs consistency when they can
have a free for all?), we'll err on the side of caution instead.
Fixes #2262
2017-12-04 11:10:06 +01:00
Gina Häußge
f72dfb48e1
Fix ordering of plugin assets
...
Should be alphabetical per their identifier. As noticed by @BillyBlaze
2017-12-01 18:16:44 +01:00
Gina Häußge
e064400900
Link to blacklist in wizard & settings
...
As suggested by @Kunsi in #2256
2017-12-01 17:47:16 +01:00
Gina Häußge
03d24ff3b9
maintenance is now 1.3.7.dev
2017-12-01 16:07:50 +01:00
Gina Häußge
107954021b
staging is 1.3.6rc2.dev
2017-12-01 16:05:06 +01:00
Gina Häußge
99e1c3ac00
Remove branch from display version
...
It's no longer reliable since the Github archive export we'll now
usually use for upgrading does weird things when a tag is available on
more than one branch and we don't want our current stable version to
be reported as "rc/devel" just because that tag is available there too.
A full blown version number should be definitive enough considering that
if it's not a tag it will also contain the commit hash.
1.3.6rc1
2017-12-01 12:48:33 +01:00
Gina Häußge
2ea8981a48
Preparing release of 1.3.6rc1
2017-12-01 12:14:52 +01:00