Commit Graph

707 Commits

Author SHA1 Message Date
joshua stein
f2b5d86fa0
DaynaPort: Ignore commands with a bogus control value (#433)
All traffic from the DaynaPort will have a control value of 0xc0 or
0x80, so any commands that don't should be ignored.

This helps the Mac Plus which will try to READ(6) from the DaynaPort
device if it's attached at boot and then try to interpret the
ethernet packet as hard drive data and crash.

See issue akuker#419
2021-11-08 22:42:54 +01:00
Uwe Seimet
f7ec0de834
Fix clang warnings (#423)
* Fixed clang compiler warnings

* Removed unused code

* Reset compiler
2021-11-07 21:30:21 +01:00
Uwe Seimet
817c1cde31
Fix issue 422 (#425)
* Use the effective filename when checking for duplicates

* Fixed check for asynchronous notifications

* Added additional filename check

* Applied fix also for attach
2021-11-07 21:18:58 +01:00
Daniel Markstedt
7e546e2cb8
ID reservation in Web UI (#416)
* Remove dead code

* Clean up indentation

* Cleanup

* Move socket commands into its own file

* Move non-rascsi command methods into its own file

* Refactoring

* Bring back list_config_files

* Cleanup

* Cleanup of status messages

* Remove unused libraries

* Resolve pylint warnings

* Resolve pylint warnings

* Remove unused library

* Resolve pylint warnings

* Clean up status messages

* Add requests lib to requirements.txt

* Clean up status messages

* Resolve interpolation warnings for logging

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Cleanup

* Add html/head/body tags to the base document

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Add .pylintrc and suppress warnings for the generated protobuf module

* Resolve pylint warnings

* Clean up docstrings

* Fix error

* Cleanup

* Add info on pylint to README

* Store .pylintrc in parent dir to allow other Python packages to use it

* Tidy index.html

* Cleanup

* Resolve jinja-ninja warnings

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Save and load id reservations in config file

* Reserve and unreserve in the web ui

* TODO

* Add backwards compatibility with 21.10 config files

* Comment cleanup

* Save and load reservation memos into the config file

* Cleanup

* Resolve pylint warnings

* Fix bugs

* Fix bug

* Fix bugs

* Cleanup

* Fix typo

* Fix successful return clause

* Cleanup

* Fix bugs
2021-11-06 21:11:17 -05:00
Daniel Markstedt
54b3e480a5
Web UI code cleanup and refactoring (#409)
* Remove dead code

* Clean up indentation

* Cleanup

* Move socket commands into its own file

* Move non-rascsi command methods into its own file

* Refactoring

* Bring back list_config_files

* Cleanup

* Cleanup of status messages

* Remove unused libraries

* Resolve pylint warnings

* Resolve pylint warnings

* Remove unused library

* Resolve pylint warnings

* Clean up status messages

* Add requests lib to requirements.txt

* Clean up status messages

* Resolve interpolation warnings for logging

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Cleanup

* Add html/head/body tags to the base document

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Resolve pylint warnings

* Add .pylintrc and suppress warnings for the generated protobuf module

* Resolve pylint warnings

* Clean up docstrings

* Fix error

* Cleanup

* Add info on pylint to README

* Store .pylintrc in parent dir to allow other Python packages to use it

* Tidy index.html

* Cleanup

* Resolve jinja-ninja warnings

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Fix wording
2021-11-06 19:25:02 -05:00
Daniel Markstedt
092cb60702
Handle the screen rotation parameter better, fixing an error when no parameter was specified (#418) 2021-11-06 19:23:53 -05:00
Daniel Markstedt
562f1f0d6a
Create a generic README markdown file, remove the font specific one (#415) 2021-11-02 20:24:07 -05:00
Daniel Markstedt
bd52da7ebd
Do not save a new tarball every time you install netatalk (#414) 2021-11-02 20:22:36 -05:00
Daniel Markstedt
4219e6918c
Refactoring of OLED screen Python script (#413)
* Split up source into modules

* Add symlink to .pylintrc in the racsci-web dir

* Resolve pylint warnings

* Resolve pylint warnings

* Split out methods into separate modules

* Resolve pylint warnings

* Clean up docstrings
2021-11-02 20:20:42 -05:00
Tony Kuker
0f52e72915 Restore version to development version 2021-10-29 21:59:27 -05:00
Tony Kuker
21a8805d5d Updated copyrights and versions 2021-10-29 21:55:24 -05:00
akuker
e90edc0506
Regenerated man page reports (#406) 2021-10-29 18:35:57 -07:00
Daniel Markstedt
ccdf49a601
Remove schematic images that have been moved to wiki (#402) 2021-10-29 20:11:20 -05:00
Daniel Markstedt
9c3e4f11fa
Update manpage source to match rasctl output (#404) 2021-10-29 23:12:09 +02:00
Uwe Seimet
8f7e0fa880
Added missing CR/LF to rasctl error message output (#403) 2021-10-29 11:14:54 -07:00
Eric Helgeson
231f20daff
Merge pull request #400 from akuker/rdmark_oled_ip
Show ip instead of version on the OLED screen
2021-10-28 18:33:14 -05:00
Eric Helgeson
8c2ce8f440
Merge pull request #401 from akuker/rdmark_fix_i2c_config
Use raspi-config to manage the boot config
2021-10-28 18:32:46 -05:00
Daniel Markstedt
a48d6d10fb Tweak formatting 2021-10-28 14:22:20 -07:00
Daniel Markstedt
f59e0af091 Tweak formatting 2021-10-28 14:03:40 -07:00
Daniel Markstedt
278b01c1a4 Show hostname instead of RaSCSI 2021-10-28 13:29:06 -07:00
Daniel Markstedt
3e769de373 Add raspi-config to required packages 2021-10-28 12:12:13 -07:00
Daniel Markstedt
fea1c150f3 Cleanup 2021-10-28 11:17:33 -07:00
Daniel Markstedt
2044c5e0d1 Cleanup 2021-10-28 11:16:48 -07:00
Daniel Markstedt
967fbd2999 Use raspi-config to manage the boot config 2021-10-28 11:15:16 -07:00
Daniel Markstedt
52dbfdb44a Remove version to reduce clutter 2021-10-28 11:00:31 -07:00
Daniel Markstedt
5d304e4eaf Show IP above RaSCSI version 2021-10-28 10:39:21 -07:00
Daniel Markstedt
861f4a4327 Show IP address on OLED screen 2021-10-28 10:36:31 -07:00
Eric Helgeson
9731e9d3bf
Merge pull request #399 from akuker/rdmark_netatalk_connections
More user friendly netatalk connection status messages
2021-10-28 11:54:48 -05:00
Daniel Markstedt
58ba087476 More user friendly netatalk connection status messages 2021-10-28 09:52:45 -07:00
Eric Helgeson
670ff36bd2
Merge pull request #398 from akuker/chunk_download
Do chunked downloads to avoid running out of memory
2021-10-28 08:56:07 -05:00
Daniel Markstedt
500048ee70 Do chunked downloads to avoid running out of memory 2021-10-28 06:19:58 -07:00
akuker
3ff8f3ae61
Removed duplicated text (#397) 2021-10-27 19:33:33 -07:00
akuker
46bdf7bdcd
Apply PR 394 to the develop branch (instead of master) (#396) 2021-10-27 21:22:42 -05:00
Daniel Markstedt
08c2295832
Shut down splash in the same style as the boot one (#386) 2021-10-27 21:22:29 -05:00
Daniel Markstedt
508bf83292
Fix unzipping individual files in subdirs (#387)
* Fix unzipping individual files in subdirs

* Escape member file name before extracting
2021-10-27 21:21:43 -05:00
Eric Helgeson
61e596aedf
Merge pull request #390 from akuker/rdmark_kill_other_oled
Pkill other oled monitor scripts before starting new one
2021-10-27 13:49:48 -05:00
Eric Helgeson
c638127614
Merge pull request #389 from akuker/fix_typo_and_multiline
Fix typo and the multiline strings.
2021-10-27 13:48:47 -05:00
Eric Helgeson
5884803843
Merge pull request #391 from akuker/rdmark_wget_downloads
Use requests to download files instead of urllib
2021-10-27 13:38:37 -05:00
Daniel Markstedt
19bee3654e Cleanup 2021-10-27 11:13:30 -07:00
Daniel Markstedt
7ec7d45c48 Use the requests library to fetch files 2021-10-27 11:11:37 -07:00
Daniel Markstedt
46698c7b05 Use wget to download files instead of urllib; reducing code duplication and fixing a bug 2021-10-26 21:50:00 -07:00
Daniel Markstedt
9240ce974a Pkill other oled monitor scripts before starting new one 2021-10-26 18:21:39 -07:00
Daniel Markstedt
1b8a0c341d Fix typo and the multiline strings. 2021-10-26 15:51:57 -07:00
Daniel Markstedt
e5f58bb967
Capture files being extracted as well (#381) 2021-10-26 15:05:49 -05:00
Daniel Markstedt
28de92a00c
Enable unzipping of individual archive members (#385)
* Enable unzipping of individual archive members

* Add code comments
2021-10-26 15:05:15 -05:00
Daniel Markstedt
3546764722
Better error handling in ISO image creation (#379) 2021-10-26 15:03:29 -05:00
Uwe Seimet
79c5da9432
Use long long instead of long for image size (#383) 2021-10-26 06:41:17 -07:00
Daniel Markstedt
87640a7c2c
More verbose unzipping; don't overwrite existing files (#378) 2021-10-25 20:58:16 -05:00
Uwe Seimet
cc1783c1cd
Improved remote connection error handling (#376)
* Improved remote connection error handling

* Improved error handling by adding a magic string to each message

* Interface comment update

* Interface comment update

* Improve error messages

* Clients send the magic word to authenticate

Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
2021-10-25 16:04:10 -07:00
akuker
f0a7deb361
Update README.md 2021-10-25 17:42:38 -05:00