Commit Graph

78 Commits

Author SHA1 Message Date
Uwe Seimet
969220565b
Fixed issue with protected devices/media, added IMAGE_FILE_INFO command (#288)
* Fixed issue with attaching protected devices

* Fixed same issue when inserting a file

* Added IMAGE_FILE_INFO command

* rasctl output update

* Added file mode and type

* Datat type update

* Reverted change

* Update web ui for protobuf changes

Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
2021-09-30 10:22:57 -07:00
Eric Helgeson
998cc2d66f
Merge pull request #286 from akuker/webui_cleanup
Webui cleanup
2021-09-29 19:58:15 -05:00
Eric Helgeson
04095edaf9
Merge pull request #281 from akuker/feature_hidden_help
Hidden help text for each section
2021-09-29 19:56:48 -05:00
Eric Helgeson
7c5e942aff
Merge pull request #282 from akuker/fix_attaching_removable
Fix attaching removable devices in the Web UI
2021-09-29 19:53:11 -05:00
Daniel Markstedt
0e4c2b7fd7 Add more docstrings 2021-09-29 09:48:34 -07:00
Daniel Markstedt
b3936405f2 Fix DEC vendor strings 2021-09-29 07:07:49 -07:00
Daniel Markstedt
44298bf031 Add docstrings and clean up layout 2021-09-29 07:03:10 -07:00
Daniel Markstedt
ff00b6005c Fix bugs with attaching removable images 2021-09-28 16:04:16 -07:00
Daniel Markstedt
23586cc1c9 Hidden help text for each section 2021-09-28 13:39:08 -07:00
Daniel Markstedt
bfdaec6c15
Restore APPLE GENUINE; tweak other labels (#276) 2021-09-27 19:32:58 -05:00
Daniel Markstedt
18e55bea2d
Feature attach suggestion (#260)
* Issue 232 -- will not generate PC98 emulator image formats

* Introducing dropdown for selecting device type which defaults to a recommendation based on file ending, while removing the quiet logic to autodetect type on the frond end side

* 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

* Leverage new device type field for files in protobuf interface

* Tweak label

* Tweak template

* Fix bug

* Add types legend

* Add tip about renaming image files

Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
2021-09-25 22:27:43 -05:00
Daniel Markstedt
3d0c200521
Have current log level selected by default in dropdown (#268)
* Have current log level selected

* Simplify footer
2021-09-25 21:33:21 -05:00
Daniel Markstedt
75245a8b42 Customize dropzone stylesheet, adding a drop shadow to markers 2021-09-24 16:31:45 -07:00
Daniel Markstedt
b73ef29f06 Use native unzip instead of python zipfile lib for better performance 2021-09-24 14:48:54 -07:00
Daniel Markstedt
5abb0ea405 Update wording 2021-09-24 13:30:59 -07:00
Daniel Markstedt
37bf38190b Bump max file size limit to 4GB 2021-09-24 13:30:59 -07:00
Daniel Markstedt
c4959210d5 Blocks have been removed 2021-09-24 13:30:59 -07:00
Daniel Markstedt
386347e136 Tweak labels 2021-09-24 13:30:59 -07:00
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