Mathias Fredriksson
ca96e670ed
test: fix incorrectly placed cleanup defer in dbtestutil ( #15987 )
2024-12-31 16:28:29 +02:00
Mathias Fredriksson
cc98bab30f
chore(scripts): remove unused ci-report ( #15988 )
2024-12-31 14:05:36 +00:00
Mathias Fredriksson
64283abaf8
chore(Makefile): add convenience gen/db ( #15983 )
2024-12-31 15:47:47 +02:00
Steven Masley
c9eb06eb97
chore: remove dead link to azure docs issues ( #15982 )
2024-12-31 16:17:59 +05:00
Phorcys
5294f7aae3
chore: add CONTRIBUTING.md ( #15981 )
2024-12-31 13:07:32 +05:00
Bruno Quaresma
49fadb801d
refactor: update the navbar to match the new designs ( #15964 )
...
Update the navbar to match the designs in [this Figma
file](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=656-2354&t=4a6pX5tQU5Ti2Oyi-0 ).
Related to https://github.com/coder/coder/issues/15617 .
**Desktop preview:**
https://github.com/user-attachments/assets/01ce7cd2-baaa-49c4-9e9a-bf6e675151da
**Mobile preview:**
https://github.com/user-attachments/assets/155e2521-7293-4368-a5f5-425179d76326
For a closer look, you can check Chromatic snapshots or test the changes
locally.
**A few considerations:**
- I made some adjustments to improve the design, such as removing the
chevron from the profile menu and reducing the size of the chevrons in
the dropdowns. I’ve documented these changes in the [Figma
file](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=656-2354&t=4a6pX5tQU5Ti2Oyi-0 )
so @chrifro can review them after returning from vacation.
- Some of the design questions involve how the proxy and account
dropdown menus should look on desktop and mobile. For desktop, I decided
to retain the current styles, and for mobile, I tried to infer how they
should look based on the existing design.
- There is some duplicated logic between the regular/desktop navbar
menus and the mobile menus, which could lead to inconsistencies and make
maintenance harder in the future. I plan to address this in a follow-up
PR to keep this review manageable.
- I’ve added tests to minimize inconsistencies and potential bugs while
working on this refactor.
2024-12-30 14:25:00 -03:00
Steven Masley
459003fdb1
chore: update guts to first tagged release ( #15975 )
...
Changes error about name collision in generation to a warning. The name
collision still exists, just moved it to a warning rather than an error
in the logs.
2024-12-30 10:45:38 -06:00
Sas Swart
14579fa55a
chore(Makefile): add shell safety to fmt/go ( #15974 )
...
This PR adds shell safety to `make fmt/go` as per
https://github.com/coder/coder/pull/15971#discussion_r1899423172
2024-12-30 12:56:22 +02:00
Sas Swart
6434199a86
chore(Makefile): ensure that make fmt/go only formats go source files ( #15971 )
...
An unfortunate branch name resulted in failures when running `make
fmt/go` and consequently `make fmt`. fmt should not be run on the .git
directory. This PR excludes `.git` and anything else that's not a go
source file in the currently checked out branch from the consideration
of `make fmt/go`.
2024-12-30 11:45:06 +02:00
Phorcys
8befb34eca
feat(examples/templates/digitalocean-linux): add code-server and jetbrains gateway modules ( #15546 )
2024-12-27 21:45:29 +01:00
Bruno Quaresma
d02ff9069a
refactor: use apple emojis ( #15965 )
...
Closes https://github.com/coder/coder/issues/14998
2024-12-27 15:03:25 -03:00
Joobi S B
638247c9a6
feat: allow entering non-default values in multi-select ( #15935 )
2024-12-27 16:45:46 +05:00
Bruno Quaresma
865969400b
chore: add Collapsible component ( #15961 )
...
This component is needed to complete the mobile menu for the [navbar
refactoring task](https://github.com/coder/coder/issues/15617 ). You can
check out the Figma design
[here](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=656-2354&t=jm6tERwCzB1TBeds-0 ).
2024-12-26 16:03:28 -03:00
Phorcys
03edd604a7
chore(examples/templates/digitalocean-linux): make template more friendly ( #15938 )
2024-12-25 00:52:23 +05:00
Cian Johnston
26b1f1c3a3
chore(docs/admin/infrastructure): call out and link to awsiamrds auth for aws rds ( #15955 )
...
Call out AWS IAM RDS db auth and clarify URL encoding requirement in postgres URL
2024-12-24 12:22:40 +00:00
dependabot[bot]
314bb67dbe
chore: bump github.com/gohugoio/hugo from 0.139.4 to 0.140.0 ( #15951 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 13:32:54 +00:00
dependabot[bot]
ec3e461b42
chore: bump google.golang.org/api from 0.213.0 to 0.214.0 ( #15949 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 18:16:46 +05:00
dependabot[bot]
20d51067ab
chore: bump golang.org/x/net from 0.32.0 to 0.33.0 in the x group ( #15948 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 18:15:39 +05:00
dependabot[bot]
572461be83
chore: bump github.com/moby/moby from 27.3.1+incompatible to 27.4.1+incompatible ( #15916 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 15:43:15 +05:00
dependabot[bot]
70ca6e3eeb
chore: bump github.com/valyala/fasthttp from 1.56.0 to 1.58.0 ( #15880 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 10:21:24 +00:00
dependabot[bot]
8d05e599f6
chore: bump github.com/hashicorp/terraform-json from 0.23.0 to 0.24.0 ( #15876 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 14:51:42 +05:00
Phorcys
c41d7c38ae
feat(examples/templates/kubernetes-devcontainer): switch code-server to a module and add JetBrains ( #15545 )
2024-12-21 16:38:29 +05:00
Jaayden Halko
5786a13ac9
chore: apply design changes to the admin settings menu dropdown ( #15947 )
...
resolves coder/internal#177
Design changes for the admin settings menu dropdown
<img width="327" alt="Screenshot 2024-12-20 at 17 44 48"
src="https://github.com/user-attachments/assets/04af04b3-bfa2-4659-b31c-58252bf43c05 "
/>
2024-12-20 17:55:19 -05:00
Bruno Quaresma
809c6114be
chore: add DropdownMenu component ( #15941 )
...
Related to https://github.com/coder/coder/issues/15617
2024-12-20 14:12:48 -03:00
Steven Masley
2bba3d7b7c
chore: update coder/tailscale to latest main ( #15927 )
...
To bring in https://github.com/coder/tailscale/pull/66
Closes https://github.com/coder/coder/issues/15616
2024-12-20 09:13:25 -06:00
Steven Masley
6e021b64b4
chore: record and raise problematic http protocols for each proxy ( #15917 )
...
Adds warnings to the proxy and proxy health pages on HTTP 1.1, 1.0, 0.9
protocols.
Only the performance API can return the HTTP protocol type. We already
use the performance API for latency timings, and each proxy could have
this issue.
2024-12-20 09:11:45 -06:00
Danielle Maywood
f0e81ab455
feat: notify on workspace creation ( #15934 )
2024-12-20 13:53:10 +00:00
Bruno Quaresma
f5d3f713c6
fix: use icon mode for org avatar ( #15945 )
...
Fix related to https://github.com/coder/coder/pull/15930
2024-12-20 13:48:03 +00:00
Bruno Quaresma
300ad87c2e
refactor: replace and remove deprecated Avatar component ( #15930 )
...
Close https://github.com/coder/coder/issues/14997
2024-12-20 09:57:51 -03:00
Danielle Maywood
137dc6e226
fix: remove update to workspace TTL on template TTL change for AGPL ( #15943 )
2024-12-20 09:52:03 +00:00
Cian Johnston
9e9a5fd204
chore(coderd/coderdtest): wait for provisioner daemons to be connected ( #15936 )
...
Fixes https://github.com/coder/internal/issues/260
2024-12-20 09:49:19 +00:00
ケイラ
962608cde0
chore: allow signing in as non-admin users in e2e tests ( #15892 )
...
Closes coder/internal#168
Gets rid of the "global state" authentication, and adds a `login` helper
which should be called at the beginning of each test. This means that
not every test needs to authenticated as admin, and we can even have
tests that encompass multiple permission levels.
We also now create more than just the single admin user during setup, so
that we can have a set of users to pick from as appropriate.
2024-12-19 16:16:34 -07:00
Jaayden Halko
1ead56fdc9
fix: add missing idp-org-sync sidebar item ( #15933 )
...
During the work to split the deployment and organizations sidebars, the
sidebar item for idp organization sync was accidentally removed.
2024-12-19 18:14:09 -05:00
dependabot[bot]
f34f275bb4
chore: bump the emotion group across 2 directories with 4 updates ( #15833 )
2024-12-19 15:35:38 -07:00
Mathias Fredriksson
d59fddbf6a
test(cli/clitest): pad replacements for table alignment ( #15942 )
2024-12-20 00:06:22 +02:00
Spike Curtis
63572d9f53
fix: loosen timing checks for heartbeats ( #15923 )
...
Fixes #15782 .
I believe that Windows doesn't always have high-resolution timers available, so this PR loosens the check for PG Coordinator heartbeats, to avoid flakes like:
https://github.com/coder/coder/actions/runs/12397381823/job/34607639048
2024-12-19 13:49:01 +04:00
dependabot[bot]
9ef22bebc4
chore: bump google.golang.org/grpc from 1.68.0 to 1.69.2 ( #15928 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 08:26:17 +00:00
dependabot[bot]
6499106796
chore: bump google.golang.org/api from 0.210.0 to 0.213.0 ( #15929 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 13:12:40 +05:00
Edward Angert
e7152d67c4
docs: add a link to the quickstart guide in the install Coder document ( #15931 )
2024-12-19 12:47:21 +05:00
Muhammad Atif Ali
7697005663
chore(dogfood): prevent downloading modules on workspace stop ( #15922 )
2024-12-19 12:46:41 +05:00
Jaayden Halko
cdc1978f4d
feat: add breadcrumbs to admin settings pages ( #15865 )
...
resolves coder/internal#174
Uses shadcn/ui for admin settings breadcrumbs
Figma:
https://www.figma.com/design/OR75XeUI0Z3ksqt1mHsNQw/Dashboard-v1?node-id=139-1380&m=dev
<img width="1180" alt="Screenshot 2024-12-13 at 21 37 18"
src="https://github.com/user-attachments/assets/7ab5faa0-dcc9-437e-9ecf-5365cea5d69e "
/>
<img width="1178" alt="Screenshot 2024-12-13 at 21 37 27"
src="https://github.com/user-attachments/assets/b0b55ec2-8a9e-4316-a850-a37480173f9c "
/>
2024-12-18 17:35:31 -05:00
Jaayden Halko
8e61e4a0be
feat: split management settings sidebar into deployment/organization sidebars ( #15388 )
...
resolves coder/internal#199
Currently the admin settings has a combined sidebar for deployment
settings and organization settings, this PR separates the sidebar in 2
sidebars for deployment and organization settings.
This is preparation for the redesign work of the organization settings
sidebar where a dropdown will be user to select and create new
organizations.
see figma:
https://www.figma.com/design/OR75XeUI0Z3ksqt1mHsNQw/Dashboard-v1?node-id=684-5287&m=dev
This also does some of the initial redesign work for the sidebars using
Tailwind.
<img width="1172" alt="Screenshot 2024-11-05 at 5 28 47 PM"
src="https://github.com/user-attachments/assets/5ede14fa-1da9-4e74-a967-81f4e5772c68 ">
<img width="1169" alt="Screenshot 2024-11-05 at 5 28 56 PM"
src="https://github.com/user-attachments/assets/459339ba-f3bf-4ef2-b86a-143c922108b7 ">
2024-12-18 17:18:46 -05:00
Spike Curtis
2c7f8ac65f
chore: migrate to coder/websocket 1.8.12 ( #15898 )
...
Migrates us to `coder/websocket` v1.8.12 rather than `nhooyr/websocket` on an older version.
Works around https://github.com/coder/websocket/issues/504 by adding an explicit test for `xerrors.Is(err, io.EOF)` where we were previously getting `io.EOF` from the netConn.
2024-12-19 00:51:30 +04:00
Garrett Delfosse
50333d312f
feat: add workspace-proxy-url flag to scaletest workspace-traffic ( #15920 )
...
This allows the command to target a workspace proxy when appropriate.
Part of https://github.com/coder/internal/issues/149
So far I've verified the correct url being used with logs:
```
➜ coder git:(f0ssel/workspace-traffic-proxy) ✗ go run ./cmd/coder/main.go exp scaletest workspace-traffic --job-timeout=60s --workspace-proxy-url="https://paris.fly.dev.coder.com "
Running load test...
web url: https://paris.fly.dev.coder.com
...
➜ coder git:(f0ssel/workspace-traffic-proxy) ✗ go run ./cmd/coder/main.go exp scaletest workspace-traffic --job-timeout=60s --workspace-proxy-url="https://paris.fly.dev.coder.com " --app="code-server"
Running load test...
app url: https://paris.fly.dev.coder.com/@f0ssel/scaletest-1.dev/apps/code-server
```
2024-12-18 11:53:01 -05:00
Phorcys
7be96bbb09
chore(docs): clarify that variables be edited through the web UI ( #15799 )
2024-12-18 15:55:19 +00:00
Bruno Quaresma
02fd7582de
chore: ignore storybook files on biome ( #15918 )
2024-12-18 14:11:11 +00:00
Steven Masley and Cian Johnston
fe98644393
chore: ensure go file is valid during generation ( #15903 )
...
Closes https://github.com/coder/internal/issues/258
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2024-12-18 07:20:26 -06:00
Steven Masley
13bb4492c9
chore: remove apitypings specific go.mod ( #15899 )
...
Keeping the deps in sync between this and the primary go.mod is
a headache.
adds Tailscale generated types
2024-12-18 07:18:31 -06:00
dependabot[bot]
e0f802223d
chore: bump lucide-react from 0.454.0 to 0.462.0 in /site ( #15700 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-18 12:55:05 +00:00
Marcin Tojek
7c82b83232
fix: adjust validation errors for template schedule form ( #15915 )
...
Fixes: https://github.com/coder/coder/issues/15910
This PR sets custom validation errors for the Template Schedule form
when the given value is not integer.
2024-12-18 13:38:19 +01:00