Kyle Carberry
f75a54cd1e
feat: Support x-forwarded-for headers for IPs ( #4684 )
...
* feat: Support x-forwarded-for headers for IPs
Fixes #4430 .
* Fix realip accepting headers
* Fix unused headers
2022-10-23 13:21:49 -05:00
Ammar Bandukwala
795ed3dc97
provisioner: fix multi-dir installs ( #4690 )
...
In the previous implementation, tests would occasionally fail since the original install directory was deleted.
2022-10-22 20:44:05 +00:00
Dean Sheather
d0fb054a55
fix: improve codersdk error messages when not JSON ( #4495 )
2022-10-21 23:36:31 +00:00
Kyle Carberry
7bc5b89f7a
feat: Support config files with viper ( #4696 )
2022-10-21 17:08:23 -05:00
Kyle Carberry
adc5c1a131
fix: Load template page chunks without blocking ( #4689 )
2022-10-21 16:56:52 -05:00
Garrett Delfosse
e8537067ef
Revert "Revert "Revert "feat: Support config files with viper"" ( #4693 )" ( #4695 )
...
This reverts commit 372fb1f345 .
2022-10-21 16:07:38 -05:00
Garrett Delfosse
372fb1f345
Revert "Revert "feat: Support config files with viper"" ( #4693 )
2022-10-21 20:55:20 +00:00
Kyle Carberry
d15b4159ef
Add import for use translation
2022-10-21 20:35:21 +00:00
Garrett Delfosse
a2fb444911
Revert "feat: Support config files with viper ( #4558 )" ( #4692 )
...
This reverts commit c8e299c8f1 .
2022-10-21 20:04:27 +00:00
Kyle Carberry
0d27b59ebb
feat: Add emoji picker to group settings ( #4685 )
...
Fixes #4413 .
2022-10-21 19:42:38 +00:00
Garrett Delfosse
c8e299c8f1
feat: Support config files with viper ( #4558 )
2022-10-21 19:26:39 +00:00
Kyle Carberry
2c47cda3d1
fix: Wrap applications if there are a bunch ( #4686 )
...
Fixes #4672 .
2022-10-21 14:08:08 -05:00
Kyle Carberry
31b61d1bf8
fix: Remove license on Coder Docker image ( #4683 )
...
I didn't know what do change it to, but figured removing it
made the most sense. Fixes #3723 .
2022-10-21 12:31:10 -05:00
Kyle Carberry
4d8cc7594d
fix: Remove extra unicode char from some emojis ( #4682 )
...
Fixes #3689 .
2022-10-21 17:28:01 +00:00
Eric Paulsen
72288c3685
fix: coder resource template ( #4681 )
2022-10-21 10:07:05 -05:00
Mathias Fredriksson
173b7a2c83
fix: Start SFTP sessions in user home (working directory) ( #4549 )
...
* fix: Start SFTP sessions in user home (working directory)
This commit switches to our fork of `pkg/sftp` which includes a Server
option for changing the current working directory.
Attempt to upstream: https://github.com/pkg/sftp/pull/528
Supercedes and closes #4420
Fixes #3620
* Update fork
2022-10-21 09:54:06 -05:00
Kira Pilot
940201313f
chore: remove org_id from audit diffs ( #4668 )
...
* chore: remove org_id from audit diffs
* PR feedback
* fix tests
2022-10-21 10:34:24 -04:00
Dean Sheather
47cb9abfc2
feat: support wildcard apps over tunnel ( #4602 )
2022-10-21 08:09:44 +10:00
Kyle Carberry
43d1f724b1
chore: Implement database limits from v1 ( #4669 )
...
Under scale if there wasn't a PostgreSQL connection available,
an error was occurring instead of blocking for a new connection.
This fixes it!
2022-10-20 18:17:05 +00:00
Presley Pizzo and Garrett
7c238f13e5
feat: paginate workspaces page ( #4647 )
...
* Start - still needs api call changes
* Some xservice changes
* Finish adding count to xservice
* Mock out api call on frontend
* Handle errors
* Doctor getWorkspaces
* Add types, start writing count function
* Hook up route
* Use empty page struct
* Write interface and database fake
* SQL query
* Fix params type
* Missed a spot
* Space after alert banner
* Fix model queries
* Unpack query correctly
* Fix filter-page interaction
* Make mobile friendly
* Format
* Test backend
* Fix key
* Delete unnecessary conditional
* Add test helpers
* Use limit constant
* Show widget with no count
* Add test
* Format
* make gen from garretts workspace idk why
* fix authorize test'
* Hide widget with 0 records
* Fix tests
* Format
* Fix types generated
* Fix story
* Add alert banner story
* Format
* Fix import
* Format
* Try removing story
* Revert "Fix story"
This reverts commit c06765b7fb .
* Add counts to page view story
* Revert "Try removing story"
This reverts commit 476019b041 .
Co-authored-by: Garrett <garrett@coder.com >
2022-10-20 13:23:14 -04:00
Ammar Bandukwala
423ac04156
coderd: tighten /login rate limiting ( #4432 )
...
* coderd: tighten /login rate limit
* coderd: add Bypass rate limit header
2022-10-20 17:01:23 +00:00
Ben Potter
43f199a987
docs: small tweaks to "change management" ( #4532 )
2022-10-20 15:14:06 +00:00
Steven Masley
369b5d1c2d
chore: Add generics to typescript generator ( #4664 )
...
* feat: Support generating generics in interfaces
* Switch struct to a template
* Support generics in apitypings
2022-10-20 08:15:24 -05:00
Jon Ayers
d0b1c36d51
fix: prevent refreshing tokens that don't exist ( #4661 )
...
- When logging in with Google OIDC refresh tokens are not
provided unless explicitly asked for. This PR updates
the logic to avoid attempting to refresh the token if
a refresh token does not exist.
A session should only be dependent on a valid Coder API
key, the state of its OAuth token (beyond initial authentication)
should be irrelevant.
2022-10-20 00:25:57 -05:00
Ben Essex
49787a4924
docs: fix typo in dotfiles.md ( #4663 )
2022-10-20 04:57:37 +00:00
Ammar Bandukwala
63602bf568
dogfood: upgrade postgres to version 13 ( #4657 )
...
* Fix container updating
2022-10-20 03:06:57 +00:00
Ammar Bandukwala
fa49ccd058
coderd/metricscache: fix test race ( #4662 )
2022-10-20 02:36:00 +00:00
Jon Ayers
7a5ae1e552
fix: delete all sessions on password change ( #4659 )
...
- Prevent users from reusing their old password
as their new password.
2022-10-19 21:12:03 -05:00
Ammar Bandukwala
ea156cce2e
dogfood: upgrade postgres ( #4642 )
2022-10-19 19:33:26 +00:00
eb04a7e7a5
feat: adding gcp quickstart ( #4348 )
...
* adding gcp tutorial
* refactor(seo): gcp to google cloud platform
* docs(quickstart): add next steps and title
* adding changes and gcp image
* adding ammar changes
Co-authored-by: Ali Diamond <user@ali.dev >
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com >
2022-10-19 13:52:56 -05:00
Ben Potter
75b058a475
chore: fix agent tooltips ( #4654 )
2022-10-19 11:40:01 -05:00
Eric Paulsen
f9480ed576
add: helm binary download cmd ( #4526 )
2022-10-19 11:39:44 -05:00
Ben Potter
df39920fcd
fix: remove default namespace in k8s example ( #4645 )
2022-10-19 16:34:03 +00:00
Ben Potter
487cc0cd74
docker quickstart: mention tunnel + troubleshooting ( #4653 )
2022-10-19 11:30:27 -05:00
Eric Paulsen and Dean Sheather
fbbecf0846
helm: add sa annotations ( #4640 )
...
* helm: add sa annotations
* rm: test annotation
* fix: labels bracket
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Dean Sheather <dean@deansheather.com >
v0.10.2
2022-10-19 13:49:48 +00:00
Ammar Bandukwala
d49d57ec4b
provisioner: don't pass CODER_ variables ( #4638 )
2022-10-19 09:42:29 -04:00
Ben Potter
12cb4f1eb3
docs: add Caddy+LetsEncrypt TLS example ( #4585 )
...
* structure
* docs: add Caddy+LetsEncrypt TLS example
2022-10-19 07:20:11 -05:00
Ben Potter
0727c98313
docs: offline (air-gapped) installs ( #4644 )
...
* chore: add docs for offline (air-gapped) installs
* mention postgresql
2022-10-19 06:12:43 -05:00
Jon Ayers
0d1096da6c
feat: add auditing for groups ( #4527 )
...
- Clean up `database.TemplateACL` implementation.
2022-10-19 02:00:45 -05:00
Ben Potter
d4585fefb8
chore: remove bare template ( #4629 )
2022-10-19 03:47:08 +00:00
Colin Adler
0a5e5544b1
fix: time.NewTicker leaks ( #4630 )
2022-10-18 15:26:21 -05:00
Bruno Quaresma
5d7d8c3a9a
refactor: Update resources to look as a stack ( #4631 )
2022-10-18 15:52:47 -04:00
Bruno Quaresma
906046c1cc
feat: Add minor settings improvements ( #4626 )
2022-10-18 19:25:52 +00:00
Bruno Quaresma
0d67dfc215
fix: Agent version is only visible when connected ( #4619 )
2022-10-18 18:19:25 +00:00
Ammar Bandukwala
1984932dc9
coderd/metricscache: attempt to fix macOS race ( #4622 )
2022-10-18 17:28:40 +00:00
Ben Potter
39498b6531
fix: invalid docs links in "deployment settings" ( #4617 )
2022-10-18 17:12:06 +00:00
Bruno Quaresma
616fe7a3b1
feat: Redesign resources table ( #4600 )
2022-10-18 13:44:58 +00:00
Jon Ayers
61683f1961
fix: allow for alternate usernames on conflict ( #4614 )
2022-10-17 22:07:11 -05:00
Kyle Carberry
3c40698033
chore: Enforce PostgreSQL >=13 ( #4612 )
...
* chore: Enforce PostgreSQL >=13
Fixes #4608 .
* Fix version string parsing
v0.10.1
2022-10-17 20:02:25 -05:00
Eric Paulsen
614e40c0f5
add: postgres version requirement ( #4611 )
2022-10-18 00:24:49 +00:00