-
Notifications
You must be signed in to change notification settings - Fork 245
refactoring network stack (and static ip) #878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
ef0bdc0
rewrite network manager
ym 2f33c08
fix compatibility with new network types
ym 49e28f2
fix: dhcp not working
ym df0f5ef
fix: default route not set
ym 456ee66
monitor link state using netlink
ym 50469c1
renew dhcp lease on link up
ym 3c83bcf
add missing dhcp client methods
ym 78f0479
fix netmask calculation
ym 45b55fe
fix dhcp6 logger
ym 656df6c
fix deadlocks
ym b04b148
feat: add sync trace
ym aef2645
use sync trace to track mutexes to make deadlock analysis easier
ym 17a1561
use any to replace interface{}
ym d6ebbf4
fix lint error
ym f452e6b
fix: link addr not updated
ym abb8c4f
revert to default config if config is invalid
ym db64c64
init display before network initialization
ym 8449911
Add placeholder to hostname
adamshiervani 638949c
refactor: simplify and fix button rendering logic in network settings
adamshiervani 8310077
send router solicitation
ym f128343
fix race condition in link manager
ym 8cc7ead
do not sync time multiple times
ym 05f2e5b
fix online state detection
ym 6743db6
fix online state detection
ym ad0b86c
fix state change detection
ym 97844a8
use reconcile instead of updating addresses and routes individually
ym b84aa38
Merge branch 'dev' into feat/nmrewrite
ym 52ddc9e
fix: do not apply IPv6 DHCP lease if it's from udhcpc
ym a9cd36c
fix: update NetworkConfig type in config.go
ym 6ff4f37
show flags on ipv6 network card
ym 579345e
refactor & fix hostname
ym fe074b2
fix hostname
ym b3ce961
fix errcheck
ym e47442d
fix mtu
ym 59b7141
fix lint errors
ym feec19a
fix ui lint errors
ym ed90e42
feat: change dhcp client
ym 1f568c9
fix lint errors
ym bb45be1
fix golang lint errors again
ym 1ad44ed
allow to toggle dhcp client via touchscreen
ym 9cd29a3
delete then add addresses again
ym 22f5ed2
fix possible nil dereference
ym ece467e
fix: mac address not showing on home screen
ym 403c1f8
fix: ensure symlink to last-crash.log
ym 110790a
fix: switch to no_network_screen if network manager is nil
ym 459dc5c
fix: check if network manager is nil
ym 775b0f1
fix: reset config
ym 02382e4
fix: mDNS options
ym d02ae06
fix: make timesync non-blocking
ym ff81768
fix: fix field reference in confparser
ym a3f7b5e
refactor: rename error dump file
ym aa9d789
fix: dhcpc button doesnt work
ym ae77887
fix: symlink direction
ym aee1a01
fix: symlink handling
ym 8810ed4
fix: error dump directory
ym bc4c2d9
fix: golangci-lint warnings
ym 76d256b
feat: add CIDR notation support for IPv4 address
ym 5e06625
feat: add copy to clipboard functionality for MAC address in network …
adamshiervani e38b087
Close Modals on Escape
adamshiervani aa6f5b4
feat: add DHCP client as a critical field
adamshiervani b6a1eec
fix: touchscreen dhcp client button
ym 667877f
fix: save config after toggling dhcp client
ym 9b46209
fix: clean up udhcpc processes
ym 710f082
refactor: update ConfirmDialog component styles and icons
adamshiervani 6ff5fb7
feat: implement RebootingOverlay component to handle device reboot
adamshiervani 63d1a68
feat: hide video if there are connectionIssues
adamshiervani b3141e0
feat: add reboot state management to UI store
adamshiervani f24ca51
refactor: clean up reboot route
adamshiervani 80ae3f7
Improve network setting UI
adamshiervani 53556cb
feat: add JSONRPC event for reboot notification
adamshiervani 895cd5c
feat: add CORS support for device status endpoint
adamshiervani 1cf7dd4
feat: enhance network change handling and reboot logic
adamshiervani 29b0ac7
fix: correct websocket reconnection logic for legacy signaling
adamshiervani e7afa12
fix: update expected reboot duration message in RebootingOverlay comp…
adamshiervani 008460d
fix: improve layout of critical changes display in network settings
adamshiervani c1f1da2
fix: ui tweak
adamshiervani 6a2a33b
fix: ignore DHCP lease if not in DHCP mode
ym f56f1d9
fix: handle network data fetch errors in settings
adamshiervani cb56007
fix: remove unused error message
adamshiervani 6be9a10
feat: implement post-reboot action handling for better reboot handling
adamshiervani 132c2f9
refactor: simplify shouldReboot checks
adamshiervani b6a640f
debug: add console log for reboot state setting
adamshiervani 52dca2b
fix stale closures
adamshiervani 2112fe2
chore: update react-hook-form to version 7.65.0 in package.json and p…
adamshiervani 2f51cba
Hide video overlays if there is a connection issue
adamshiervani c4c3880
fix: handle optional chaining for address and validation in StaticIpv…
adamshiervani fc606d0
fix: redirect not working when changing to static IPv4 mode from DHCP
ym 4c0a0c4
chore: cleanup network.go
ym File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.