Jean Pierre
|
d70072131d
|
[public-api] delete personal access token
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
|
2022-11-23 12:11:53 -03:00 |
|
Jean Pierre
|
afac3c9b43
|
[public-api] regenerate personal access token
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
|
2022-11-23 10:01:52 -03:00 |
|
Laurie T. Malau
|
72de7937bf
|
[pat] Implement GetPersonalAccessToken
|
2022-11-22 13:31:52 -03:00 |
|
Milan Pavlik
|
4913d48793
|
[public-api] Create Personal Access Token implementation
|
2022-11-22 11:39:52 -03:00 |
|
Milan Pavlik
|
b30941bc83
|
[public-api] Implement list personal access tokens
|
2022-11-22 06:53:51 -03:00 |
|
Milan Pavlik
|
1ef20eb7f5
|
[db] Add index to d_b_personal_access_token on createdAt
|
2022-11-22 05:43:51 -03:00 |
|
Laurie T. Malau
|
4cf5618eff
|
[public-api] personal access token db model
|
2022-11-21 11:14:51 -03:00 |
|
Laurie T. Malau
|
ee08e7863c
|
[db] Move db models to gitpod-db/go module
|
2022-11-21 08:37:50 -03:00 |
|
Alex Tugarev
|
d53155e8b2
|
[db/migration] add currency to stripe customer
|
2022-11-21 06:56:50 -03:00 |
|
Milan Pavlik
|
96874fa3bf
|
Setup gitpod-db/go package
|
2022-11-18 11:32:48 +02:00 |
|
Alex Tugarev
|
c1697361e0
|
[server] fix persist of DBOAuthAuthCodeEntry (part 2)
|
2022-11-17 17:09:47 +02:00 |
|
Alex Tugarev
|
9e45cb089a
|
[server] fix persist of DBOAuthAuthCodeEntry
|
2022-11-17 10:22:46 +02:00 |
|
Laurie T. Malau
|
3d3c50156d
|
[public api] Enable dbsync for d_b_personal_access_token
|
2022-11-16 12:02:45 +02:00 |
|
Laurie T. Malau
|
d304ba5fba
|
[db] Create d_b_personal_access_token
|
2022-11-16 00:29:45 +02:00 |
|
Alex Tugarev
|
771bf61865
|
[server] add logs to debug persistence error with userId
|
2022-11-15 16:35:45 +02:00 |
|
Milan Pavlik
|
d9755913dc
|
[db] Log error when storing ssh public key
|
2022-11-15 16:09:45 +02:00 |
|
Milan Pavlik
|
3de81d3cd9
|
[server] Remove db-workspace-instance-usage
|
2022-11-14 16:53:44 +02:00 |
|
Jan Keromnes
|
56a4fe2895
|
[usage] Introduce an explicit CostCenter.BillingCycleStart time
|
2022-11-11 13:32:41 +02:00 |
|
Jean Pierre
|
993547c1dc
|
[code] sync profiles/collections (#13620)
* Add sync collections to sync server
* Add deleted column
|
2022-11-10 11:29:19 +01:00 |
|
Andrew Farries
|
901aff37d0
|
Add d_b_workspace_cluster table to sync config
|
2022-11-02 15:45:07 +01:00 |
|
Andrew Farries
|
15738648aa
|
Make findFiltered respect soft deletion
|
2022-11-02 12:07:06 +01:00 |
|
Andrew Farries
|
36a496e1be
|
Add failing test for findFiltered
Check that the method correctly excludes soft-deleted clusters.
|
2022-11-02 12:07:06 +01:00 |
|
Andrew Farries
|
7ad64ced9a
|
Filter out deleted clusters in findByName
|
2022-11-02 12:07:06 +01:00 |
|
Andrew Farries
|
dd44961197
|
Change deleteByName to use soft deletion
|
2022-11-02 12:07:06 +01:00 |
|
Milan Pavlik
|
d64eb0cef0
|
[server] Do not fail joining a team you're already a member of
|
2022-11-02 11:42:07 +01:00 |
|
Andrew Farries
|
31399661d5
|
Amend tests to use new deleted field
|
2022-11-02 09:26:07 +01:00 |
|
Andrew Farries
|
ab0d913355
|
Add deleted col to d_b_workspace_cluster table
|
2022-11-02 09:26:07 +01:00 |
|
Andrew Farries
|
19c0a6d315
|
Add extra assertions
|
2022-11-01 17:36:06 +01:00 |
|
Andrew Farries
|
ff1f3c2a91
|
Update entity with additional PrimaryColumn
|
2022-11-01 12:18:06 +01:00 |
|
Andrew Farries
|
9baff6bfbc
|
Add migration to change primary key
|
2022-11-01 09:49:06 +01:00 |
|
Andrew Farries
|
076f35a1f2
|
Make deleteByName take an applicationCluster
Deleting a workspace cluster by name only makes sense in the context of
a particular workspace cluster.
|
2022-10-26 17:26:42 +02:00 |
|
Andrew Farries
|
e9eb6ac097
|
Make findByName take an applicationCluster
Finding a workspace cluster by name only makes sense in the context of a
particular workspace cluster.
|
2022-10-26 17:26:42 +02:00 |
|
Andrew Farries
|
eddd3936c5
|
Make applicationCluster mandatory when filtering
|
2022-10-26 17:26:42 +02:00 |
|
Andrew Farries
|
99865077c1
|
Add tests for workspace-cluster-db implementation
Check that it's possible to finder workspace clusters by name and
application cluster.
|
2022-10-26 17:26:42 +02:00 |
|
Andrew Farries
|
1e0a4ba76b
|
Add _lastModified column to d_b_workspace_cluster
So that it can be synced with `db-sync.`
|
2022-10-24 16:38:39 +02:00 |
|
Jan Keromnes
|
7deb45df4e
|
[gitpod-db] Increase "before each" timeout of AccountingDBSpec 10s → 30s
|
2022-10-21 11:33:36 +02:00 |
|
Milan Pavlik
|
49b02cd883
|
Revert "[server] Garbage collect probe workspaces"
This reverts commit 0a857e5d4cb81cf59c7f3b2f93b2c40da6b95565.
|
2022-10-20 12:02:35 +02:00 |
|
Milan Pavlik
|
5dba64eaf7
|
[stripe] Add d_b_stripe_customer to db-sync
|
2022-10-19 12:00:34 +02:00 |
|
Milan Pavlik
|
580a1e732f
|
[stripe] Recreate d_b_stripe_customer table
|
2022-10-19 09:15:34 +02:00 |
|
Milan Pavlik
|
b9dea4ac15
|
[stripe] Create d_b_stripe_customer table to store Customer ID and Attribution ID
|
2022-10-18 17:38:34 +02:00 |
|
Andrew Farries
|
7ea0256d97
|
Change length of applicationCluster field
|
2022-10-17 18:34:32 +02:00 |
|
Andrew Farries
|
533346ab34
|
Add applicationCluster field to table
This field will record to which workspace cluster the information in
each row belongs.
|
2022-10-17 18:34:32 +02:00 |
|
Milan Pavlik
|
cc95da9cd4
|
[server] Fix typo in probe workspaces search
|
2022-10-11 13:31:26 +02:00 |
|
Milan Pavlik
|
f7f90a0175
|
[server] Prevent changing role for teams of size 1
|
2022-10-11 11:21:26 +02:00 |
|
Milan Pavlik
|
0a857e5d4c
|
[server] Garbage collect probe workspaces
|
2022-10-10 16:53:25 +02:00 |
|
Andrew Farries
|
390379bf16
|
Remove uid field from entity
|
2022-10-07 17:06:23 +02:00 |
|
Andrew Farries
|
5cf8e7f5ca
|
Drop uid column on d_b_oauth_auth_code_entry
|
2022-10-07 11:29:22 +02:00 |
|
Andrew Farries
|
75889c336e
|
Add d_b_oauth_auth_code_entry to db-sync
|
2022-10-07 10:07:22 +02:00 |
|
Andrew Farries
|
63f283e296
|
Reset primary keys in d_b_oauth_auth_code_entry
|
2022-10-06 15:57:22 +02:00 |
|
Milan Pavlik
|
ea2f740d38
|
[server] Throw specific errors when interacting with teams
|
2022-10-06 14:00:22 +02:00 |
|