60 Commits

Author SHA1 Message Date
Sven Efftinge
5c6a1aff67 Update components/ee/payment-endpoint/src/accounting/team-subscription-service.ts
Co-authored-by: Jan Keromnes <janx@linux.com>
2022-12-15 12:32:25 -03:00
Sven Efftinge
aaa0653d54 [ubp] reset usage on chargebee cancellation 2022-12-15 12:32:25 -03:00
Mads Hartmann
06557ea800 Remove build artifacts from leeway package srcs lists 2022-12-12 08:12:22 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrew Farries
9ea0867ce7 Implement soft deletion of pending github events 2022-09-29 15:29:29 +02:00
Milan Pavlik
e29d5ac7e0 [server] Remove handling of Probe Workspaces 2022-09-27 08:38:27 +02:00
Gero Posmyk-Leinemann
5c1074bbfc [server] Introduce BillingMode incl. tests 2022-08-04 12:11:48 -03:00
Gero Posmyk-Leinemann
2fe2de9cca [server] Format commit 2022-08-04 12:11:48 -03:00
Christian Weichel
48aff21449 [ws-manager-bridge] Use WS update status version 2022-07-08 20:23:55 +05:30
Thomas Schubart
f157a029ae Remove defaults 2022-07-06 11:13:53 +05:30
Thomas Schubart
cd60a4a12d [dashboard] Allow user to set workspace class 2022-07-06 11:13:53 +05:30
Jan Keromnes
7c0ecdbf86 [db][payment][server] Implement TeamSubscription2.excludeFromMoreResources 2022-06-01 16:37:50 +05:30
Jan Keromnes
516ed61420 [payment] Fix race condition on multiple new Team Plan joins 2022-05-30 21:45:48 +05:30
Jan Keromnes
1f1216028c [payment] Set excludeFromMoreResources to true by default 2022-05-19 01:47:33 +05:30
Jan Keromnes
ff300de9b2 [server][dashboard] Implement a new Team Billing where Owners can conveniently manage a paid plan for their Team 2022-05-16 13:25:31 +05:30
Jan Keromnes
7f6c5d0340 [payment] Implement a pro-ration helper method 2022-05-16 13:25:31 +05:30
Jan Keromnes
a2b2283005 [payment] Auto-format chargebee/team-subscription-handler.ts 2022-05-16 13:25:31 +05:30
Jan Keromnes
f40d0cf0aa [db][protocol] Implement TeamSubscription2 DB shapes and migration 2022-05-09 23:07:25 +05:30
Gero Posmyk-Leinemann
740092ec97 [server] Introduce TeamSubscription.excludeFromMoreResources 2022-03-07 22:07:14 +05:30
Gero Posmyk-Leinemann
a81c23ee50 [ts] Update network-facing libs like express (et al.), node-fetch, p-throttle 2022-02-21 22:34:01 +05:30
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
George Tsiolis
31dfc5bd6b Update WebApp team label in component owners 2022-01-26 10:17:18 +01:00
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Jean Pierre
4e2c57e672 Use space character instead of u+00a0 2022-01-21 08:13:13 +01:00
Prince Rachit Sinha
78f4dabf7b Increase timeout of failing test 2022-01-18 09:40:10 +01:00
Gero Posmyk-Leinemann
fec0a0a87f [db, payment] Remove DBPaymentSource 2021-12-20 16:05:44 +01:00
Gero Posmyk-Leinemann
22d6adaa5c [server] Debug logging for automatic OSS subscription 2021-12-16 10:32:40 +01:00
Gero Posmyk-Leinemann
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Gero Posmyk-Leinemann
56874b6a0f [server, et. al] Add repeat(cb, ms) as replacement for setInterval, and use it across meta components 2021-12-07 18:43:33 +01:00
Gero Posmyk-Leinemann
1ed5952d58 [payment-endpoint] GitHub: Run reconcilePendingEvents and bookkeeping in same transaction 2021-11-26 12:20:22 +01:00
Gero Posmyk-Leinemann
9e41eb0526 [db] Allow to share transaction across DB impls 2021-11-26 12:20:22 +01:00
Jan Koehnlein
5f1f48e35b [payment] added more resilience to GitHub payment endpoint 2021-11-22 10:37:19 +01:00
Gero Posmyk-Leinemann
5ce67b6bfb [payment-endpoint] Sanity check nr of slots on TS creation 2021-11-19 14:08:16 +01:00
Pudong Zheng
c715b3521f remove all private repo check 2021-11-09 12:20:07 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Jan Koehnlein
486f0bceb6 [payment] skip account statement on unlimited plans 2021-10-14 10:42:01 -03:00
Christian Weichel
8efac73cba [prow] Add labels to OWNERS files 2021-10-12 09:01:58 -03:00
Gero Posmyk-Leinemann
15fcc0ee42 [protocol] Log.setLogLevel 2021-09-20 11:48:45 -03:00
Gero Posmyk-Leinemann
add56ff722 [payment-endpoint] Logging hygiene 2021-09-20 04:29:45 -03:00
Sven Efftinge
e7362834bb [server] fix false positive error logs
'Found subscription which GitHub does
not know off. Ending subscription.'
2021-09-08 10:28:14 +02:00
Laurie T. Malau
6acd4f4a90 Remove references to allowsMarketingCommunication in test setups 2021-08-17 13:58:16 +02:00
Christian Weichel
df20a0ab13 [payment-endpoint] Remove VERSION env var
Logging is not a good enough reason to restart this service
2021-08-12 18:00:12 +02:00
Jan Koehnlein
e965bedffb [payment] cancel all subscriptions on user deletion 2021-08-12 13:05:11 +02:00
Christian Weichel
d63f0f4585 [bridge] Set stoppingTime when workspace is stopping
there's no need to include the time our workspaces take to stop into account
when computing workspace runtime (which is accounting relevant).
2021-07-20 11:31:24 +02:00
Alex Tugarev
313fc79b91 remove custom Without type 2021-07-20 10:42:24 +02:00
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
Sven Efftinge
4f99741f17 [server] private repo access after cancellation 2021-07-14 15:33:02 +02:00
Alex Tugarev
9ffcfd487f Fix prebuilds for projects 2021-07-14 07:55:36 +02:00