74e2168529
Fix floating-point issue on bills ( Fix #31 )
2020-05-08 11:13:11 +02:00
444d6ded28
Move AMOUNT_* and COUNTRIES to uncloud_pay/init.py
2020-05-08 10:56:03 +02:00
cbba1f4169
Add admin bill generation endpoint
2020-05-08 10:42:04 +02:00
d47c94ba84
Implement non-destructive order updates
2020-05-08 10:07:44 +02:00
89e853b490
Add order termination logic
2020-05-08 09:31:46 +02:00
Nico Schottelius
1b97fc8fc7
Merge branch 'master' of code.ungleich.ch:uncloud/uncloud
2020-05-07 20:22:49 +02:00
Nico Schottelius
41a2f18453
In between commit
2020-05-07 20:22:42 +02:00
a086d46136
Allow bill download from admin bill endpoint
2020-05-07 15:45:04 +02:00
ae2bad5754
Generate bill PDFs from /my/bill
2020-05-07 15:38:49 +02:00
3874165189
Fix bill generation
2020-05-07 14:24:04 +02:00
56d98cbb55
Implement Orders/Bills permissions, unpaid bill views
2020-05-07 13:12:38 +02:00
718abab9d2
Add make-admin command to uncloud_auth
2020-05-07 12:45:06 +02:00
268e08c4db
Adapt README for SQLite
2020-05-07 12:31:59 +02:00
b8ac99acb6
On more small commit to fix README formatting
2020-05-07 12:25:05 +02:00
221d98af4b
Inline CI badges
2020-05-07 12:24:17 +02:00
ebd4e6fa1b
Add fancy CI badges to README
2020-05-07 12:23:17 +02:00
b512d42058
Add devel environment setup instructions
2020-05-07 12:21:49 +02:00
1245c191c0
Adapt CI to new structure
2020-05-07 12:13:48 +02:00
95d43f002f
Move django-based uncloud to top-level
2020-05-07 12:12:35 +02:00
0560063326
Add description field to Orders
2020-05-07 12:08:18 +02:00
db3c29d17e
Fix admin order creation
2020-05-07 12:05:26 +02:00
892b2b6f13
Revert "Disable vat validator to get project back running"
...
This reverts commit 1cf20a2cb6
.
2020-05-07 12:03:28 +02:00
Nico Schottelius
aa8ade4730
Add readme about identifiers
2020-05-05 16:01:47 +02:00
Nico Schottelius
594f1a9b69
+hacks
2020-05-05 15:19:50 +02:00
Nico Schottelius
e3b28354fe
++notes
2020-05-05 15:19:04 +02:00
Nico Schottelius
99a18232aa
VMs now properly set their pricing
2020-05-02 23:44:20 +02:00
Nico Schottelius
c835c874d5
[BREAKING] make Order a stand-alone version
...
I think that while the idea of an Orderrecord is good, we might get
away / have a simpler implementation if we only use orders and
reference them where needed.
I saved the previous Order model for easy rollback, if my assumption
is wrong.
2020-05-02 22:48:05 +02:00
Nico Schottelius
028f1ebe6e
Entry point /beta/vm/ works for creating VM + order
2020-05-02 22:03:34 +02:00
Nico Schottelius
9ef5309b91
+db migrations for pay/vm
...
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-05-02 21:21:29 +02:00
Nico Schottelius
4097c2ce13
BillingAddress: make mget_preferred_address a classmethod
2020-05-02 21:20:14 +02:00
Nico Schottelius
736fe27493
Add issues.org as a shortcut for registering issues
2020-05-02 20:45:19 +02:00
Nico Schottelius
7d708cfbb6
Fix empty vat number bug
2020-05-02 20:42:09 +02:00
Nico Schottelius
927fb20671
Versionise API and cleanups
2020-05-02 20:31:36 +02:00
Nico Schottelius
eea654a9f8
Phase in new beta/vm view for creating vms + orders + bills
2020-05-02 19:15:48 +02:00
Nico Schottelius
2cda6441f4
Refactor secret / local settings handling
2020-05-02 00:16:29 +02:00
Nico Schottelius
62d9ccbbef
[vpn] begin to introduce save() method
...
The save() and delete() method will create/manage the orders
2020-04-27 18:25:44 +02:00
Nico Schottelius
1cf20a2cb6
Disable vat validator to get project back running
2020-04-27 18:25:27 +02:00
94932edebe
Add user admin endpoint, import from LDAP
2020-04-18 15:11:52 +02:00
a15952862a
Make VM order-able again
2020-04-18 15:11:46 +02:00
cec4263621
Merge branch 'vat-handling' into 'master'
...
VAT support handling
See merge request uncloud/uncloud!7
2020-04-18 11:57:16 +02:00
f61b91dab2
Catch any exception from VIES VAT check
2020-04-18 11:51:13 +02:00
b3afad5d5d
Compute VAT rate and amount on bill generation
2020-04-18 11:43:55 +02:00
3a03717b12
Split bills between orders of the same billing address
2020-04-18 11:21:11 +02:00
db9ff5d18b
Display allr elevant values on Bill serializer/page
2020-04-18 10:43:23 +02:00
a49fe6ff51
Properly wire billing addresses to uncloud_service
2020-04-18 10:40:11 +02:00
dd0c1cba94
Remove legacy ungleich_service migrations
2020-04-18 10:39:57 +02:00
c0e12884e1
Sync migrations - again!
2020-04-18 09:38:12 +02:00
9bbe3b3b56
Adapt uncloud_pay tests to support billing addresses
2020-04-18 09:26:34 +02:00
e6eba7542b
Minor fixes, DB sync after rebase
2020-04-18 09:26:21 +02:00
0522927c50
Start wiring BillingAddresses to bills & orders
2020-04-18 09:13:52 +02:00