Commit graph

408 commits

Author SHA1 Message Date
b8cb3e4f05 reduce log level 2026-01-28 09:22:11 -06:00
d34c72a0ab track more snmp things 2026-01-28 09:18:31 -06:00
88c003d474 major snmp overhaul 2026-01-28 09:07:13 -06:00
667fde17d7
discovery deduplication 2026-01-27 14:49:06 -06:00
72f69b13ff
agent debug improvements 2026-01-27 14:34:32 -06:00
3250989d79
agent debug improvements 2026-01-27 14:21:50 -06:00
3f3df5938d
agent debug improvements 2026-01-27 14:19:37 -06:00
5fb92dd961
add device/org limit 2026-01-27 14:14:25 -06:00
d1cfbaa87c
set agent debugging log level to info 2026-01-27 13:39:37 -06:00
3bb89670bd
enable agent debugging 2026-01-27 13:25:04 -06:00
328d4659a7
show correct agent on edit screen and fix airfiber/ltu 2026-01-27 12:52:43 -06:00
378dc5f8ec
dialyzer fix 2026-01-27 11:09:59 -06:00
197a515386
marketing page updates 2026-01-27 10:54:20 -06:00
e5d015cab2
fix menu alignment 2026-01-27 10:50:31 -06:00
6920333d6a
impersonate fix 2026-01-27 10:45:06 -06:00
124d68d28d
credo fixes 2026-01-27 09:12:22 -06:00
6c238c52e5
fix a few things and fix device discovery 2026-01-26 17:17:31 -06:00
bb86dec559
add oban pro 2026-01-26 17:07:42 -06:00
19a818647b
documentation updates 2026-01-26 16:36:52 -06:00
6782309682
add default temp unit 2026-01-26 15:39:36 -06:00
a05b125600
update cloud poller icon 2026-01-26 15:38:09 -06:00
b20a58aec4
test fixes 2026-01-26 15:27:59 -06:00
756a6b4cd4
poller agent fix and trigger device rediscovery 2026-01-26 14:51:32 -06:00
5e7576bc3f
api token whitespace fix and magic link login fix 2026-01-26 14:05:44 -06:00
0b72b47ae6
better logs for discovery and polling 2026-01-26 13:43:17 -06:00
492dc74c9a
fix network map 2026-01-26 13:39:46 -06:00
74f2970664
ui tweaks 2026-01-26 13:34:52 -06:00
06fde717c0
accessibility and poller updates 2026-01-26 13:02:03 -06:00
902d21eeee
poller detail screen fix 2026-01-26 12:46:14 -06:00
fb42e93f7a
cloud poller fixes 2026-01-26 12:00:55 -06:00
5f1bbab420
cloud poller fixes 2026-01-26 11:57:32 -06:00
51a73b3a44
allow superuser impersonation 2026-01-26 11:37:50 -06:00
c41b479ed8
more tests 2026-01-26 11:01:47 -06:00
99414459d3
device reorder 2026-01-26 10:22:12 -06:00
e781a70c7e
device list update 2026-01-26 09:44:08 -06:00
2f24489ecb
add privacy page 2026-01-25 17:12:34 -06:00
7cf59a88ab
require superuser for livedashboard 2026-01-25 16:17:25 -06:00
984b1b38c7
add pg_stat_statements 2026-01-25 15:44:59 -06:00
d2abe9a14d
add network map 2026-01-25 15:24:35 -06:00
21802eede4
adjust timestamps to be relative 2026-01-25 14:52:13 -06:00
9c5b4096f9
discovery working 2026-01-25 14:48:57 -06:00
a30d6b8219
unit fixes 2026-01-25 13:59:09 -06:00
9cd3d57433
live reload yaml in dev 2026-01-25 13:38:17 -06:00
6e86f54aa0
mikrotik sensor fixes 2026-01-25 13:24:28 -06:00
277d3be2bd
remove agent version display 2026-01-25 12:22:47 -06:00
d12ffda8b0
show unit 2026-01-25 12:18:41 -06:00
dc32e16c68
fix: allow cloud pollers to access devices from any organization
Cloud pollers (is_cloud_poller = true, organization_id = nil) were
being blocked from polling devices because verify_device_organization
was checking if the device's organization matched the agent's
organization.

Since cloud pollers don't belong to any organization (organization_id
is nil), they should be allowed to poll devices from any organization.

Changes:
- verify_device_organization now allows access if organization_id is nil
- This fixes "Device not in agent's organization" errors for cloud pollers

Error before:
  Device b7e8dd99-0b19-496d-97ae-9f2601d16464 not in agent's organization
2026-01-25 11:15:19 -06:00
788004cb97
fix: handle :global agent source in device form template
Production was crashing with CaseClauseError when viewing device edit
form for devices using the global default cloud poller.

Added missing :global case branch to the agent source case statement
in form.html.heex line 127.

Displays: 'Using global default cloud poller: <agent_name>'
2026-01-25 11:04:29 -06:00
a9405f6818
refactor: alias DiscoveryWorker at module top and skip flaky performance test
- Fixes credo warning about nested module alias
- Tags performance test to exclude from precommit hook (flaky timing on slow machines)
2026-01-25 09:14:07 -06:00
6516f509e9
cleanup: remove debug logging from agent creation (again)
The user had manually added debug logging in commit 66fd6fa.
Now that the cloud poller checkbox issue is fixed, removing the debug output.
2026-01-25 09:10:47 -06:00