Name the computer requesting CLI sign-in
139debc05e69
· AtlantisPleb ·
· parent
b259fde51b40
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
- pushed
- by user · WAL seq 466 · 2026-08-27T00:51:37.585165Z
Changed files
-
modified
lib/openagents/device_authorizations.ex -
modified
lib/openagents/device_authorizations/device_authorization.ex -
modified
lib/openagents_web/controllers/device_authorization_controller.ex -
modified
lib/openagents_web/live/device_authorization_live.ex -
modified
priv/migration_lineages/prior-2026-08-19.json -
added
priv/repo/migrations/20260827004027_add_device_name_to_device_authorizations.exs -
modified
test/openagents_web/controllers/device_authorization_controller_test.exs -
modified
test/openagents_web/live/device_authorization_live_test.exs
Diff
8 files changed, +85 -16
lib/openagents/device_authorizations.ex modified +25 -6
@@ -21,6 +21,7 @@ defmodule OpenAgents.DeviceAuthorizations do
| 21 | 21 |
|
|
| 22 | 22 |
|
|
| 23 | 23 |
|
|
| 24 | + |
|
|
| 24 | 25 |
|
|
| 25 | 26 |
|
|
| 26 | 27 |
|
@@ -54,11 +55,12 @@ defmodule OpenAgents.DeviceAuthorizations do
| 54 | 55 |
|
|
| 55 | 56 |
|
|
| 56 | 57 |
|
|
| 57 | - |
|
|
| 58 | + |
|
|
| 58 | 59 |
|
|
| 59 | - |
|
|
| 60 | + |
|
|
| 61 | + |
|
|
| 60 | 62 |
|
|
| 61 | - |
|
|
| 63 | + |
|
|
| 62 | 64 |
|
|
| 63 | 65 |
|
|
| 64 | 66 |
|
@@ -95,9 +97,10 @@ defmodule OpenAgents.DeviceAuthorizations do
| 95 | 97 |
|
|
| 96 | 98 |
|
|
| 97 | 99 |
|
|
| 98 | - |
|
|
| 100 | + |
|
|
| 101 | + |
|
|
| 99 | 102 |
|
|
| 100 | - |
|
|
| 103 | + |
|
|
| 101 | 104 |
|
|
| 102 | 105 |
|
|
| 103 | 106 |
|
@@ -106,6 +109,7 @@ defmodule OpenAgents.DeviceAuthorizations do
| 106 | 109 |
|
|
| 107 | 110 |
|
|
| 108 | 111 |
|
|
| 112 | + |
|
|
| 109 | 113 |
|
|
| 110 | 114 |
|
|
| 111 | 115 |
|
@@ -118,11 +122,26 @@ defmodule OpenAgents.DeviceAuthorizations do
| 118 | 122 |
|
|
| 119 | 123 |
|
|
| 120 | 124 |
|
|
| 121 | - |
|
|
| 125 | + |
|
|
| 122 | 126 |
|
|
| 123 | 127 |
|
|
| 124 | 128 |
|
|
| 125 | 129 |
|
|
| 130 | + |
|
|
| 131 | + |
|
|
| 132 | + |
|
|
| 133 | + |
|
|
| 134 | + |
|
|
| 135 | + |
|
|
| 136 | + |
|
|
| 137 | + |
|
|
| 138 | + |
|
|
| 139 | + |
|
|
| 140 | + |
|
|
| 141 | + |
|
|
| 142 | + |
|
|
| 143 | + |
|
|
| 144 | + |
|
|
| 126 | 145 |
|
|
| 127 | 146 |
|
|
| 128 | 147 |
|
lib/openagents/device_authorizations/device_authorization.ex modified +3
@@ -11,6 +11,7 @@ defmodule OpenAgents.DeviceAuthorizations.DeviceAuthorization do
| 11 | 11 |
|
|
| 12 | 12 |
|
|
| 13 | 13 |
|
|
| 14 | + |
|
|
| 14 | 15 |
|
|
| 15 | 16 |
|
|
| 16 | 17 |
|
@@ -32,6 +33,7 @@ defmodule OpenAgents.DeviceAuthorizations.DeviceAuthorization do
| 32 | 33 |
|
|
| 33 | 34 |
|
|
| 34 | 35 |
|
|
| 36 | + |
|
|
| 35 | 37 |
|
|
| 36 | 38 |
|
|
| 37 | 39 |
|
@@ -47,6 +49,7 @@ defmodule OpenAgents.DeviceAuthorizations.DeviceAuthorization do
| 47 | 49 |
|
|
| 48 | 50 |
|
|
| 49 | 51 |
|
|
| 52 | + |
|
|
| 50 | 53 |
|
|
| 51 | 54 |
|
|
| 52 | 55 |
|
lib/openagents_web/controllers/device_authorization_controller.ex modified +1 -1
@@ -6,7 +6,7 @@ defmodule OpenAgentsWeb.DeviceAuthorizationController do
| 6 | 6 |
|
|
| 7 | 7 |
|
|
| 8 | 8 |
|
|
| 9 | - |
|
|
| 9 | + |
|
|
| 10 | 10 |
|
|
| 11 | 11 |
|
|
| 12 | 12 |
|
lib/openagents_web/live/device_authorization_live.ex modified +13 -6
@@ -93,12 +93,19 @@ defmodule OpenAgentsWeb.DeviceAuthorizationLive do
| 93 | 93 |
|
|
| 94 | 94 |
|
|
| 95 | 95 |
|
|
| 96 | - |
|
|
| 97 | - |
|
|
| 98 | - |
|
|
| 99 | - |
|
|
| 100 | - |
|
|
| 101 | - |
|
|
| 96 | + |
|
|
| 97 | + |
|
|
| 98 | + |
|
|
| 99 | + |
|
|
| 100 | + |
|
|
| 101 | + |
|
|
| 102 | + |
|
|
| 103 | + |
|
|
| 104 | + |
|
|
| 105 | + |
|
|
| 106 | + |
|
|
| 107 | + |
|
|
| 108 | + |
|
|
| 102 | 109 |
|
|
| 103 | 110 |
|
|
| 104 | 111 |
|
priv/migration_lineages/prior-2026-08-19.json modified +2 -1
priv/repo/migrations/20260827004027_add_device_name_to_device_authorizations.exs added +9
test/openagents_web/controllers/device_authorization_controller_test.exs modified +19 -1
@@ -5,7 +5,10 @@ defmodule OpenAgentsWeb.DeviceAuthorizationControllerTest do
| 5 | 5 |
|
|
| 6 | 6 |
|
|
| 7 | 7 |
|
|
| 8 | - |
|
|
| 8 | + |
|
|
| 9 | + |
|
|
| 10 | + |
|
|
| 11 | + |
|
|
| 9 | 12 |
|
|
| 10 | 13 |
|
|
| 11 | 14 |
|
@@ -23,6 +26,7 @@ defmodule OpenAgentsWeb.DeviceAuthorizationControllerTest do
| 23 | 26 |
|
|
| 24 | 27 |
|
|
| 25 | 28 |
|
|
| 29 | + |
|
|
| 26 | 30 |
|
|
| 27 | 31 |
|
|
| 28 | 32 |
|
@@ -40,6 +44,20 @@ defmodule OpenAgentsWeb.DeviceAuthorizationControllerTest do
| 40 | 44 |
|
|
| 41 | 45 |
|
|
| 42 | 46 |
|
|
| 47 | + |
|
|
| 48 | + |
|
|
| 49 | + |
|
|
| 50 | + |
|
|
| 51 | + |
|
|
| 52 | + |
|
|
| 53 | + |
|
|
| 54 | + |
|
|
| 55 | + |
|
|
| 56 | + |
|
|
| 57 | + |
|
|
| 58 | + |
|
|
| 59 | + |
|
|
| 60 | + |
|
|
| 43 | 61 |
|
|
| 44 | 62 |
|
|
| 45 | 63 |
|
test/openagents_web/live/device_authorization_live_test.exs modified +13 -1
@@ -5,12 +5,24 @@ defmodule OpenAgentsWeb.DeviceAuthorizationLiveTest do
| 5 | 5 |
|
|
| 6 | 6 |
|
|
| 7 | 7 |
|
|
| 8 | - |
|
|
| 8 | + |
|
|
| 9 | + |
|
|
| 10 | + |
|
|
| 11 | + |
|
|
| 12 | + |
|
|
| 13 | + |
|
|
| 14 | + |
|
|
| 9 | 15 |
|
|
| 10 | 16 |
|
|
| 11 | 17 |
|
|
| 12 | 18 |
|
|
| 13 | 19 |
|
|
| 20 | + |
|
|
| 21 | + |
|
|
| 22 | + |
|
|
| 23 | + |
|
|
| 24 | + |
|
|
| 25 | + |
|
|
| 14 | 26 |
|
|
| 15 | 27 |
|
|
| 16 | 28 |
|