1187 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
2dc450d595 [protocol, et al] Extract gRPC ClientCallMetrics into protocol 2022-07-20 09:31:15 -03:00
Milan Pavlik
bdcbc8abed [usage] Remove dummy data from server 2022-07-20 09:22:15 -03:00
Gero Posmyk-Leinemann
c305aa4a41 [server] Remove blockedRepositories config 2022-07-20 09:05:15 -03:00
Gero Posmyk-Leinemann
b6471fdfb3 [server, db] Fix BlockedRepository.delete 2022-07-20 09:05:15 -03:00
Andrew Farries
963d3c098b [usage] Make endTime non-mandatory for billed session 2022-07-20 04:36:15 -03:00
Alex Tugarev
7057101a4d [db][protocol] Implement a CostCenter entity to attribute workspace usage to 2022-07-20 04:05:15 -03:00
Milan Pavlik
6a8d0f205d [configcat] Upgrade JS SDKs 2022-07-19 17:20:14 +02:00
Andrew Farries
e2385352a4 [usage] Implement GetBilledUsage rpc 2022-07-18 13:57:13 +02:00
Gero Posmyk-Leinemann
54914fb82a [server] Fix tracing and logging when aborting prebuilds on newer push 2022-07-18 09:24:13 +02:00
Alex Tugarev
60f4bad9db Test if auth host is reachable 2022-07-18 08:49:13 +02:00
Alex Tugarev
be5a5dace1 Simple UI for Prebuild Events (sneak preview) 2022-07-15 15:12:02 +02:00
Christian Weichel
65326d58f1 [ws-manager-api] Clean up "ExtendedUser"
after the removal of the has-user-level and
has-more-resources admission constraint
2022-07-15 14:31:02 +02:00
Alex Tugarev
6c395b5881 Record webhook events 2022-07-15 10:58:02 +02:00
Alex Tugarev
4b62fc03cf Implement hasReadAccess for Bitbucket 2022-07-14 10:55:00 +02:00
Jean Pierre
0107eaf6b4 Add function:sendHeartBeat scope 2022-07-13 16:42:00 +02:00
Gero Posmyk-Leinemann
d1c412edc2 [server] Hook up usage API 2022-07-13 12:09:00 +02:00
Gero Posmyk-Leinemann
c7cfb42d78 [server, protocol] GuardedCostCenter and AttributionId.parse/render 2022-07-12 16:23:59 +02:00
Gero Posmyk-Leinemann
cceb62f4b1 [server] Make FeatureFlags configurable per team 2022-07-12 14:40:59 +05:30
Gero Posmyk-Leinemann
6ace17b547 [server] Use workspace cluster as image-builder (feature flag: "movedImageBuilder") 2022-07-12 14:40:59 +05:30
Milan Pavlik
858eae2e01 [server] Reduce gitpod_server_api_calls_duration_seconds precision, add 2 buckets 2022-07-11 17:30:58 +05:30
Jean Pierre
6acb5f3896 Add function:getSSHPublicKeys scope to vscode client 2022-07-11 15:00:58 +05:30
Laurie T. Malau
79f90d802c Implement skateboard Usage view 2022-07-11 12:35:58 +05:30
jakobhero
ac3bde2afb [Analytics] move "project_created" call to projects-service.ts and add project ID 2022-07-11 11:18:58 +05:30
Christian Weichel
48aff21449 [ws-manager-bridge] Use WS update status version 2022-07-08 20:23:55 +05:30
Gero Posmyk-Leinemann
9ed8cde648 [feature flags] Nudge passing in full User shapes and derive email from it
This will more effective segmentation based on emails and potentially other things, like identity providers (GitHub, GitLab, BitBucket etc.)
2022-07-08 19:29:55 +05:30
jakobhero
cfe358bf57 Replace custom implementation with User.Profile concepts 2022-07-08 12:53:55 +05:30
jakobhero
c2fede1c21 implements tracking for user profile changes 2022-07-08 12:53:55 +05:30
Gero Posmyk-Leinemann
aa3a2ba88f [server] Log hasReadAccess errors 2022-07-07 12:50:54 +05:30
Andrew Farries
543d66f914 [server] Add APIs for working with blocked repos
* Create, list, delete.
2022-07-07 12:27:54 +05:30
Christian Weichel
34e5648ace [server] Remove OTS use for env vars 2022-07-06 19:22:53 +05:30
Gero Posmyk-Leinemann
c8856571ba [server] Extend Prebuild access level to WorkspaceInstance 2022-07-06 15:09:53 +05:30
Gero Posmyk-Leinemann
8ea4d4d733 [server] Align access level of Workspaces of type "prebuild" with Prebuilds 2022-07-05 15:20:52 +05:30
Gero Posmyk-Leinemann
5a266c3bbe [server] Fix resource guard tests 2022-07-05 15:20:52 +05:30
Sven Efftinge
8bf152ba03 [dashboard] allow editing user information
fixes #10999
2022-07-05 12:18:52 +05:30
mustard
154dc5fd7d [server,db,protocol] support ssh public key
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-07-05 11:04:52 +05:30
Gero Posmyk-Leinemann
5d445cf088 [server] Workaround for lagging prebuild permissions 2022-07-01 17:31:39 +05:30
Andrew Farries
2d71cd0077 Stop logging server config 2022-07-01 14:29:39 +05:30
Andrew Farries
420e8ea8bb Sanitize oauth strategy options before logging 2022-07-01 14:29:39 +05:30
Gero Posmyk-Leinemann
c43a6c9859 [server] Tone down image build errors that are triggered by user content 2022-07-01 12:09:39 +05:30
Gero Posmyk-Leinemann
3aa41436cf [server] Deprecate image build log mechanism 2022-07-01 12:09:39 +05:30
Andrew Farries
2764e6dff9 Rename isRepositoryBlocked 2022-06-30 21:23:38 +05:30
Andrew Farries
bb93c172d3 Check blocked repos when starting a workspace 2022-06-30 21:23:38 +05:30
Gero Posmyk-Leinemann
2cb9ed7150 [server] Tone down "Bearer auth error" 2022-06-30 19:51:38 +05:30
Gero Posmyk-Leinemann
1450e1a9b5 [server] Reduce bytes logged around incremental prebuilds 2022-06-30 19:51:38 +05:30
Sven Efftinge
663e22a550 [server] store cancel reason 2022-06-30 12:01:38 +05:30
Sven Efftinge
ba78bd4d08 [server] abort running prebuilds on same branch 2022-06-30 11:40:38 +05:30
Gero Posmyk-Leinemann
d873fe78bc [server] Guard prebuild-related APIs with GuardedPrebuild resource 2022-06-29 23:47:38 +05:30
Laurie T. Malau
59bb214a25 use prebuildlogs instead 2022-06-29 23:47:38 +05:30
Jan Keromnes
1c72fca51a [server] When a team enables usage-based billing, automatically re-attribute member usage to that team when the member has no explicit 'usageAttributionId' yet 2022-06-29 15:10:37 +05:30
Jan Keromnes
b730785677 [server] When a user attributes all their usage to a team, but then leaves that team, reset their selected 'usageAttributionId' 2022-06-29 15:10:37 +05:30