Commit Graph

474 Commits

Author SHA1 Message Date
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
Daniel Markstedt
0cba0e57b4 Webpage info has been folded into the X68k wiki page 2021-09-23 21:49:01 -07:00
Daniel Markstedt
64a5e49a4c Bump max file size limit to 4GB 2021-09-23 19:37:08 -07:00
Daniel Markstedt
d6e01c7d8e Merge branch 'feature_backend_reserve' into fix_uploads 2021-09-23 17:28:44 -07:00
Daniel Markstedt
eaa7257b25 Blocks have been removed 2021-09-23 17:28:22 -07:00
Daniel Markstedt
6b0ae0a1a7 Tweak labels 2021-09-23 12:43:05 -07:00
Daniel Markstedt
c3b22dddf9 Merge branch 'feature_backend_reserve' into fix_uploads 2021-09-23 12:20:42 -07:00
Daniel Markstedt
404a2e6b2b Improve error handling of unzip method; clean up unused code 2021-09-23 12:18:17 -07:00
Daniel Markstedt
9bebb0b0b5 Fix typo 2021-09-23 11:20:03 -07:00
Daniel Markstedt
4adbf04d11 Make unzipping work 2021-09-23 11:18:28 -07:00
Daniel Markstedt
cda975a66f Unzip and delete zip files after upload; validate upload file suffix 2021-09-23 08:45:46 -07:00
Daniel Markstedt
7b8a5f6c76 Fix typo 2021-09-22 21:00:55 -07:00
Daniel Markstedt
00abd387dc Correct drive data 2021-09-22 20:59:50 -07:00
Daniel Markstedt
991d1232f9 Merge branch 'develop' into fix_uploads 2021-09-22 20:45:33 -07:00
Daniel Markstedt
31577ab8c4 Merge branch 'develop' into feature_backend_reserve 2021-09-22 20:41:25 -07:00
Daniel Markstedt
ee46c02e78 Revert changes incorporated in another PR 2021-09-22 20:40:37 -07:00
Daniel Markstedt
e2ea9b36d0 Add Mac drives 2021-09-22 20:37:27 -07:00
Daniel Markstedt
8922df56b8 Correct drive data 2021-09-22 20:34:00 -07:00
Daniel Markstedt
d43f44b890 Cleanup 2021-09-22 17:18:26 -07:00
Daniel Markstedt
a659ec16f1 Switch to the basic stylesheet 2021-09-22 17:16:23 -07:00
Daniel Markstedt
72ed4489f4 Cleanup 2021-09-22 11:00:42 -07:00
Daniel Markstedt
26cc87d816 More style fixes 2021-09-22 10:43:31 -07:00
Daniel Markstedt
833ce02a62 Fix styling of dropzone form 2021-09-22 10:34:16 -07:00
Daniel Markstedt
93e755dff3 Don't hard code max file size 2021-09-22 09:46:38 -07:00
Daniel Markstedt
d8d323b24f Cleanup and better messages 2021-09-22 09:27:41 -07:00
Uwe Seimet
fdee57e421
Issues 245 & 247, improved symlink handling (#252)
* Extensions are case-insensitive

* Made options case-sensitive, synchronized rasctl and rascsi options

* Manpage and help update

* Added comment

* Updated log message

* Warn about invalid files in image folder

* Updated handling of block devices

* Updated symlink handling

* Fixed wrong handle being closed

* Copy links as links

* Logging update

* Added -D_FILE_OFFSET_BITS=64 for better support of huge files

* Logging update

* Added comment

* Use readdir instead of directory_iterator (issue with outdated C++ libs)

* Updated symlink handling

* Updated link handling

* Updated logging

* Updated error logging

* Fixed condition

* Updated setting default image folder

* Comment update
2021-09-22 08:40:46 -07:00