Uwe Seimet
0cb350f9c9
Comment update
2021-08-30 18:39:06 +02:00
Uwe Seimet
4008ac1f71
Updated list handling of protobuf interface
2021-08-30 18:30:59 +02:00
Uwe Seimet
5bf66a99a1
Added number of supported LUNs to protobuf interface
2021-08-30 15:47:56 +02:00
Uwe Seimet
2bec655b0c
Updated error messages and exception handling
2021-08-30 15:36:11 +02:00
Uwe Seimet
b67ac954f2
Options -h and -v do not require to be the root user (fixes issue #166 )
2021-08-30 15:21:40 +02:00
Uwe Seimet
76bd7bd882
Removed goto
2021-08-30 14:39:26 +02:00
Uwe Seimet
11f9e9cfa2
Updated GetEventStatusNotification
2021-08-30 14:25:44 +02:00
Uwe Seimet
ff84b139d1
Comment update
2021-08-30 14:23:18 +02:00
Uwe Seimet
29b0a7e839
Comment update
2021-08-30 14:22:52 +02:00
Uwe Seimet
47b43cd832
Updated logging
2021-08-30 14:21:49 +02:00
Uwe Seimet
eb0eced1ef
Removed TODO
2021-08-30 13:56:22 +02:00
Uwe Seimet
3814c242a3
Refactoring
2021-08-30 13:44:25 +02:00
Uwe Seimet
5880ddc05d
Renaming
2021-08-30 13:29:50 +02:00
Uwe Seimet
4859c17ee3
Removed duplicate code
2021-08-30 13:11:17 +02:00
Uwe Seimet
d46013934a
Renaming
2021-08-30 13:01:06 +02:00
Uwe Seimet
2edac296a6
Renaming
2021-08-30 12:54:49 +02:00
Uwe Seimet
399c560aa9
Logging update
2021-08-30 12:09:02 +02:00
Uwe Seimet
6f9c5a543c
Data type updated, use #pragma once
2021-08-30 12:04:57 +02:00
Uwe Seimet
976dc95187
Code review, data type updates
2021-08-30 11:39:46 +02:00
Uwe Seimet
2e943279ed
Removed duplicate command
2021-08-30 11:20:07 +02:00
Uwe Seimet
0677b9f9bf
SASI Format opcode is 0x06, not 0x04 (see comment in code)
2021-08-30 11:09:17 +02:00
Uwe Seimet
c5240e62e1
Use unscoped enums for commands
2021-08-30 10:41:37 +02:00
Uwe Seimet
b2670f9fbc
Removed unused structures, code and type cleanup
2021-08-30 09:56:22 +02:00
Daniel Markstedt
436e54d83c
Improve and fix bugs with saving&loading configuration files for rascsi-web ( #218 )
...
* Translate code commends into English, removing redundant ones
* - Translated all remaining Japanese code comments in src/raspberrypi/ to English, with the exception of cfilesystem.cpp|h
- Removed some redundant comments where the context is obvious from the
code
- Fixed a few typos and mistakes
* - Store only file path and name to configuration csv
- Strip known non-file path strings when reading configuration csv (backwards compatibility)
- Validate SCSI ID before attempting to attach a device
* Add comment and TODO
* Partial translation of cfilesystem.h
* Move csv read/write logic into file_cmd.py
* Load default.csv on rascsi-web startup
* Add rudimentary error handling to config loading/saving
* Implement a delete configuration csv file feature. Also rename the delete_image method to delete_file and made it take the full file patch as argument to be consistent with other file operation methods.
* Catch the exception when attempting to exclude SCSI id that is already in use from a list of valid SCSI ids
* Fix error handling when failing to open a csv file for read or write
2021-08-30 08:47:36 +02:00
Uwe Seimet
8fc8531b5b
Updated error message
2021-08-29 18:58:10 +02:00
Uwe Seimet
67d73da898
Fixed issue with missing method in old Raspberry Pi OS protobuf implementation
2021-08-29 16:52:43 +02:00
Uwe Seimet
502b19bfb2
Improved block size check
2021-08-29 16:45:12 +02:00
Uwe Seimet
5ed6673429
Sort devices list by ID *and unit*
2021-08-29 16:18:25 +02:00
Uwe Seimet
665ad92b2c
Cleaned list handling
2021-08-29 16:09:21 +02:00
Uwe Seimet
d099f31ccb
Fixed typo
2021-08-29 15:30:40 +02:00
Uwe Seimet
27225acbce
Comment update
2021-08-29 15:30:03 +02:00
Uwe Seimet
5b9df8c1d5
Updated rasctl server info message
2021-08-29 14:55:18 +02:00
Uwe Seimet
91fd46b65e
Save list of files in use before dry-run
2021-08-29 14:41:37 +02:00
Uwe Seimet
5308a6e74d
Reject inserting a medium when there is already a medium present (eject first)
2021-08-29 14:13:34 +02:00
Uwe Seimet
d0eb629343
Comment update
2021-08-29 13:57:36 +02:00
Uwe Seimet
f67c62e810
Renaming
2021-08-29 13:55:41 +02:00
Uwe Seimet
9ff21626da
Improved handling of MO capacities
2021-08-29 13:51:31 +02:00
Uwe Seimet
49211fda68
Updated rasctl server information output
2021-08-29 08:33:32 +02:00
Uwe Seimet
3a1aaaf68b
Moved initialization code
2021-08-29 08:31:57 +02:00
Uwe Seimet
1a615a6c6f
Pass interface list to ctapdriver when creating bridge
2021-08-29 08:27:35 +02:00
Uwe Seimet
f8ea684a5c
Interface comment update
2021-08-28 19:07:52 +02:00
Uwe Seimet
5d9c97d676
More error handing improvements
2021-08-28 15:26:31 +02:00
Uwe Seimet
481dcfd064
Improved DeviceFactory error handling
2021-08-28 15:17:32 +02:00
Uwe Seimet
93f980fd60
Names of removable media drives must be constant and not contain the capacity
2021-08-28 15:06:53 +02:00
Uwe Seimet
1755c7e2f8
Comment update
2021-08-28 14:57:57 +02:00
Uwe Seimet
b68b19a875
Updated error message
2021-08-28 14:52:29 +02:00
Uwe Seimet
528f9620e3
Removed magic constant
2021-08-28 14:40:39 +02:00
Uwe Seimet
095157ccbe
Made some error messages more concise
2021-08-28 14:34:58 +02:00
Uwe Seimet
b9633ea46f
Logging update
2021-08-28 14:04:05 +02:00
Uwe Seimet
cfd88e9ed2
default_image_folder cannot be an empty string, removed obsolete check
2021-08-28 13:58:00 +02:00