Otherwise the occupied list is empty and this exception brings down the
whole web interface.
This can be easily provoked by just reserving all IDs in the web interface.
* Fix a gettext marked string that has one too many parantheses around it, excluding it from translations. Also, clean up layout around it.
* Add Swedish translation for the above.
* More explicit localization steps in the README to avoid recurring mistakes.
* Generated .STEP file for RaSCSI
* Added STEP file and updated symbol and 3d model references to reference the correct gender of parts. Should be no functional change
* Added STEP file and updated symbol and 3d model references to reference the correct gender of parts. Should be no functional change
* Added 3D models and correct footprints for STEP file
* Merge version 20.12.0 into the master branch (#75)
* Update README.md
Added reference to gitflow
* Updated to match new versioning structure (#73)
* Updated to match new versioning structure
* fix version number
Co-authored-by: Tony Kuker <akuker@gmail.com>
* Scsimon improvements (#74)
* Updated scsimon to save data on a nano-second time scale, instead of micro-second
* Cleanup error messages and data types
Co-authored-by: Tony Kuker <akuker@gmail.com>
* Updated for new version number
* Change reported version back to development build
Co-authored-by: Tony Kuker <akuker@gmail.com>
* Set theme jekyll-theme-midnight
* Set theme jekyll-theme-dinky
* Create CNAME
* Delete CNAME
* Update version number
* RaSCSI hardware version 2.4 (#94)
* First attempt at adding 2.5 inch drive connector
* Clean up silkscreen and fix DRC issues
* additional cleanup. Made Pin 1 of the PB connector square
* minor tweaks
* Updates for ordered version
* Generate step file and schematic pdf
* First draft of powerbook drive bracket
* Added side holes and hole for MIPI connector
* Additional updates to the powerbook 3d printed bracket
* Moved RaSCSI board 1mm in + lots of cleanup
* Added optional floppy power connector. As-ordered version 2.4a
* Added optional floppy power connector. As-ordered version 2.4a
Co-authored-by: Tony <akuker@gmail.com>
* Bump pillow from 8.1.2 to 8.2.0 in /src/oled_monitor (#108)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.1.2 to 8.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.1.2...8.2.0)
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create CODEOWNERS
* Create rpi_image_creation.yml
* Update README.md (#394)
added link to compatibility list.
* Revert "Update README.md (#394)" (#395)
This reverts commit 90214666c2.
* Bump pillow from 9.0.0 to 9.0.1 in /python/oled
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.0.0...9.0.1)
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tony <akuker@gmail.com>
Co-authored-by: akuker <34318535+akuker@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stuart taylor <github@j-notation.co.uk>
Co-authored-by: RaSCSI User <user@rascsi.com>
* Fixed opcode
* Fixed segfault
* Re-added 0x06 as additional SASI FORMAT opcode
* Added support of SASI drives with 512 bytes
* SASI LUN must always be taken from CDB and must be 0 or 1
* Fixed typo
* Fixed one more SASI segfault
* Removed duplicate code
* Updated error handling
* Updated error handling
* Logging update
* Added enum value for SPC-6
* Comment update
* Added support for SASI Inquiry
* Updated SASI LUN check
* Updated SASI LUN handling
* Comment update
* Revert "Comment update"
This reverts commit c6adbde25c.
* Updated logging
* Implemented SASI READ CAPACITY
* Validate SASI block count
* Do not support ICD semantics for SASI drives
* SASI READ CAPACITY is a group 1 command with 10 bytes
* Comment update
* First draft of control board - Issue #382
* routed signals
* Fixed up silkscreens and added mousebites
* Fixed up silkscreens and added mousebites
* 3d models of encoder and display
* cleaned up layout
* cleaned up layout
* Rename project
* Remove extraneous files
* As-ordered version
* As-ordered version
* version 1.5 updates
* Updated to Kicad 6.0
* Genereated Gerber Files
* Fixed order of RaSCSI connector pinout & cleanup
* cleanup and switch to KiCad6
* Fix paths to 3d models
* create step file and delete old version
* Address Schematic ERC Warning
Co-authored-by: akuker <akuker@gmail.com>
* Added header for external ENB LED
* test fixture for rascsi
* test fixture for rascsi
* Updated to Kicad 6 and modified act LED
* Regenerated Gerber files to fix drill placement. Added CE logo
* Regeneraged gerbers
Co-authored-by: Tony Kuker <akuker@gmail.com>
* debounce interrupt events for rotary events and button presses with 400 microseconds by default.
* Massive improvements for the encoder detection. Removed numpy as a dependency.
* Debounce button presses which started to jump around.
* formatting cleanup.
* Use vector for INQUIRY data, Inquiry() is const, moved EVPD check
* Moved code
* Fixed warning
* Updated memcpy
* Set length
* Limit result vector size
* Limit result buffer size
* Inquiry() result buffer handling update
* Logging update
* Inquiry cleanup
* NEC drive can also use PrimaryDevice::Inquiry()
* NEC drive is never removable
* Comment update
* Bridge can also use PrimaryDevice::Inquiry()
* Removed unused method argument
* Comment update
* Updated comment
* Updated REQUEST SENSE buffer handling
* Fixed typo
* Fixed typo
* Re-added comment
* Updated additional length handling
* Check for INQUIRY command support first
* Added assertion
* Size handling update
* Renaming
* Renaming
* Removed obsolete casts
* Cleanup
* Moved error codes to scsi_defs namespace
* Fixed ReadDefectData10
* Comment update
* Updated buffer handling
* Data type update
* SendDiagnostic is now const
* Removed obsolete forward declaration
* removed unused enum
* Reduced method visibility
* Renaming
* GetSendDelay() can be const
* Made method const
* Made method const
* Added TODO
* Use iterator
* Made method const
* Revert "Made method const"
This reverts commit 38412b8ddd.
* No need to sort all set/maps
* Do not sort all sets
* Removed more unnecessary sorting
* Cleaned up includes
* More include cleanups
* Updated REPORT LUNS
* LUNs must not be consecutive anymore
* Updated detaching of LUN
* Improvements for devices without LUN 0
* Assume LUN 0 is always present
* Enforce presence of LUN 0
* Updated error handling
* Move the oled script's PiCmds module to common, and rename it SysCmds.
* Use sys_cmds.get_ip_and_host() in web UI code.
* Move the auth_active() method to device_utils
* Rename device_utils to web_utils. Make auth_active() method take the group as argument.
* Migrate all pi_cmds methods to the SysCmds common class.
* Display hostname and ip in Web UI.
* Resolve or suppress pylint warnings.
* Resolve a pylint warning.
* Resolve or suppress pylint warnings.
* Import libraries at the top level for readability. In my testing on a Pi3B+, this leads to ~1.5k more memory being used by the python3 process.
* Change page title as requested by akuker.
* Reenable the import-outside-toplevel pylint rule.
* Resolve pylint warnings.
* Fix error following refactoring.
* Minor UI tweaks.
* Cleanup.
* Break out bridge config validation into a utility method.
* Move the dropzonejs method into the web_utils package
* Move get_logs method into SysCmds class.
* Improve get logs UI.
* Resolve pylint warning.
* Standardize class instance name.
* Add capabilities to RaCtlCmds.get_device_types() to return the image file support boolean, and list of supported block sizes.
* Inquire rascsi backend about the min block size rather than hard coding values in the web UI.
* Add class methods for getting lists of certain device types.
* Use the new class methods to get lists of device types in the web ui.
* Make use of the new class methods in the oled script.
* Remove now unused constants, and simplify logic in common_settings
* Improve device name mapping to extend the existing dictionary rather than creating a new data structure.
* Use jinja2 sort filters instead of sorting in python code. Removing redundant variables.
* Introduce the get_device_name() utility method which returns the translated name for a device acronym. Use the new method to display device name when attaching devices.
* Fix typo
* Rename Support Device to Periperal Device. General tweaks to UI strings.
* Tweak UI string.
* Fix error.
* Tentative Web UI for the Printer device.
* timeout must be a positive value
* Change the attach device class method to accept a dict with arbitrary key value pairs of parameters to be passed to the protobuf interface, rather than hard coded ones. Also renames the RaCtlCmds.attach_image() class method to attach_device().
* Make download_to_iso() use the new attach interface.
* Dynamically get the form items for support devices.
* Change the data structure returned by RaCtlCmds.get_device_types() to a dict, which contains the supported parameters and their default values. Leverage this data in the web ui to derive the form fields from the capabilities of rascsi.
* Tweak UI labels.
* Update FileCmds.read_config() to work with the new RaCtlCmds.attach_device() method.
* Check for numeric value.
* Streamline the UI for support devices.
* Handle support devices better by the oled screen.
* Clean up html.
* Dynamically adjust form field size based on data length.