Commit Graph

973 Commits

Author SHA1 Message Date
Tony Kuker
5dc1cb45df Merge branch 'develop' into feature_bpi4 2022-10-25 19:45:10 -05:00
Daniel Markstedt
77a32bd828
Remove legacy robot framework tests (#942) 2022-10-25 19:41:20 -05:00
Daniel Markstedt
08194af424
Move C++ code into cpp/ dir (#941)
- Moved C++ code to cpp/ from src/raspberrypi
- Related updates to Makefile, easyinstall.sh, and the github build rules
- Removed the native X68k C code in src/x68k from the repo
2022-10-25 12:59:30 -07:00
Tony Kuker
7e460759b2 fix target compilation errors 2022-10-25 11:30:32 -05:00
Daniel Markstedt
4b109a70b0
Improve Web UI integration tests (#939)
* Remove deprecated critital log level from test

* Move drive_properties back into template data sets

* Move properties data integrity checks to test code

* Streamline the drive formatting logic
2022-10-25 08:51:04 -07:00
Uwe Seimet
6bbaa956ed
Use C++ filesystem library/iostreams for I/O, added unit tests (#911) (#934)
* Use C++ filesystem library/iostreams for I/O (issue #911)

* Added unit tests
2022-10-25 10:29:57 +02:00
Tony Kuker
5844d7200f fix compiler errors 2022-10-24 22:27:07 -05:00
Tony Kuker
859fa2e217 Added board type tables with physical pin numbers 2022-10-24 22:21:57 -05:00
Tony Kuker
9b87e46d8c Put the allwinner logic back 2022-10-24 20:30:42 -05:00
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