Commit Graph

187 Commits

Author SHA1 Message Date
Daniel Lorch 21d96415f9
Merge 762cc65dd0 into 2aa7b8569f 2025-05-14 13:57:38 +02:00
Marc Brooks 2aa7b8569f
feat: Reset optionally reset USB HID in dev-deploy (#440)
Adds `--reset-usb-hid` command to delete the configured USB HID device before running.
2025-05-14 11:17:29 +02:00
Aveline 19bd161a7f
chore: update jetkvm_native binary (4e2ce48) (#442) 2025-05-13 21:49:42 +02:00
Aveline 38252de03c
chore: create images folder when starting the application (#437) 2025-05-13 21:13:21 +02:00
Daniel Lorch 762cc65dd0 Move hold key handling into Go backend analogous to https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt 2025-05-13 18:55:47 +02:00
Aveline 63c2272c45
feat(usb_mass_storage): mount as disk (#333)
* feat(usb_mass_storage): mount as disk

* chore: try to set initial virtual media state from sysfs

* chore(usb-mass-storage): fix inquiry_string
2025-05-12 19:07:27 +02:00
Marc Brooks 8ee0532f0e
Update npm packages for the UI (#432)
Upgraded most packages to current as of 2025-05-09 for almost everything.
Remove the erroneous extra dependency to old xterm package since the correct @xterm/xterm package was already included (suspect a bad merge) and it was causing issues with react 19.1.
Switched to using the hooks exposed in the usehooks-ts package (this package was already referenced, suspect a bad merge) removing our private copies of useInterval, useIsMounted, useResizeObserver which are identical.
Added import of JSX from react now needed because NPX is not in global scope in react 19.x.
Explicitly cast the ref of included elements due to change in react 19.x
2025-05-12 19:00:49 +02:00
Daniel Lorch d0faf03239
Fix: Alt Gr not recognized (#399)
* Fix: Alt-Gr not recognized

* Proper fix for Alt-Gr not being recognized

* Add comment on codes and modifiers

* Add comment on paste box

* Remove comment

* Improve description

* Wording...

* Formatting...

* Improve description again
2025-05-12 18:59:32 +02:00
Daniel Lorch 94f36d0fac
Merge branch 'dev' into paste-text-keyboard-layouts 2025-05-11 22:46:09 +02:00
Qishuai Liu 77b4c1c531
ntp: fix panic on NTP query error and add IPv6 server for IPv6-only support (#424)
* fix(ntp): prevent panic on NTP query error and add IPv6 server in defaultNTPServers

* fix(ntp): make sure queryMultipleNTP finish if all servers failed
2025-05-11 17:19:22 +02:00
John 5f8b451cd7
fix: absolute mouse scroll (#434)
Co-authored-by: wup-one <wup@deepspace.game>
2025-05-11 17:19:07 +02:00
Peder Toftegaard Olsen 5a4f1766b7
feat: UI for changing display orientation
* Added UI for changing display orientation.

* Fixed lint issue.
2025-05-11 17:17:41 +02:00
Daniel Lorch 22566e0450
Merge pull request #1 from IDisposable/paste-text-keyboard-layouts
Change the locale names to their native language
2025-05-09 07:20:14 +02:00
Marc Brooks 978bef420c
Change the locale names to their native language
German->Deutsch et. al.
2025-05-08 16:52:55 -05:00
Daniel Lorch 48240eebe0 Move language name definitions into the keyboard layout files 2025-05-08 20:26:59 +02:00
Daniel Lorch 4d840b65a9 Move guard statements outside of loop 2025-05-08 20:25:53 +02:00
Daniel Lorch aeaed88af5 Add Czech 2025-05-04 02:37:51 +02:00
Daniel Lorch e4ddc952d1 Add Italian 2025-05-04 00:26:32 +02:00
Daniel Lorch 2f048ef38f Operator precedence 🤦 2025-05-04 00:25:55 +02:00
Daniel Lorch 7c2b91a9c4 Add Norwegian 2025-05-03 23:56:56 +02:00
Daniel Lorch 435746f35e Remove default value shift: false 2025-05-03 22:41:17 +02:00
Daniel Lorch 842fd22072 Add more keys to Spanish 2025-05-03 00:50:40 +02:00
Daniel Lorch c5b80761ce Fix fr_FR special characters 2025-05-03 00:20:22 +02:00
Daniel Lorch 1a85f4d8ad Add Spanish 2025-05-02 23:56:52 +02:00
Daniel Lorch 98485430eb Add Swedish 2025-05-02 23:18:56 +02:00
Daniel Lorch 5447e3434d Add English (UK) 2025-05-02 22:55:46 +02:00
Daniel Lorch 33905e6378 Add French (France) 2025-05-02 22:55:21 +02:00
Daniel Lorch a364a06a3a Fix whitespace 2025-05-02 22:12:54 +02:00
Daniel Lorch 77ce41a5ea Change line ordering 2025-05-02 22:11:10 +02:00
Daniel Lorch baed361ae6 Add Swiss French 2025-05-02 21:19:51 +02:00
Daniel Lorch 341b70ff0a Remove obscure Alt-Gr keys, unsure if they are supported everywhere 2025-05-02 21:00:41 +02:00
Daniel Lorch 3887f7e5b5 Improve accent handling 2025-05-02 17:53:19 +02:00
Daniel Lorch 2be96d327c Fix default value 2025-05-02 02:09:08 +02:00
Daniel Lorch 34f48f9bea Improve error handling and pre-loading 2025-05-02 01:51:20 +02:00
Daniel Lorch 962a6f6dfc Trema is the more robust method for capital umlauts 2025-05-02 01:32:12 +02:00
Daniel Lorch c3087abe02 Enable multiple keyboard layouts for paste text from host 2025-05-02 00:52:03 +02:00
Siyuan Miao d79f359c43 chore: bump version to 0.4.0 2025-04-16 02:17:09 +02:00
Aveline 189b84380b
network enhanecment / refactor (#361)
* chore(network): improve connectivity check

* refactor(network): rewrite network and timesync component

* feat(display): show cloud connection status

* chore: change logging verbosity

* chore(websecure): update log message

* fix(ota): validate root certificate when downloading update

* feat(ui): add network settings tab

* fix(display): cloud connecting animation

* fix: golintci issues

* feat: add network settings tab

* feat(timesync): query servers in parallel

* refactor(network): move to internal/network package

* feat(timesync): add metrics

* refactor(log): move log to internal/logging package

* refactor(mdms): move mdns to internal/mdns package

* feat(developer): add pprof endpoint

* feat(logging): add a simple logging streaming endpoint

* fix(mdns): do not start mdns until network is up

* feat(network): allow users to update network settings from ui

* fix(network): handle errors when net.IPAddr is nil

* fix(mdns): scopedLogger SIGSEGV

* fix(dhcp): watch directory instead of file to catch fsnotify.Create event

* refactor(nbd): move platform-specific code to different files

* refactor(native): move platform-specific code to different files

* chore: fix linter issues

* chore(dev_deploy): allow to override PION_LOG_TRACE
2025-04-16 01:39:23 +02:00
Aveline 2b2a14204d
feat: implement pointer-lock and keyboard-lock (#352)
* feat: implement pointer-lock and keyboard-lock

* feat: Add Pointer lock functionality and SSL support in dev mode

- Introduced @vitejs/plugin-basic-ssl for enabling SSL in development.
- Added a new script `dev:ssl` to run the development server with SSL.
- Implemented pointer lock feature in the WebRTCVideo component, enhancing user interaction.
- Added a PointerLockBar component to guide users on enabling mouse control.
- Cleaned up the VideoOverlay and WebRTCVideo components for better readability and functionality.

---------

Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
2025-04-16 01:34:53 +02:00
Simão Gomes Viana 440f85f091
VideoOverlay: add missing word to adapter line (#355)
THe sentence was incomplete without "ensure".
2025-04-16 00:28:52 +02:00
Ben Kochie 009b0abbe9
refactor: update golintci-lint and linter issues
* Update golangci-lint

Update golangci-lint to v2.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup various linter issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2025-04-13 03:55:30 +02:00
Siyuan Miao 951e673e0c chore(ntp): add logging for time sync errors 2025-04-11 18:55:31 +02:00
Siyuan Miao edca8a4cb5 fix(log): segmentation violation when err is nil 2025-04-11 18:49:08 +02:00
Aveline 87ee954e70
chore(log): move each component to its own logger (#353) 2025-04-11 18:38:34 +02:00
Siyuan Miao 94e83249ef chore(cloud): use request id from the cloud 2025-04-11 16:03:46 +02:00
Siyuan Miao f98eaddf15 chore(log): ntp logger 2025-04-11 13:12:14 +02:00
Siyuan Miao 8888d13824 chore(log): add nbdLogger 2025-04-11 13:08:52 +02:00
Siyuan Miao 334b3bee60 chore: fix linting issue 2025-04-11 13:05:03 +02:00
Siyuan Miao 0ba7902f82 chore: update logging 2025-04-11 12:55:36 +02:00
Siyuan Miao 924b55059f chore(log): add wolLogger 2025-04-11 08:14:44 +02:00