Markus Unterwaditzer
31076ec8b2
replace with exclamation mark
2025-04-08 21:24:33 +02:00
Markus Unterwaditzer
5e22b5c6a8
Update bin/src/display/tplink_onebit.rs
...
Co-authored-by: Will Greenberg <ifnspifn@gmail.com >
2025-04-08 21:21:36 +02:00
Markus Unterwaditzer
3dc373f0d3
add code comment
2025-04-08 21:21:20 +02:00
Markus Unterwaditzer
bccdcf36e1
Merge remote-tracking branch 'origin/main' into build-features
2025-04-08 21:16:08 +02:00
Will Greenberg
fb9c4ab85b
Update pull_request_template.md
2025-04-08 09:57:23 -07:00
Will Greenberg
e864ce0a51
Add PR template
2025-04-08 09:57:23 -07:00
zoracon
7f990ae4bd
Move issue templates to correct location
2025-04-08 09:56:13 -07:00
Sashanoraa
3ac4acd83c
Indent rootshell's code to 4 space like everything else
...
It was three for some reason.
2025-04-08 08:59:40 -07:00
Markus Unterwaditzer
5c5333f0c7
Remove RecordingCBM
...
Colorblind mode is a property of the respective display, and decision
whether to display something in colorblind mode should lie with the
display thread. The display thread already needs to know about
colorblind mode for the initial state.
In #226 , there are multiple implementations of display thread, and at
least one of them is dealing with a one-bit display anyway.
Aside, I think rayhunter should send an initial DisplayState on startup,
UI threads should not assume that the device is already recording. But
this can be discussed separately.
2025-04-08 08:58:08 -07:00
Sashanoraa
60934e593b
Add the content length header to the qmdl file response
2025-04-08 08:54:39 -07:00
oopsbagel
4099eb30a5
ci: build on ubuntu-24.04-arm (aarch64)
2025-04-08 08:53:56 -07:00
Evan Rusmisel
f81adad897
rusty
2025-04-08 08:47:54 -07:00
dependabot[bot]
775468f037
Bump tokio from 1.44.1 to 1.44.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.1 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.44.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 08:44:46 -07:00
Will Greenberg
91e825adff
mac installer: if we've already removed quarantine bit, continue
2025-04-07 16:16:54 -07:00
Markus Unterwaditzer
499b86aca6
Add build features for multiple device types
...
The bin crate now has two features, one for each supported device.
* The IOCTL change from #142 is compiled in conditionally.
* Tp-link display is supported & tested for HW rev 3 and HW rev 5.
The release tarballs now contain two rayhunter-daemon binaries, for
orbic and tplink. An installer for tplink is not yet included.
Co-authored-by: m0veax <m0veax@chaospott.de >
2025-04-07 21:15:32 +02:00
Sashanoraa
7b897c335d
Remove unneeded image dependencies
...
This removes a bunch of dependencies we aren't using and reduces the
binary size by 0.7 MB.
2025-04-04 12:30:57 -07:00
Sashanoraa
c47be1074b
Add delete all recordings button to web ui
2025-04-04 12:21:51 -07:00
Sashanoraa
326d4106bd
Add a delete option to each recording in the web view
2025-04-04 12:21:51 -07:00
Markus Unterwaditzer
df8a1f5606
Fix RecordingStore::create
...
Bug introduced in #225
2025-04-03 15:22:08 -07:00
Markus Unterwaditzer
b0f5296c20
disable quirks mode
2025-04-03 12:15:33 -07:00
Markus Unterwaditzer
4e792b1402
Fix rendering of last_message_time in UI
...
* last_message_time is shown inconsistently for current entry vs other
entries -- deduplicate code
* last_message_time is N/A for undefined -- but the API response was
null instead of undefined.
2025-04-03 12:15:33 -07:00
zoracon
9144259202
Add issue templates
2025-04-03 12:14:15 -07:00
Markus Unterwaditzer
58f0071864
Fix malformed QMDL store writes
...
Fix https://github.com/EFForg/rayhunter/issues/199
Fix https://github.com/EFForg/rayhunter/issues/151
rayhunter updates manifest files using write **without truncation**.
This means that if the new manifest is shorter than the old one,
trailing bytes of the old data will persist in the new file.
Switch over to atomic file writes so that this bug is fixed + rayhunter
behaves correctly if it is killed mid-write.
https://github.com/EFForg/rayhunter/pull/182 could be reverted as it
seems to mostly be a workaround.
2025-04-03 12:09:19 -07:00
oopsbagel
3c0716c877
feat(serial): replace all panics with error handling from anyhow
...
Support -h and --help arguments.
Print a better error message when the Orbic device is not found.
Replace every panic! with anyhow::bail!
Replace .expect() with .context()?
Wraps all function returns with anyhow::Result
2025-04-01 13:40:01 -07:00
Jeremy Blanchard
bf8f1fb8eb
Add troubleshooting step for macOS
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
2a808245fb
Fix anchor link for setup section
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
208ccbafaa
Fix another rebase merge issue
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
b150f9dc4f
Fix header issue from the rebase
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
b6ef48e0f6
Corrent path of unzipped folder
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
fddb18546c
Unify install scripts in docs
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
2911838b1c
Cleanup language and formatting
2025-04-01 12:23:39 -07:00
Jeremy Blanchard
adbe3991dd
Improve installation doc clarity. Cleanup capitalization.
2025-04-01 12:23:39 -07:00
Sashanoraa
fbc47187c5
Create ServerState outside of run_server
...
This reduces the number of arguments of run_server to make clippy happy
and also makes the code easier to understand.
2025-03-27 11:57:01 -07:00
Sashanoraa
5f601a209e
Collapse nested if statements
2025-03-27 11:57:01 -07:00
Sashanoraa
04652d2097
Add implement Default on types with ::new
...
This fixes a clippy lint warning
2025-03-27 11:57:01 -07:00
Sashanoraa
034e0632e4
Box some of the larger information element enum variants
...
An enum is always the size needed to store its largest variant. Some of
the variants of the InformationElement and LteInformationElement are
substantially larger than the rest. Boxing the larger variants reduces
the size of the enum, in some cases by several kilobytes.
Since Rust does not currently support destructing a Box via pattern
matching, some code that destructures these enums had to be modified.
2025-03-27 11:57:01 -07:00
Sashanoraa
4edf001ca4
Fix small clippy warnings
2025-03-27 11:57:01 -07:00
Sashanoraa
b41f61bfa6
Replace unnecessary File::options with File::create
2025-03-27 11:57:01 -07:00
Will Greenberg
46a5bf8a84
Add signal link
2025-03-27 11:18:39 -07:00
Will Greenberg
2ee45382fc
Update README.md
2025-03-27 11:18:39 -07:00
cycloarcane
f507cc0269
Added an FAQ entry on how to use the rootshell to delete data from the device
2025-03-27 09:52:19 -07:00
Tim Kerby
0780b527b9
Update rayhunter_daemon for TPLINK Compatibility
...
TPLink devices dont have bash - only sh
2025-03-26 10:41:15 -07:00
Sashanoraa
b0a1b14160
Remove unused import due to e79dc4a
...
The referenced commit disabled the null-cipher but did not remove the
now unused import.
2025-03-26 10:41:05 -07:00
Sashanoraa
b7243dae62
Add missing Cargo.lock updates from 0.2.6 version bump
2025-03-26 10:40:26 -07:00
Sashanoraa
0c4a0123aa
Add missing Cargo.lock changes from 9af8e00
2025-03-26 10:40:26 -07:00
Will Greenberg
9bc8a7892b
fix typo in installer script
v0.2.7
2025-03-26 10:22:17 -07:00
oopsbagel
431a97ca65
chore: bump all Cargo.toml versions to 0.2.6
v0.2.6
2025-03-25 17:02:01 -07:00
Will Greenberg
0364bfbc98
bump version number
...
we uhh forgot to do this for every release lol
2025-03-25 16:53:20 -07:00
Ben Brown
996e47684c
Fix typo on readme
...
sensetive -> sensitive
2025-03-25 16:52:16 -07:00
Cooper Quintin
266f2b2e53
more nesting
2025-03-25 16:49:08 -07:00