Remind before LinkedIn's sign-in expires, and stop posting once it has

LinkedIn tokens last 60 days and can't be renewed without signing in
again. The expiry LinkedIn reports is now recorded (60 days from sign-in
for older connections). The LinkedIn card says until when; from two
weeks before, the Overview, the Inbox and the card remind you, with a
Reconnect button. Once expired, LinkedIn counts as not connected, due
posts come back to the Inbox saying why, and a 401 from LinkedIn reads
"reconnect LinkedIn" instead of the raw error.

Also fixes a leftover "Settings → Credentials" in a publish error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 11:43:59 -07:00
co-authored by Claude Opus 5.5
parent a2c8889599
commit 9c62680927
14 changed files with 159 additions and 9 deletions
+2 -2
View File
@@ -148,10 +148,10 @@ func (s *Server) entryData(e *inventory.Entry, showDismissed bool) (*entryPage,
if err != nil {
return nil, err
}
pubs := s.publishers()
conn := s.connected()
var chans []channelChoice
for _, c := range content.Channels {
chans = append(chans, channelChoice{c, pubs[c.ID] != nil})
chans = append(chans, channelChoice{c, conn[c.ID]})
}
var subs []string
seen := map[string]bool{}