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
Eric Helgeson
88c5bb0643
Merge pull request #267 from akuker/pillow_update2
...
Update Pillow version to 8.3.2
2021-09-24 22:41:26 -05:00
Tony Kuker
99bf0d3877
Update Pillow version to 8.3.2
2021-09-24 22:15:19 -05:00
Daniel Markstedt
13113178fa
X68000 rasctl code and docs, from RaSCSI 1.52 by GIMONS. Translated by me. Untested. ( #255 )
2021-09-24 21:07:30 -05:00
Eric Helgeson
01443ec653
Merge pull request #250 from akuker/fix_uploads
...
Fix the file upload functionality
2021-09-24 18:35:18 -05:00
Daniel Markstedt
75245a8b42
Customize dropzone stylesheet, adding a drop shadow to markers
2021-09-24 16:31:45 -07:00
Daniel Markstedt
8cce412dd0
Merge conflicts
2021-09-24 14:50:43 -07:00
Daniel Markstedt
b73ef29f06
Use native unzip instead of python zipfile lib for better performance
2021-09-24 14:48:54 -07:00
Eric Helgeson
9d66469907
Merge pull request #261 from akuker/remove_pdf
...
Remove translated website pdf file
2021-09-24 15:52:00 -05:00
Daniel Markstedt
c9c97baa3c
Fix example
2021-09-24 13:30:59 -07:00
Daniel Markstedt
fa3956c5c3
Fix example
2021-09-24 13:30:59 -07:00
Daniel Markstedt
23e6503263
Add more examples to rascsi.service
2021-09-24 13:30:59 -07:00
Daniel Markstedt
5abb0ea405
Update wording
2021-09-24 13:30:59 -07:00
Daniel Markstedt
baf440839c
Reserve no ids with no inpu
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