Commit Graph

214 Commits

Author SHA1 Message Date
Laurence e8398cb221 enhance(installer): use huh package to handle input
Instead of relying on stdin and stdout by default, using the huh package from charmbracelet allows us to handle user input more gracefully such as y/n instead of typing 'yes' or 'no'. If a user makes a mistake whilst typing in any text fields they cannot use left or right to edit a single character when using huh it can. This adds a dependancy and may increase the size of installer but overall improves user experience.
2026-02-18 11:05:48 +00:00
Owen 5ad564d21b Use rand 2026-02-02 10:25:14 -08:00
Owen 24d047e3d8 Merge branch 'main' into dev 2026-01-21 14:39:15 -08:00
dependabot[bot] 86ba6b6f86 Bump golang.org/x/term in /install in the prod-minor-updates group
Bumps the prod-minor-updates group in /install with 1 update: [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/term` from 0.38.0 to 0.39.0
- [Commits](https://github.com/golang/term/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 17:39:29 -08:00
Owen f7cede4713 Use /etc/sysctl.d/99-podman.conf
Fixes #2253
2026-01-17 12:22:43 -08:00
Owen 610b20c1ff Use the right driver
Fixes #2254
2026-01-17 12:21:47 -08:00
Owen d333cb5199 Add encoded chars to default traefik config
Closes #2176
2026-01-05 10:37:18 -05:00
Jack Myers 9ed9472c01 Fix spelling mistake in installer version prompt 2026-01-02 10:18:21 -05:00
miloschwartz a3610b7dde add badger middleware to api and dashboard routes 2025-12-20 21:49:18 -05:00
Owen e477a5a1b5 Add ee install option 2025-12-20 17:28:07 -05:00
Owen be20289140 Resolve some warnings 2025-12-20 16:38:03 -05:00
Owen 9c21e3da16 Merge branch 'main' into dev 2025-12-18 15:00:13 -05:00
Owen 7ccde11e3e Fix crowdsec healthcheck
Fixes #2118
2025-12-18 13:49:55 -05:00
Mateusz Gruszkiewicz 9b98acb553 fix missing gpg dependency which is preventing docker from installing correctly 2025-12-13 19:27:15 +01:00
dependabot[bot] 05ebd547b5 Bump golang.org/x/term in /install in the prod-minor-updates group
Bumps the prod-minor-updates group in /install with 1 update: [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/term` from 0.37.0 to 0.38.0
- [Commits](https://github.com/golang/term/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 01:21:11 +00:00
copilot-swe-agent[bot] 69561caa74 Fix setup token display condition to include CrowdSec installation
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-12-06 20:57:57 +00:00
copilot-swe-agent[bot] d7311ad947 Add setup token printing after CrowdSec installation
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-12-06 20:38:40 +00:00
copilot-swe-agent[bot] 394d1503dd Make no-reply email address required when email is enabled
- Added helpful hint in prompt suggesting to use SMTP username
- Added validation to ensure no-reply email is not empty when email is enabled
- Applied gofmt formatting improvements

Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-12-06 17:35:11 +00:00
v1rusnl d73825dd24 Update Traefik image version to v3.6 2025-11-18 12:41:12 +01:00
Owen Schwartz e7aeb4ff89 Merge pull request #1849 from fosrl/dependabot/go_modules/install/prod-minor-updates-4e8dbec1a6
Bump golang.org/x/term from 0.36.0 to 0.37.0 in /install in the prod-minor-updates group
2025-11-17 10:54:23 -05:00
dependabot[bot] 9344ab3546 Bump golang.org/x/term in /install in the prod-minor-updates group
Bumps the prod-minor-updates group in /install with 1 update: [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/term` from 0.36.0 to 0.37.0
- [Commits](https://github.com/golang/term/compare/v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-14 01:23:32 +00:00
Laurence Jones fbce392137 Remove unnecessary return after success message
Remove redundant return statement after success message.
2025-11-13 12:52:21 +00:00
Owen da15e5e77b Remove software-properties-common
Fixes #1828
2025-11-08 16:13:42 -08:00
Owen 396477c2e2 Update makefiles 2025-10-29 20:42:56 -07:00
Owen bd5cc790d6 Fixing various things 2025-10-27 17:52:39 -07:00
Owen 560974f7d2 Merge branch 'feat/add-proxy-protocol-support' into dev 2025-10-26 18:16:38 -07:00
Owen 85270f497a Restrict raw resources and use st from config 2025-10-26 18:15:39 -07:00
Owen 8f3324560a Install maxmind by default 2025-10-26 16:04:19 -07:00
miloschwartz 47ac5875f3 change digpangolin.com to pangolin.net 2025-10-18 11:51:09 -07:00
Owen 46807c6477 Fix various bugs 2025-10-16 10:23:25 -07:00
Owen e66c6b2505 remove volumes for remote nodes 2025-10-15 17:44:03 -07:00
Owen 59ecab5738 Dont ping remote nodes; handle certs better 2025-10-15 10:39:45 -07:00
Owen 61b4c62824 Merge branch 'main' into dev 2025-10-14 16:55:12 -07:00
Owen ccd81f6fe2 Adjust migration 2025-10-14 15:31:56 -07:00
Owen 8377434c08 Add update database to installer 2025-10-14 14:23:18 -07:00
Owen 1fbf2bfb8d Remove managed add maxmind 2025-10-14 14:15:33 -07:00
Owen 57bcbf6c48 Include traefik config when sending to remote nodes 2025-10-14 10:38:41 -07:00
dependabot[bot] 01db519691 Bump golang.org/x/term in /install in the prod-minor-updates group
Bumps the prod-minor-updates group in /install with 1 update: [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/term` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/term/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 01:22:20 +00:00
Owen 0167b30bf1 Fixes PAN-122 2025-09-28 18:18:03 -07:00
miloschwartz 4710bab697 pull hostname from dashboard url in crowdsec install 2025-09-26 09:57:35 -07:00
miloschwartz a1b2e36a5d fix installer 2025-09-18 11:55:01 -04:00
miloschwartz ddb6893a64 ask for container type in crowdsec installer 2025-09-17 15:52:40 -04:00
miloschwartz a0fece8a0e print failed crowdsec install error 2025-09-16 17:17:41 -07:00
Owen 831b46d7b5 Merge branch 'main' into dev 2025-09-14 21:29:43 -07:00
dependabot[bot] db94728a5b Bump golang.org/x/term in /install in the prod-minor-updates group
Bumps the prod-minor-updates group in /install with 1 update: [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/term` from 0.34.0 to 0.35.0
- [Commits](https://github.com/golang/term/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 01:18:58 +00:00
miloschwartz 9ad31b2c81 auto detect public ip 2025-09-06 22:24:22 -07:00
Owen Schwartz 5fcf76066f Merge pull request #1391 from fosrl/dev
1.9.3
2025-08-31 20:58:35 -07:00
Owen 4e106e9e5a Make more explicit in config telemetry
Fixes #1374
2025-08-30 22:22:42 -07:00
Owen Schwartz 2a0d440a34 Merge pull request #1366 from fosrl/dev
1.9.2
2025-08-27 12:02:21 -07:00
Owen b89a2c9e49 Trust the gerbil proxy for proxyProtcol 2025-08-26 22:36:33 -07:00