Commit Graph

734 Commits

Author SHA1 Message Date
Daniel Markstedt 2a47924a74
Revert workaround for Netatalk long file name bug, since the bug was fixed in Netatalk itself. (#629) 2022-02-03 19:37:58 -06:00
Uwe Seimet cb2553a9eb
Permit LUNs > 0 for SCDP and SCBR (#641) 2022-02-03 19:37:31 -06:00
Uwe Seimet ed46262cca
Added configurable network interface name support to rascsi (#635)
* Added support for explicit network interface name to rascsi

* Fixed patch_version for development build
2022-02-01 20:52:49 -08:00
n4al 0e6e710e52
Updating README.md to reflect the project file structure (#633)
* Updating README.md to reflect the changes made to the project file structure

* Added corrections as per comments

Co-authored-by: Nemanja Lukic <nemanja.lukic@forgerock.com>
2022-02-01 20:51:51 -08:00
n4al 651aa456bd
Adding headers to Spanish version of messages.po (#634)
* Adding headers to Spanish version of messages.po

* Added corrections as per comments

Co-authored-by: Nemanja Lukic <nemanja.lukic@forgerock.com>
2022-01-31 10:29:54 -08:00
Benjamin Zeiss c200b327e3
removed python typing for debian buster compatibility. (#632) 2022-01-30 19:15:35 -08:00
Daniel Markstedt d58d86342f
Improve Swedish wordings (#627) 2022-01-30 09:45:01 -08:00
Daniel Markstedt 83ad97e577
Use Locale class methods to get the localized language name for display (#628) 2022-01-29 14:22:39 -08:00
n4al fc615b5335
Correcting one fuzzy translation in Spanish (#626)
* Correcting one fuzzy translation

* Removing 'fuzzy'
2022-01-29 12:12:45 -08:00
Benjamin Zeiss ffb0aa61b4
fix for #621. (#624) 2022-01-29 11:06:10 -08:00
Benjamin Zeiss 4536666544
return code mapper gettext extract fix (#622)
* fix for the wrong extraction of the return_code line.

* second try for the wrong extraction of the return_code line.
2022-01-29 09:42:16 -08:00
Daniel Markstedt 31309a8ee3
Make the default config load on rascsi-web startup without having to load it in a browser. (#620) 2022-01-29 09:41:39 -08:00
Benjamin Zeiss 089dc302e5
restructuring towards python client library #455 (#613)
* python client library clean branch for PR. #455

* removed superfluous file. #455

* removed one more superfluous file. #455

* README.md, .pylintrc and pylint based fixes. #455

* updated wrt. to the review comments. #455

* removed pylint documentation duplication. #455
2022-01-21 15:08:29 -08:00
Uwe Seimet 7f362c9308
MODE SENSE: Fixed wrong ALLOCATION LENGTH handling (#617)
* Log PCF

* Code cleanup

* Logging update

* Updated error handling

* Updated setting of MODE SENSE return data size

* Added comments

* Removed useless assertions

* Updated logging

* Comment update

* Updated logging

* Formatting update

* Comment update
2022-01-20 09:04:59 -06:00
akuker b7db82ab71
Delete old, broken RaSCSI revision (#616) 2022-01-16 21:42:42 -08:00
akuker 2784a02c9e
Generate PDF of schematic (#615) 2022-01-16 21:42:08 -08:00
Benjamin Zeiss 03e7007d3a
Missing oled systemd file caused the service installed/running detection to fail. (#612) 2022-01-16 21:11:21 -08:00
Daniel Markstedt 423ba573cd
Fix a few malformed gettext calls (#609) 2022-01-14 22:58:32 -06:00
akuker 78a9bcd2df
Updated Github Sponsors (#608) 2022-01-14 20:34:46 -08:00
Daniel Markstedt 89fae8fdd5
Bumps pillow from 8.4.0 to 9.0.0. As recommended by dependabot. (#607) 2022-01-14 09:47:57 -06:00
Benjamin Zeiss dd830c2cbc
Merge pull request #601 from akuker/bzeiss_restructure_project_folders
Restructure project folders for python #455
2022-01-10 20:07:33 +01:00
Benjamin Zeiss 17497cf1fe clean squashed restructuring branch. #455 2022-01-09 20:22:19 +01:00
akuker b52abbfdc7
Output higher-level report from scsimon (#596)
* Output JSON file for post-processing

* Debug utility for parsing the SCSI data

* Prototype app for parsing scsi captures

* correct arg parsing

* output html

* Cleanupt html output

* Add missing include

* Allow compilation on non-Linux platforms

* Refactored scsimon to be in multiple files

* Refactored away

* Restructured scsimon into smaller pieces

* Added ability to read in pre-generated .json file and re-parse it

* Delete scsiparse.cpp

* Fix argument parsing and code cleanup

* Ran vscode c++ formatting utility

* Restore the -Wno-psabi flag for Linux only

* Address compiler warnings

* Updated to use C++ style ostreams

* Cleanup conversion to c++ style ostreams

* Updated to use ofstream instead of fprintf

* Delete src/raspberrypi/scsimon directory

Co-authored-by: akuker <akuker@gmail.com>
2022-01-07 12:17:44 -06:00
Daniel Markstedt 1c84bb34f9
Shorten file names when downloading to AFP (#592) 2022-01-04 21:08:28 -06:00
n4al a240198123
N4al/spanish localisation (#594)
* Adding Spanish localisation to localizer.cpp

* Addind Spanish localisation for the Web Interface
2022-01-04 16:04:54 +01:00
RaSCSI User 7e1ca6a7c9 Update version for next development version 2022-01-01 20:49:50 +00:00
RaSCSI User 3cc04a8dcf Update revision for release 2022-01-01 20:48:30 +00:00
Daniel Markstedt 5befff28e6
Improve token auth and oled monitor install scripts; better venv cleanup logic (#587)
* Trigger installation of the oled monitor script after installing rascsi; break out the token auth code and clarify wordings.

* Better logic for venv cleanup
2022-01-01 11:38:10 -06:00
Daniel Markstedt 3af3f3e2de
Bump macproxy version to 21.12.3 (#586) 2021-12-31 22:07:17 -06:00
cvictor c5ed2b5b67
Cvictor update german (#585)
* Added german translations

* German translations edited header

* Fixed typo

Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
2021-12-30 17:34:41 -08:00
Daniel Markstedt ce7e391a52
More sturdy logic for when session language is unset (#583) 2021-12-29 20:54:59 -06:00
Kamel Makhloufi 40fe8d611e
Added french localization (#584)
* French localization added

* Updated french translation

* Corrected small typo in french translation

* Corrected small errors in fr translation
2021-12-29 17:56:44 -08:00
Daniel Markstedt a973485f8c
Update Swedish translations after string change (#581) 2021-12-28 19:44:47 -06:00
Daniel Markstedt 338b6af92c
Hardcoded locale fallback to English (#582)
* Hardcoded locale fallback to English

* Fallbacks for locale in proto requests in case the locale fallback fails
2021-12-28 19:44:12 -06:00
akuker 2c60a848a8
Add Apple CD Drive as pre-defined drive (#580)
* Add Apple CD Drive as pre-defined drive

* Fix block size for Apple CD-ROM

Co-authored-by: Tony Kuker <akuker@gmail.com>
2021-12-28 18:30:20 -06:00
Daniel Markstedt 3ad78e8312
Final updates for Swedish l10n (#576)
* Revert previous solution, and do dropzone i18n the right way.

* Translate Swedish

* Update Swedish localization

* Update Swedish localization
2021-12-28 15:14:30 -06:00
Daniel Markstedt 5f39afc5d1
Optimized oled script startup and shutdown (#573)
* Optimize the oled script for quicker startup. Blank the screen instead of showing a splash.

* Remove shutdown splash bitmap images

* Cleanup

* Resolve pylint warnings
2021-12-28 14:10:42 -06:00
Daniel Markstedt fecdc44629
Resolve pylint warnings for rascsi-web (#579)
* Add venv hook to .pylintrc

* Add to readme about pylint-venv

* Resolve pylint warnings

* Flesh out readme
2021-12-28 14:09:47 -06:00
Daniel Markstedt 9385483624
Flesh out webapp localization readme (#578) 2021-12-28 14:08:48 -06:00
Daniel Markstedt f5a9f32019
Revert previous solution, and do dropzone i18n the right way. (#572) 2021-12-27 19:18:56 -06:00
Daniel Markstedt a5f3a84bcf
i18n for the Dropzone JS library (#571)
* Fold dropzone.min.js v5.9.3 into base.html and apply i18n

* Add dropzone library changelog

* Make it not break jinja2
2021-12-27 16:52:44 -06:00
Daniel Markstedt 13187fc2fc
Make language selectable in UI (#568) 2021-12-27 15:21:56 -06:00
Daniel Markstedt e209345f1c
Found an untranslated string + more Swedish translation tweaks (#569)
* Add flask_babel 2.0.0 to requirements

* Partial i18n

* Use current locale for protobuf requests

* Don't store generated messages.pot in git

* Internationalize all python code

* Formatting fixes

* Partial internationalization of html

* Iterate on html i18n

* Completed i18n of code

* Improve i18n of strings

* Blurb about i18n in the readme

* Improve i18n strings

* Add the compiled messages.mo files to .gitignore

* Add complete Swedish localization

* Generate localizations in start.sh

* Only compile messages.mo in start.sh; better sequence

* Fix bug

* Flesh out readme

* Flesh out readme

* Tweak Swedish translations

* Add to readme

* Update Swedish translation
2021-12-27 15:21:06 -06:00
Uwe Seimet 97127cf666
Do not log token (#570) 2021-12-27 15:20:26 -06:00
Daniel Markstedt 270a3688c6
Swedish translation tweaks & readme updates (#567)
* Add flask_babel 2.0.0 to requirements

* Partial i18n

* Use current locale for protobuf requests

* Don't store generated messages.pot in git

* Internationalize all python code

* Formatting fixes

* Partial internationalization of html

* Iterate on html i18n

* Completed i18n of code

* Improve i18n of strings

* Blurb about i18n in the readme

* Improve i18n strings

* Add the compiled messages.mo files to .gitignore

* Add complete Swedish localization

* Generate localizations in start.sh

* Only compile messages.mo in start.sh; better sequence

* Fix bug

* Flesh out readme

* Flesh out readme

* Tweak Swedish translations
2021-12-27 00:00:29 -06:00
akuker e87ef2dc77
#565 - removed invalid CONNER HD config (#566) 2021-12-26 18:25:05 -08:00
Daniel Markstedt ab82d6e4eb
Web Interface i18n (#564)
* Add flask_babel 2.0.0 to requirements

* Partial i18n

* Use current locale for protobuf requests

* Don't store generated messages.pot in git

* Internationalize all python code

* Formatting fixes

* Partial internationalization of html

* Iterate on html i18n

* Completed i18n of code

* Improve i18n of strings

* Blurb about i18n in the readme

* Improve i18n strings

* Add the compiled messages.mo files to .gitignore

* Add complete Swedish localization

* Generate localizations in start.sh

* Only compile messages.mo in start.sh; better sequence

* Fix bug
2021-12-26 15:36:12 -06:00
Daniel Markstedt c19c814863
Support for nested image dirs in the Web Interface (#558)
* Remove secure_filename for user created images

* Code cleanup

* Store relative path to image file in data structure

* Match attached images against relative paths

* Display scan depth in UI
2021-12-23 11:13:51 -06:00
Daniel Markstedt ab55d95fd4
Add token authentication to Web UI and OLED monitor script (#554)
* Throw 403 forbidden if token auth is enabled

* Use argparse to parse port and password parameters; use password token to authenticate

* Move config file loading to before_first_request block

* Add token auth to monitor script

* Install script for enabling token auth

* Token config flow for oled monitor installation

* Correct permissions

* Fix bug

* Cleanup
2021-12-23 11:12:16 -06:00
Daniel Markstedt 5817ca6df5
Skip git steps in shell scripts if not a valid git repo (#524)
* Skip git steps if no .git dir exists

* Tweak message

* Check for git repo in start.sh

* Fix logic & cleanup

* Make a different check for git repo

* Make a different check for git repo

* Make a different check for git repo
2021-12-23 11:08:50 -06:00