1124 Commits

Author SHA1 Message Date
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
Jan Keromnes
2afad515b2 [server] When a user with no explicit 'usageAttributionId' joins a team with usage-based billing enabled, automatically re-attribute usage to that team 2022-06-29 15:10:37 +05:30
Gero Posmyk-Leinemann
097abd8179 [server] Align workspaceLog access semantics 2022-06-29 13:17:37 +05:30
Gero Posmyk-Leinemann
5e212889ca [server] Introduce GuardedPrebuild and allow access akin to WorkspaceLog/Snapshots 2022-06-29 13:17:37 +05:30
Jan Keromnes
1945d6ca22 [server] When deleting a team with an active usage-based subscription, also cancel the subscription 2022-06-28 21:37:37 +05:30
Jan Keromnes
9593feff8b [server] Allow team members (non-owners) to read the team's usage-based subscription ID 2022-06-28 21:19:37 +05:30
Gero Posmyk-Leinemann
2ab9b97e31 [server] Minor Refactor for RepositoryResourceGuard 2022-06-28 20:28:37 +05:30
Gero Posmyk-Leinemann
67b73c29c2 [server] Minodr adjustment of requested resource kinds 2022-06-28 20:28:37 +05:30
Gero Posmyk-Leinemann
6d015197b5 [server] Add tests for workspace-like GuardedResources 2022-06-28 20:28:37 +05:30
Jan Keromnes
441252f261 [server] Introduce an explicit per-user 'usageAttributionId' and use it to implement 'billing-based attribution' 2022-06-27 19:41:36 +05:30
Adrien Thebo
2cc591a396 [installation-telemetry] Respect sendCustomerID admin setting
An errant `git rebase` accidentally merged in the customer ID into telemetry
data, bypassing a later check in telemetry collection that checked the `sendCustomerID`
field. This commit restores the appropriate check.
2022-06-27 19:11:36 +05:30
Gero Posmyk-Leinemann
09dbf29160 [db] Remove DeletedEntryGC and all references 2022-06-27 15:41:36 +05:30
Milan Pavlik
12b92e9b82 [experiments] Add abstraction for configcat to work in self-hosted 2022-06-27 13:10:36 +05:30
Adrien Thebo
55a5d7a5e2 [installation-telemetry] Expose user control over sending customer ID 2022-06-25 00:47:33 +05:30