Commit graph

34 commits

Author SHA1 Message Date
9fdf66ed74 Fix MatrixService ordering 2020-03-03 10:51:16 +01:00
b31aa72f84 Allow to select billing period when registering VM 2020-03-03 10:14:56 +01:00
9e253d497b Wrap VM creation in database transaction 2020-03-02 09:30:51 +01:00
81bd54116a Add records to orders 2020-03-02 09:25:03 +01:00
be2b0a8855 Fix a few errors on preview billing rework
Another WIP commit to sync with laptop, do not forget to rebase!
2020-03-01 12:23:04 +01:00
e319d1d151 WIP revamped bill logic 2020-02-29 09:08:55 +01:00
af1265003e Define custom fields and serializer for MatrixServiceProduct 2020-02-28 16:26:45 +01:00
eaa483e018 Commit forgottem uncloud_vm migrations 2020-02-28 15:08:45 +01:00
181005ad6c Cleanup VMProduct serializer, add name field to VMProduct 2020-02-28 15:08:00 +01:00
b3bbfafa04 Introduce custom ProductViewSet preventing customer from updating
products
2020-02-28 14:57:45 +01:00
b5a242f176 Merge branch 'master' into fnux-hacks 2020-02-28 14:06:29 +01:00
059791e2f2 Add initial generate-bills and charge-negative-balance uncloud-pay
commands
2020-02-28 08:59:32 +01:00
ef5e7e8035 Quickly wire vm creation to orders 2020-02-28 07:26:34 +01:00
0e28e50bac Revert "Commit WIP changes for /order, if needed at any point"
This reverts commit 83794a1781a1b84506100b39a6997882c654b4f3.
2020-02-28 07:25:18 +01:00
38d3a3a5d3 Commit WIP changes for /order, if needed at any point 2020-02-28 07:25:18 +01:00
809a55e1dd Wire VMProduct creation to order 2020-02-28 07:25:18 +01:00
b2fe5014d8 Make recurring_period an Enum, VMProduct a Product, initial wire for
order
2020-02-28 07:25:05 +01:00
Nico Schottelius
288a65f219 ++update
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-27 15:29:15 +01:00
Nico Schottelius
7bf4f2adb2 --debug
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-27 12:36:33 +01:00
Nico Schottelius
a9aac39486 Create a vmsnapshot + associated order 2020-02-27 12:31:20 +01:00
Nico Schottelius
41a5eae879 cleanup views/vmsnapshot 2020-02-27 12:09:29 +01:00
Nico Schottelius
657dfc541e Merge remote-tracking branch 'origin/fnux-hacks'
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-27 12:06:02 +01:00
Nico Schottelius
fd648ade65 ++cleanup
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-27 12:02:41 +01:00
06ab21c577 Fix python errors on latest hack commits => make runserver happy again 2020-02-27 11:59:28 +01:00
Nico Schottelius
a58a361254 Move snapshot to _pay and _vm 2020-02-27 11:36:50 +01:00
Nico Schottelius
df851bee08 Merge branch 'master' of code.ungleich.ch:nico/meow-pay 2020-02-26 11:16:46 +01:00
Nico Schottelius
0b60765e2b in between commit 2020-02-26 11:16:42 +01:00
Nico Schottelius
bd3d21faa9 add thoughts for health checking 2020-02-25 22:04:04 +01:00
Nico Schottelius
c7ded96658 vmhosts, restructure urls, etc. 2020-02-25 22:01:55 +01:00
Nico Schottelius
d4b170f813 phase in vmhost
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-25 20:53:12 +01:00
Nico Schottelius
15b0fe3dc9 fix migrations the ugly way
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-23 18:11:14 +01:00
Nico Schottelius
50df7050d6 vmhost: add status field 2020-02-23 17:46:30 +01:00
Nico Schottelius
734c406245 Extend uncloud VM models 2020-02-23 17:43:06 +01:00
Nico Schottelius
94633d6cc8 move uncloud a layer up
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-23 14:07:37 +01:00