Commit Graph

655 Commits

Author SHA1 Message Date
Uwe Seimet
29fa5c2f96 Merge branch 'develop' into feature_meta_data 2021-12-19 12:07:34 +01:00
Uwe Seimet
ec31198d83
Optional authentication by access token (#529)
* Added authentication by access token

* No authentication is required for getting the rascsi version

* Added comment

* Interface description update

* Manpage update

* Added error code

* Enum value update (backwards compatible)

* Error code update

* Error code update

* Added CHECK_AUTHENTICATION

* Comment update

* VERSION_INFO also requires authentication

* rasctl: Made token an optional parameter for -P

* Fixed interface comment
2021-12-19 11:54:10 +01:00
Uwe Seimet
e32211ef73
Recursive image file scan and image file filter (#532)
* Extracted code

* Initial support for (optional) recursive image file listings

* Manpage update

* Added support for image file filter

* Updated filtering

* Made image scan depth configurable
2021-12-19 11:49:17 +01:00
Uwe Seimet
28a36fa308 Description updates 2021-12-18 15:51:02 +01:00
Uwe Seimet
73df9f136c Comment update 2021-12-18 14:37:58 +01:00
Uwe Seimet
c3ea3c8b37 Renaming 2021-12-18 14:34:48 +01:00
Uwe Seimet
6a84edd0fb Comment update 2021-12-18 14:22:31 +01:00
Uwe Seimet
c0d6e66afe Code cleanup 2021-12-18 14:20:20 +01:00
Uwe Seimet
cc81b588eb Renaming 2021-12-18 14:18:31 +01:00
Uwe Seimet
c88628e12a Sort map by operation name 2021-12-18 14:17:50 +01:00
Uwe Seimet
b64001e8a4 Data type update 2021-12-18 13:39:44 +01:00
Uwe Seimet
8177cd3062 Added cast 2021-12-18 13:37:23 +01:00
Uwe Seimet
b8599ba088 Added safeguard against unknown operations 2021-12-18 13:35:40 +01:00
Uwe Seimet
6b14ba6511 Map operations by ordinal 2021-12-18 13:26:21 +01:00
Uwe Seimet
ee101f2c6b Comment update 2021-12-18 13:14:31 +01:00
Uwe Seimet
67c958ed37 Comment update 2021-12-18 13:13:06 +01:00
Uwe Seimet
d1a9c40745 Default value update 2021-12-18 13:04:58 +01:00
Uwe Seimet
d9dbbc0bb3 Squashed commit of the following:
commit 8171c6ea27982c736c30c0db69a7fdde07ee10ce
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:43:14 2021 +0100

    The data type is implicit

commit fb01dc9d82e8ff7456b05a0cb9d08069adacc64c
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:37:49 2021 +0100

    Renaming

commit 057dbf1aca7be3f7e76a5ff89a582a276b6d3089
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:29:54 2021 +0100

    Comment update

commit 5f699aad2f835f72accdb445d1e59f094aeb108f
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:24:25 2021 +0100

    Signature update

commit cbcf8b09f9d1ba7b82f816269bcfe91d9f00eb6e
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:22:45 2021 +0100

    Signature update

commit a8148ef802ca809e5a305d2caa69856c9033d932
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:16:46 2021 +0100

    Comment update

commit ce685a92d4827e131d80d10ecd56e2b3baf173f8
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 12:15:46 2021 +0100

    Use map instead of list

commit 454c0438f3589904f5dbe5253963dd200ea416dd
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 10:47:36 2021 +0100

    Updated size check

commit b386dbba4b0262f4f6f02aecb2a1daeffd41f4a2
Author: Uwe Seimet <Uwe.Seimet@seimet.de>
Date:   Sat Dec 18 01:23:43 2021 +0100

    Initial improvements
2021-12-18 12:47:36 +01:00
Uwe Seimet
5d6862b6b0 Description upddate 2021-12-17 23:22:27 +01:00
Uwe Seimet
69263b3e4b Description update 2021-12-17 23:21:38 +01:00
Uwe Seimet
49e14f7078 Removed redundant message field 2021-12-17 23:19:08 +01:00
Uwe Seimet
ff468aafa8 Added support for default value 2021-12-17 23:09:18 +01:00
Uwe Seimet
2da717a0a0 For completeness sake added permitted boolean values 2021-12-17 22:57:59 +01:00
Uwe Seimet
5d894d2e4f Display permitted values 2021-12-17 22:53:07 +01:00
Uwe Seimet
acc7d3cba5 Comment update 2021-12-17 20:37:03 +01:00
Uwe Seimet
f846242aea Code cleanup 2021-12-17 20:35:07 +01:00
Uwe Seimet
5a9592f102 Added convenience method 2021-12-17 20:24:33 +01:00
Uwe Seimet
9d258d9979 Added convenience method 2021-12-17 20:05:53 +01:00
Uwe Seimet
6c4103989b Comment update 2021-12-17 19:45:20 +01:00
Uwe Seimet
7d543451f0 Description updates 2021-12-17 19:27:50 +01:00
Uwe Seimet
f4b0e50e66 Comment update 2021-12-17 19:23:29 +01:00
Uwe Seimet
35dd3f6282 Type update 2021-12-17 19:21:12 +01:00
Uwe Seimet
7a94c0e6e0 Manpage update 2021-12-17 19:17:05 +01:00
Uwe Seimet
4179110bac rasctl -s returns operation meta data 2021-12-17 19:13:42 +01:00
Uwe Seimet
eed83bb005 Completed meta data 2021-12-17 19:05:29 +01:00
Uwe Seimet
4a7528d9d3 Sort operations 2021-12-17 18:39:18 +01:00
Uwe Seimet
d3af9a142c Support for localized descriptions 2021-12-17 18:29:22 +01:00
Uwe Seimet
b4ff4f52ab Interface update 2021-12-17 17:53:11 +01:00
Uwe Seimet
e8d9e97fe5 Comment update 2021-12-17 16:59:49 +01:00
Uwe Seimet
22753b1547 Added messages 2021-12-17 16:57:39 +01:00
Daniel Markstedt
39c65beb99
Better Pi shutdown handling in Web Interface (#522)
* Add shutdown method

* Use shutdown method

* Use proto shutdown commands; remove old shell commands

* Add explicit monitor_rascsi shutdown

* Better method name

* Add code comment

* Fix bug
2021-12-13 19:37:28 -08:00
Daniel Markstedt
0eb9e50d18
Rename image file in web interface (#521)
* Introduce rename_image method

* Introduce rename endpoint

* Better prompt text

* Fix bug

* Make renaming properties files work

* Have current file name prefilled

* Add login_required decorator

* Remove unused code
2021-12-13 20:50:36 -06:00
Daniel Markstedt
986116f8d9
Introduce wrapper method for enabling auth for endpoints (#518) 2021-12-12 18:54:15 -06:00
Daniel Markstedt
01bc198d4c
Pipe only stdout to /dev/null when checking pip return code (#517)
* Piping stderr to /dev/null was a bad idea

* Piping stderr to /dev/null was a bad idea
2021-12-12 18:53:08 -06:00
Daniel Markstedt
7dce1bc3b9
The ability to create ISO images of various types (#520)
* Better error handling

* Ability to create ISO images of various types

* Remove ISO v2 option, since I couldn't test that it works

* Add help text

* Fix typo
2021-12-12 18:52:35 -06:00
Daniel Markstedt
aa0e5a287b
Error handling in subprocess run (#516) 2021-12-12 11:13:19 -06:00
Uwe Seimet
0abbff200e
Support for RaSCSI shutdown, system shutdown or reboot (#515)
* Initial reboot support

* Moved code

* Fixed typo

* Shutdown update

* rasctl passes mode "rascsi"

* Use reboot() instead of syscall()

* Fixed typo

* Renaming

* Comment update

* Error message update

* Updated error handling

* Error message update

* Added comment
2021-12-10 16:03:01 -06:00
Daniel Markstedt
916cf2c72c
Fix startup check for broken venv (logic was the wrong way around) (#513)
* I got the logic the wrong way around

* Explicitly use pip3 to avoid certain error scenarios
2021-12-09 19:45:54 -06:00
Daniel Markstedt
8f1cc95195
Small fixes for HFS formatted drive creation in easyinstall (#511)
* More descriptive messages for creating drive images

* Revert back to using hda file extension for created drives
2021-12-08 17:59:17 -06:00
Daniel Markstedt
824a9c5ecd
Bump to Macproxy release 21.12.1 (#509)
* Bump Macproxy version to 21.12.1

* Add functions for starting and stopping macproxy service; rename start script

* Remove superfluous step

* Fix bugs
2021-12-06 20:41:46 -06:00