Commit Graph

175 Commits

Author SHA1 Message Date
n4al
5caede988e
Updating the Spanish localisation (#1145) 2023-04-09 10:44:19 -07:00
Tony Kuker
e21251c228
Updates to French translation (#1141)
* updated AI translation of fr

* remove old translations

---------

Co-authored-by: Tony Kuker <akuker@gmail.com>
2023-04-07 09:53:42 -05:00
Daniel Markstedt
620f4e972e
Swedish translation update March 2023 (#1136) 2023-03-28 07:50:21 -07:00
Daniel Markstedt
8987ce30cd
Remove the deprecated Python loopback test (#1138) 2023-03-27 19:49:21 -05:00
cvictor
1c59a70b91
German language update (#1134) 2023-03-24 20:17:38 -07:00
Daniel Markstedt
ef3002dd41
Make ids unique in each subdir table (#1131) 2023-03-23 20:07:41 -07:00
Daniel Markstedt
ff017a9c1d
Web UI: Handling for non-existence of working dirs (#1130) 2023-03-23 20:07:19 -07:00
Daniel Markstedt
5414a78098
Remove git hash info (#1129) 2023-03-19 13:46:43 -07:00
Daniel Markstedt
f5ac9376b1
Allow copy and move file operations to opt-in to overwrite. (#1120)
- Allow create, copy and move file operations to opt-in to overwrite
- Use this when extracting packaged properties to avoid it getting stuck in the images dir
- Better error handling in common file operation methods
2023-03-06 09:17:28 -08:00
Daniel Markstedt
5fd0dc420b
WebUI: Traverse target dir to get subdirs to download/upload to (#1115) 2023-03-04 16:57:32 -08:00
Daniel Markstedt
ddf258db57
Fix bugs in the upload to images form (#1111)
* Fix formatting of the image subdir list for uploading

* Fix upload path
2023-02-28 22:46:52 -08:00
Daniel Markstedt
1082b6a7b4
Fix bugs in image subdir logic (#1108) 2023-02-26 14:15:13 -08:00
Daniel Markstedt
dd00547f92
Formatted image file data structure that breaks down by subdir (#1102)
- New utility method for the web app, which sorts image files into dicts where the subdir is the key
- In the web ui, display each subdir in a table nested in a details tag.
- Allow for picking destination subdir when uploading files
- Style the expandable details blocks in the images table
- Add a check for ~ paths to the is_safe_path() utility method
2023-02-24 17:28:58 -08:00
Daniel Markstedt
983cff735b
Descriptive comments for each h/fdisk command (#1106) 2023-02-24 12:58:51 -08:00
Daniel Markstedt
cfc3390b81
Noscript fallback messages; relocate js into templates (#1097) 2023-02-14 18:48:53 -08:00
Daniel Markstedt
f2b74046dd
Add noscript tag with notice when JavaScript is off (#1091) 2023-02-13 13:20:57 -08:00
Tony Kuker
7f188d3c99
Update Spanish, French and Chinese translations (#1095)
---------
Co-authored-by: Tony Kuker <akuker@gmail.com>
2023-02-08 21:40:33 -06:00
cvictor
870a332d56
German translation update (#1090) 2023-02-04 19:09:48 -08:00
Daniel Markstedt
fdb02f8829
Create venv if it is missing (#1089) 2023-02-03 22:24:21 -08:00
Daniel Markstedt
8b0a85a143
Don't show user controlled string in UI (#1087) 2023-01-31 15:08:38 -08:00
Daniel Markstedt
fc82ceae40
Update Swedish translation (Jan 2023) (#1086)
* Update translation
2023-01-29 11:12:35 -08:00
Daniel Markstedt
bf53958636
Fix handling of properties files when they're in subdirs (#1082)
- File operation class methods create parent dirs if they don't exist
- Avoid stripping path from file names in several places
- Simplify prop file matching logic: check for existence of file
- Remove list_files() method which is now unused
2023-01-28 14:36:07 -08:00
Daniel Markstedt
956195d67e
Ability to download and upload config files (#1083)
- Rename `/config/load` endpoint to `/config/action` since it has multiple functions
- Add a `send` function to above endpoint, which triggers a download of the config file, and use it with a new Download button on the index page
- Add an option to upload to the CFG_DIR
- Improve layout of the file transfer destination web form: radio buttons before labels, and better padding between options
- Add a test for config downloading
2023-01-28 14:34:34 -08:00
Daniel Markstedt
139a6ec371
New class method for creating image file with python; use python file… (#1079)
* New class method for creating image file with python; use python file operations across the board.

Also fixed several bugs:

Added check that a file exists before copying/moving/creating
Check that parent dir exists always passed
Incorrect return message token
2023-01-26 21:51:59 -08:00
Daniel Markstedt
f15baec58e
Web UI: Introduce separate endpoint for downloading files from the config dir (#1075)
Web UI: Introduce separate endpoint for downloading files from the config dir
2023-01-26 18:10:53 -08:00
Daniel Markstedt
8823dfba7d
Web UI: Better handling of upload destination dir checks (#1076)
Web UI: Better handling of upload destination dir checks
2023-01-26 18:10:33 -08: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
6ca140d842
Streamline the create iso workflow, removing the attach step (#1069) 2023-01-15 07:38:41 -08: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
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
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
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
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
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