Commit graph

77 commits

Author SHA1 Message Date
83a16fe9bb
update to new random 2025-03-08 10:01:11 +01:00
5e5a29b3a1
add brackets to match for clippy 2024-12-29 11:32:25 +01:00
0b46dcf704
Merge branch 'main' into better-html 2024-12-13 21:16:38 +01:00
606816cf0e
improve idle efficiency 2024-12-13 00:07:06 +01:00
4adb9d4ec3
add websocket stream for statistics 2024-12-12 16:25:15 +01:00
3520118336
add counter to keep track of connected clients 2024-12-12 15:09:45 +01:00
438fac10ba
strip away the stdout counter (#72)
Remove the counter, the website works now so it's more annoying than
useful
2024-12-11 22:46:30 +01:00
1db13c89c6
strip away the stdout counter 2024-12-11 21:18:13 +01:00
5b5b2849b8
more verbose errors 2024-12-11 20:56:33 +01:00
f0bd6020a2
add basic website 2024-12-11 20:47:15 +01:00
5c3690d72a
Use info level for http requests instead of debug to reduce clutter (#64)
Makes the log only 1 line instead of like 7 for each frame that gets
sent
2024-12-11 20:26:04 +01:00
56bfecfe7f
Merge branch 'main' into dependencies 2024-12-11 20:10:18 +01:00
f124c7c9cb
protocols command (#67)
Adds a command for getting all enabled (and disabled) protocols from the
server.

- **add response for protocol status**
- **add command for protocols**
- **allow calling `Protocols` from BinaryParser**
- **allow calling `Protocols` from textparser**
2024-12-11 20:08:39 +01:00
b2755d2ffb
add tests for caps versions in text protocol (#60)
I found that we only tested whether the lowercase HEX colors worked.
Added some to check caps as well
2024-12-11 20:07:04 +01:00
d279051da7
add configuration for the stdout pixel-changed interval (#59)
Add an option in `config.rs` to set the interval to log changed pixels
to console
2024-12-11 20:06:45 +01:00
69c424ec6e
clean up stream code (#58)
Make a trait function for creating frames instead of a locally defined
one
2024-12-11 20:06:25 +01:00
fe07344cb4
use vec![] for the get_status vector 2024-12-11 12:55:05 +01:00
6dc11526d8
allow calling Protocols from textparser 2024-12-11 12:50:34 +01:00
823f4a306a
allow calling Protocols from BinaryParser 2024-12-11 12:49:02 +01:00
b52af7d44f
add command for protocols 2024-12-11 12:48:11 +01:00
232fe6b6e2
add response for protocol status 2024-12-11 12:47:40 +01:00
7c46b8062c
remove unused dependencies 2024-12-11 12:33:07 +01:00
fe2ca594e9
Use info level for http requests instead of debug to reduce clutter 2024-12-11 11:07:24 +01:00
b8c01befde
fix allow unreachable code directive 2024-12-11 00:30:05 +01:00
c5fb0f5437
move the locally scoped function to an impl to improve readability 2024-12-10 22:40:53 +01:00
b7b05d2865
add tests for caps versions in text protocol 2024-12-10 22:39:59 +01:00
62d6dd76d3
add configuration for the stdout pixel-changed interval 2024-12-10 22:38:14 +01:00
48edab8b13
use tracing for enabled/disabled features 2024-12-10 18:03:01 +01:00
22281e21f8
use announce macro instead of having to hardcode 2024-12-10 17:43:13 +01:00
e391d3f63f
allow unreachable in default protocol return 2024-12-10 17:40:33 +01:00
2337c0497c
turn text and binary protocols into features 2024-12-10 17:40:32 +01:00
peppidesu
7f04b39a15
feat: Website (#15)
Add a basic website that shows the current flutgrid state
Co-authored-by: Noa Aarts <noa@voorwaarts.nl>
2024-10-22 21:58:25 +02:00
peppidesu
0c00b7e9bf
missing import + ci fixes 2024-10-19 16:02:55 +02:00
9fde688bcc
Merge branch 'main' into jpg-buffer 2024-10-19 15:59:25 +02:00
peppidesu
a6eebc409e
added update interval to config 2024-10-19 15:53:39 +02:00
721e3fca34
use default for textprotocol 2024-10-19 15:38:51 +02:00
peppidesu
a1f7b3ab52
Revert "added webapi sketch"
This reverts commit b3e25cd706.
2024-10-19 15:37:51 +02:00
peppidesu
0fd67e0c6e
save image frames now uses grid jpeg buffer 2024-10-19 15:34:51 +02:00
peppidesu
e486bd121a
jpeg update loop, fixed return types for handles 2024-10-19 15:34:33 +02:00
a27dcf013f
make clippy happy 2024-10-19 15:34:03 +02:00
peppidesu
339eee14f6
undo rename for easier rebase 2024-10-19 15:08:56 +02:00
peppidesu
4bcab8ad67
jpg buffer 2024-10-19 15:08:05 +02:00
peppidesu
b3e25cd706
added webapi sketch 2024-10-19 15:06:56 +02:00
6c6e131e61
fix compile errors 2024-10-19 15:01:37 +02:00
de3248c3c6
fix memory leak in closing connections 2024-10-19 14:05:37 +02:00
9dc681086d
refactor: split into more logical files 2024-10-18 01:56:23 +02:00
19eb943865
chore: remove unused imports 2024-10-11 16:05:41 +02:00
0502f3dacb
feat: add periodic image saving 2024-10-11 16:05:16 +02:00
899c5343ae
feat: swap from u16_le to u16 2024-10-10 09:37:43 +02:00
a4c19d5f98
chore: improve styling of main 2024-10-09 16:45:51 +02:00