Commit graph

773 commits

Author SHA1 Message Date
7bbc729b87 Fix duplicates in payment method creation 2020-03-09 12:25:11 +01:00
b10cae472e Fix migration dependencies after rebase 2020-03-09 12:25:11 +01:00
952cf8fd13 Remove unused empty migration 2020-03-09 12:25:11 +01:00
7e278228bd Fix payment update updates 2020-03-09 12:25:11 +01:00
31507c0f1a Fix error in stripe get_customer_id_for 2020-03-09 12:25:11 +01:00
7e58a8ace2 Fix generate-bills, remove debug print in charge method 2020-03-09 12:25:11 +01:00
a4fa0def4b Fix dumb logic errors/typo from last commit 2020-03-09 12:25:11 +01:00
80fe28588e Revamp stripe error handling 2020-03-09 12:25:11 +01:00
4e658d2d77 Remove legacy credit card support 2020-03-09 12:25:11 +01:00
5161a74354 Add STRIPE_PUBLIC_KEY setting 2020-03-09 12:25:11 +01:00
0e62ccff3b Cleanup/reorder uncloud_pay views 2020-03-09 12:25:11 +01:00
bf83b750de Replace legacy Stripe Charge API by Payment{setup, intent} 2020-03-09 12:24:14 +01:00
Nico Schottelius
47148454f6 s/_/-/ for bill id 2020-03-06 11:11:16 +01:00
Nico Schottelius
0032c272e7 Merge branch 'bill-id' of code.ungleich.ch:nico/meow-pay 2020-03-06 11:10:47 +01:00
Nico Schottelius
263125048d Begin to introduce a DCL alike view for VMs 2020-03-06 11:10:20 +01:00
658262c599 Add human readable reference to bills 2020-03-06 09:39:41 +01:00
c41b55573a Fix order link in BillRecordSerializer 2020-03-06 09:32:25 +01:00
4016c28c5f Fix generate-bills 2020-03-06 09:17:31 +01:00
Nico Schottelius
aa8336b7e4 VM: def __str__ 2020-03-05 23:55:33 +01:00
Nico Schottelius
0e6a6afd88 [opennebula] Fix fields/serializers 2020-03-05 23:18:07 +01:00
Nico Schottelius
efbe1c0596 Merge commands into the "vm" command 2020-03-05 17:52:01 +01:00
6c7f0e98b3 Rebuild paymentmethod/stripe migrations from master 2020-03-05 16:24:45 +01:00
Nico Schottelius
b8c2f80e45 [vmhost] add available_ram_in_gb and available_cores 2020-03-05 15:06:34 +01:00
Nico Schottelius
139aca6a61 Remove vms field from vmhost
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 14:58:45 +01:00
Nico Schottelius
2a73f0e767 [migration] make vm name optional, use storage class choices
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 14:22:56 +01:00
Nico Schottelius
66e224e926 [storage] move choices to uncloud_storage 2020-03-05 14:21:10 +01:00
Nico Schottelius
10f09c7115 add an old client hack (just for reference) 2020-03-05 14:15:33 +01:00
Nico Schottelius
ec7a2a3c3a Correct pricing for VMProduct 2020-03-05 14:00:14 +01:00
b07df26eb2 Move STRIPE_PUBLIC_KEY to secrets (i.e. local configuration) 2020-03-05 11:51:08 +01:00
b958cc77ea Fix duplicates in payment method creation 2020-03-05 11:45:37 +01:00
e9b6a6f277 Fix migration dependencies after rebase 2020-03-05 11:43:07 +01:00
546667d117 Remove unused empty migration 2020-03-05 11:39:48 +01:00
b88dfa4bfe Fix payment update updates 2020-03-05 11:39:48 +01:00
d6ee806467 Fix error in stripe get_customer_id_for 2020-03-05 11:39:48 +01:00
a41184d83d Fix generate-bills, remove debug print in charge method 2020-03-05 11:39:48 +01:00
2f70418f4d Fix dumb logic errors/typo from last commit 2020-03-05 11:39:48 +01:00
21e1a3d220 Revamp stripe error handling 2020-03-05 11:39:48 +01:00
4cc19e1e6e Remove legacy credit card support 2020-03-05 11:39:48 +01:00
08bf7cd320 Add STRIPE_PUBLIC_KEY setting 2020-03-05 11:39:48 +01:00
7e9f2ea561 Cleanup/reorder uncloud_pay views 2020-03-05 11:39:48 +01:00
929211162d Replace legacy Stripe Charge API by Payment{setup, intent} 2020-03-05 11:39:48 +01:00
Nico Schottelius
cf17373b3f Fix ahmed introduced migrations
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 11:35:00 +01:00
Nico Schottelius
14a4fa8cc1 Merge remote-tracking branch 'ahmed/migrate-one-to-regular-vm' 2020-03-05 11:34:15 +01:00
Nico Schottelius
4fc1c36ae9 fix incorrect migrations from fnux-stable branch
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 11:17:30 +01:00
371c5ccf00 Merge remote-tracking branch 'origin/fnux-hacks' 2020-03-04 12:12:22 +01:00
faca104459 Fix stripe import in uncloud_pay.models 2020-03-04 11:05:21 +01:00
9e8149135b Move bill generation logic to Bill class, initial work for prepaid 2020-03-04 10:55:12 +01:00
02b287eff8 small cleaning 2020-03-04 14:44:41 +05:00
9aabc66e57 Pay: move some model-related methods from helpers to models
Otherwise we end up in circular dependency hell
2020-03-04 09:39:18 +01:00
a662b1fe29 Make migrate-one-vm-to-regular command idempotent 2020-03-04 13:25:46 +05:00