5923 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
8edebb38c0 Allow the use of env variables to access S3 2023-01-18 18:45:26 +01:00
Andrea Falzetti
1c5296e0f5 gitpod-cli: call segement directly for analytics 2023-01-18 18:40:26 +01:00
Jean Pierre
40859b1d24 Revert "Partially revert "[supervisor-frontend] implement frontend dashboard client""
This reverts commit 77d5ba574a0a2ece941d4244c4dd0c3dac5385a8.
2023-01-18 16:21:26 +01:00
Sven Efftinge
95996df038 [server, cli] Allow flexible workspace timeouts 2023-01-18 16:14:26 +01:00
Eng Zer Jun
5d5719b860 chore: move from streadway/amqp to rabbitmq/amqp091-go
The `github.com/streadway/amqp` module is no longer actively maintained.
The new module is now maintained by the RabbitMQ core team under a
different package name.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-01-18 14:34:26 +01:00
Andrew Farries
97a5487fbe Fix server telepresence 2023-01-18 12:30:26 +01:00
Milan Pavlik
d28a5e467a [iam] Add organisation_id to OIDC Client Config API 2023-01-18 11:57:26 +01:00
Milan Pavlik
abff6189f2 [db] Add organisationId to d_b_oidc_client_config + indices 2023-01-18 11:56:26 +01:00
Milan Pavlik
1706974cc3 [oidc] Add Organisation ID to OIDC API 2023-01-18 11:37:25 +01:00
Sven Efftinge
53333d2ec9 [server] create a freemium team when no team exist 2023-01-18 11:11:26 +01:00
Manuel Alejandro de Brito Fontes
9e173ca7a4 Remove shiftfs module loader 2023-01-18 11:07:26 +01:00
Andrea Falzetti
75fec4ac8e gp rebuild improvements
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2023-01-18 10:24:26 +01:00
Andrew Farries
73378f8898 Change implementation of clientIp
Use the `x-real-ip` custom header (set at the GCP LB) rather than
`x-forwarded-for`.

`x-forwarded-for` is subject to mutation by the Caddy proxy:
https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#headers

By using a different header that we set at the GCP load balancer we
can ensure that the header is passed to `server` unmodified.
2023-01-18 09:32:25 +01:00
Jean Pierre
2b17f0dc16 [Fix] Send initial status 2023-01-18 06:23:26 +01:00
Jean Pierre
9940061d30 [supervisor] Remove trackEvent api calls 2023-01-18 04:03:25 +01:00
Brad Harris
be288c99e2 consolidate project query/fetcher 2023-01-17 22:36:25 +01:00
Brad Harris
1fd71ee3b6 breaking queries/mutations into their own files 2023-01-17 22:36:25 +01:00
Brad Harris
4da1bb8f6b removing team-specific workspace route for now 2023-01-17 22:36:25 +01:00
Brad Harris
460bf743ae sort first, then filter 2023-01-17 22:36:25 +01:00
Brad Harris
3efe0a189e renaming for consistency 2023-01-17 22:36:25 +01:00
Brad Harris
49549a3c1b renaming for consistency 2023-01-17 22:36:25 +01:00
Brad Harris
92ac501860 Adding a comment for how we should update this 2023-01-17 22:36:25 +01:00
Brad Harris
c1fe0208ae renaming for consistency 2023-01-17 22:36:25 +01:00
Brad Harris
2a7d441e19 only render WebsocketClients if flag is on 2023-01-17 22:36:25 +01:00
Brad Harris
8effbcf82f Adding delete inactive workspaces 2023-01-17 22:36:25 +01:00
Brad Harris
a2c275b1e9 Wrapping new workspaces view in feature flag 2023-01-17 22:36:25 +01:00
Brad Harris
2e383d7263 cleaning up some naming 2023-01-17 22:36:25 +01:00
Brad Harris
f124725779 Add workspace filter 2023-01-17 22:36:25 +01:00
Brad Harris
38c7bfce88 adding ws listener for workspace status updates 2023-01-17 22:36:25 +01:00
Brad Harris
d6d03e1045 adding stop workspace, pinned/shared support 2023-01-17 22:36:25 +01:00
Brad Harris
14f989469c Setting up rename/delete mutations 2023-01-17 22:36:25 +01:00
Brad Harris
98ee505677 adding update description mutation 2023-01-17 22:36:25 +01:00
Brad Harris
a9269dc608 Getting New Workspaces page rdy w/ react-query 2023-01-17 22:36:25 +01:00
Jean Pierre
77d5ba574a Partially revert "[supervisor-frontend] implement frontend dashboard client"
This reverts commit 151ab80e50faaf1de2ca1a320cf0ad68d7a16f65 except global.ts changes so we just cast to any for now
2023-01-17 20:06:25 +01:00
Andrea Falzetti
9e3d97da67 dashboard: update gp rebuild copy 2023-01-17 18:42:25 +01:00
Andrea Falzetti
5a5af38e86 dashboard: suggest using gp rebuild when image build fails 2023-01-17 18:19:25 +01:00
Huiwen
151ab80e50 [supervisor-frontend] implement frontend dashboard client
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-17 17:42:25 +01:00
Moritz Eysholdt
eacf71ed21 Build all components 2023-01-17 16:30:25 +01:00
Manuel Alejandro de Brito Fontes
a6ab9b0208 Improve S3 speed 2023-01-17 13:18:25 +01:00
Manuel Alejandro de Brito Fontes
fb42bcaed7 Remove refresh-credential 2023-01-17 13:09:25 +01:00
Manuel Alejandro de Brito Fontes
727b7148de Fix default redis user 2023-01-17 12:50:25 +01:00
Milan Pavlik
5d38b2d220 [ws-manager-bridge] DoStop logging workspacestatus.auth for prebuilds 2023-01-17 12:18:25 +01:00
Milan Pavlik
f125f5a5cd [ws-manager-bridge] Stop logging status.auth field 2023-01-17 11:29:25 +01:00
Milan Pavlik
58a06943f6 [papi] Refactor valdiation functions to a file 2023-01-17 11:26:25 +01:00
Sven Efftinge
a661644a18 [dashboard] remove deprecation warning
We are going to apply an automated transition. No need to confuse users with this message.
2023-01-17 11:25:25 +01:00
Siddhant Khare
83a75c732a educate user about gitpod templates
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-17 09:50:25 +01:00
Vedant Jain
aa0b0a971f [fix] : requested-changes 2023-01-17 09:46:25 +01:00
Vedant Jain
cd1154642e [feat] : Warning alert in workspace delete confirmation model for pending changes 2023-01-17 09:46:25 +01:00
Huiwen
e147452a00 [supervisor] improve instance updates 2023-01-17 01:19:24 +01:00
Andrew Farries
503ef163f4 Stop setting X-Real-IP on upstream requests
The value of the header was set to the IP address of a machine inside
GCP rather than the the actual client IP address.

To ensure that the header contains the actual client IP address, this
header is now set at the GCP load balancer.
2023-01-16 21:50:24 +01:00