Sven Efftinge
d91fbff30d
[Create WS] Various fixes ( #17135 )
...
* [server] normalize contextURL
* [create workspace] only create one workspace
- respect referrer context
- useWorkspaceContext returns null instead of being disabled
when contextUrl is undefined
* [dashboard] immediately show running workspaces
2023-04-11 10:07:50 +02:00
Milan Pavlik
e0e052d894
[server] Remove OSS check (WEB-91) ( #17133 )
...
* [server] Remove OSS check
* fix
* Fix
* Fix
* fix
2023-04-07 13:12:47 +02:00
Alex Tugarev
eea4e823ed
[server] improve logging on logins ( #17096 )
2023-03-30 17:05:40 +02:00
Alex Tugarev
94340c7307
[server/db] resume periodic deleter on quorum re-election ( #17092 )
2023-03-30 13:40:39 +02:00
Milan Pavlik
1bbcd3bd4e
[server] Log when instance is quorum leader and starts db deleter, or not ( #17090 )
2023-03-30 12:26:39 +02:00
Alex Tugarev
60ac0e4400
[server] fix reusing soft-deleted identities ( #17081 )
2023-03-30 11:46:40 +02:00
Milan Pavlik
9fef280622
[server] Implement grpc/connect getTeam RPC ( #17068 )
...
* [server] Implement grpc/connect getTeam RPC
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Fix
* Fix
* fix
* cleanup logs
* Fix
2023-03-30 11:08:40 +02:00
Milan Pavlik
212f565280
[server] Register gRPC/Connect team service ( #17062 )
...
* [server] Register gRPC/Connect team service
* fix
2023-03-29 14:58:38 +02:00
Milan Pavlik
ded4f84a6e
[server] Implement blockUser ( #17045 )
...
* [server] Implement blockUser
* fix
* fix
* Fix
2023-03-28 15:32:26 +02:00
Huiwen
0bc795bd28
Allow to disable workspace sharing in team settings ( #17042 )
...
* server impl
* dashboard
* dashboard improve
* 1
* add permission check
* update error message
* improve mutation
* 💄
* * remote `deleted` field in respond
* dashboard use new data from server
* update db select
* address UI feedback
* disable query when no org loaded yet
* rename team to org
* allow to stop sharring always
* fix
* Fix
* Fix
* Fix
* Fix
---------
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Brad Harris <bmharris@gmail.com>
Co-authored-by: Milan Pavlik <pavlik.mil@gmail.com>
2023-03-27 23:10:25 +02:00
Brad Harris
105793a57d
default orgGitAuthProviders to true for dedicated ( #17007 )
...
* default orgGitAuthProviders to true for dedicated
* restrict dupliate auth provider by host for org
* remove restriction on host for orgs
* add disabled select styles
* update copy and clean host value better
* keep constraint there for now
* adding userGitAuthProviders flag
2023-03-27 18:10:25 +02:00
Milan Pavlik
b7ff32a61a
[server] Fix execution of unit tests ( #17046 )
...
* [server] yarn test should just work
* fix
* Fix
* fix
* fix
* precommit
* [server] Fix express-util.spec.ts
* remove changes to package
* fix PAT tests
* fix
* fix
* fix
---------
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-03-27 15:55:25 +02:00
Milan Pavlik
b8cfffdf19
[server] Cleanup adminBlockUser RPC ( #17033 )
...
* [server] Cleanup adminBlockUser RPC
* Fix
* log
* fix
* fix
2023-03-27 12:16:25 +02:00
Milan Pavlik
d6629f3f92
[server] Unimplemented user service on internal port ( #16999 )
2023-03-27 09:26:24 +02:00
Gero Posmyk-Leinemann
72a58dd399
[server] Fix userService.deauthorize to disallow disconnecting the last auth provider ( #17022 )
2023-03-24 18:19:17 +01:00
Alex Tugarev
275e782341
[Orgs] Persist slug ( #16923 )
...
* [orgs] Persist `slug`
* [Orgs] Make `slug` changeable on Settings page
* update to use input/button components and mutation
* [papi] Re-add Team.slug
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-03-24 10:51:16 +01:00
Milan Pavlik
27f243edd2
[server] Lower default rate limit per connection/user to 200 per minute ( #16992 )
2023-03-23 14:12:15 +01:00
Manuel Alejandro de Brito Fontes
555ee279fe
Remove licensor component ( #16983 )
...
* Remove licensor component
* Update docker version to v20.10.23
2023-03-23 10:35:15 +01:00
Gero Posmyk-Leinemann
0a52359873
[server] Block org-level users from creating/joining new organizations ( #16937 )
2023-03-22 12:13:14 +01:00
Gero Posmyk-Leinemann
38b5305484
[server] Lift ratelimit on sendHeartBeat ( #16968 )
2023-03-22 10:27:13 +01:00
Milan Pavlik
9e4bcc6280
[heartbeat] Map grpc error ( #16966 )
2023-03-22 10:06:13 +01:00
Milan Pavlik
8390cac7a4
[server] Fix file provider accept header ( #16881 )
2023-03-16 17:13:08 +01:00
Alex Tugarev
b39902f4d5
[org] Disallow logins with organizational Git Auth ( #16874 )
2023-03-16 14:07:08 +01:00
Gero Posmyk-Leinemann
8744ad02fc
[server] verifyClient: Remove dead code to parse workspace URLs ( #16845 )
2023-03-15 11:49:07 +01:00
Gero Posmyk-Leinemann
5aaba62642
[server] Tone down unnecessary logging around websocket verifyClient ( #16844 )
2023-03-15 09:43:07 +01:00
Milan Pavlik
0e2ec6cd24
Remove usage of applicationCluster column from WorkspaceCluster ( #16824 )
...
* Remove usage of applicationCluster column from WorkspaceCluster
* fix
* Fix
* fix
* Fix
* fix
* Fix
* fix
* Fix
* Fix
* fix
2023-03-14 13:13:07 +01:00
Milan Pavlik
e9fcb45d72
[server] Remove admin OTS create/use flow ( #16761 )
2023-03-14 11:13:06 +01:00
Alex Tugarev
bdff903f18
[github prebuilds] Fix trigger for default branch ( #16816 )
...
A bug in GitHub context parser caused prebuilds to not being trigger for the default branch.
2023-03-13 09:57:48 +01:00
Sven Efftinge
5f9a85447c
[server] allow members to leave ( #16796 )
...
* [server] allow members to leave
* [dashboard] fix login
2023-03-10 11:29:46 +01:00
Sven Efftinge
28551c6385
[server] further limit sendHeartbeat ( #16788 )
2023-03-09 20:55:45 +01:00
Milan Pavlik
9110a66b46
[server] Mount admin-credentials ( #16760 )
...
* fix
* Fix
* Fix
2023-03-09 12:15:45 +01:00
Sven Efftinge
581408def5
[dashboard] make new workspace aware of project ( #16742 )
2023-03-09 11:30:45 +01:00
Milan Pavlik
4daf4fee68
[server] Sing-in as admin based on admin credentials file ( #16731 )
...
* [server] Receive admin credentials from a file & validate
* fix
* fix
2023-03-09 09:11:45 +01:00
Sven Efftinge
643d3a079b
[server] ensure workspaces get started once ( #16726 )
2023-03-08 11:26:05 +01:00
Sven Efftinge
073b313f8a
[server] fix typo in rate limiter ( #16705 )
2023-03-07 11:01:04 +01:00
Sven Efftinge
958788c96f
[server] lower the heartbeat limit ( #16696 )
2023-03-07 07:20:04 +01:00
Milan Pavlik
e6fb5c9389
[server] Log github getFileCConent errors in debug ( #16680 )
2023-03-06 10:16:03 +01:00
Gero Posmyk-Leinemann
9382e36bcd
[server] Implement cancelTeamSubscription ( #16663 )
2023-03-06 09:28:03 +01:00
Brad Harris
7e15f6d793
Report ErrorBoundary from Dashboard ( #16647 )
...
* adding a reportErrorBoundary method
* temp test of error boundary
* adding a fallback for error.mesage
* remove test code
* removing unintentional change
* Dropping url from metric label, feedback changes
2023-03-06 09:02:03 +01:00
Milan Pavlik
adc0f6e82d
[github] Improve log entries when retrieving github files ( #16635 )
2023-03-06 09:01:03 +01:00
Milan Pavlik
fb62d6ba31
[server] Log empty origin header in debug, attach origin to other log ( #16632 )
2023-03-06 08:59:03 +01:00
Milan Pavlik
448fe8bd6e
[server] Remove feature flag controller - unused ( #16656 )
...
* [server] Remove feature flag controller - unused
* Fix
2023-03-06 08:58:03 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider ( #16482 )
...
* Prototype IDP provider
* [gp cli] Add IDP commands
* [public-api] Remove zitadel based IDP implementation
* [gitpod-cli] Add IDP support for Vault
* [idp] Remove per-org IDP
* [idp] Add key cache and random key IDs
* [idp] Defer GetIDToken authorisation to server
* [idp] Add Redis public key cache
* [gitpod-cli] Hide IDP commands
* [idp] Add key ID to JWT
* [idp] Add unit tests
* [idp] Adress review comments
* [public-api-server] Use logging middleware globally
* [public-api-server] Simplify service registration
* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Pudong
5ee2a66b13
[dashboard, server] Add global custom timeout preference ( #16503 )
...
* [dashboard] add custom global timeout user preference
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* [server] allow user custom global timeout
* [server] add `supportConfigureWorkspaceTimeout` and `updateWorkspaceTimeoutSetting` api
* [dashboard] use new api to configure workspace timeout setting
* [dashboard, server] use maySetTimeout
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-03-03 09:30:00 +01:00
Gero Posmyk-Leinemann
9d2d729b37
[server] Implement tsAddMembersToOrg ( #16638 )
2023-03-02 17:44:00 +01:00
Milan Pavlik
84aec6d694
[server] Log user errors as info ( #16445 )
...
* [server] Log user errors as info
* Fix
* Fix
2023-03-02 09:09:59 +01:00
Milan Pavlik
5317b53ef8
[db-sync] Remove comment references ( #16602 )
2023-03-01 11:06:58 +01:00
Alex Tugarev
aa49b87cca
[dashboard] Add "Switch to pay-as-you-go" page ( #16488 )
...
* [server] add tsCancel to support Switch-to-PAYG
* [server] relax Stripe-check for switchToPAYG
* [server] fix faulty guard in deleteUser
* [dashboard] add "Switch to pay-as-you-go" Page
2023-02-24 16:27:54 +01:00
Gero Posmyk-Leinemann
a5a31eebe3
Reduce super-noisy traces ( #16507 )
...
* [messagebus] Stop reporting messagebus spans
* [server] Don't trace individual updates to clients
2023-02-23 11:14:53 +01:00
Gero Posmyk-Leinemann
632f872b3c
[server, dashboard] Extend getNotifications to: AppNotification
2023-02-22 11:02:52 +01:00