Commit Graph

1972 Commits

Author SHA1 Message Date
Jamil
afe50ad248 Conventional Commits (#1116)
* chore: add conventional-commits

* Use branch for conventional commits

* Remove dupe workflow 🔨
2022-11-16 08:28:51 -08:00
Tore Anderson
cc280dae50 Allow pgcrypto extension to preexist (#1114)
The CREATE EXTENSION query requires superuser privileges, which means
that the Firezone container may not be allowed to execute it when
accessing an externally hosted database, resulting in the database
failing to initialise properly.

One potential workaround to this problem is to have the database admin
ascertain that the pgcrypto extension is already present and ready for
use, prior to starting the Firezone container for the first time.

Unfortunately, however, this currently fails in the following manner:

14:42:44.731 [info] execute "CREATE EXTENSION pgcrypto"
** (Postgrex.Error) ERROR 42710 (duplicate_object) extension "pgcrypto" already exists

Adding the IF NOT EXISTS condition to the CREATE EXTENSION query should
allow it to succeed.
2022-11-16 07:28:06 -08:00
Jamil
a994f3f350 Update esaml to properly parse signed assertions (#1113)
* Update esaml to properly parse signed assertions

* Add Jumpcloud SAML doc

* Add required fields to config

* Add required fields to config

* Fix typo

* Formatting

* Minor fixes

* More clarifying

* yet more typo fixes

* Fix test
2022-11-15 21:34:31 -08:00
Jamil
1df5db4251 Support end_session_uri, custom redirect_uri and PKCE (#1110)
* Checkpoint PKCE; Refactor state

* tests passing

* id_token_hint working

* Fix WGAdapter setting

* what happened to redirect_uri

* Add redirect_uri custom

* Remove dbg

* Fix nil logout

* session cleanup

* Remove unneeded fixtures

* redis disable

* Fix tests
2022-11-15 18:28:26 -08:00
Jason G
d4063e3032 Add onelogin and okta SAML docs (#1108)
* add onelogin doc

* add okta doc

* add okta and onelogin to main README

* wording and grammar

* remove SLO for now

* lint and table formatting

* trailing whitespace

* Update docs/docs/authenticate/saml/okta.mdx

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Signed-off-by: Jason G <jason@firez.one>

* Apply suggestions from code review

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Signed-off-by: Jason G <jason@firez.one>

* move provider support to top

Signed-off-by: Jason G <jason@firez.one>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-15 12:55:01 -08:00
dependabot[bot]
9b531dd19b Bump rubocop from 1.38.0 to 1.39.0 (#1106)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.38.0...v1.39.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 09:06:25 -08:00
thermionic
eae4f1d9e5 Updated upgrade.mdx "docker-compose" to "docker compose" (#1112)
as docker compose v2 is now required for the install script, it makes sense to use the same in the docs...

Signed-off-by: thermionic <thermionic@lovius.net>

Signed-off-by: thermionic <thermionic@lovius.net>
2022-11-15 09:05:48 -08:00
Jamil
245f3d2d93 Backlink config reference to configure guide (#1107)
* add note on configuring

* typo

* Backlink to configure guide

* add note to docker
2022-11-15 08:52:03 -08:00
Jamil
911a82ce05 Update README.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-09 07:29:59 -08:00
Jamil
7bbf993eed Update README.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-09 07:29:38 -08:00
Jamil
9b1982c408 Fix omnibus install link
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-09 00:18:11 -08:00
Jamil
c56bd7f85b Add AsyncAPI WIP (#1104)
* Add AsyncAPI WIP

* Gateway asyncapi
2022-11-08 17:14:25 -08:00
dependabot[bot]
83ffc153e7 Bump rubocop from 1.37.1 to 1.38.0 (#1096)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.37.1...v1.38.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 15:51:58 -08:00
dependabot[bot]
47a6eedb17 Bump floki from 0.33.1 to 0.34.0 (#1097)
Bumps [floki](https://github.com/philss/floki) from 0.33.1 to 0.34.0.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/philss/floki/compare/v0.33.1...v0.34.0)

---
updated-dependencies:
- dependency-name: floki
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 15:51:37 -08:00
(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW
4de45306be fetch logo from config instead of default image (#1098)
Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <mostafa.hussein91@gmail.com>

Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <mostafa.hussein91@gmail.com>
2022-11-07 09:55:26 -08:00
Jamil
a9cf51bcf8 Use IP for firezone (#1102) 2022-11-07 09:41:43 -08:00
Jamil
5d545da398 double-quote (#1095) 2022-11-05 15:01:05 -07:00
Jamil
4f4556d1c8 tlsOpts (#1094) 2022-11-05 14:51:34 -07:00
Jamil
5f14b1ab30 use tls opts (#1093) 2022-11-05 11:56:22 -07:00
Gabi
029891c69e Build/fix no prefix (#1089)
* fix: use caddy in host network_mode and make sure urls have a scheme

* fix: remove unnecesary exposed ports

* fix: remove support for hostnames begining with // since caddy doesn't support it

* Fix schemeless external URLs; error on invalid ones (#1090)

* Fix schemeless external URLs; error on invalid ones

* use different dockerfile for linux vs non-linux

* Use conditional EXTERNAL_URL defaults

* suppress empty warning

* postgres volume location

* Use inline Caddyfile

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-03 19:36:37 -07:00
Andrew Austin
85494de270 Allow RELEASE_NAME to be overridden in environment (#1087)
RELEASE_NAME was locked to a static value which prevented multiple
instances of Firezone from running in the same network namespace
(i.e. using net=host in a container). This change uses the value of
the RELEASE_NAME environment variable and defaults to the current
static value if not set.
2022-11-03 19:31:45 -07:00
Jamil
368ff3e55c Add restart note (#1085)
* Update README.mdx

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>

* Update docs/docs/deploy/docker/README.mdx

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-03 11:58:19 -07:00
Jamil
81ea2a3763 remove rest api reference (#1088) 2022-11-03 11:52:08 -07:00
Andrew
85359bdb11 Add a building from source doc for Firezone (#1078)
* Add a building from source doc for Firezone

* Apply suggestions from code review

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Signed-off-by: Andrew Rousset <andrew@firezone.dev>

Signed-off-by: Andrew Rousset <andrew@firezone.dev>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-01 12:48:57 -07:00
Jamil
b77eb394b3 check for docker compose before docker-compose (#1084)
* check for docker compose before docker-compose

* fix docker compose check

* formatting
2022-11-01 11:35:59 -07:00
dependabot[bot]
8333d4a97f Bump plug_cowboy from 2.5.2 to 2.6.0 (#1082)
Bumps [plug_cowboy](https://github.com/elixir-plug/plug_cowboy) from 2.5.2 to 2.6.0.
- [Release notes](https://github.com/elixir-plug/plug_cowboy/releases)
- [Changelog](https://github.com/elixir-plug/plug_cowboy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-plug/plug_cowboy/compare/v2.5.2...v2.6.0)

---
updated-dependencies:
- dependency-name: plug_cowboy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-01 10:47:22 -07:00
dependabot[bot]
de4a010e7a Bump andstor/file-existence-action from 1 to 2 (#1080)
Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2.
- [Release notes](https://github.com/andstor/file-existence-action/releases)
- [Commits](https://github.com/andstor/file-existence-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: andstor/file-existence-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 10:46:23 -07:00
dependabot[bot]
6c0f8b8b58 Bump plug from 1.13.6 to 1.14.0 (#1083)
Bumps [plug](https://github.com/elixir-plug/plug) from 1.13.6 to 1.14.0.
- [Release notes](https://github.com/elixir-plug/plug/releases)
- [Changelog](https://github.com/elixir-plug/plug/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-plug/plug/compare/v1.13.6...v1.14.0)

---
updated-dependencies:
- dependency-name: plug
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 09:32:19 -07:00
dependabot[bot]
3b1c2eef6a Bump phoenix_live_reload from 1.3.3 to 1.4.0 (#1081)
Bumps [phoenix_live_reload](https://github.com/phoenixframework/phoenix_live_reload) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/phoenixframework/phoenix_live_reload/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_reload/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_reload/commits)

---
updated-dependencies:
- dependency-name: phoenix_live_reload
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 08:50:12 -07:00
Jamil
e085f5dffb specify caddy-opts (#1077) 2022-10-28 17:35:11 -07:00
Jamil
22fe7861e9 Use named volume for postgres (#1076) 2022-10-28 17:31:32 -07:00
Jamil
45ef146532 Fix links related to ignoreSlash (#1075) 2022-10-28 13:59:06 -07:00
Jamil
7fa841b105 Add trailingSlash (#1074) 2022-10-28 13:39:28 -07:00
pemontto
73e892b916 🐛 Make IPs match diagram (#1072)
Signed-off-by: pemontto <939704+pemontto@users.noreply.github.com>

Signed-off-by: pemontto <939704+pemontto@users.noreply.github.com>
2022-10-28 06:33:17 -07:00
Jamil
5ad4c8ccd5 Minor docs fixes (#1071)
* sudo for migrate

* Use sudo for cat

* docker-compose version 2 or higher
2022-10-27 16:28:26 -07:00
Jamil
73393daf49 don't swallow errors (#1070) 2022-10-27 16:04:57 -07:00
Jamil
5e5c2d35ac Use :live, not live.html (#1069) 2022-10-27 15:24:52 -07:00
Jamil
e585228dd5 Fix CADDY_OPTS (#1065)
* Fix CADDY_OPTS

* bootstrapDB no matter what
2022-10-27 13:58:14 -07:00
dependabot[bot]
15f4033069 Bump phoenix_live_dashboard from 0.7.1 to 0.7.2 (#1067)
Bumps [phoenix_live_dashboard](https://github.com/phoenixframework/phoenix_live_dashboard) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/phoenixframework/phoenix_live_dashboard/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_dashboard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_dashboard/compare/v0.7.1...v0.7.2)

---
updated-dependencies:
- dependency-name: phoenix_live_dashboard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 13:35:36 -07:00
dependabot[bot]
0c649b2276 Bump phoenix_live_view from 0.18.2 to 0.18.3 (#1068)
Bumps [phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/phoenixframework/phoenix_live_view/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_view/compare/v0.18.2...v0.18.3)

---
updated-dependencies:
- dependency-name: phoenix_live_view
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 13:35:16 -07:00
dependabot[bot]
643e39f174 Bump phoenix_swoosh from 1.0.1 to 1.1.0 (#1064)
Bumps [phoenix_swoosh](https://github.com/swoosh/phoenix_swoosh) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/swoosh/phoenix_swoosh/releases)
- [Changelog](https://github.com/swoosh/phoenix_swoosh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swoosh/phoenix_swoosh/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: phoenix_swoosh
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 13:18:51 -07:00
Jamil
f5543cb934 add-uninstall-docker to docs (#1066) 2022-10-27 13:18:33 -07:00
dependabot[bot]
d1f5ab3431 Bump phoenix from 1.6.14 to 1.6.15 (#1062)
Bumps [phoenix](https://github.com/phoenixframework/phoenix) from 1.6.14 to 1.6.15.
- [Release notes](https://github.com/phoenixframework/phoenix/releases)
- [Changelog](https://github.com/phoenixframework/phoenix/blob/v1.6.15/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix/compare/v1.6.14...v1.6.15)

---
updated-dependencies:
- dependency-name: phoenix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 13:00:28 -07:00
dependabot[bot]
f83f507e1c Bump ex_doc from 0.28.6 to 0.29.0 (#1056)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.6 to 0.29.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.28.6...v0.29.0)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 14:49:17 -07:00
dependabot[bot]
995bab6d47 Bump rubocop from 1.36.0 to 1.37.1 (#1055)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.36.0 to 1.37.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.36.0...v1.37.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 14:48:54 -07:00
Jason G
59776d6d93 docs: rename business to enterprise (#1060)
* docs: rename business to enterprise

* fix link

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2022-10-26 14:44:24 -07:00
gongjason
ca7d6f40b1 Revert "docs: rename business to enterprise"
This reverts commit 5576b5b6ae.
2022-10-25 10:42:51 -07:00
gongjason
5576b5b6ae docs: rename business to enterprise 2022-10-25 10:40:18 -07:00
Jamil
39d48aadb5 Don't accidentally swallow script errors (#1052)
* Don't accidentally swallow script errors

* add docs
2022-10-22 08:27:02 -07:00
Jamil
2720200b68 Update CONTRIBUTING.md
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-21 10:51:31 -07:00