Andrew Dryga
1ace6d4ad4
chore(portal): Change name and structure of relays presence event ( #4623 )
2024-04-16 05:11:43 +00:00
Jamil
c8917a58c5
refactor: Discord -> Slack ( #4616 )
...
Fixes firezone/bizops#82
2024-04-15 22:05:29 +00:00
Jamil
7775e5213e
fix(portal): remove typo in manual command var ( #4614 )
...
This breaks copy-pasting the token from the Deploy Gateway page:
<img width="341" alt="Screenshot 2024-04-13 at 2 59 08 PM"
src="https://github.com/firezone/firezone/assets/167144/1cb6bc9e-e2ae-476b-85ac-7d0e1b635945 ">
2024-04-15 10:01:22 -06:00
Andrew Dryga
a0e69813c0
feat(portal): Broadcast relays presence updates to the client and return them in init ( #4596 )
...
`relays` will be removed from `prepare_connection` in a few weeks after
we release a version that reads them from `init` message. Keep in mind
technically `relays` list can be empty, it would be nice if clients
would log an error or show it in such cases.
2024-04-12 11:26:48 -06:00
Andrew Dryga
d575dc3866
hotfix: Remove runtime:false from Phoenix dep in domain app
2024-04-12 00:05:38 -06:00
Andrew Dryga
c074285dec
Bump LoggerJSON version
2024-04-11 23:34:59 -06:00
Andrew Dryga
33389969f5
hotfix: set project_id for log formatter
2024-04-11 19:40:37 -06:00
Andrew Dryga
13d7312738
chore(portal): Try new LoggerJSON implementation ( #4595 )
2024-04-11 17:54:44 -06:00
Andrew Dryga
e031aeb9a9
hotfix: fix assumed event datetime format
2024-04-11 13:39:49 -06:00
Andrew Dryga
b6763f192b
hotfix: set correct metric intervals
2024-04-11 11:50:45 -06:00
Andrew Dryga
5005b4e10a
hotfix: change some metric kinds to be gauge instead of cumulative
2024-04-11 10:44:45 -06:00
Jamil
d1a3c3aeff
style(docs): Use simple <pre> for monospace blocks ( #4582 )
...
- Add logs export example, fixes #4051
- Use brand color palette for `pre` blocks
These have been updated to match our colorscheme.
Code blocks (\`\`\`elixir) will pull in the syntax highlighting but
these simple ones will use our color palette:
<img width="780" alt="Screenshot 2024-04-10 at 7 18 02 PM"
src="https://github.com/firezone/firezone/assets/167144/166cd5a7-c8cd-456b-a1c1-5faeab20d0f8 ">
2024-04-11 15:31:01 +00:00
Andrew Dryga
b30df80fc2
hotfix: typo in tests
2024-04-10 22:04:34 -06:00
Andrew Dryga
3d395895de
hotfix: increase metrics buffer size and timeout
2024-04-10 20:45:27 -06:00
Jamil
3894967a31
fix(portal): Bump jose ( #4581 )
...
https://nvd.nist.gov/vuln/detail/CVE-2023-50966
2024-04-10 19:26:49 -07:00
Jamil
027db64322
refactor(docs): Docs polish iteration, add DoH known issue ( #4579 )
...
Fixes #4310
---------
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Co-authored-by: Brian Manifold <bmanifold@users.noreply.github.com >
2024-04-10 18:31:26 -07:00
Andrew Dryga
8f3c8160db
hotfix: make sure metric interval bounds do not overlap
2024-04-10 16:47:11 -06:00
Andrew Dryga
45c644ec8a
hotfix: fix reporter name
2024-04-10 15:12:15 -06:00
Andrew Dryga
b0590fa532
chore(portal): Send metrics to Google Cloud Monitoring ( #4564 )
2024-04-10 13:04:59 -06:00
Jamil
da3f95a9da
chore(portal): normal weight for helptext ( #4572 )
...
FF is ok but on Chrome it's a bit hard to read:
<img width="451" alt="Screenshot 2024-04-10 at 6 51 19 AM"
src="https://github.com/firezone/firezone/assets/167144/3f152c4f-2903-4c26-b20e-5f239d39c28e ">
`font-normal text-neutral-400`
<img width="518" alt="Screenshot 2024-04-10 at 6 56 57 AM"
src="https://github.com/firezone/firezone/assets/167144/c8d8dc59-b69b-468c-b9cb-d70c622a938f ">
2024-04-10 14:43:16 +00:00
Andrew Dryga
439b9704b1
feat(portal): Allow completely deleting accounts ( #4557 )
...
We need "ON DELETE CASCADE" everywhere to fully erase account-related
data. As a safeguard measure the account can only be deleted after its
subscription in Stripe is cancelled.
2024-04-09 14:43:22 -06:00
Andrew Dryga
0b1ffd1339
chore(portal): Show support options on the billing page and remove features table ( #4559 )
...
Closes https://github.com/firezone/gtm/issues/237
<img width="1728" alt="Screenshot 2024-04-09 at 12 15 53"
src="https://github.com/firezone/firezone/assets/1877644/594a765d-363e-424d-bd70-0d9e1b1f50fa ">
2024-04-09 14:42:48 -06:00
Andrew Dryga
98b49fd34d
fix(portal): Show count of returned records instead of page size ( #4558 )
...
Closes #4556
2024-04-09 17:25:22 +00:00
Brian Manifold
0d65d016b7
feat(portal): Add API Client UI ( #4023 )
...
Why:
* As work on the portal REST API has begun, there was a need to easily
provision API tokens to allow testing of the new API endpoints being
created. Adding the API Client UI allows for this to be done very easily
and will also be used once the API is ready to be consumed by customers.
Closes #2368
2024-04-09 16:05:17 +00:00
Brian Manifold
c37882148d
refactor(portal): Update actor group selection in portal ( #4467 )
...
Why:
* When creating or editing an actor, the previous form had a
multi-select input that would list all groups in the account. In order
to select or deselect groups, you would need to hold down ctrl or cmd on
the keyboard and click a given group. This worked when there were a very
small number of groups, but if an account had a moderate number of
groups it became very difficult. Along with that, it was also easy to
accidentally forget to hold down ctrl/cmd and click a group, which would
clear all previously selected groups. This commit moves the group
selection out from the new/edit actor pages and creates a new actor
group edit page that allows a user to search for groups as well as
making it easy to select which group should be added or removed.
Fixes #4372
<img width="1008" alt="Screenshot 2024-04-03 at 1 37 25 AM"
src="https://github.com/firezone/firezone/assets/2646332/bca9163b-bbaf-49ef-b3b9-8c6770e8c307 ">
2024-04-09 02:56:54 +00:00
Andrew Dryga
95a7186953
chore(portal): Fix flaky tests ( #4543 )
...
Closes #4509
2024-04-08 10:13:37 -06:00
Andrew Dryga
1078c292d3
fix(portal): Ship hotfixes for various crash reports discovered in logs ( #4538 )
...
I'll merge and push this right away to prevent users from hitting edge
cases and our monitoring from triggering alerts.
2024-04-08 02:20:26 -06:00
Andrew Dryga
cb56d768f4
revert(portal): "chore(portal): Save MAU billing for a future feature update ( #4414 )"
...
This reverts commit 6b9231a21b .
2024-04-08 01:29:31 -06:00
Jamil
6b9231a21b
chore(portal): Save MAU billing for a future feature update ( #4414 )
...
Just updating the UI to be a bit more consistent.
Will be nice to offer MAU billing along with directory sync to Team plan
in a future feature release.
<img width="635" alt="Screenshot 2024-03-31 at 8 49 01 AM"
src="https://github.com/firezone/firezone/assets/167144/4a309035-527b-4d4f-96d3-d5b8abeaa03b ">
2024-04-07 09:26:05 -07:00
Jamil
703b397a86
chore(portal): Add Sign in from sign up form ( #4529 )
2024-04-05 20:18:55 -07:00
Andrew Dryga
e2ee6bbc5e
chore(portal): Add users limit and use it as default limit for accounts ( #4527 )
...
A manual migration will be needed (run
`Domain.Ops.sync_pricing_plans()`) to sync the limits for all the
accounts.
2024-04-05 15:20:02 -06:00
Andrew Dryga
5e3161c553
Fix typo
2024-04-03 19:25:49 -06:00
Andrew Dryga
f29bf5010b
chore(portal): Increase websocket api timeout to 307 seconds ( #4489 )
2024-04-03 17:24:07 -06:00
Andrew Dryga
e8dc190879
Fix tests
2024-04-03 11:01:05 -06:00
Andrew Dryga
4f012fe8f9
hotfix: enforce default address description while it's hidden
2024-04-03 09:54:44 -06:00
Andrew Dryga
6e60ca0803
hotfix: try a different workaround to fix flaky bypass test
2024-04-02 13:33:11 -06:00
Andrew Dryga
4bd692bc6c
hotfix: Log Account ID on billing portal errors
2024-04-02 13:14:50 -06:00
Andrew Dryga
8f4e6a2540
hotfix: Do not raise on 4XX status codes when connecting a provider
2024-04-02 13:14:50 -06:00
Andrew Dryga
2fc18fa538
Add ops script to sync all subscription plans
...
This is helpful when we update a plan limits and want to pull them to all the accounts
2024-04-02 12:31:08 -06:00
Andrew Dryga
2468a12b49
chore(portal): Fix flaky test ( #4454 )
...
Closes #4410
2024-04-02 10:37:37 -06:00
Jamil
38a373a6b9
fix(portal): Correct Edit account page title and label ( #4412 )
...
Fixes #4411
2024-03-31 19:52:06 +00:00
Andrew Dryga
51afb4c227
fix(portal): Persist first user email to Stripe during account sign up ( #4408 )
2024-03-30 13:40:52 -06:00
Andrew Dryga
0c794a374f
chore(portal): Increase page size to maximum when using MS Graph API ( #4399 )
...
For very large accounts we will make 9x less requests, meaning less
changes for timeout and no additional rountrips to the API.
2024-03-30 09:10:14 -06:00
Brian Manifold
f5bb02d36e
refactor(portal): Move actor groups to own table in actor show page ( #4392 )
...
Why:
* When viewing an actor in the portal, all of the groups were listed in
the top info table. This works for a small number of groups, but becomes
difficult to use when an actor is in a large number of groups. This
commit moves that information to it's own `live_table` element so that
it's easier to parse and can be paginated.
2024-03-29 14:50:04 -06:00
Andrew Dryga
595e058e47
fix(portal): Reuse code across sync jobs, only lock one row per job and fetch data asynchronously ( #4396 )
2024-03-29 14:48:24 -06:00
Jamil
1cfa80399e
fix(connlib): Don't roll log files ( #4390 )
...
Fixes #4377
Closes #3910
If we decide to implement diagnostic log collection in the future it
will be opt-in and use something like Sentry.
2024-03-29 04:24:24 +00:00
Andrew Dryga
fe1a627f4b
Create everyone group on account sign up ( #4388 )
2024-03-28 17:23:08 -06:00
Andrew Dryga
2cf63cb33a
fix(portal): Serve static files with digests at root ( #4386 )
...
Closes #4384
2024-03-28 16:13:13 -06:00
Andrew Dryga
dc75a075b9
fix(porta): Greatly improve HTTP 500 error page ( #4382 )
...
<img width="1728" alt="Screenshot 2024-03-28 at 15 00 19"
src="https://github.com/firezone/firezone/assets/1877644/174c54c2-b958-416f-ad50-9c2af4103bfc ">
2024-03-28 15:39:12 -06:00
Andrew Dryga
582a5efaa3
fix(portal): Do not redact userpass virtual state (its a virtual field anyway) ( #4370 )
...
Closes #4354
2024-03-28 15:29:51 -06:00