* 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
* Clean exit on errors
* Avoid unnecessary scrolling
* Fix bug where removable media wasn't updated
* Add signal handler, solution from https://stackoverflow.com/questions/1112343/how-do-i-capture-sigint-in-python
* Display a splash screen on startup
* Introduce stop splash
* Add parameters to enable the SIGTERM handling to take effect
* Change to a less busy stop splash
* Less busy start splash
* Iterate on splash bitmaps
* Iterate on splash bitmap
* Add check for libopenjp2-7-dev in the start script
* Iterate on splash bitmap
* Iterate on splash bitmap
* Read rotation from the 1st command line arg
* Configure screen rotation during installation
* Better argument validation + use human readable arguments
* Cleanup
* Show only the two last chars of type to save space
* Display rascsi version
* Show more relevant info on removable and bridge devices; Also cleanup
* MO is also removable
* Special handling for BR device
* OLED screen output scrolls vertically when overflowing
* Bring back data important to the user to a more prominent location
* Tweak labels
* More help text
* Tweak messages shown in UI to better align with current develop
* Added TERMINATE command
* Help text update
* Created ras_util namespace
* Created protobuf_util namespace
* Extracted RascsiImage from rascsi for better modularity
* Fixed wrong filenames (class name differed)
* No need for response handler to be a singleton
* Class renaming
* Renaming
* Moved code
* Moved code
* Image folder handling optimizations
* Updated device factory handling
* DeviceFactory constructor should be private (singleton)
* Renamed TERMINATE to SHUT_DOWN
* Fixed capacity calculation for INQUIRY data
* ATTACH and DETACH return the resulting device list for convenience
* Interface comment update
* Moved code, check fd
* Use new command when returning result for ATTACH/DETACH
* Updated interface comments
* Removed size validation for MOs
* rasctl -D detaches all devices
* Detach all devices on Ctrl-C (KILL signal)
* Added comment
* Also detach all devices on SIGTERM
* Updated logging
* Updated logging
* Updated logging
* Updated ID/LUN parsing
* Updated handling of max_id
* The -HD option sets type to SAHD
* Replaced is_sasi by device type
* Updated logging
* Logging update
* Improved LUN evaluation
* Check LUN against UnitMax
* Comment update
* LUN parsing update
* Logging update
* Logging update
* Updated ReportLuns
* Updated REPORT LUNS
* Cleanup
* Updated REPORT LUNS
* Updated Execute()
* Updated LUN handling
* Check for consecutive LUNs
* Added LUN check for remotely attached devices
* Remember LUN selected by IDENTIFY
* Evaluate LUN from IDENTIFY message
* Added comment
* Updated REPORT LUNS
* Initlize LUN
* Logging update
* Support 32 LUNs
* rasctl display update
* Updated LUN check for LUNSs > 7
* Simplified LUN validation
* Fixed wrong ID/LUN handling with values > 9
* Log level update
* Manpage update
* rascsi parser update
* Updated error handling
* Updated error handling
* Updated LUN setup validation
* Updated logging
* Improved validation of consecutive LUNs
* Renaming
* Detach all LUNs equal to or higher than the one specified
* Add support for LUN in the device list
* Add ability to show device info for LUNs
* Make it possible to detach and eject LUNs
* Show full path to prop file
* Show only LUN columns when non-0 LUNs present
* Support for attaching LUNs
* Add helptext
* Fix handling of removable media
* Retain the previous behavior of recommending the next unoccupied id
* SCSI ID validation no longer needed due to changed logic
* Make use of recommended id everywhere
* Docstring
Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
* Removed ISO CD-ROM block size check
* Removed CD size checks
* Replicate read-only status when copying an image file
* Cleanup
* Copied images can optionally be created read-only
* Check path of default image folder
* Comment update
* Updated error message
* Fix minor errors in easyinstall.sh and start.sh
* Make easyinstall directory portable
* Remove directory check from easyinstall.sh
* Revert to requiring the checkout dir to be /home/pi/RASCSI
Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
* Added VERSION_INFO
* Added LOG_LEVEL_INFO
* Added RESERVED_IDS_INFO
* Renaming
* Renaming
* Split rasctl
* Code cleanup
* Removed unused method
* Include cleanup
* More cleanup
* More cleanup
* Simplified sending commands
* Fully set up command
* Further simplified sending commands
* Moved code
* Include cleanup
* Reject reserving an ID that is in use
* Update rascsi-web for the changes in protobuf interface
Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
* Implement pad_image method
* Reintroduce list_files method, rename the other to list_images
* Add iso file padding UI
* HDD image UI
* Tweak label
* Store padded image in the right dir
* Show only images that need padding
* Support padding MO images
* Cleanup
* UI flow to show drive properites (#270)
* Adjust MO padding to align with current develop
* Add docstrings
* Fix image padding code
* Tweak labels