Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm custom command Req #532 #589

Closed
wants to merge 181 commits into from

Conversation

Booli
Copy link
Contributor

@Booli Booli commented Sep 23, 2014

Changed the code so that custom commands can also take a field "confirm": "Confirmation text" before being executed. Req #532 asked for it and I needed it too, so I coded it.

First commit, hope it merges well and I did the guidelines correct.

brad and others added 30 commits February 10, 2014 21:23
Fix error where API state is requested and printer is offline
- Refactored drawGrid into two functions drawRectangularGrid and drawCircularGrid
- Made sure grid for circular beds always "starts" at (0,0) so that e.g. for a radius of 105mm the center of the bed will be on the grid lines
- Made center on circular bed be better visible by making origin lines thicker
- Made initial focus on bed center properly
Should help debugging issue OctoPrint#425 and any future problems in that area.
Should keep rendering of timelapse from breaking if only a couple of images couldn't be captured due to whatever reason. Suggested by @midopple in OctoPrint#344
Negative durations, especially for print time left, might arise if estimation is estimating less than current print time. So we just erase that margin of error in the UI.

Closes OctoPrint#435
foosel and others added 24 commits September 10, 2014 22:28
- Additional zeroconf services may now be added via config
- Exposed zeroconf_register method as helper for plugins
- Vendor specifics may be added to service registrations via config
netconnectd now regularly pings hostname it got from backend (defaults to <systemname>.local) while switching to wifi from ap mode and reloads page to that if host comes up.

This requires the browser the client is currently running in to be able to resolve local domains as broadcasted via avahi. Windows systems will need to install the Bonjour for Windows client for this to work.
…discovered

Plugins may be able to use this method for final setups before the implementations and hooks are evaluated, e.g. for adjusting their offered functionality based on what other plugins are available.
Javascript is not python...
Merged PR OctoPrint#577 - Allow plugins that hook into comms

Establishes basics for alternative version to implement OctoPrint#324
Conflicts:
	CHANGELOG.md
Conflicts:
	src/octoprint/server/__init__.py
Temporarily broke event registration by frontend, this should fix it again.
…, iterate over registered view models instead
…we need a different handler for the updates to work
Syntax (and code) similar to System Command confirm. First commit,
please be gentle.
@Booli Booli closed this Sep 23, 2014
@Booli Booli reopened this Sep 23, 2014
@Booli
Copy link
Contributor Author

Booli commented Sep 23, 2014

Ok I pulled this against master, sorry needed to go against devel of course... I don't know how to change it.

@Booli Booli closed this Sep 23, 2014
@Booli Booli deleted the confirmCustomCommand branch September 23, 2014 17:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet