Commit Graph

247 Commits

Author SHA1 Message Date
Jamil
171d2895e0 Revert offline_access
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-12-13 05:17:56 -08:00
Jamil
953ba80312 Add offline_access to Google doc
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-12-13 01:37:48 -08:00
Andrew Dryga
28fe571543 Small improvements to make setup process easier for OS contributors (#1171)
* Remove _build folders for umbrella apps

For umbrella apps everything goes into /_build directory so there no need to ignore directories that should never be created

* Change mix aliases to be more aligned with what OS community would expect

1. We want ecto.create and ecto.migrate to be run on each tests, this will simplify setup steps (no need to run migrations manually)

2. ecto.remigrate is not needed because now you can just run ecto.drop and on tests migrations would be executed anyways.

* Rename docker-compose step name in CONTRIBUTING.md

The step was renamed here: dd67baf629 (diff-67a4805fdcc6145d7b3ada2a6099a9b2e91c9d0fd108c22f95d2f01d219793d1R10)

* Remove .devcontainer

This an is opinionated change. Right now devcontainer doesn't work but should be easy to fix (with renaming step name), but at the same time it forces developers that use VS code to have unified development environment (including plugins for the editor itself).

I feel like it's not a good path to go for OS and for small team - everyone should be allowed to use setup they like. Especially for people like me that tend to recompile ls-elixir for Elixir plugin from master branch.

Plus it's yet another thing to maintain while nobody on the team is using it, which means it will be always causing issues.

* Make fz_http mix.exs aliases aligned with umbrella app ones

* Redirect stderr to stdout in a command called from dev.exs

Otherwise I'm getting this on my MacOS (that has a `route` implementation that doesn't show interfaces) when `mix phx.server` is executed:
```
usage: route [-dnqtv] command [[modifiers] args]
```

* Fix race condition due to static device field values

Both public_key and name are unique and we should not use static values for field covered by unique index, otherwise deadlocks and slow tests are expected.

* Remove unwanted transaction block

The changeset code doesn't have any code that accesses the database and individual Ecto.SQL commands are already wrapped in transactions by default, so there is no need to start it manually and hold for longer than expected (while irrelevant Elixir code is running).

* Use netstat to identify egress interface on MacOS

* Rename uninstall.sh to omnibus-uninstall.sh

* Fix uninstall path in omnibus_build.yml
2022-12-06 15:07:45 -08:00
Jason G
73de8c3f33 docs: fix setup instruction (#1168) 2022-12-02 11:49:48 -08:00
Philipp Bammes
47dd620d55 fix typo "MacOS" in user documentation (#1161)
Signed-off-by: Philipp Bammes <8144115+tyrann0us@users.noreply.github.com>

Signed-off-by: Philipp Bammes <8144115+tyrann0us@users.noreply.github.com>
2022-12-01 07:36:03 -08:00
Jamil
e32df103c9 Add missing cd step
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-11-30 21:29:45 -08:00
Kian-Meng Ang
ec5f0e24ae Fix typos (#1141)
Found via `codespell -S omnibus,*.json,yarn.lock,seeds.exs -L keypair,keypairs,iif,statics,wee`
2022-11-23 21:42:54 -08:00
Jason G
d11d553731 Add google SAML doc and update existing guides (#1127) 2022-11-17 17:29:14 -08:00
Jamil
a235b84aba Add missing LOCAL_AUTH_ENABLED config (#1124) 2022-11-17 14:18:22 -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
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
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
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
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
f5543cb934 add-uninstall-docker to docs (#1066) 2022-10-27 13:18:33 -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
dd9841cd94 Polish install, migration script, docs (#1050)
* Checkpoint

* Checkpoint

* checkpoint

* fix typo

* Update migrate with changes

* UID and GID

* fix perms

* Remove custom user

* Fix migrate script typos

* fix grep

* remove cleverness

* migrate final fixes
2022-10-20 13:43:31 -07:00
Jamil
bf6874df56 Update README.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-20 09:46:40 -07:00
Jamil
1d35c200b0 Update migrate.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-19 23:04:10 -07:00
Jamil
bdf389be9b Update migrate.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-19 22:58:14 -07:00
Jamil
b20b1336c4 docker_install -> install (#1040)
* Use install.sh

* rename docker_install -> install
2022-10-18 12:03:52 -07:00
Jamil
0455ee8373 Use /contact/sales over typeform (#1039) 2022-10-18 08:17:10 -07:00
Jamil
7fc2708346 fix manual steps (#1037) 2022-10-17 15:32:11 -07:00
thermionic
f3f1f4771b Update reverse-proxy.mdx (#1035)
1926.0.0/16 to 192.168.0.0/16

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

Signed-off-by: thermionic <thermionic@lovius.net>
2022-10-17 15:10:57 -07:00
Jamil
bccebca359 Try cleaning docs (#1034) 2022-10-17 10:40:28 -07:00
Jamil
c2bc2469eb Update README.mdx
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-16 15:26:59 -07:00
Jamil
dd11c728b0 Better validate OIDC and SAML configs (#1026)
* Bump postgres to release; Note on Caddy cert

* default auto_create_users

* Validate SAML and OIDC configs better

* Fix failing test
2022-10-15 18:33:32 -07:00
Andrew
d6fa9021a2 Add Keycloak doc and clean up others for OIDC providers (#1024)
* Add Keycloak doc and clean up others for OIDC providers

* fix trailing whitespace
2022-10-14 15:25:11 -07:00
Jamil
d963929c07 0.6.0 (#1004)
* 0.6.0

* Make OIDC and SAML user provisioning configurable per-provider (#1015)

* Got ugly migration to work

* Move auto_create_users to per-provider config

* Update deps to bust cache

* Update Process sleep

* Update docs with Auto create users

* working migration script (#1013)

* Add telem for Docker and SAML (#1020)

* Add telem for Docker and SAML

* Omit unneeded format
2022-10-13 15:22:53 -07:00
Jamil
6b7c8b1e73 Fix table (#1019) 2022-10-13 13:06:22 -07:00
Jamil
448ef072e5 Docs sec controls (#1018)
* add security controls document

* Add sec controls doc
2022-10-13 12:59:41 -07:00
Jamil
21d2203b3e Fix docs links (#990)
* Fix docusaurus ver

* Update docusaurus

* Why broken

* fix css minimizer :-(

* Fix links
2022-09-29 13:45:17 -05:00
Jamil
ae111ad437 Add websocket connection troubleshooting section (#977)
* Remove markdown exceptions for table and code blocks

* Fix Zitadel docs errors

* Add trailingSlash: false to prevent 404 bug
2022-09-23 15:35:01 -07:00
Jamil
177715b650 Turn on contextualSearch (#974) 2022-09-22 01:25:37 -07:00
Sebastian Büchler
f2f371974c Add Zitadel to OIDC Docs (#1) (#969)
* Create zitadel.md

Signed-off-by: Sebastian Büchler <42775578+sebastianbuechler@users.noreply.github.com>

* Update README.md

Signed-off-by: Sebastian Büchler <42775578+sebastianbuechler@users.noreply.github.com>

Signed-off-by: Sebastian Büchler <42775578+sebastianbuechler@users.noreply.github.com>

Signed-off-by: Sebastian Büchler <42775578+sebastianbuechler@users.noreply.github.com>
2022-09-21 18:35:29 -07:00
Jamil
8697005e6e Attempt to fix docs search by adding sitemap and start_url config (#973) 2022-09-21 18:34:49 -07:00