1233 Commits

Author SHA1 Message Date
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
Sven Efftinge
9f9c9aef3e
[billing] hold 1000 cents when customer subscribes (#16807) 2023-03-14 11:04: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
Alex Tugarev
de7b4a7f36
[switch2payg] Switch Org context for TS2 links (#16780) 2023-03-10 09:18: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
Gero Posmyk-Leinemann
5fd8212e3e
Switch to Pay-as-you-go (#16678)
* [server] Fix PAYG notifications and tsCancel

* [dashboard] Extend PAYG

- made re-entry safe
- check: old subscription already cancelled
- check: stripe subscription already exists
- cancel all kinds of subscriptions
- migrate members for TeamSubscription
- choose org for TeamSubscription
- don't show notification on PAYG page
- show confetti at the end :-)
2023-03-06 16:54:04 +01:00
Milan Pavlik
e6fb5c9389
[server] Log github getFileCConent errors in debug (#16680) 2023-03-06 10:16:03 +01:00
Milan Pavlik
2e83e59af2
[prebuild] Log github app user errors as info (#16634)
* [prebuild] Log github app user errors as info

* [prebuild] Log github app user errors as info

* Fix
2023-03-06 09:51: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
Gero Posmyk-Leinemann
a0693f35c9
[server] Polish notification texts (#16659) 2023-03-03 14:54:00 +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
Gero Posmyk-Leinemann
36ff5f7084
[server] Only show notifications for not-cancelled subscriptions (#16629) 2023-03-02 09:23:59 +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
678f7f4f93
[stripe] Return NotFound for non-existent attribution IDs (#16600) 2023-03-01 11:07: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
bffd32c9fe
[payment] Adjust BillingMode for PAYG transition (#16552) 2023-02-24 11:34:54 +01:00
Gero Posmyk-Leinemann
3398b3467e
[server] Send users to "/switch-to-payg?..." if switchToPAYG is set (#16525) 2023-02-23 11:57:53 +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
0a1a7eddf9 [server] Guard PAYG notifications with feature flag 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
0782ba4f27 [server] Test script "reset-chargebee-test-subs.sh" 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
b21e2f276a [server] Create nudges for all Chargebee Personal/Team Subscription/Team Subscription 2 owners 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
632f872b3c [server, dashboard] Extend getNotifications to: AppNotification 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
612cd936fd [server] Extract some subscription helpers 2023-02-22 11:02:52 +01:00
Anton Kosyakov
532513a848 fix #12208: gp env to respect workspace env vars 2023-02-20 18:36:50 +01:00
Brad Harris
031707c785 handle org auth providers 2023-02-20 09:46:50 +01:00
Sven Efftinge
9e1cece0bf [dashboard] start with options by default 2023-02-17 16:25:22 +01:00
Huiwen
0810836f85 [server,dashboard] add endpoints to get ide credentials 2023-02-15 08:44:19 +01:00