* Introduce run_async for system processes
* Remove redundant code for system shutdown and reboot endpoints
* Use async process with systemd_service
* Modify innerHTML to show progress messages
* Add docstring
* Add flask-login library
* Add simplepam lib to requirements
* We don't use flask-login after all
* User authentication in the web app using simplepam
* Allow only users in the sudo group to log in
* Tweak string
* This way to enforce authenticated state doesn't work here
* Open links to github in new tab
* Disallow uploads when not authenticated
* Check for the rascsi group on the system to enable webapp auth. Allow only users in the rascsi group to authenticate.
* Make the AUTH_GROUP a global constant.
* Add easyinstall option for web interface auth
* Make AUTH_GROUP a constant
* More accurate change scope
* Introduce advanced options for installing stand-alone rascsi and rascsi-web
* Add usage notes message after configuration
* Adds code comments
* Separate function for managing the cfg dir
* Add code comments
* Update easyinstall.sh
* Add sudoCheck function to prompt for user password with a contextual message, and error out when not in sudoers group
* Up-front messages on the changes that will be made to the system
* Web service message
* Message about manpage installs
* One more manpage notice
* Update manpage targets
* Use a more sturdy parameter expansion syntax
* Use a more sturdy parameter expansion syntax
* Revert "Added STEP file and updated symbol and 3d model references to reference the correct gender of parts. Should be no functional change"
This reverts commit 479cc578b8.
* Delete rascsi_tester that didn't work
Co-authored-by: Tony Kuker <akuker@gmail.com>
The inquiry command only returns up to the revision information, so don't return more data than this. This gives a total of 36 bytes returned, which is the required minimum in the spec.
* Add support for 64px screen height
* Handle case when only one argument is passed
* Simplify arg parsing
* Update install script to handle screen height selection
* Cleanup
* Update README
* Add blurb on running start.sh standalone
* Format
* Global constant for LINE_SPACING
* Make FONT_SIZE a global constant; improve code comments
* Attempt to unzip a properties file when unzipping individual files
* Don't show the unzip button for properties files
* Hide properties files in zip files, and show an asterisk for images with associated properties
* Cleanup
* Have properties files expand below images in archives
* Hide bullets
* Improve layout
* Support for downloading properties files
* Show extra message when unzipping properties file
* Add logic to unzip method
* Move unzipped properties into CFG_DIR
* Better status message
* Cleanup
* Generic process introspection method
* Show macproxy status in the webapp
* Support for downloading properties files
* Show extra message when unzipping properties file
* Add logic to unzip method
* Move unzipped properties into CFG_DIR
* Better status message
* Cleanup
* Fix bugs
* Make install script portable
* Modify rascsi-web service to accommodate portability
* Remove initialChecks call
* Introduce USER global variable
* Make the web app portable
* Make netatalk installation script portable
* Cleanup
* Cleanup
* Configure default image dir in rascsi.service
The DWORDs in `cdb *` are not raw packed data from the wire, they
are manually copied in a previous function. Trying to cast that
unpacked, aligned-on-byte-boundary data into the packed
scsi_cmd_read_6_t structure is not correct and does not put the
correct DWORDs into the proper fields.
Just do away with this struct and refer to the 2 cdb DWORDs (opcode
and length) manually.
All traffic from the DaynaPort will have a control value of 0xc0 or
0x80, so any commands that don't should be ignored.
This helps the Mac Plus which will try to READ(6) from the DaynaPort
device if it's attached at boot and then try to interpret the
ethernet packet as hard drive data and crash.
See issue akuker#419
* Use the effective filename when checking for duplicates
* Fixed check for asynchronous notifications
* Added additional filename check
* Applied fix also for attach
* Split up source into modules
* Add symlink to .pylintrc in the racsci-web dir
* Resolve pylint warnings
* Resolve pylint warnings
* Split out methods into separate modules
* Resolve pylint warnings
* Clean up docstrings