Jamil
7d2eb331e2
Update needs to set output ( #633 )
2022-05-18 21:17:51 -07:00
Jamil
51040eac8e
soft-require EXTERNAL_URL to be set ( #632 )
...
* soft-require EXTERNAL_URL to be set
* fix typos
2022-05-18 21:17:23 -07:00
Jamil
7dbc04ba43
Use release drafter resolved version ( #630 )
...
* Use release drafter resolved version
* Publish to drafted release on merges to master
* see if this works
* underscore -> hyphen
Co-authored-by: Po Chen <chenpaul914@gmail.com >
2022-05-18 19:58:08 -07:00
Po Chen
765e5782b6
Speed up admin ui ( #623 )
...
* speed up admin ui
* sync master
* implement live update of active sessions
2022-05-18 15:38:03 -07:00
Jamil
44c462e957
Fix docs publishing workflow ( #627 )
...
* Fix table overflow
* Fix docs publishing
2022-05-18 12:12:25 -07:00
Jamil
911dfd1f64
Fix table overflow ( #626 )
2022-05-18 12:12:09 -07:00
Jamil
8da17b6a6f
Use Athentication.sign_out/0 to clear session ( #624 )
2022-05-18 09:29:13 -07:00
Jamil
f5bae52536
Update ci.yml
2022-05-17 23:07:42 -07:00
Jamil
7679d66efe
Fix failing tests after switching to textarea ( #622 )
2022-05-17 22:36:16 -07:00
Po Chen
c5a4fa7768
change allowed ips to textarea ( #618 )
2022-05-17 22:08:08 -07:00
Jamil
a6eac62e34
Remove trailing whitespace introduced by Github ( #621 )
2022-05-17 22:07:08 -07:00
Jamil
6791ec9f15
Update ci.yml ( #620 )
2022-05-17 21:52:03 -07:00
Jamil
9919a43f42
Update ci.yml
2022-05-17 21:28:21 -07:00
Jamil
604b85525c
Update ci.yml
2022-05-17 21:24:37 -07:00
Jamil
d2bbe7fb61
Update ci.yml
2022-05-17 21:23:46 -07:00
Jamil
14f2e5c0b2
Update release-drafter.yml
2022-05-17 21:22:23 -07:00
Jamil
763555bd15
Fix release drafter matrix ( #619 )
2022-05-17 21:21:50 -07:00
Jamil
fe4f27c7f5
Fix release drafter compilation of erlang ( #617 )
...
* Use Release drafter at the end
* Draft releases on merges to master
* Remove patch for erlang
* Add workflow_dispatch trigger
2022-05-17 20:51:42 -07:00
Po Chen
4922ff143c
Show user on admin devices table ( #598 )
...
* Show user on admin devices table
* add link and test
2022-05-17 20:04:33 -07:00
Jamil
4b978959cd
Use Release drafter at the end ( #616 )
...
* Use Release drafter at the end
* Draft releases on merges to master
2022-05-17 17:42:51 -07:00
Jamil
56a307861d
Remove v prefix from resolved version
2022-05-17 17:24:45 -07:00
Jamil
0efa2a1df0
Bump deps ( #612 )
...
* Bump deps
* Fix erlang SHA256
Co-authored-by: Po Chen <chenpaul914@gmail.com >
Co-authored-by: Po Chen <chenpaul914@gmail.com >
2022-05-17 16:47:49 -07:00
Jamil
7bbe7411d9
Don't set default url opts in runtime ( #611 )
...
* Don't set default url opts in runtime
* Remove changes to config.exs
2022-05-17 16:47:39 -07:00
Jamil
ab6463a4af
Fix reverse tunnel docs ( #613 )
2022-05-17 15:59:48 -07:00
Andrew Rousset
9d60f8b218
Make Set-Cookie secure attribute false in dev environments ( #363 product) ( #610 )
...
Co-authored-by: Andrew Rousset <akr@valkyrie.local >
2022-05-17 15:16:40 -07:00
Po Chen
dd873d7c11
Dev on https ( #603 )
2022-05-17 15:15:47 -07:00
Jamil
ef3966ce82
Don't enable IPv6 forwarding if IPv6 isn't enabled. ( #609 )
...
Fixes #600
2022-05-17 15:15:08 -07:00
Jamil
11a2045b18
Increase QR code area by 2.25x ( #608 )
2022-05-17 13:01:31 -07:00
Po Chen
c161407a06
Migrate allowed ips on devices to text ( #602 )
...
* migrate allowed ips on devices
* migrate allowed ips on sites
also split into up and down
because modify field cannot rollback automatically
2022-05-17 12:39:59 -07:00
Jamil
0ded5d97ba
Add file locations to docs ( #607 )
...
* Add phoenix listen address
* Fix listen address
* Add file locations to docs
2022-05-17 11:28:22 -07:00
Jamil
b91848d756
Add phoenix listen address ( #604 )
...
* Add phoenix listen address
* Fix listen address
2022-05-17 11:27:49 -07:00
Po Chen
4598a4e213
replace moment with Intl.DateTimeFormat ( #597 )
2022-05-15 19:54:54 -07:00
Po Chen
2139762bca
fix mobile modal ( #596 )
2022-05-15 17:49:00 -07:00
Jamil
751f985b7b
Fix default config ( #593 )
2022-05-13 10:51:36 -07:00
Po Chen
1454c32a5a
fix mock ( #592 )
2022-05-12 23:03:18 -07:00
Po Chen
c7e003353b
Password reset ( #584 )
...
* send reset email
* migrate password reset to magic link
* finish up magic link
* add module doc for AuthEmail
* allow changing email and password
* update wording
* make credo happy
* add tests
* unwrap early
* add one more test
* renames
* add text alternative
* rename
* use bulma level
* disallow changing own email
* always pass down current user
* fix text email
cannot be heex
* Add brace back
2022-05-12 21:40:38 -07:00
Jamil
c990ea8691
Get OIDC working with Okta, Azure ( #590 )
2022-05-12 21:37:33 -07:00
Jamil
81da9ce893
Fix unprivileged device access ( #589 )
2022-05-12 17:01:26 -07:00
Mark Percival
055232ce46
Implement OpenID Connect for authentication ( #586 )
...
Implements the OpenID Connect standard for SSO Authentication
which allows users to use any OpenID Connect provider for authentication
not just a predefined list of providers
User can add OIDC config settings to firezone.rb which will then
populate the AUTH_OIDC environment variable as a JSON string.
FZ_HTTP will use this environment variable to create
provider(s) to authenticate against
Additional notes:
- Updates .env.sample to include an example of a 'stringified' JSON
environment variable for setting AUTH_OIDC in development
- Add dep for 'openid_connect' and test dep for 'mox'
2022-05-12 10:37:08 -07:00
Jamil
90c8ece94f
Run CI pipeline on pull requests ( #587 )
...
Allows CI to run for approved outside collaborators
2022-05-12 07:50:16 -07:00
Po Chen
298b353ebe
Implemet Outbound emails ( #576 )
...
* add mailer
* setup configs
* only setup mailer if from_email is present
* Do not assume OUTBOUND_EMAIL_FROM exists
* update docs
* add usage of mailer as tests
* address comments
2022-05-09 14:50:22 -10:00
Po Chen
fb29b1ee41
Add release drafter ( #581 )
2022-05-09 12:33:06 -10:00
Po Chen
85ec3defe3
Implement promote/demote feature ( #569 )
...
* Implement promote/demote feature
force reconnect
* improve user fixture creation
* add tests
* format
* refactor
* alias
2022-05-07 07:21:30 -07:00
Po Chen
b993584496
Update CONTRIBUTING.md ( #577 )
...
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
2022-05-05 16:54:30 -07:00
Po Chen
0a46a60389
Sync runtime versions with .tool-versions ( #578 )
2022-05-05 16:53:50 -07:00
Jamil
8293d41db7
Display latest_handshakes in device views ( #572 )
...
* Display latest_handshakes in device views
* Display latest handshake timestamp
* Move text check outside loop
2022-05-05 16:52:41 -07:00
Po Chen
b761db50da
update more dev configs ( #575 )
2022-05-05 06:58:32 -07:00
Mark Percival
7d01b49b98
Update devcontainer settings ( #574 )
...
- Add some packages to help with development (jq, nftables)
- Clean up env locale and install en_US
- Fix init script failure on *nix
- Add some ruby vscode extension
2022-05-05 05:21:48 -07:00
Jamil
53d8f0803a
Don't remove cookies twice ( #571 )
2022-05-03 15:57:10 -07:00
Jason G
d0fad02c1b
Update twitter link on docs + readme ( #570 )
...
* update footer link
* update readme and docs config
2022-05-03 15:55:07 -07:00