Commit Graph

599 Commits

Author SHA1 Message Date
Daniel Markstedt
c13c00cdea Fix typo 2021-09-24 13:30:59 -07:00
Daniel Markstedt
a581fb6966 Correct drive data 2021-09-24 13:30:59 -07:00
Daniel Markstedt
1c3d299dd7 Add Mac drives 2021-09-24 13:30:59 -07:00
Daniel Markstedt
11c1a5623a Correct drive data 2021-09-24 13:30:59 -07:00
Daniel Markstedt
ff13408bc9 Improve error handling of unzip method; clean up unused code 2021-09-24 13:30:59 -07:00
Daniel Markstedt
b4562e23cc Fix typo 2021-09-24 13:30:59 -07:00
Daniel Markstedt
66c45e4bf6 Make unzipping work 2021-09-24 13:30:59 -07:00
Daniel Markstedt
d9bb875a27 Unzip and delete zip files after upload; validate upload file suffix 2021-09-24 13:30:59 -07:00
Daniel Markstedt
f336675f35 Revert changes incorporated in another PR 2021-09-24 13:30:59 -07:00
Daniel Markstedt
f87792f188 Cleanup 2021-09-24 13:30:59 -07:00
Daniel Markstedt
fbc4ad1697 Switch to the basic stylesheet 2021-09-24 13:30:59 -07:00
Daniel Markstedt
3c9f4f708b Cleanup 2021-09-24 13:30:59 -07:00
Daniel Markstedt
ac388b57ed More style fixes 2021-09-24 13:30:59 -07:00
Daniel Markstedt
cb654c8049 Fix styling of dropzone form 2021-09-24 13:30:59 -07:00
Daniel Markstedt
bae1554b1f Don't hard code max file size 2021-09-24 13:30:59 -07:00
Daniel Markstedt
5ebbe8f107 Cleanup and better messages 2021-09-24 13:30:59 -07:00
Daniel Markstedt
b09810b46b Use dropzone and pydrop for file uploading 2021-09-24 13:30:59 -07:00
Daniel Markstedt
e98930cfff Remove redundant information 2021-09-24 13:30:59 -07:00
Daniel Markstedt
2cee644350 Correct drive sizes for Microp drives. Their true block_size is 256 kb, but should function with 512 kb as well. 2021-09-24 13:30:59 -07:00
Daniel Markstedt
22976029ce Fix language in 502 page 2021-09-24 13:30:59 -07:00
Daniel Markstedt
c2be764aa6 Revert to previous upload code, but keeping the secure filename improvement 2021-09-24 13:30:59 -07:00
Daniel Markstedt
e33e5c0560 Use unified terminology 2021-09-24 13:30:59 -07:00
Daniel Markstedt
71b04d8871 Add Cancel link on the bottom of the page as well 2021-09-24 13:30:59 -07:00
Daniel Markstedt
250d63d483 Display available disk space on the Pi 2021-09-24 13:30:59 -07:00
Daniel Markstedt
dfea050d60 Secure file names also for generic image file creation 2021-09-24 13:30:59 -07:00
Daniel Markstedt
5ded484166 Use secure file names when creating image files 2021-09-24 13:30:59 -07:00
Daniel Markstedt
dcd516aa48 Move arithmetic to Python code 2021-09-24 13:30:59 -07:00
Daniel Markstedt
57bbcbd639 Address issue#61 by allowing only recognized file types to be picked for upload 2021-09-24 13:30:59 -07:00
Daniel Markstedt
d31db7c316 Remove file type check since it happens after uploading has completed 2021-09-24 13:30:59 -07:00
Daniel Markstedt
c150a6c7b8 Use save() to upload files, to address file corruption issues with the previous solution. Also adds file ending validation which has been requested by users. 2021-09-24 13:30:58 -07:00
Daniel Markstedt
3a0578e0bb Improve error message 2021-09-24 13:30:58 -07:00
Daniel Markstedt
1cd5e8cea1 Fix saving and loading device params in config files 2021-09-24 13:30:58 -07:00
Daniel Markstedt
ef28a5b491 Bump point release of four dependencies, then lock down versions again 2021-09-24 13:30:58 -07:00
Daniel Markstedt
4331f68f3a Use compatible version clause for Python dependency management 2021-09-24 13:30:58 -07:00
Daniel Markstedt
c6ef573d3b Revert granular SCHD detection on the web ui side, since there are a plethora of hard drive image file endings out there 2021-09-24 13:30:58 -07:00
Daniel Markstedt
8454021f6b Allow for more recent python libraries, rather than fixed at a particular version 2021-09-24 13:30:58 -07:00
Daniel Markstedt
6b1c099039 Cleanup 2021-09-24 13:30:58 -07:00
Daniel Markstedt
f830003c72 Store drive size instead of block number 2021-09-24 13:30:58 -07:00
Daniel Markstedt
d7d0f4eba1 Update easyinstall.sh script 2021-09-24 13:30:58 -07:00
Daniel Markstedt
587e64e17e Move scsi id reservation management to the backend 2021-09-24 13:30:58 -07:00
Daniel Markstedt
e10231c0e7 More descriptive text on index.html 2021-09-24 13:30:58 -07:00
Daniel Markstedt
5c31dc6e83 Fix typo 2021-09-24 13:30:58 -07:00
Daniel Markstedt
653165afa5 Merge branch 'feature_backend_reserve' into fix_uploads 2021-09-24 13:25:35 -07:00
Eric Helgeson
4fed455645
Merge pull request #246 from akuker/feature_backend_reserve
Manage scsi id reservations on the rascsi backend; Store drive size instead of blocks; sundry minor fixes
2021-09-24 15:17:56 -05:00
Daniel Markstedt
8fbc834fa0 Fix example 2021-09-24 13:06:26 -07:00
Daniel Markstedt
c440849c7e Fix example 2021-09-24 13:05:21 -07:00
Daniel Markstedt
c428782565 Add more examples to rascsi.service 2021-09-24 13:01:48 -07:00
Daniel Markstedt
e21f2dd8c1 Update wording 2021-09-24 12:49:13 -07:00
Daniel Markstedt
04ee2cf8d6 Reserve no ids with no inpu 2021-09-24 12:49:02 -07:00
Uwe Seimet
829356a32c
protobuf interface returns assumed device type (#259)
* Added device type to PbImageFile

* Comment update

* Code cleanup

* More code cleanup

* Extraced methods

* Extracted methods

* Renaming

* Moved code

* Visility update

* Updated error handling

* Removed duplicate error handling

* Removed duplicate code

* Code cleanup

* Moved code

* Moved code
2021-09-24 08:48:48 +02:00