Gina Häußge
720cdadfbb
Track browser tab visibility, only activate webcam/gcode viewer when visible
...
This might help with #1065 if indeed is related to background tab suspending behaviours in
browsers, but is a completely blind guess at this point since I still have not been able to
reproduce that issue myself.
2015-11-18 17:13:41 +01:00
Gina Häußge
50c3f99a42
virtual_printer: usage "screen" for the !!DEBUG commands
2015-11-18 13:56:39 +01:00
Gina Häußge
5d03b02baf
virtual_printer: Refactoring for less error prone and more flexible command matching
2015-11-18 13:36:08 +01:00
Gina Häußge
d85e93e79d
Merge branch 'dev/clickClient' into devel
2015-11-17 08:41:37 +01:00
Gina Häußge
46e54b9d35
[SWU] First version of working CLI
2015-11-16 16:07:29 +01:00
Gina Häußge
21520f7fc5
Added octoprint client listen command and fixed socket client
2015-11-16 16:06:55 +01:00
Gina Häußge
77f34c47a3
Merge branch 'fix/indexCacheDuration' into devel
...
Conflicts:
src/octoprint/server/views.py
2015-11-06 11:47:16 +01:00
Gina Häußge
b98348de02
Cache rendered page and translation files indefinitely
2015-11-06 11:46:12 +01:00
Gina Häußge
a5094d403a
Merge branch 'maintenance' of github.com:foosel/OctoPrint into maintenance
2015-11-05 17:58:51 +01:00
Gina Häußge
c1afaa23f8
Merge branch 'fix/m25AsPause' into devel
2015-11-05 17:55:12 +01:00
Gina Häußge
6b0dee26e5
Interpret M25 as a pause when not printing from SD too
2015-11-05 17:33:27 +01:00
Gina Häußge
169aff4f8f
CLI for the software update plugin
2015-11-05 17:09:37 +01:00
Gina Häußge
affb062c1d
Refactored command line client to also include sockjs client
...
Also changed the calling parameters a bit to also allow for GET request parameters.
2015-11-05 17:05:08 +01:00
Gina Häußge
2214b2ac42
First steps towards API based CLI commands - "octoprint client"
2015-11-04 18:54:51 +01:00
Gina Häußge
4fcb853ef2
Some fixes and unit tests for octoprint.util.atomic_write, .bom_aware_open and .tempdir
2015-11-03 18:11:54 +01:00
Gina Häußge
1728e579b1
Merge branch 'fix/temperatureYaxisCutoff' into devel
...
Conflicts:
AUTHORS.md
2015-10-30 16:54:17 +01:00
Gina Häußge
b6a5cb47a1
Merge branch 'km/hotfix-flot-yaxis-cutoff' of https://github.com/kevingelion/OctoPrint into pr/kevingelion/km/hotfix-flot-yaxis-cutoff
2015-10-30 16:49:35 +01:00
Gina Häußge
03124ecc28
Merge remote-tracking branch 'origin/devel' into devel
2015-10-30 16:35:51 +01:00
Gina Häußge
8ed3bcb094
Slight changes in CLI structure for performance reasons
...
Having the plugin commands on the first level of --help proved to be
a bad idea since it basically kills every chance of lazy loading the (expensive)
plugin context. Using a sub command for anything plugin related allows us
to only fire up the plugin context if a plugin command is expected, saving us
some precious seconds of operation in all other cases.
For conformity reasons the dev sub commands were now restructured
similarly.
2015-10-30 16:28:34 +01:00
Kevin Murphy
65efcec008
Change instance of row to row-fluid to avoid conflict with responsive CSS
2015-10-30 11:18:44 -04:00
Gina Häußge
221b497932
Maker CLI a bit faster in responding
...
We don't actually need the pip caller, which necessitates version
detection and hence increases waiting times tremendously - a simple
command line call with the auto detected pip command for
uninstalling stuff is enough and cuts off a lot of the CLI response times.
2015-10-30 13:49:05 +01:00
Gina Häußge
32bb4dd50a
Fixed a bug in the log_duration decorator
2015-10-30 13:45:49 +01:00
Gina Häußge
2d1b198261
Some development utils in the octoprint.util package...
2015-10-30 13:02:22 +01:00
Gina Häußge
e3fa916364
Forgot to declare self.hooks on OctoPrintPluginCommands
2015-10-30 12:56:49 +01:00
Gina Häußge
c6f1088ccf
<plugin identifier>:<command> => plugin:<plugin identifier> command
2015-10-30 10:14:21 +01:00
Gina Häußge
ec491c3d0d
devel:newplugin => dev:plugin new, +dev:plugin install, +dev:plugin uninstall
2015-10-30 10:10:47 +01:00
Gina Häußge
bc7b17b66f
Fixed an issue with compatibility across cookiecutter versions
2015-10-29 18:58:51 +01:00
Gina Häußge
628b9edbab
CLI command devel:newplugin now allows specifying most of the parameters of the template
2015-10-29 18:41:51 +01:00
Gina Häußge
3c2d2b579d
Documention for CLI and its development
2015-10-29 17:37:05 +01:00
Gina Häußge
d9f0fb1667
Consolidated common options into custom decorators
2015-10-29 16:26:50 +01:00
Gina Häußge
f68ce34351
Moved urllib3 ssl message to more suitable logging location
2015-10-29 15:26:58 +01:00
Gina Häußge
70fb385650
Try to ensure a sound SSL environment for the process
...
If the python version is < 2.7.9, we try to patch urllib3 with pyopenssl
to get rid of any InsecurePlatform issues.
That only works if pyopenssl plus dependencies are installed however,
hence we also log that.
2015-10-29 14:55:04 +01:00
Gina Häußge
d373d257e3
Slight changes on logging verbosity
...
Changed the intensity of logged warnings and ensured everything
but the octoprint package's log level to be WARN be default.
2015-10-29 14:52:14 +01:00
Gina Häußge
56805ab13d
Refactored Daemon helper, added status command and added unit tests for all of it
2015-10-29 12:45:58 +01:00
Gina Häußge
4476545a55
Forgot to specify default value for daemon pidfile
2015-10-29 09:53:15 +01:00
Gina Häußge
9c56b2fd4e
Variable output verbosity via CLI parameter -v
2015-10-28 19:18:40 +01:00
Paul de Vries
32de1fd088
Merge branch 'devel' of https://github.com/foosel/OctoPrint into devel
2015-10-28 15:55:05 +00:00
Paul de Vries
cbbf8f45ce
Change target temperature input type from text to number
2015-10-28 15:50:24 +00:00
Gina Häußge
4cc1f6f03e
Merge pull request #1099 from BillyBlaze/devel-control-ids
...
Added HTML id's to control tab panels
2015-10-28 16:37:56 +01:00
Paul de Vries
fba4648e37
Update controls-* to control-*
2015-10-28 15:32:31 +00:00
Paul de Vries
19a43a82ed
Prevent 'Advanced options' link from propagating hastag
2015-10-28 15:28:19 +00:00
Paul de Vries
4b0ef23f34
Moved HTML id's before class for better readability
2015-10-28 14:57:11 +00:00
Paul de Vries
13df74e3d8
Added HTML id's to control tab panels
2015-10-28 14:45:47 +00:00
Gina Häußge
55c0e2ca95
Fixed a couple of bugs with daemon and serve commands
2015-10-27 18:15:24 +01:00
Gina Häußge
a6f11b9744
Started work on devel CLI commands
...
For now only devel:newplugin is available (if cookiecutter is installed)
2015-10-27 18:10:51 +01:00
Gina Häußge
2dd04574ce
Moved CLI into its own module with submodules
...
Less chaos in one file
2015-10-27 18:08:27 +01:00
Salandora
68e78c93ea
Fixed a misarranged closing tag and wrapped it into a dropdown div
...
Thanks @BillyBlaze
2015-10-27 15:02:47 +01:00
Gina Häußge
81dce6161a
Moved startup log entry "up" a bit
...
Now that the plugin manager gets initialized before the server gets even constructed, we need
to log that entry right after we've set up logging in order to post any plugin manager related
log entries after.
2015-10-27 14:25:41 +01:00
Gina Häußge
150763fe2b
CLI: debug is now part of the octoprint command context
2015-10-27 13:47:00 +01:00
Gina Häußge
12b1da9732
Some more comments to structure new click based CLI code
2015-10-27 11:13:19 +01:00