Commit Graph

700 Commits

Author SHA1 Message Date
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
Daniel Markstedt
4443f42d67 Use dropzone and pydrop for file uploading 2021-09-21 22:51:06 -07:00
Daniel Markstedt
a9b7d43ef6 Remove redundant information 2021-09-21 19:04:51 -07:00
Daniel Markstedt
64603c7fb5 Correct drive sizes for Microp drives. Their true block_size is 256 kb, but should function with 512 kb as well. 2021-09-21 19:03:38 -07:00
Daniel Markstedt
36c614ddc8
Remove redundant docs that are represented in wiki and manpages (#254) 2021-09-21 20:36:12 -05:00
Daniel Markstedt
506f338aaf Fix language in 502 page 2021-09-21 16:57:23 -07:00
Daniel Markstedt
e5d9f9522e Revert to previous upload code, but keeping the secure filename improvement 2021-09-21 16:55:08 -07:00
Daniel Markstedt
f6a8ee2e03 Use unified terminology 2021-09-20 19:00:36 -07:00
Daniel Markstedt
98cfceefd4 Add Cancel link on the bottom of the page as well 2021-09-20 18:57:14 -07:00
Daniel Markstedt
82c039171f Display available disk space on the Pi 2021-09-20 18:55:09 -07:00
Daniel Markstedt
479df419d2 Merge branch 'develop' into fix_uploads 2021-09-20 18:35:52 -07:00
Daniel Markstedt
c77e1b18ce Secure file names also for generic image file creation 2021-09-20 18:35:47 -07:00
Daniel Markstedt
9a7989437d Use secure file names when creating image files 2021-09-20 18:33:38 -07:00
No0ne
b92a762acc
Update nginx-default.conf (#241)
Update nginx-default.conf to enable the web ui via IPv6
2021-09-20 18:17:17 -07:00
Daniel Markstedt
bd8dc6c51e Move arithmetic to Python code 2021-09-20 15:58:56 -07:00
Daniel Markstedt
a2a805b426 Address issue#61 by allowing only recognized file types to be picked for upload 2021-09-20 15:22:48 -07:00
Daniel Markstedt
03e1a961f3 Remove file type check since it happens after uploading has completed 2021-09-20 15:02:41 -07:00
Daniel Markstedt
ac97d4bbaa 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-20 12:47:39 -07:00
Daniel Markstedt
d434dfe918 Improve error message 2021-09-20 10:47:00 -07:00
Daniel Markstedt
d1ef834ffd Fix saving and loading device params in config files 2021-09-20 10:46:48 -07:00
Daniel Markstedt
12483a58f5 Bump point release of four dependencies, then lock down versions again 2021-09-20 08:58:36 -07:00
Daniel Markstedt
a6b0a40a78 Use compatible version clause for Python dependency management 2021-09-20 07:10:42 -07:00
Daniel Markstedt
8bc5789ba6 Revert granular SCHD detection on the web ui side, since there are a plethora of hard drive image file endings out there 2021-09-19 21:48:49 -07:00
Daniel Markstedt
5507d7c530 Allow for more recent python libraries, rather than fixed at a particular version 2021-09-19 19:38:24 -07:00
Daniel Markstedt
7f1c3f7395 Cleanup 2021-09-19 18:39:07 -07:00