Skip to content

Improve "Add New Host" dialog - #8

Merged
zwass merged 3 commits into
masterfrom
add-host-instructions
Nov 5, 2020
Merged

Improve "Add New Host" dialog#8
zwass merged 3 commits into
masterfrom
add-host-instructions

Conversation

@zwass

@zwass zwass commented Nov 4, 2020

Copy link
Copy Markdown
Member
  • Allow download of enroll secret, server certificate, and flagfile.
  • Hosts can now be added following instructions directly.

zwass added 3 commits November 4, 2020 14:47
- Allow download of enroll secret, server certificate, and flagfile
- Make instructions step-by-step
@zwass
zwass merged commit a36bef6 into master Nov 5, 2020
@zwass
zwass deleted the add-host-instructions branch November 5, 2020 01:08
chiiph pushed a commit that referenced this pull request Aug 4, 2021
This allows specifying the root key metadata which was the remaining
requirement to allow working with a self-hosted update server.
@qa-wolf

qa-wolf Bot commented Jun 21, 2023

Copy link
Copy Markdown

QA Wolf: Deployment: Free ✅

72 workflows ran (more details)

✅ 72 passed

@qa-wolf

qa-wolf Bot commented Jun 21, 2023

Copy link
Copy Markdown

QA Wolf: Deployment: Premium ✅

123 workflows ran (more details)

✅ 123 passed

TsekNet added a commit to TsekNet/fleet that referenced this pull request Mar 22, 2026
- Extract nested block to tryReuseExistingInstaller helper (fleetdm#5)
- Add 30s timeout to HEAD request client (fleetdm#2)
- Validate URL scheme (http/https only) for SSRF defense (fleetdm#1)
- Weak ETag comparison: strip W/ prefix per RFC 7232 (fleetdm#3)
- Validate ETag/Last-Modified format before storing (fleetdm#6)
- Move HTTPETag/HTTPLastModified into fillSoftwareInstallerPayloadFromExisting (fleetdm#9)
- Remove duplicate store-existence check (fleetdm#7)
- Add ORDER BY si.id DESC to LIMIT 1 query (fleetdm#8)
- Use ds.writer (primary) for GetInstallerByTeamAndURL (fleetdm#13)
- Rename checkURLChanged to hasURLContentChanged (fleetdm#11)
- Rename urlContentUnchanged to canSkipDownload (fleetdm#16)
- Add nil guard in mock to prevent panic in existing tests
- Fix schema.sql collation to match migration output
- Fix lint: use svc.logger instead of bare slog.Warn
- Add tests: weak ETag, both headers precedence, 403/500 status,
  non-HTTP scheme, normalizeETag, validETag (fleetdm#3,12,14,17)
- Document redirect limitation (fleetdm#15)
RachelElysia added a commit that referenced this pull request Jul 21, 2026
- (#1) Swap useEffect/[showSearch] focus for native autoFocus on the
  search input. react-select unmounts <Menu> on close, so the input is a
  fresh DOM node on each open — autoFocus fires reliably without
  depending on effect deps semantics.
- (#2) Key CustomMenuList's useLayoutEffect on React.Children.count(...)
  so it only re-measures scroll dimensions when the option list actually
  changes (search filter shrink/expand). onScroll still covers user-
  driven position changes.
- (#3) menu.zIndex 6 -> 99 (page-overlay tier), __scroll-fade z-index
  1 -> 9 (in-flow overlay tier), matching the 9/99/999 convention.
- (#4) Add optional onAddFleet callback prop. If provided, fires
  instead of the browserHistory.push fallback — lets consumers use
  their own router.push. Nine current callers unaffected.
- (#8) TODOL -> TODO: typo in the tests file (inherited from the
  deleted TeamsDropdown.tests.tsx).
RachelElysia added a commit that referenced this pull request Jul 21, 2026
- (#4) Deep dive: drop the optional onAddFleet prop entirely rather
  than carrying a dead migration path. `browserHistory` is fine in
  frontend/components/ (used by AuthenticationNav and CommandPalette),
  so the fallback becomes the sole path — no dead code, no half-wired
  interface. Consumers that ever need to override navigation can add
  the prop back at that point.
- (#5) Add `aria-label="Search fleets"` to the search input — screen
  readers skip placeholder-as-label once the field has a value.
- (#6) Drop `name="fleet-search-input"` (not a form-submitted field)
  and add `autoComplete="off"` so browsers don't pop autofill
  suggestions on top of the option list.
- (#7) Rename `TeamsDropdown` -> `FleetsDropdown` in
  frontend/docs/patterns.md:459 (Fleet switcher reference).
- (#8) Use getPathWithQueryParams(PATHS.ADMIN_FLEETS, { create_fleet:
  "1" }) instead of the plain template string — matches the
  codebase's URL-construction convention.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant