Commit Graph

1272 Commits

Author SHA1 Message Date
Daniel Markstedt 514036e874 shuffle unit tests each run to catch test isolation bugs 2025-11-15 22:58:03 +01:00
Daniel Markstedt acb5627e66 use a fixture to clean up between tests 2025-11-15 22:58:03 +01:00
Daniel Markstedt 8d6f2164ad build and run unit tests with meson in GitHub workflow 2025-11-15 22:58:03 +01:00
Daniel Markstedt 151f00bcde protect against out of bounds buffer access 2025-11-15 22:58:03 +01:00
Daniel Markstedt 90108415d0 update hd and mo test with valid page data 2025-11-15 22:58:03 +01:00
Daniel Markstedt f0240873f8 protect against empty operation 2025-11-15 22:58:03 +01:00
Daniel Markstedt 94709354b0 error handling in executor 2025-11-15 22:58:03 +01:00
Daniel Markstedt ee061d5dab create meson build scripts
Adds a suite of meson scripts for building the C++ project
2025-11-15 22:58:03 +01:00
dependabot[bot] a61856f8cb Bump werkzeug from 3.0.6 to 3.1.3 in /python
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.6 to 3.1.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.6...3.1.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 22:08:53 +01:00
dependabot[bot] 1a921944c2 Bump adafruit-circuitpython-ssd1306 from 2.12.11 to 2.12.22 in /python
Bumps [adafruit-circuitpython-ssd1306](https://github.com/adafruit/Adafruit_CircuitPython_SSD1306) from 2.12.11 to 2.12.22.
- [Release notes](https://github.com/adafruit/Adafruit_CircuitPython_SSD1306/releases)
- [Commits](https://github.com/adafruit/Adafruit_CircuitPython_SSD1306/compare/2.12.11...2.12.22)

---
updated-dependencies:
- dependency-name: adafruit-circuitpython-ssd1306
  dependency-version: 2.12.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 20:12:41 +01:00
dependabot[bot] 05b5038217 Bump pytest from 8.1.1 to 9.0.0 in /python
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...9.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 20:11:34 +01:00
dependabot[bot] fb7cfc06ff Bump typing-extensions from 4.8.0 to 4.15.0 in /python
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.8.0 to 4.15.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.8.0...4.15.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 20:00:28 +01:00
dependabot[bot] 4636fab6f5 Bump markupsafe from 2.1.3 to 3.0.3 in /python
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.3 to 3.0.3.
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.3...3.0.3)

---
updated-dependencies:
- dependency-name: markupsafe
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 19:55:51 +01:00
Daniel Markstedt c642592551 Use generic SCSI TAPE product name and add more SCTP profiles 2025-11-10 19:51:57 +01:00
Daniel Markstedt cc72fae224 Add section for tape drives to the Web UI drives page
The tape drives need their own section in the Jinja2 template

Also fixes a bug where the drive properties define a block size,
which is illegal for a SCTP device

One more fix: Filter tap/tar image files for the attach UI
2025-11-10 19:51:57 +01:00
Daniel Markstedt 567dca9cc3 Add device type shorthand 't' for Tape, and change printer to 'p'
The scsictl command parser looks for single letter shorthands for each device type;
this adds 't' for SCTP and changes SCLP to 'p'

Now you can do '-t tape' and '-t printer' for an easy to remember command

Also moves the SCTP default product/vendor into the device factory,
updates the unit tests, and an overhauls the man pages
2025-11-10 19:51:57 +01:00
Daniel Markstedt 7f57c9e28d Introduce option to set the minimum execution time of SCSI commands (#741)
For the Status, DataIn, and DataOut phases, piscsi has a 50 microsecond
sleep implemented, which has proven a stabilizing factor for the bus
on most SCSI initiators

However, Akai S1100 and other samplers of a similar vintage need a longer
sleep time for reliable operation, so a -s option for piscsi has been
introduced to set the value to an artbitrary number at runtime
2025-11-09 09:37:33 +01:00
Daniel Markstedt b7e7c4e529 Remove bitrotted X68000 host bridge device
The X68000 host bridge and associated host file system module
has not been functional for many years, as reported by multiple users

Removing the code will reduce complexity for users -
the SCBR device has caused some misunderstandings in the past -
while eliminating code that has been flagged as insecure by SonarQube
2025-11-09 08:45:56 +01:00
BogDan Vatra 18bb9548a7 Use same notation as scsi2pi 2025-11-07 18:20:31 +01:00
dependabot[bot] 945e049615 Bump pyusb from 1.2.1 to 1.3.1 in /python
Bumps [pyusb](https://github.com/pyusb/pyusb) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/pyusb/pyusb/releases)
- [Commits](https://github.com/pyusb/pyusb/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: pyusb
  dependency-version: 1.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 12:49:57 +01:00
dependabot[bot] 166d3b6e94 Bump babel from 2.13.1 to 2.17.0 in /python
Bumps [babel](https://github.com/python-babel/babel) from 2.13.1 to 2.17.0.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-babel/babel/compare/v2.13.1...v2.17.0)

---
updated-dependencies:
- dependency-name: babel
  dependency-version: 2.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 12:49:29 +01:00
dependabot[bot] a0f683777f Bump smbus2 from 0.4.3 to 0.5.0 in /python
Bumps [smbus2](https://github.com/kplindegaard/smbus2) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/kplindegaard/smbus2/releases)
- [Changelog](https://github.com/kplindegaard/smbus2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0)

---
updated-dependencies:
- dependency-name: smbus2
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 12:49:08 +01:00
dependabot[bot] d2fd7b1cef Bump adafruit-circuitpython-typing from 1.9.5 to 1.12.3 in /python
Bumps [adafruit-circuitpython-typing](https://github.com/adafruit/Adafruit_CircuitPython_Typing) from 1.9.5 to 1.12.3.
- [Release notes](https://github.com/adafruit/Adafruit_CircuitPython_Typing/releases)
- [Commits](https://github.com/adafruit/Adafruit_CircuitPython_Typing/compare/1.9.5...1.12.3)

---
updated-dependencies:
- dependency-name: adafruit-circuitpython-typing
  dependency-version: 1.12.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 12:48:45 +01:00
dependabot[bot] 46db5c4fcf Bump luma-oled from 3.8.1 to 3.14.0 in /python
Bumps [luma-oled](https://github.com/rm-hull/luma.oled) from 3.8.1 to 3.14.0.
- [Changelog](https://github.com/rm-hull/luma.oled/blob/main/CHANGES.rst)
- [Commits](https://github.com/rm-hull/luma.oled/compare/3.8.1...3.14.0)

---
updated-dependencies:
- dependency-name: luma-oled
  dependency-version: 3.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 12:48:19 +01:00
Daniel Markstedt 56f44413b2 Bump python libs in common package 2025-11-07 12:44:50 +01:00
BogDan Vatra a985fc83e4 Say hello to Streamer (tape) device support
Implements the mandatory and a few optional commands for tandberd see
https://bitsavers.org/pdf/tandbergData/TDC4100/6047-1_TDC-4100_SCSI-2_Interface_Functional_Specification_Aug1991.pdf
for more info.

Fixed #480
2025-11-07 07:43:21 +01:00
dependabot[bot] 65e2729190 Bump adafruit-circuitpython-requests from 2.0.2 to 4.1.15 in /python
Bumps [adafruit-circuitpython-requests](https://github.com/adafruit/Adafruit_CircuitPython_Requests) from 2.0.2 to 4.1.15.
- [Release notes](https://github.com/adafruit/Adafruit_CircuitPython_Requests/releases)
- [Commits](https://github.com/adafruit/Adafruit_CircuitPython_Requests/compare/2.0.2...4.1.15)

---
updated-dependencies:
- dependency-name: adafruit-circuitpython-requests
  dependency-version: 4.1.15
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 07:42:47 +01:00
dependabot[bot] 9ac14e9059 Bump pluggy from 1.4.0 to 1.6.0 in /python
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.4.0 to 1.6.0.
- [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pluggy/compare/1.4.0...1.6.0)

---
updated-dependencies:
- dependency-name: pluggy
  dependency-version: 1.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 07:25:35 +01:00
dependabot[bot] 2f09dbc352 Bump adafruit-circuitpython-busdevice from 5.2.6 to 5.2.14 in /python
Bumps [adafruit-circuitpython-busdevice](https://github.com/adafruit/Adafruit_CircuitPython_BusDevice) from 5.2.6 to 5.2.14.
- [Release notes](https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/releases)
- [Commits](https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/compare/5.2.6...5.2.14)

---
updated-dependencies:
- dependency-name: adafruit-circuitpython-busdevice
  dependency-version: 5.2.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 07:24:50 +01:00
dependabot[bot] 8d42753a28 Bump adafruit-platformdetect from 3.53.0 to 3.84.1 in /python
Bumps [adafruit-platformdetect](https://github.com/adafruit/Adafruit_Python_PlatformDetect) from 3.53.0 to 3.84.1.
- [Release notes](https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases)
- [Commits](https://github.com/adafruit/Adafruit_Python_PlatformDetect/compare/3.53.0...3.84.1)

---
updated-dependencies:
- dependency-name: adafruit-platformdetect
  dependency-version: 3.84.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 07:24:38 +01:00
dependabot[bot] b4ff58df7e Bump pillow from 10.3.0 to 12.0.0 in /python
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 12.0.0.
- [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/10.3.0...12.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 07:23:56 +01:00
Daniel Markstedt 793b12cb46 Update SonarQube job conditions not to run for dependabot
Dependabot won't have the privileges to access the Sonar access token, so these jobs will always fail for their PRs
2025-11-07 07:18:12 +01:00
Daniel Markstedt e6dd4e4d04 Migrate from simplepam to python-pam library 2025-11-07 07:00:09 +01:00
Daniel Markstedt 0020b9e107 Downgrade to Python click 8.1.8 2025-11-07 01:19:34 +01:00
Daniel Markstedt f6da24a582 Downgrade protobuf version to 3.20.3
Python protobuf 6.x isn't compatible with the protoc version we're currently using for piscsi proper; let's upgrade both together at a later time
2025-11-07 00:57:54 +01:00
Daniel Markstedt a9ef099b6b Bump pyflakes to 3.4.0 for flake8 compatibility 2025-11-07 00:48:50 +01:00
Daniel Markstedt d42e49ccb5 Bump flake8 to 7.3.0 for pycodestyle compatibility 2025-11-07 00:48:50 +01:00
dependabot[bot] f152e1b7e7 Bump pycodestyle from 2.11.1 to 2.14.0 in /python
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.11.1 to 2.14.0.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt)
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.11.1...2.14.0)

---
updated-dependencies:
- dependency-name: pycodestyle
  dependency-version: 2.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 00:48:50 +01:00
Daniel Markstedt 9b3e482c89 Run Python workflows on any change to Python code 2025-11-07 00:31:26 +01:00
Daniel Markstedt f96219d1a8 Reformat Python code with black 25.9.0 2025-11-07 00:31:26 +01:00
dependabot[bot] c814c46ce3 Bump black from 24.3.0 to 25.9.0 in /python
Bumps [black](https://github.com/psf/black) from 24.3.0 to 25.9.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.3.0...25.9.0)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 25.9.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 00:15:03 +01:00
Daniel Markstedt 78a50f93b0 Revert back to Ubuntu 22.04 for armhf cross-compilation 2025-11-07 00:09:08 +01:00
Daniel Markstedt fa11aa983b Use Ubuntu Noble Numbat armhf repos 2025-11-07 00:03:30 +01:00
Daniel Markstedt b1baea0ffa Use valid value for the margin CSS style 2025-11-07 00:03:30 +01:00
Daniel Markstedt e569ee1493 Use more recent Ubuntu, node.js, and Python 2025-11-06 23:53:56 +01:00
Daniel Markstedt d40e5f7cb9 Have dependabot scan each docker subdir 2025-11-06 23:53:56 +01:00
Daniel Markstedt 5da559ef70 Refresh the SonarQube Cloud workflow 2025-11-06 23:53:56 +01:00
Daniel Markstedt 7eca895076 Bump to the latest GitHub actions, lock to hashes 2025-11-06 23:53:56 +01:00
dependabot[bot] 37476e5a14 Bump prettier from 3.0.0 to 3.6.2 in /python/web
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 23:32:46 +01:00
dependabot[bot] 1adced5876 Bump stylelint-config-standard from 34.0.0 to 39.0.1 in /python/web
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 34.0.0 to 39.0.1.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/34.0.0...39.0.1)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-version: 39.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 23:31:26 +01:00