Commit Graph

1005 Commits

Author SHA1 Message Date
Tony Kuker 9839c879fc Fix compile error 2023-02-04 23:00:59 -06:00
Tony Kuker e43a05c0cb Fix logic for needing file name #1092 2023-02-04 22:58:25 -06:00
Tony Kuker e9b3949122 co-locate set log level function 2023-02-04 22:51:35 -06:00
Tony Kuker 92c5ca40a2 Working! (unreliably) 2023-02-03 20:41:13 -06:00
Tony Kuker 1f178e4f60 Switched to file-based mutex 2023-02-02 21:22:10 -06:00
Tony Kuker 83a83e9e74 added hal to scsisim 2023-02-02 20:36:02 -06:00
Tony Kuker 0bd201ea64 added primary/secondary logic for shared mem 2023-02-02 20:35:54 -06:00
Tony Kuker 119a33fc61 Cleanup 2023-01-28 22:06:54 -06:00
Tony Kuker 4ec6424446 basic shared mem communication 2023-01-28 21:52:13 -06:00
Daniel Markstedt 33cd41b205
Introduce a logo for PiSCSI (#1074)
- Artist is Lin83
- Vector image sources, with exported bitmap favicons
- Hand drawn 16x16 and 32x32 favicons
- Pivot to using an svg image in the modern theme
2023-01-22 10:03:47 -08:00
Daniel Markstedt 934a66c785
Remove incorrect and unused usermod command (#1073) 2023-01-21 11:21:32 -08:00
Daniel Markstedt 6ca140d842
Streamline the create iso workflow, removing the attach step (#1069) 2023-01-15 07:38:41 -08:00
Uwe Seimet 649655ba40
Fixed shutdown issues (#1067)
* Fixed wrong shutdown mode string (must be 'rascsi', not 'piscsi')

* Fixed spurious segfaults in termination handler
2023-01-14 19:26:49 +01:00
Uwe Seimet 78206ed670
Ignore dummy network interfaces when setting up interface list (#1066) 2023-01-14 19:26:33 +01:00
Uwe Seimet ae4b9a70ba
Fixed unit tests and version formatting (#1062) 2023-01-07 09:50:37 +01:00
Daniel Markstedt 1af48e6e71
Get page title from string variable (#1056) 2022-12-25 07:23:16 -08:00
Daniel Markstedt cde4866844
Allow generating ISO image from local file (#1046)
- Break out generate_iso() into its own class method in file_cmds
- Add form and handling of using local file to generate iso image
- Reorder index page sections to group actions that create new image files
2022-12-23 16:13:52 -08:00
Tony Kuker bf2b210c4c update revision number for release 2022-12-23 15:11:24 -06:00
akuker 754347f833
Chinese translation updates (#1054)
* Updated translations from Li Xing

Co-authored-by: Tony Kuker <akuker@gmail.com>
Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
2022-12-23 15:04:03 -06:00
Daniel Markstedt 63ee7df782
Add zh locale (#1055) 2022-12-23 13:37:17 -06:00
cvictor 64b8097dc1
Updated german language translations (#1049)
* Updated german language translations
2022-12-22 13:24:03 -08:00
Daniel Markstedt 96aff59d0e
Test changing to Chinese locale (#1051) 2022-12-22 12:15:10 -08:00
akuker 8dec4af3b9
add gettext (#1048)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2022-12-21 20:00:37 -06:00
Daniel Markstedt 91390a74cb
Web Interface: more layout tweaks (#1044)
* Better styles for the classic upload form

* Fold Language into System Commands
2022-12-20 19:02:13 -08:00
n4al 439a078e9e
Updated the last 6 strings (#1045)
* Updated the last 6 strings

* Removing unused strings
2022-12-20 08:28:01 -08:00
Daniel Markstedt 448c243a2a
Update for Swedish translation (#1043)
* Update for Swedish translation
2022-12-19 17:52:14 -08:00
Daniel Markstedt 6b6a303986
Tweak dropzone config and introduce dedicated Upload page (#1040)
- Introduce a dedicated Upload page and move the upload form there
- Style the utility hyperlinks on the index page with icons and bold text
- Display the cancel / dismiss downloads link, and tweak the link text to make more sense. Note: Cancelled downloads won't remove the partially uploaded file.
- Hide image preview thumbnails. Not relevant to our usecase, and mess up the layout when it happens.
- Turn on chunk retries and tweaks chunk size to be a full MiB (probably won't make a big difference)
2022-12-19 17:21:01 -08:00
Daniel Markstedt 4f13b0d795
Chinese hotfixes (#1042)
* Remove two typographic quotation marks

* Fix four malformatted placeholders
2022-12-19 07:20:44 -08:00
Daniel Markstedt 19dc507a45
More descriptive icons for extract, attach, and image info (#1041)
* More descriptive icons for extract, attach, and image info
2022-12-18 21:03:43 -08:00
akuker 75b42d74eb
Chinese (zh) translation (#1035)
Co-authored-by: Tony Kuker <akuker@gmail.com>
Co-authored-by: iml6 <72815764+iml6@users.noreply.github.com>
2022-12-18 21:38:30 -06:00
Daniel Markstedt fd911a634b
Improve grammar of Swedish translation (#1037) 2022-12-16 14:32:42 -08:00
n4al ad9dc5fa74
Added missing translations for Spanish (#1036)
* Added missing translations for Spanish

* Using proper quotation marks
2022-12-15 12:59:56 -08:00
Daniel Markstedt d857f2f1bc
Swedish localization update for Dec 2022 release (#1031)
* Swedish translation for Dec 2022 release
2022-12-14 12:37:44 -08:00
n4al 5bc7d23e0f
Updated spanish localisation (#1034)
* Updating the Spanish localisation
2022-12-14 10:02:46 -08:00
Daniel Markstedt 31303a3122
Hide the auth disabled element on small screens (#1033) 2022-12-11 17:48:07 -08:00
Daniel Markstedt e78869644c
Run pybabel extract against the src subdir to pull in only piscsi strings (#1032) 2022-12-11 14:17:14 -08:00
Daniel Markstedt 66a905f1d6
Script for updating translations (#1030)
Script for updating translation strings and print stats
2022-12-11 11:05:05 -08:00
nucleogenic 0128660d40
Disabled auth improvements (#1029)
* Improve styling support when web authentication disabled, fix issue #1017

* Fix sudo PATH issue in Docker web container (allows easyinstall.sh to call commands in sbin)

* Fix logout button icon flicker/reload on resize
2022-12-11 03:31:37 +00:00
Daniel Markstedt 2354b62f43
Introduce FTP server option; sundry bug fixes (#1028)
* Add script to install ftp server

* Grep only the first ip address to avoid capturing the docker ip address

* Consistently use --assume-yes and --no-install-recommends with apt-get

* Capture corner case where both rascsi and piscsi groups exist

* Add CI/CD dependency of easyinstall.sh

* Update the run choices
2022-12-09 21:00:31 -08:00
Daniel Markstedt ce6bc79b2c
Post rebranding tweaks to web ui (#1027)
- Add a label to system name, and modify the style sheet to hide it in the modern theme
- Restore the Control Page subtitle, and hide it on small screens
- Tweak some wordings and help text
2022-12-09 20:34:46 -08:00
akuker 5b3626dcf5
SCSI Dump Usability Enhancements & Cleanup (#1026)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2022-12-09 09:50:45 -06:00
Daniel Markstedt 35447cc1c6
Migrate rascsi data to piscsi with easyinstall (#1021)
Hybrid approach of:
- Always checking for legacy services for each workflow that involves installing new services, then disable and rename them.
- Check for the rascsi group, as well as old rascsi.conf, rascsi_bridge, config dir and secret file inline whenever the script interacts with them, then rename them.
- Check for the old self signed cert and key, as well as compiled protobuf libs, and delete them when the web ui is installed

Also fixed:
- the old manpage renaming script which should keep the old 'rascsi' names.
- removed the ancient apache cleanup, since it's been over 2 years now since the PHP webapp was deprecated.
- general purpose stop/disable/status functions for systemd services
- general purpose deleteFile function
- default to half of the max no. of cores for compiling
- use the SKIP_PACKAGES flag in more functions
- introduce a SKIP_MAKE_CLEAN flag
2022-12-07 10:59:15 -08:00
akuker 09ba19a24f
Optimize setting the data gpio bits (#1022)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2022-12-07 11:09:30 -06:00
Daniel Markstedt 52c2aa474f
Rebrand project to PiSCSI (#1016)
* Rebrand project to PiSCSI
- rascsi ->piscsi
- rasctl -> scsictl
- rasdump -> scsidump
- ras* -> piscsi* (rasutil -> piscsi_util, etc.)

* Refined the formatting and wording of the app startup banner
* Kept some references to rascsi and rasctl where backwards compatibility is concerned
* Point to the new github repo URL

Co-authored-by: nucleogenic <nr@nucleogenic.com>
Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
2022-12-05 09:58:23 -08:00
akuker 12068cafb8
Reliability fix for Banana Pi M2+ (#1014) Also incremented version number
Co-authored-by: Tony Kuker <akuker@gmail.com>
2022-12-04 11:55:38 -06:00
nucleogenic 88ff542aeb
Run web API test suite in GitHub Actions (#1009)
- Fixed ignore patterns in .dockerignore
- Added healthchecks to backend and web containers
- Reduced Docker image sizes
- Removed RaSCSI references in various areas (e.g. rascsi -> backend)
- Added compilation-only step to easyinstall.sh
- Moved apt package lists to variables
- Revert to triggering GitHub Actions runs on push
- Updated web/frontend_checks workflow to run black and flake8 against all Python sources
- Capture log files from backend/web containers
- Fix None to float conversion bug when user agent is absent or unrecognised
2022-12-04 14:31:57 +00:00
akuker eca8145311
Add debug build to github workflows #1012 (#1015)
#1012 Add debug build and gamernium/aibom builds
2022-12-03 22:40:19 -06:00
akuker eb71c31cf1
Initial merge of (incomplete) Banana Pi updates (#993) 2022-12-02 22:20:27 -06:00
akuker a403ec3ded
Moved hw directory to its own repository (#1011) 2022-12-01 19:20:52 -06:00
nucleogenic 315ef9f248
Auto-format Python sources with black, fix all issues reported by flake8 (#1010)
* Update config for black and flake8
* Auto-format Python sources with black
* Fix issues reported by flake8
* Exclude protobuf files from black
* Address formatting feedback
2022-11-30 05:19:17 +00:00