Commit Graph

582 Commits

Author SHA1 Message Date
fnux e319d1d151 WIP revamped bill logic 2020-02-29 09:08:55 +01:00
fnux af1265003e Define custom fields and serializer for MatrixServiceProduct 2020-02-28 16:26:45 +01:00
fnux eaa483e018 Commit forgottem uncloud_vm migrations 2020-02-28 15:08:45 +01:00
fnux 181005ad6c Cleanup VMProduct serializer, add name field to VMProduct 2020-02-28 15:08:00 +01:00
fnux b3bbfafa04 Introduce custom ProductViewSet preventing customer from updating
products
2020-02-28 14:57:45 +01:00
fnux 33cc2b2111 Add uncloud_storage template app 2020-02-28 14:48:01 +01:00
fnux 3b87a47430 Add initial ungleich_service app with MatrixServiceProduct shell 2020-02-28 14:46:33 +01:00
fnux b5a242f176 Merge branch 'master' into fnux-hacks 2020-02-28 14:06:29 +01:00
fnux 1cb1de4876 Add (broken) charge method to payment method endpoint 2020-02-28 11:10:31 +01:00
fnux c0512e54b0 Add handle-overdue-bills 2020-02-28 10:18:24 +01:00
fnux e12575e1de Commit forgotten migration on Orders (Float->Decimal) 2020-02-28 09:59:13 +01:00
fnux adb57c55ca Revamp generate-bills logic to avoid overlapping 2020-02-28 09:58:01 +01:00
Nico Schottelius 89215e47b6 phase in mac 2020-02-28 09:34:29 +01:00
fnux 37ed126bc1 Create payment on strip charging 2020-02-28 09:26:18 +01:00
fnux 4bed53c8a8 Wire charge-negative-balance to payment methods 2020-02-28 09:10:36 +01:00
fnux 059791e2f2 Add initial generate-bills and charge-negative-balance uncloud-pay
commands
2020-02-28 08:59:32 +01:00
fnux ef5e7e8035 Quickly wire vm creation to orders 2020-02-28 07:26:34 +01:00
fnux b1649a6228 Remove product resolution from /order endpoint 2020-02-28 07:25:56 +01:00
fnux 0e28e50bac Revert "Commit WIP changes for /order, if needed at any point"
This reverts commit 83794a1781a1b84506100b39a6997882c654b4f3.
2020-02-28 07:25:18 +01:00
fnux 38d3a3a5d3 Commit WIP changes for /order, if needed at any point 2020-02-28 07:25:18 +01:00
fnux 809a55e1dd Wire VMProduct creation to order 2020-02-28 07:25:18 +01:00
fnux b2fe5014d8 Make recurring_period an Enum, VMProduct a Product, initial wire for
order
2020-02-28 07:25:05 +01:00
fnux 1dd3324275 Wiring initial user balance 2020-02-28 07:24:51 +01:00
fnux 36fcff5149 Add initial structure for payment methods 2020-02-28 07:24:51 +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 bd6008462d add template for uncloud_net
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-27 15:29:05 +01:00
Nico Schottelius 70a4fe4d90 order: serialize all fields 2020-02-27 12:45:54 +01:00
Nico Schottelius e89fb45f9c Merge remote-tracking branch 'origin/fnux-hacks' 2020-02-27 12:43:24 +01:00
fnux 1ff5702ce3 Expose Order model 2020-02-27 12:42:24 +01:00
Nico Schottelius b722f30ea5 ++doc 2020-02-27 12:42:09 +01:00
fnux f5eadd6ddb Move user view to uncloud_pay 2020-02-27 12:38:04 +01:00
Nico Schottelius 1445acb77a Merge remote-tracking branch 'origin/fnux-hacks' 2020-02-27 12:36:40 +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
fnux 225f20c91b Fix typo in payment source model 2020-02-27 12:21:52 +01:00
fnux b9b605f407 Add ADMIN endpoints for bills and payments 2020-02-27 12:21:25 +01:00
fnux f358acca05 Fix payment creation 2020-02-27 12:11:13 +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
fnux 06ab21c577 Fix python errors on latest hack commits => make runserver happy again 2020-02-27 11:59:28 +01:00
Nico Schottelius 11d629bb51 [uncloud_api] completely remove it 2020-02-27 11:42:42 +01:00
Nico Schottelius aa59b05a2d cleanup urls 2020-02-27 11:40:36 +01:00
Nico Schottelius a58a361254 Move snapshot to _pay and _vm 2020-02-27 11:36:50 +01:00
Nico Schottelius 1ca247148c [uncloud_pay] add "prototype" 2020-02-27 11:21:38 +01:00
ahmadbilalkhalid 033b1e846a Merge branch 'nico/meow-pay-master' into HEAD 2020-02-27 14:35:52 +05:00
Nico Schottelius c0bf4d96c4 ++ debian/devuan notes 2020-02-26 21:13:30 +01:00
Ahmed Bilal 0a6fa031d3 Merge branch 'master' into 'master'
Merge nico/meow-pay into ahmedbilal/meow-pay

See merge request ahmedbilal/meow-pay!5
2020-02-26 11:31:18 +01:00
Ahmed Bilal 0c7ca1147a fix migrations the ugly way
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-26 11:31:17 +01:00
Nico Schottelius df851bee08 Merge branch 'master' of code.ungleich.ch:nico/meow-pay 2020-02-26 11:16:46 +01:00