Gero Posmyk-Leinemann
dfb6b6d6cb
[usage, server, dashboard] Remove ff usage_update_scheduler_duration ( #19914 )
...
* [usage, server, dashboard] Remove ff usage_update_scheduler_duration
* spelling improvement
Co-authored-by: Filip Troníček <filip@gitpod.io>
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-06-20 12:29:15 +02:00
Gero Posmyk-Leinemann
2686bc2f47
[server, bridge] Bump grpc-js and authzed clients ( #19849 )
...
* [yarn] Bump @grpc/grpc-js to 1.10.8 and @authzed/authzed-node to 0.15.0
* [server] SpiceDB: explicit re-try on UNAVAILABLE
We tried to configured this inside the SpiceDBClientProvider already, but somehow it still surfaced.
* [server, bridge] Configure "grpc.dns_min_time_between_resolutions_ms" to be 2s instead of 30s
2024-06-06 13:57:19 +08:00
Jean Pierre
d0b5b873ec
Add invalid billing address notification ( #19349 )
...
* Add webhook events
* Properly set AutomaticTax
* Use address element
* 💄
* Update susbcription on address update
* Try scroll modal
* Fix
* try fix modal scroll
* Add toast notification
* Add invalidBillingAddress column to d_b_stripe_customer
* 💄
* 💄
* Fix
* Try fix update
* Address feedback
2024-01-29 11:12:05 +02:00
Sven Efftinge
3a07121763
[fga] add relationship update job ( #18671 )
2023-09-07 06:11:03 +02:00
Gero Posmyk-Leinemann
44688ce840
[proto] Add usage-api to leeway run components:generate-code-from-protobuf ( #18672 )
2023-09-06 17:07:03 +02:00
Sven Efftinge
841b616c34
[spicedb] fix stale connection handling ( #18631 )
2023-09-01 12:53:58 +02:00
Jean Pierre
c402032d0c
Update protobufjs lib ( #18605 )
2023-08-29 19:54:55 +02:00
Sven Efftinge
667bd2f005
[usage] add optional UserID to filter usage ( #18449 )
2023-08-08 07:46:33 +02:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages ( #18128 )
...
* [ts] Pin mimimatch and minimist
* [server] Update minio
* [ts] Remove superfluous node-pre-gyp dep
* [ts] Pin jsonwebtoken to 9.0.0
* [grpc] Update grpc-toolsis
* [ts] Upgrade from mocha-typescript to @testdeck/mocha
* fix rimraf
2023-07-03 14:47:19 +08:00
Brad Harris
2eaf257d89
removing setup intent related code ( #17539 )
2023-05-10 01:41:54 +08:00
Brad Harris
0f88afefb8
adding backend support for payment intents ( #17309 )
...
* adding support for payment intents
* support payment intents in server
* handling new arg
* adjust hold to be 1.00
* removing old comment
2023-04-22 03:05:42 +08:00
Milan Pavlik
c0cd571e78
[usage] Add OnChargeDispute rpc definition ( #17036 )
...
* [usage] Add OnChargeDispute rpc definition
* [public-api] Setup handler for charge.dispute.created (#17034 )
* [public-api] Setup handler for charge.dispute.created
* fix
* fix
* fix
2023-03-27 15:59:25 +02:00
Milan Pavlik
c0a5b9a08c
[stripe] Attach billing creator user id to Stripe customer ( #16996 )
...
* [stripe] Attach billing creator user id to Stripe customer
* fix
* fix
2023-03-23 16:48:16 +01:00
Sven Efftinge
03a5fb6ac7
[billing] provide human readable price info
2023-01-23 11:55:30 +01:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Sven Efftinge
a5d67448b2
Revert "[usage] handle reset usage for chargebee"
2022-12-02 11:47:01 -03:00
Sven Efftinge
2eead4a625
[usage] handle reset usage for chargebee
...
chargebee subscriptions that are cancelled get a dedicatd cost center
2022-11-30 09:08:00 -03:00
Sven Efftinge
e044c1d49f
[admin] allow usage adjustments
2022-11-22 06:31:51 -03:00
Alex Tugarev
3de193e3fb
[stripe] guard resubscribing with another currency
...
because it currently not supported.
2022-11-21 06:56:50 -03:00
Sven Efftinge
89d0b7df3f
[admin] add admin endpoints for usage
2022-11-18 12:57:47 +02:00
Jan Keromnes
56a4fe2895
[usage] Introduce an explicit CostCenter.BillingCycleStart time
2022-11-11 13:32:41 +02:00
Milan Pavlik
fa8cdc500d
[server] Break dependency of content-service on gitpod-protocol, and usage-api on gitpod-protocol
2022-11-09 12:23:38 +01:00
Milan Pavlik
a8638e4a14
[usage] Add UsageService.ResetUsage RPC
2022-10-26 16:17:41 +02:00
Laurie T. Malau
f52f5817a6
[usage] Fix proto for CreateStripeSubscription response message
2022-10-20 12:29:35 +02:00
Laurie T. Malau
e61ab5bf8e
[usage] Proto changes Stripe RPC
2022-10-18 16:31:33 +02:00
Milan Pavlik
d7ed1f005c
[billing] Define CreateStripeCustomer RPC
2022-10-18 12:14:33 +02:00
Milan Pavlik
922024d202
[usage] Return CostCenter from UsageService.SetCostCenter
2022-10-12 11:28:27 +02:00
Milan Pavlik
ccaff6ff2b
[usage] Add GetStripeCustomer to BillingService
2022-10-07 12:35:22 +02:00
Sven Efftinge
5670a5500e
[usage] show sum of usage not balance
...
fixes #13067
2022-09-23 10:03:24 +02:00
Sven Efftinge
1b995ef47f
[usage] introduce getBalance API
2022-09-23 07:34:23 +02:00
Sven Efftinge
4d35f4db8f
[usage] remove unused GetUpcomingInvoice
2022-09-19 11:22:20 +02:00
Milan Pavlik
23419beead
[usage] Remove BillingService.SetBilledSession proto
2022-09-16 17:20:17 +02:00
Sven Efftinge
9c9369b4e5
[usage-api] add CancelSubscription API
...
This API is called by Stripe when a customer cancels their subscription
2022-09-16 16:24:17 +02:00
Sven Efftinge
2701ec7bdc
[usage] added costcenter nextBillingTime
2022-09-15 19:18:16 +02:00
Milan Pavlik
c3673e3fdc
[usage] Rename ReconcileUsageWithLedger to ReconcileUsage
2022-09-13 15:55:14 +02:00
Sven Efftinge
e3ed2c638d
[usage-api] Use better typescript generator
2022-09-13 14:34:14 +02:00
Andrew Farries
2d3f0c36d6
Use correct return type rather than casting
...
In particular avoid the use of `||` against an enum type that can be 0.
See:
https://github.com/gitpod-io/gitpod/pull/12767#issuecomment-1242053307
2022-09-12 08:00:13 +02:00
Andrew Farries
06ef1ff858
Reformat file
2022-09-12 08:00:13 +02:00
Sven Efftinge
74bc751ec7
[cost center] Add save API
2022-09-09 11:25:24 +02:00
Milan Pavlik
066b577b6d
[usage] Remove unused RPCs from proto
2022-09-09 07:19:23 +02:00
Sven Efftinge
15e3de7b96
[usage-api] remove superceded API
2022-09-08 12:37:23 +02:00
Sven Efftinge
5e72785abc
[usage] remove ListBilledUsage API
2022-09-08 08:54:23 +02:00
Milan Pavlik
60c9bc2c8c
[billing] Add ReconcileInvoices RPC to BillingService protos
2022-09-07 09:55:22 +02:00
Sven Efftinge
e01c880447
Added API call to fetch usage data
2022-09-06 09:58:21 +02:00
Sven Efftinge
29388c9764
Added API call to fetch usage data
2022-09-06 09:04:21 +02:00
Milan Pavlik
f0f159efc4
[usage] Usage ledger API protos
2022-09-05 11:30:20 +02:00
Alex Tugarev
a8d0889405
Add pagination to list usage
2022-08-31 15:14:16 +02:00
Alex Tugarev
030c183993
Use upcoming invoice
2022-08-25 16:07:10 +02:00
Laurie T. Malau
f0e6ee3bed
[usage] Proto changes for GetCostCenter RPC
2022-08-24 11:38:40 +02:00
Milan Pavlik
cb478da342
[usage] Add report_id to ReconcileUsage response
2022-08-24 09:52:40 +02:00