Releases: WebControlCNC/WebControl
Help Release
This releases tests out the new help system with a few sample pages completed. My concept is to develop help pages that are accessible on-line using https://madgrizzle.github.io/WebControl/ These help pages are part of the github repo (under the docs folder) and therefore can be included in all the releases for offline access. It won't be a perfect match with regards to navigation of the help pages (the online version uses just-the-docs plugin whereas offline uses something I had to hand code into WebControl). Under Help, there is now Online Help and Offline Help. Selecting Online Help will open a new browser tab and brings up https://madgrizzle.github.io/WebControl/. Offline Help will bring up all the docs currently stored in the repo. This allows WebControl to have help content without requiring internet connectivity.
Please take a look at it and tell me where things aren't working correctly.
Update to Address Logging Bug
Previous release would 'lock-up' after a 1000 lines are added to the log if the log streamer wasn't started. This release fixes that issue.
Also, I have disabled the "buffer gcode" option until I get some things sorted out. There's an issue with controller-initiated pauses (e.g., tool changes) and something isn't working correctly. I'm not sure if its related to webcontrol or the controller.
Updated: New Features and Under the Hood Changes
Updated Update: Big Warning - Webcontrol will stop running after a 1000 lines are accumulated in the log file UNLESS you go to Help->Logs. Doing so will bring up a log streamer window and suck down the backed-up queue. I'll rebuild a new version tonight to resolve this.
Updated with missing flask-misaka module. Sorry for the inconvenience. Safe to go into the water.
Update to Home Function
This is entirely under the hood improvement. Ground control (and webcontrol followed suit) would modify the gcode to offset the X and Y coordinates based upon the home position. This made it tricky to allow someone to edit the gcode in webcontrol because the program would have to subtract out the adjustments to present the 'clean' code to the user. Same thing had to happen when the gcode was saved. So, this version avoids doing that and instead only modifies the X and Y coordinates when they are sent to the controller. This positions webcontrol to take advantage of some possible future firmware upgrade that supports machine offsets.
Improvements/Bug Fixes in (Re)Starting from an Arbitrary Gcode Line
I noticed some issues in the code that (particularly after making the home modifications) that would cause things to not go right when you tried to start the gcode from a line other than 0. This code, I believe, is improvement over the code used by ground control as it determines units, spindle/laser state, and absolute/relative positioning and moves the router to the correct spot using the safe z-axis height.
Streaming Logs
Selecting the Help->Logs menu item will launch a new browser tab where the last 100 line lines of the logs (both the abridged and unabridged versions) are shown on the screen.
Release Manager
Starting with this release, you have the option of upgrading or downgrading to any release on github. Going to Help->Update will provide a screen that lists all the releases from the github repo and provide the release number, title, and description of the release.
Update to Fix Parsing of Firmware Values
If you ran the single directory from a directory with a '-' in the path, it would mess up on parsing the firmware versions. This update fixes it.
Also tweaked the layout of Actions page and updated the 'About' page while under the hood.
Update to 'Fix' Backup Operation
Backup of webcontrol wasn't working on RPI or linux, so I made a change for debugging purpose (just basically added a print statement) and it started working. I suspect a pyinstaller build issue, but not sure.. please test this out.
Release Built to Verify Comment Handling
Rebuilt everything to verify that comment handling is correct.
Also added an image to the holey calibration page to know what measurements are what.
Linux Firmware Update Update.. and other thing, hopefully.
This version includes a copy of avrdude.conf that's, hopefully, compatible with the avrdude supplied. It also fixes, hopefully, buffer overflow issues when comments are present. Finally, Actions page has been update to include a means to backup your .WebControl directory (your settings, gcodes, boards) and, hopefully, allow you to restore it. This is useful when migrating from one computer to another.
Update for Linux Firmware Update
Updated linux builds to add missing avrdude.conf and added additional data in modal when there's a firmware mismatch detected.
Update for Data Entry Bug, Holey Calibration Error Reporting, and Handling of Comments
In the process of testing error calculation with holey calibration, I discovered a change I made to facilitate data entry for smartphones (bring up a number pad as default screen keyboard) inadvertently resulted in a requirement that only integers (no decimals) were entered. I've updated all html templates so hopefully this problem is resolved.
I've also have incorporated some code changes that does a better job of filtering comments. Ground Control strips all comments when the gcode is loaded and WebControl, by design, does not.
Note: This version has its version tag equal to 0.907 so, hopefully, after you perform the update, it will not notify you that an update is available.. until the next update is released.
Update-able WebControl Builds - Updated for FW Fix
Update: Win32 versions added.
Update: I added avrdude to the installation so I'm hopeful firmware updates will now work. 32-bit Win versions will be added later (my vm was stuck in an update loop)
This set of releases is for testing purposes. Basic functionality is the same as previous version (v0.904) but this version includes the ability to download and update webcontrol if a new version is available. I'd appreciate people giving this a test if they are inclined.
NOTE: This version will ALWAYS say that an update is available. For testing purposes, I set the internal version number to 0.904 though I set the release to 0.906. Therefore, WebControl will always think that a new version is available. When I release for final, they will be consistent and only notify an upgrade is available if there is a new release.
ANOTHER NOTE: Depending upon the system, it might take a bit to perform the update. RPI will likely take the longest. It has to download the release, decompress it, and then restart it. It does this using scripts so just sit back and relax for a minute before trying to see if something is wrong. If it does work, your browser should automatically reconnect with the updated WebControl when its running.
REAL IMPORTANT NOTE: Saving best for last. To facilitate the upgrade of WebControl, the files extract into the current directory. So, make a directory for the program (e.g., ~\WebControl) and CD into it (i.e., CD ~\WebControl) and then unzip/untar the files. Otherwise you can end up with a mess in a directory you weren't planning on messing up.
For those that need to know how to untar (using linux single directory release as an example):
tar -zxvf webcontrol-0.906-linux-singledirectory.tar.gz
There may (likely) be better ways to do this, so if you know, please post an issue here and let me know how to do it.