Spike Curtis
4b0ed06a26
Remove set -u on yarn_install.sh to allow it to run on zsh ( #1930 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-05-31 13:50:18 -07:00
G r e y
56ec53d04b
fix: derive running ws stop time from deadline ( #1920 )
...
* refactor: isWorkspaceOn utility
Summary:
A utility is function is added that answers the question if a workspace
is on.
Impact:
This is a shared piece of logic in workspace scheduling presentations.
In particular it unblocks work in 1779, or at least allows an
implementation that shares details with the WorkspaceScheduleBanner.
Notes:
We could possibly instead return whether the workspace is "ON",
"UNKNOWN", or "OFF". Maybe a future improvement for that could be made
as the neds arrises.
* fix: derive running ws stop time from deadline
Summary:
When a workspace is on, the remaining time until shutdown needs to be
derived from the deadline timestamp, not implied from the TTL
2022-05-31 15:50:03 -04:00
G r e y
c6167a94ef
refactor: remove dangling comment ( #1929 )
2022-05-31 19:39:29 +00:00
Bruno Quaresma
65c17a04df
feat: Add selected template link at the template select field ( #1918 )
2022-05-31 18:28:22 +00:00
Bruno Quaresma
75bcb739f9
refactor: Make login headline one line and add auth method section ( #1922 )
2022-05-31 16:40:56 +00:00
Kira Pilot
555bf2461a
fix: change color of time icon for dark mode ( #1923 )
...
resolves #1791
2022-05-31 12:33:15 -04:00
G r e y
bdacbd4989
refactor: mock provisioner job typings ( #1919 )
...
An unnecessary type assertion was being made on the status property;
instead we just type the object as a ProvisionerJob
2022-05-31 15:16:15 +00:00
Presley Pizzo
6f7b7f0248
feat: Delete workspace ( #1822 )
...
* Add delete button
* Add confirmation dialog
* Extract dialog, storybook it, and test it
* Fix cancel and redirect
* Remove fragment
2022-05-31 10:43:31 -04:00
Abhineet Jain
9b19dc9154
refactor: rename SettingsPages directory to UserSettingsPage ( #1877 )
2022-05-31 14:16:17 +00:00
Bruno Quaresma
83edbee2e1
fix: Replace yes by true and add set -x ( #1914 )
2022-05-31 14:14:14 +00:00
Kira Pilot
dd55d4577d
chore: remove react imports ( #1867 )
...
reolves #1856
2022-05-31 10:01:37 -04:00
Steven Masley
26a2a169df
fix: Suspended users cannot authenticate ( #1849 )
...
* fix: Suspended users cannot authenticate
- Merge roles and apikey extract httpmw
- Add member account to make dev
- feat: UI Shows suspended error logging into suspended account
- change 'active' route to 'activate'
2022-05-31 08:06:42 -05:00
Cian Johnston
e02ef6f228
chore: executor_test: reduce test execution time ( #1876 )
...
Removes 5-second wait in autobuild.executor unit tests:
- Adds a write-only channel to Executor and plumbs through to unit tests
- Modifies runOnce to return an executor.RunStats struct and write to statsCh if not nil
2022-05-30 20:23:36 +01:00
Ketan Gangatirkar
ae4b2d88cd
added links to our issues to reduce necessary thinking to report issues
2022-05-30 14:19:48 -05:00
Cian Johnston
a8ae9b39b3
feat: enforce upper bounds on workspace TTL and Deadline ( #1902 )
...
* Enforces upper bound for workspace TTL
* Enforces upper bound for workspace deadline
2022-05-30 20:19:17 +01:00
Ketan Gangatirkar
17a57a44eb
added community links
2022-05-30 14:16:02 -05:00
Ketan Gangatirkar
02692402d8
added #coder in the most prominent least awkward place
2022-05-30 14:12:33 -05:00
Ben Potter
6850db2a47
chore: fix additional typo in templates doc
2022-05-28 08:14:46 -05:00
Ben Potter
80ec67f3fd
chore: fix typo in templates docs
2022-05-28 08:13:50 -05:00
Ben Potter
7ad68ca36b
example: docker: support Windows hosts ( #1880 )
2022-05-28 01:09:29 +00:00
Kyle Carberry
da7ed8b292
chore: Ignore scripts from code coverage ( #1878 )
...
Our CI scripts don't need to have thorough tests, and aren't
in the hot path of the product.
2022-05-27 22:25:24 +00:00
Garrett Delfosse
5598ac05dc
fix: prevent email from being altered ( #1863 )
2022-05-27 22:25:04 +00:00
Asher
cfa316be89
fix: incomplete message when intercepting console logger ( #1875 )
...
I was getting a message like "Warning: Failed type %s: %s%s".
2022-05-27 17:16:19 -05:00
Asher
dd1484e24f
fix: add missing key to resource row ( #1874 )
2022-05-27 17:16:04 -05:00
Garrett Delfosse
8222bdc3bc
feat: add user password change page ( #1866 )
2022-05-27 18:08:28 -04:00
Ben
8cd7d4fa9c
chore: update hero
2022-05-27 20:48:52 +00:00
Abhineet Jain
d623eeb8d1
feat: delete API token in /logout API ( #1770 )
...
* delete API token in logout api
* add deleteapikeybyid to databasefake
* set blank cookie on logout always
* refactor logout flow, add unit tests
* update logout messsage
* use read-only file mode for windows
* fix file mode on windows for cleanup
* change file permissions on windows
* assert error is not nil
* refactor cli
* try different file mode on windows
* try different file mode on windows
* try keeping the files open on Windows
* fix the error message on Windows
2022-05-27 16:47:03 -04:00
Kyle Carberry
d0ed107b08
fix: Add command to reconnecting PTY ( #1860 )
...
This fixes #1708 and opens the door for PTYs to execute
non-shell commands!
2022-05-27 14:51:20 -05:00
Kira Pilot
6052607936
feat: add user roles to menu ( #1862 )
...
* view user roles in menu
resolves #1524
* fix stories
* PR feedback
2022-05-27 15:27:51 -04:00
G r e y
8d7499feb7
feat: ui alert <= 30mins from deadline ( #1825 )
...
Summary:
When a workspace build is <= 30 minutes from auto-scheduled shutdown,
then an alert banner is displayed on the workspace page.
2022-05-27 15:23:56 -04:00
Cian Johnston
ff542afe87
feat: allow bumping workspace deadline ( #1828 )
...
* Adds a `bump` command to extend workspace build deadline
* Reduces WARN-level logging spam from autobuild executor
* Modifies `cli/ssh` notifications to read from workspace build deadline and to notify relative time instead (sidestepping the problem of figuring out a user's timezone across multiple OSes)
* Shows workspace extension time in `coder list` output e.g.
```
WORKSPACE TEMPLATE STATUS LAST BUILT OUTDATED AUTOSTART TTL
developer/test1 docker Running 4m false 0 9 * * MON-FRI 15m (+5m)
```
2022-05-27 20:04:33 +01:00
Ben Potter
bde3779fec
chore: clarify install options in README ( #1844 )
...
* chore: clarify install options in README
* clarify the path is an example, not a requirement
* Update README.md
Co-authored-by: Katie Horne <katie@coder.com >
* Update README.md
Co-authored-by: Katie Horne <katie@coder.com >
* Update README.md
Co-authored-by: Katie Horne <katie@coder.com >
* Update README.md
Co-authored-by: Katie Horne <katie@coder.com >
* Update README.md
Co-authored-by: Katie Horne <katie@coder.com >
Co-authored-by: Katie Horne <katie@coder.com >
2022-05-27 18:10:54 +00:00
Ben Potter
5000edbfe0
example: docker warning on Coder host ( #1842 )
2022-05-27 13:02:59 -05:00
Kyle Carberry
984dc2bffd
fix: Close peer negotiate mutex if we haven't negotiated ( #1774 )
...
Closes #1706 and #1644 .
2022-05-27 17:34:13 +00:00
Garrett Delfosse
24d1a6744a
fix: Add route for user to change own password ( #1812 )
2022-05-27 17:29:55 +00:00
Mathias Fredriksson
608eb322a8
chore: Add .editorconfig, shfmt, shellcheck and subshell dir changes ( #1649 )
2022-05-27 20:15:19 +03:00
Mathias Fredriksson
1a70298b5c
feat: Add examples/templates/do-linux for Digital Ocean Droplets ( #1749 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-27 20:04:43 +03:00
Oxylibrium
14cdd85b66
fix(site): username validation in forms ( #1851 )
...
* refactor(site): move name validation to utils
* fix(site): username validation in forms
2022-05-27 17:02:56 +00:00
Garrett Delfosse
8a5277e291
fix: restore previous session on coder server --dev ( #1821 )
2022-05-27 17:02:02 +00:00
Bruno Quaresma
7eacab82a2
refactor: Update users page to looks like others ( #1850 )
2022-05-27 16:47:11 +00:00
Ammar Bandukwala
e2030bba38
Move competitive comparison to README
...
And rewrite a bit.
Resolves #1365 .
2022-05-27 11:38:25 -05:00
Steven Masley
ec1fe46138
feat: Move create organizations route ( #1831 )
...
* feat: last rbac routes
- move create organization to /organizations.
2022-05-27 11:19:13 -05:00
ketang
d73a0f4f23
fixed grammar
2022-05-27 11:09:53 -05:00
Ben Potter
655f348812
chore: change README to fancy alpha note
2022-05-27 10:56:35 -05:00
Bruno Quaresma
2b2d0291c2
fix: Suspend user in the UI ( #1841 )
2022-05-27 15:23:56 +00:00
Bruno Quaresma
4125863226
fix: Fix template README when has front-matter notation ( #1840 )
2022-05-27 15:19:32 +00:00
Steven Masley
a409a34819
fix: Open csp-images to allow external ( #1835 )
...
External images are required for the README parts of templates.
Only allowing https right now
2022-05-27 14:59:13 +00:00
Abhineet Jain
7a5c8734ee
test: Fix unit test in 'TestWorkspaceExtend' ( #1836 )
2022-05-27 14:45:22 +00:00
Abhineet Jain
9929189c45
feat: add tag and value in validation error details ( #1760 )
...
* add tag and value in validation error details
* fix unit tests and linter
* add quotes around value
* fix unit tests
2022-05-27 10:13:13 -04:00
Ammar Bandukwala
c5f06acb01
Add alpha disclaimer to README
2022-05-27 09:08:35 -05:00