Commit Graph

1804 Commits

Author SHA1 Message Date
dependabot[bot]
030fffa3d7 Bump postgrex from 0.16.3 to 0.16.4 (#880)
Bumps [postgrex](https://github.com/elixir-ecto/postgrex) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/elixir-ecto/postgrex/releases)
- [Changelog](https://github.com/elixir-ecto/postgrex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-ecto/postgrex/compare/v0.16.3...v0.16.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 10:53:21 -07:00
dependabot[bot]
66b760474b Bump credo from 1.6.5 to 1.6.6 (#881)
Bumps [credo](https://github.com/rrrene/credo) from 1.6.5 to 1.6.6.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/credo/compare/v1.6.5...v1.6.6)

---
updated-dependencies:
- dependency-name: credo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 10:53:09 -07:00
Jamil
e0e780b7fa Go easy on the x-forwarded-for header (#877) 2022-07-29 17:17:00 -07:00
Gabi
b2e292d4fd remove http-related nginx config (#866)
* remove http-related nginx config

* Add more details about Nginx and reverse proxies to upgrade notes

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2022-07-29 11:50:31 -07:00
Po Chen
30876da922 Reduce cast coverage (#851)
* remove cast role in create

* remove cast in update

this will fail

* Revert "remove cast role in create"

This reverts commit 217c62170f1f09987c6adbf7a5b3f467dd84034c.

* remove role in generic cast

* separate role and sign in token out from generic update

* handle empty value in put_password_hash

* separate last signed in at

* remove usage of removed changeset function

* fix clear sign in token

* improve tests

* fix tests

* split update user

* require password change

* fix test

* remove unused env var
2022-07-29 08:44:25 -07:00
Po Chen
4ba93bdce2 Fix config ui out of sync (#875)
* fix config ui out of sync

* fix and add more tests

* simplify tests
2022-07-29 08:22:27 -07:00
Jamil
d0499ae592 Don't fail fast for publishing to Cloudsmith (#870) 2022-07-28 14:41:34 -07:00
Andrew
5487a36e79 Restore the manual install steps to install server docs. (#873)
* Improve install docs some & restore the manual install steps

* Fix docs lint

* Remove space in RedHat

* fix typo
2022-07-28 14:39:00 -07:00
Gabi
493709858d fixes parsing for ipv6 (#871) 2022-07-28 14:38:13 -07:00
Jamil
0c50ac677d Fix new docs links (#865) 2022-07-27 20:48:39 -07:00
Gabi
01cb023cc2 detect force_ssl config and error out (#864)
* detect force_ssl config and error out

* Update omnibus/package-scripts/firezone/preinst

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

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-07-27 19:08:21 -07:00
Jamil
c81650a49f Add uid (#861) 2022-07-27 17:28:14 -07:00
Jamil
9a94e12f0b docs older versions (#860) 2022-07-27 07:40:11 -07:00
Jamil
dafbc54b09 Fix minor mistakes (#859) 2022-07-27 07:34:34 -07:00
Jamil
da059e05ff Update publish_docs.yml 2022-07-27 07:20:29 -07:00
Jamil
46ad5fa9b0 Fix docs build (#858)
* Fix docs cache path

* Add manual docs trigger
2022-07-27 07:17:55 -07:00
Jamil
3e765139ca Fix customization typo (#857) 2022-07-26 23:59:09 -07:00
Jamil
3c69a28d16 Add release 0.5.0 announcement (#856) 2022-07-26 23:58:57 -07:00
Jamil
f2c8b4b900 check ifconfig.me return before use (#855) 2022-07-26 21:23:08 -07:00
Andrew
61c9ea5e98 fix server tests (#854) 2022-07-26 13:12:27 -07:00
Jamil
b5d5028b9f prefix with sudo (#853)
* prefix with sudo

* Update docs/docs/deploy/README.md

Co-authored-by: Andrew <andrew@firezone.dev>

Co-authored-by: Andrew <andrew@firezone.dev>
2022-07-26 11:53:40 -07:00
Andrew
c14c8463e0 Remove sudo from install script (#852) 2022-07-26 11:38:37 -07:00
Jamil
9aeebddda8 sudo outside install script 2022-07-26 11:24:07 -07:00
Jason G
39b1555ee2 update navbar beta link (#850) 2022-07-26 10:31:42 -07:00
Jamil
88c5171c5d Rescue capture errors in Ruby (#849) 2022-07-26 10:29:49 -07:00
Jamil
f590364ecd Fix empty OIDC config prevents fresh application from starting (#846)
* Fix master build

* use JSON for openid_connect_providers

* (hopefully) print errors to STDOUT

* set TERMINFO

* Upload built artifact before functional testing

* D'oh

* Revert logging change
2022-07-25 19:21:41 -07:00
Po Chen
5218bd0404 Remove no longer needed compilers declaration (#848) 2022-07-25 16:29:01 -07:00
Jamil
0b27a9696c Optimize Docker build cache (#845) 2022-07-25 14:52:05 -07:00
Jamil
99867ce3b1 revert removing the x-forwarded-for header (#837)
* revert removing the x-forwarded-for header

* Clean up remote_ip headers
2022-07-25 11:47:58 -07:00
Gabi
23db81fae5 Build/729/different reverse proxy (#795)
* Removes disabling SSL and adds remote_ip lib

* Fix to use remote_ip when not proxy

* Add trusted_proxy to config

* Add proxy_forwarded prameter to config and improve logging

* Fix trusted_proxy list parsing

* Fix ip formatting

* Expect JSON array for trusted_proxy

* fix proxied-related plug loading runtime

* fix typo

* checkpoint

* add traefik draft

* add logging

* woops

* adding logging for debug

* rollback debugging logs

* docs refinement

* Fix markdown lints

* remove disabling proxy_forwarded option for prod

* rename, improve docs and add clients config

* change dev_secure to secure_cookies

* Set proxy_forwarded as true by default

* remove proxy_forwarded in favor of nil trusted_proxies

* renaming and doc improvement

* build fix

* jamilbk changes

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2022-07-25 11:47:58 -07:00
Jamil
ab70facee5 Better document telemetry (#658)
* WIP document telemetry [no ci]

* add telemetry doc

* Update docs/docs/reference/telemetry.md

* Update docs/docs/reference/telemetry.md

Co-authored-by: Jason Gong <52545545+gongjason@users.noreply.github.com>
2022-07-25 11:47:58 -07:00
Jamil
76ab472b87 Telemetry timeouts (#836) 2022-07-25 11:47:58 -07:00
Po Chen
1ad0428f32 Move auth configs into app (#812)
* move configs into app

* fix typo

* add moduledoc

* move oidc parsing

* fix oidc configs

* implement toggle updates

* shush

* handle binary and map

* start cache for test

* save site

* add dashboard

* implement editing oidc configs

* remove io inspect

* selective fallback

* fix tests

* update toggles

* test toggles

* test oidc config

* fix click behavior

* update doc

* Update apps/fz_http/lib/fz_http_web/live/setting_live/security.html.heex

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2022-07-25 11:47:58 -07:00
Jason G
5948089cd4 Add onelogin to authentication docs (#829)
* onelogin instructions and link update

* add onelogin to readme

* update help instructions

* code readability

* auth method to POST

* sidebar ordering

* resolve review comments

* shell -> ruby
2022-07-25 11:47:58 -07:00
Jamil
1517ab3a13 Add telemetry (#834) 2022-07-25 11:47:58 -07:00
Jamil
0e373e9731 Enable Ruby / Elixir code highlighting (#832) 2022-07-25 11:47:58 -07:00
Jason G
0239e12ede Minor fixes and polish to docs (#831)
* remove duplicate files for nftables

* github logo in navbar

* add company links to footer

* use auto-generated indexes

* make use of swizzling

* SEO

* lint error
2022-07-25 11:47:58 -07:00
Andrew
ef7ee0eebe Guard tput calls for errors from CI (#827) 2022-07-25 11:47:58 -07:00
Andrew
df969bdb23 Fix nil device error for stats push service and use live WireGuard adapter in dev. (#825)
* Conditionally start WireGuard sandbox adapter if set in app env

* Use Live wg adapter module in dev, sandbox in test. fz_vpn supervised children from app env
2022-07-25 11:47:58 -07:00
Po Chen
f86e080471 Fix handling invalid client reason (#828)
* Catch different reasons

* redirect
2022-07-25 11:47:58 -07:00
Andrew
b70b65a408 Make phoenix crash detection configurable. (#813)
* Add toggle to firezone config for phoenix crash detection

* Add config option to docs & polish table layout a bit

* Add comment explaining crash detection toggle
2022-07-25 11:47:58 -07:00
Andrew
2f11771d59 Update install script and docs for Cloudsmith package repo (#809)
* Update install script to setup and install firezone from cloudsmith repo

* silence source repo file not found when removing

* Update docs with cloudsmith repo instructions, add feedback message to uninstall

* Fix supported platforms link

* add upgrade note to post install pkg script & only grep config file for check if it exists

* Clean up install server doc links

* use apt-get instead of apt, add RHEL 7,8,9 & OLS 7,8,9

* Use more cross platform compatible terminal text styles
2022-07-25 11:47:58 -07:00
Gabi
76f6e53cfd NFTables fixes (#804) 2022-07-25 11:47:58 -07:00
Jamil
5c71686b24 Only handle interface change on changes (#811) 2022-07-25 11:47:58 -07:00
Jamil Bou Kheir
ef5630f94f Fix linter error 2022-07-25 11:47:58 -07:00
Po Chen
6bd66dc711 Logo Customization (#800) 2022-07-25 11:47:58 -07:00
Jamil
0c433b848f Remove old interface when changing names (#805)
* Remove old interface if it's going to be changed

* Remove old interface
2022-07-25 11:47:58 -07:00
Jamil
e0fa00c859 Use to_atom/1 for some ssl_opts keys (#806) 2022-07-25 11:47:58 -07:00
Jamil Bou Kheir
4b8b0c39ce Fix endpoint typo 2022-07-25 11:47:58 -07:00
Jamil
2de119a49e Docker dev polish (#803)
* checkpoint

* Docker dev environment final root cause analysis

* Update CONTRIBUTING.md

* Update apps/fz_common/lib/fz_net.ex

Co-authored-by: Po Chen <chenpaul914@gmail.com>

Co-authored-by: Po Chen <chenpaul914@gmail.com>
2022-07-25 11:47:58 -07:00