Tony Kuker
b5d1b0ea3d
Merge branch 'develop' into feature_bpi4
2022-10-24 19:28:39 -05:00
akuker
ea8bc3970d
Architectural updates for future support of Banana Pi ( #928 )
...
* Added logic to figure out what type of host we're running on - Banana Pi or Raspberry Pi
* Split out the raspberry pi logic to separate classes that are created at start-up based upon the host configuration
* Added System Timer class for Allwinner H3 CPU
* Added stubs for GPIO BUS for Allwinner H3 CPU
Authored-by: Tony Kuker <akuker@gmail.com>
2022-10-24 19:21:40 -05:00
Daniel Markstedt
73ecd4d1b8
Restore rascsi help text for hda format; consistently use 'compatible' teminology instead of 'genuine' ( #937 )
2022-10-24 22:41:04 +02:00
Daniel Markstedt
8ec5b53b28
Bump the Web UI requests lib to 2.28.1 ( #938 )
2022-10-24 12:53:50 -07:00
Daniel Markstedt
1da3caf568
Bump to the latest bjoern/Flask/Jinja2; click/itsdangerous/MarkupSafe are implicit dependencies of the above so removing explicit requirements. ( #935 )
2022-10-24 11:50:35 -07:00
dependabot[bot]
db2c542c97
Bump protobuf from 3.20.1 to 3.20.2 in /python/web ( #933 )
...
* Bump protobuf from 3.20.1 to 3.20.2 in /python/web
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 3.20.1 to 3.20.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 19:06:23 -07:00
Daniel Markstedt
5172d167e7
Web UI: More file path sanitation, better network bridge warnings, each endpoint return one message ( #932 )
...
- Sanitize file paths with Path: for flat file structures, always extract Path().name, and for nested file structures either look for absolute paths, or someone trying to use ".." to traverse the dir strucutre.
- Reduce redundancy in network bridge detection method, and return somewhat more informative messages
- Make all endpoints return exactly one message
- Move some warning messages to logging
- Use tempfile for iso generation temp file handling
2022-10-23 19:05:29 -07:00
Tony Kuker
4527ace0fb
Merge remote-tracking branch 'origin/feature_bpi3' into feature_bpi4
2022-10-23 17:47:12 -05:00
Tony Kuker
a229d95489
Update sonarcloud issues
2022-10-23 17:21:13 -05:00
Tony Kuker
22eda6e560
Address sonarcloud issues
2022-10-23 16:47:42 -05:00
Tony Kuker
38f151add9
Sonarcloud cleanups
2022-10-23 15:36:36 -05:00
Uwe Seimet
f3553c5480
Resolved issues 772, 827, 909; added numerous unit tests; code cleanup ( #915 )
...
* Resolved issues 772, 827, 909
* Added numerous unit tests
* Code cleanup
* Improved type safety by using PbDeviceType instead of string
* Do not flush cache on failed STOP UNIT
* Error message and error handling updates
* Removed duplicate code
* Use map for mapping shift counts
* Reject read/write access if the drive has 0 sectors
* Updated logging configuration for tests
2022-10-23 21:51:39 +02:00
Tony Kuker
823e72b074
Address sonarcloud issue
2022-10-23 14:45:36 -05:00
Tony Kuker
7ef0423b36
Cleanup Sonarcloud issues
2022-10-23 14:37:57 -05:00
Tony Kuker
60e1434e2b
Cleanup sonarcloud issues
2022-10-23 13:43:01 -05:00
Tony Kuker
b17ab75c6d
Fix compilation error
2022-10-23 12:59:06 -05:00
Tony Kuker
d811a30b92
remove commented code because sonarcloud complains
2022-10-23 12:53:20 -05:00
Tony Kuker
bb55c87c32
Address compiler error
2022-10-23 12:48:04 -05:00
Tony Kuker
c5c020a38a
change DWORD to uint32_t
2022-10-23 12:40:42 -05:00
Tony Kuker
d30a54f843
Address sonarcloud issues
2022-10-23 12:36:07 -05:00
Tony Kuker
0fac33c610
Fixed issue with ownership of bus object
2022-10-23 12:08:45 -05:00
Tony Kuker
fe3cc9c7be
add debug config for rascsi_test
2022-10-22 20:09:42 -05:00
Tony Kuker
5414557ab5
fix compilation errors
2022-10-22 20:08:14 -05:00
Tony Kuker
e27ebb4962
initial clang format configuration
2022-10-22 17:30:43 -05:00
Tony Kuker
61667f749c
run clang-format
2022-10-22 17:30:28 -05:00
Tony Kuker
44d4da2855
ignore astyle temporary files
2022-10-22 16:36:20 -05:00
Tony Kuker
ce21f70178
ran astyle
2022-10-22 16:34:22 -05:00
RaSCSI User
9da944fb3b
changed several managers to pointers instead of references
2022-10-22 22:14:00 +01:00
RaSCSI User
8d70bb08ab
correct select poll logic
2022-10-22 20:44:47 +01:00
RaSCSI User
5152b3bfd9
missing close()
2022-10-22 20:17:56 +01:00
RaSCSI User
89da050a90
add trace
2022-10-22 20:17:42 +01:00
RaSCSI User
8dbbfde597
remove double initialization
2022-10-22 20:17:24 +01:00
nucleogenic
198c10f70a
Enable web UI auth for test environment ( #931 )
2022-10-22 09:49:46 -07:00
Daniel Markstedt
e3e833b4d2
Fix one case of Path object conversion that was missed during the refactoring ( #929 )
2022-10-22 08:01:08 -07:00
RaSCSI User
c8338e657e
Need to initialize sbc_version class
2022-10-22 04:49:35 +01:00
Daniel Markstedt
ade656e38b
Break out frontend and backend auth options into stand alone options ( #925 )
...
* Break out frontend and backend auth options into stand alone options
* Improve the token auth checks when installing clients
2022-10-21 19:49:53 -07:00
Tony Kuker
5138f81324
fix compiler errors
2022-10-21 21:40:28 -05:00
Tony Kuker
7d3f7e555f
Start to merge raspberry pi only changes
2022-10-21 21:06:18 -05:00
Tony Kuker
a3b91d0e1f
Merge branch 'develop' into feature_bpi3
2022-10-21 20:59:39 -05:00
Tony Kuker
99a1c7cdbc
Update version for next development version
2022-10-21 22:44:31 +01:00
Tony Kuker
5768827af8
Update revision number for release
2022-10-21 22:43:03 +01:00
Tony Kuker
34446e88fe
change log level
2022-10-21 22:34:41 +01:00
Daniel Markstedt
64a6d46bee
Merge pull request #920 from akuker/rdmark-file-dir-descriptive-names
...
Descriptive names for file transfer target dirs
2022-10-19 21:21:57 -07:00
Daniel Markstedt
efd40ceab2
Descriptive names for file transfer target dirs
2022-10-19 19:31:59 -07:00
Daniel Markstedt
926b6c4faa
Remove empty docs dir ( #918 )
2022-10-18 19:28:39 -05:00
Daniel Markstedt
ac39b3b8a3
Netatalk: Prompt user when pre-existing config is found; Append the images dir as a shared volume ( #916 )
...
* Prompt the user before continuing with installation when Netatalk config dir is detected
* Add Netatalk with images dir sharing as an experimental feature
2022-10-17 17:42:49 -07:00
Daniel Markstedt
afcb1534e6
Merge pull request #914 from akuker/rdmark-suppress-warning
...
Web UI: Change locale fallback message log level to 'info'
2022-10-15 08:13:39 -07:00
Daniel Markstedt
aed793001d
Change locale fallback to info logging
2022-10-14 19:39:32 -07:00
nucleogenic
6514e24770
Docker container for Pytest ( #901 )
...
* Dockerize Pytest
* Fix auto-delete warning in delete file test
* Allow tests to be executed with a non-default home dir
* Use hostname for Docker container only if tests executed in Docker
* Update container entrypoint to pytest
* Re-format tests with black
* Define if the execution environment is a Docker container in env fixture
* Skip unsupported host bridge attachment test in Docker
2022-10-14 19:30:08 -07:00
Daniel Markstedt
a8ac6a06cf
Fix a web UI integration test ( #912 )
...
Fix an integration test that hadn't been updated after the refactoring
2022-10-14 09:12:57 -07:00