Commit graph

779 commits

Author SHA1 Message Date
Nico Schottelius
04fac71a85 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-05-17 22:38:49 +02:00
Nico Schottelius
ef76304bae + old stuff 2020-05-17 22:35:25 +02:00
Nico Schottelius
ec447e0dc4 Add support for primary address in user.
Closes #35

Fixes #35
2020-05-10 21:47:44 +02:00
Nico Schottelius
ca2065a94d gitignore for local settings 2020-05-10 14:37:20 +02:00
Nico Schottelius
dc7a465a8c Fix exception if first order does not have billing address 2020-05-10 14:22:09 +02:00
65440ab2ef Add depends_on relation on orders 2020-05-08 16:47:32 +02:00
d794b24c86 Make VM order-able again 2020-05-08 16:31:33 +02:00
df059fb00d Speed-up CI with pre-built image, add resources directory 2020-05-08 12:15:40 +02:00
67af7b5465 Add missing billnico migration 2020-05-08 11:43:01 +02:00
beb5bd7ee4 Fix existing uncloud_pay tests 2020-05-08 11:33:59 +02:00
9574d69f4c Move VAT rate CSV out of archive/ 2020-05-08 11:23:09 +02:00
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