Commit Graph

89 Commits

Author SHA1 Message Date
Tony Kuker
f779a1cbc2 Added comments 2021-05-21 22:13:33 -05:00
Tony Kuker
a28512e179 First draft of python test using loopback adapter from saybur 2021-05-21 22:05:00 -05:00
akuker
642deb8b84 updated version number 2021-05-02 14:35:42 -05:00
akuker
6333d3aad5
Merge pull request #85 from akuker/phrax0-patch-1
Update controllers
2021-03-21 19:57:31 -05:00
PhrAx
6d79023a5c
FIxing code and comment alignment
going through the various files and putting comments on one line for easier reading.
2021-03-07 17:29:30 -08:00
PhrAx
1fb0269645
Update controllers
Includes comment alignment, and added RESERVE(6), RESERVE(10), RELEASE(6) and RELEASE(10) for SCSI, along with RESERVE(16) and RELEASE(17) for SASI.
2021-03-07 17:11:17 -08:00
Eric Helgeson
f4513ca87e Add start script to simplify oled install 2021-03-07 09:28:40 -06:00
Adrian Merwood
8b3cfed98c Updated oled script for Python3 2021-03-07 09:28:24 -06:00
akuker
0ef9ff72de merge in latest develop 2021-02-06 19:48:11 -06:00
akuker
852f4f11fd
Revert "Add Daynaport SCSI/Link Functionality" (#78) 2021-02-02 19:55:38 -06:00
Eric Helgeson
0b78f09f8d Add DaynaPORT config to web
Add bridge-utils

Minor fixes to easyinstall

Can now save config, detach all devices

Bridge script error out if any command fails
2021-02-01 19:48:56 -06:00
Eric Helgeson
943a9ab537 Black code formatting 2021-02-01 11:39:50 -06:00
Tony Kuker
3bf6c3ecd0 Updated to use a multi-thread safe logger 2021-01-31 20:11:33 -06:00
akuker
50bb0664dd
Update scsi_daynaport.cpp
Missing semicolon when building non-debug build.
2021-01-30 16:02:21 -06:00
Tony Kuker
3a7674d47c Cleanup extraneous debug printouts 2021-01-30 14:12:29 -06:00
Tony Kuker
144abd4524 Cleanup extraneous debug printouts 2021-01-30 14:08:09 -06:00
Tony Kuker
f1f60f281f Updated ctapdriver to use the forked system call 2021-01-30 14:07:40 -06:00
Tony Kuker
04a2f46f51 added additional event loggin 2021-01-30 14:07:05 -06:00
Tony Kuker
bc561d65dd Changed system call to use fork/wait. Moved some disk functions out of the header 2021-01-30 12:36:18 -06:00
Tony Kuker
788b2a3b46 Added DaynaPort SCSI/Link emulation functionality 2021-01-27 15:16:52 -06:00
akuker
bac4f4a80b Change reported version back to development build 2021-01-25 13:27:21 -06:00
akuker
350010462c
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>
2021-01-25 10:07:49 -06:00
akuker
96673a44b0
Updated to match new versioning structure (#73)
* Updated to match new versioning structure

* fix version number

Co-authored-by: Tony Kuker <akuker@gmail.com>
2021-01-25 10:07:30 -06:00
Eric Helgeson
37f1166fd8
New Web Interface (#69)
* gitignore

* New Web Interface
Fixed spacing/tabs in easy install
Added migration check
Fix update web not actually updating

Migrating from https://github.com/erichelgeson/RaSCSI-web

* Allow user to select multiple types when creating images

* Show all devices even if nothing is attached.

* If attaching an iso to a cd device, dont detach, just insert

* UI feedback and restart rascsi service

* Check for any non-0 exit code for apache2 detection

* Pretty/informative 502

* Add confirms to some actions. Works in netscape 4.7

* Fix order of params for create_new_image

* Move non-route method to service

* Add method for getting logs

* Move settings to single file
add ability to mock commands for local dev
2020-12-30 19:39:32 -06:00
akuker
3536e8aa02
Added -DNDEBUG to disable the real ASSERT macro in production code (#67)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2020-12-28 18:53:00 -06:00
Tony Kuker
4cd07f63ee Additional translation from Japanese to English 2020-12-27 20:13:21 -06:00
akuker
1118c344cc
Issue #7 - implement a scsi monitor function for RaSCSI to log SCSI traffic (#46)
* #7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date

* #7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date

* Added libspdlog-dev as a required package

* Cleanup from master re-base

* Updated to use GCC version 8, to match the raspberry pi

Co-authored-by: akuker <akuker@gmail.com>
2020-10-19 07:31:06 -05:00
thewesker
3ddeac6180
Fix nothing displayed with no images mounted. (#45)
* Fix nothing displayed with no images mounted.

This fixes the issue where nothing would show on the display unless an image is mounted.

* Fixed the indent

* Fixes not working when image attached issue

Original commit caused the display not to work when an image was attached. This has now been fixed.

* Fixed multiple images attached not working

Forgot to remove testing code that caused multiple image displays to break.
2020-10-16 20:48:16 -05:00
thewesker
87c84689c6
Update lib_rascsi.php (#42)
Add ..cdr to be interpreted as a CD-Rom image.
2020-10-11 23:53:57 -05:00
PhrAx
cb295b89b9
Update rascsi.php
Adding some cellpadding to the Image File Management section.
2020-09-12 23:03:55 -07:00
PhrAx
ef160c3b7d
Update lib_rascsi.php
Adding some cellpadding to the current_rascsi_config function.
2020-09-12 23:02:53 -07:00
PhrAx
05ae013fad
Update rascsi.cpp
Changed "No device is installed." to "No images currently attached.".  I think looking for currently attached images. The 'device' wording is confusing, even though it may be accurate.
2020-09-12 15:48:35 -07:00
akuker
a50fcbde5c
Updated makefile to automatically configure systemd and rsyslog (#32)
* Corrected rascsi service and rsyslog configs. Updated makefile to install these configs

* Removed systemd service commands. Added a 'help' target that prints information about how to use this Makefile

Co-authored-by: akuker <akuker@gmail.com>
2020-09-05 10:25:05 -05:00
akuker
bb379b8274
Workflow integration (#29)
* Updated makefile to only rebuild changed files. Also generates dependency listings to check for modified header files

* Updated workflow to archive the generated binaries and build fullspec and standard versions of the app

* Updated to run workflow on all branches

* Create tar file to retain file permissions

* Fix archive path

* Fix typo

* Remove unnecessary git ignore

* Added reference to issue that drives the need for nested compressed files.

Co-authored-by: akuker <akuker@gmail.com>
2020-09-03 19:39:10 -05:00
PhrAx
7ff24d625b
Update Makefile
Fixed source path for make install, added $(BINDIR)/
2020-09-01 23:19:24 -07:00
akuker
25d0fdebcb These files were moved into the devices folder for issue #16, but weren't cleaned up. Removing the extraneous files. 2020-08-28 09:23:00 -05:00
akuker
5def9e3dfe
Break up disk.h and disk.cpp to be smaller files (#22) 2020-08-28 09:18:02 -05:00
akuker
2338b9b791 Updated makefile to cross-compile and updated github workflow to install tools 2020-08-27 23:16:23 -05:00
akuker
2da8d4dbdf Added visual studio code project 2020-08-16 13:23:42 -05:00
Chris Pickel
46e03a4026 Reimplement ParseArgs() with getopt()
The command-line interface is intended to be equivalent. For example,
consider this command:

    $ rascsi -ID0 zero.hda -ID1 one.hda

This is no longer two pairs (ID0, zero.hda), (ID1, one.hda), but a
sequence of commands:

* -I: next disk is SCSI (not SASI)
* -D 0: next disk is device 0
* zero.hda: set up disk
* -I: next disk is SCSI (not SASI)
* -D 1: next disk is device 1
* one.hda: set up disk

Since SCSI is [now] the default, this could equivalently be:

    $ rascsi -d 0 zero.hda -d 1 one.hda
2020-08-09 07:52:58 +01:00
Chris Pickel
8b340fde89 Split config parsing and arg parsing functions 2020-08-09 02:30:17 +01:00
akuker
e61dbdabe3 Enabled Shtudown & reboot commands 2020-08-07 17:03:47 -05:00
akuker
dfa28091e4 Added file upload functionality. Disabled some debug messages. 2020-08-07 16:59:42 -05:00
akuker
e962706d4e Merge branch 'master' of https://github.com/akuker/RASCSI 2020-08-07 14:25:20 -05:00
akuker
5a71783d33 Updated to allow command handler to run on x86 systems for development purposes. Also fixed warning about using fprintf incorrectly 2020-08-07 14:25:05 -05:00
akuker
377da587b7 Added functionality to create a new, empty hd image. 2020-08-07 12:51:33 -05:00
akuker
86bf896d66 Fixed connect_new_device function 2020-08-07 11:59:18 -05:00
akuker
c37abe3e73 Remove old files 2020-08-07 11:37:13 -05:00
akuker
c3e8204542 Started moving actions into a single php file to simplify things 2020-08-07 11:34:07 -05:00
Tony Kuker
82cc76daad Merge branch 'master' of https://github.com/akuker/RASCSI 2020-08-02 18:27:38 -05:00