PCoder
29bd6b5b3c
Use correct app name
2021-04-15 09:45:20 +05:30
PCoder
f02f15f09b
First pass at the add-opennebula-vm-orders management command
...
Command executes but still does not create bills
2021-04-14 17:02:45 +05:30
Nico Schottelius
df4c0c3060
in between commit to update for cc tests
2020-12-25 10:31:42 +01:00
Nico Schottelius
8dd4b712fb
[views] add index view for uncloud
2020-12-25 10:11:13 +01:00
Nico Schottelius
50a395c8ec
sort requirements.txt
2020-12-25 10:10:57 +01:00
Nico Schottelius
663d72269a
[wireguard] verify key length
2020-12-25 10:08:34 +01:00
Nico Schottelius
a0fbe2d6ed
[wireguard] add unique constrain for keys in pool
2020-12-24 17:26:53 +01:00
Nico Schottelius
858aabb5ba
Return value from validation
2020-12-20 22:03:43 +01:00
Nico Schottelius
ece2bca831
add new /sizes endpoint
2020-12-20 21:45:47 +01:00
Nico Schottelius
cdab685269
[vpn/doc] update docs
2020-12-20 19:37:12 +01:00
Nico Schottelius
689375a2fe
Fix the config task
2020-12-20 19:17:03 +01:00
Nico Schottelius
8f83679c48
test cleaning tasks in a task fails:
...
[2020-12-20 18:01:50,264: WARNING/ForkPoolWorker-7] Pruning UncloudTask object (571ffc76-8b40-4cb6-9658-87030834bc6c)...
[2020-12-20 18:01:50,265: ERROR/ForkPoolWorker-7] Task uncloud.tasks.cleanup_tasks[f9fb1480-f122-41c9-bec1-3d6d0f92a22e] raised unexpected: RuntimeError('Never call result.get() within a task!\nSee http://docs.celeryq.org/en/latest/userguide/tasks.html#task-synchronous-subtasks\n ')
Traceback (most recent call last):
File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/celery/app/trace.py", line 405, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/celery/app/trace.py", line 697, in __protected_call__
return self.run(*args, **kwargs)
File "/home/nico/vcs/uncloud/uncloud/tasks.py", line 13, in cleanup_tasks
print(res.get())
File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/celery/result.py", line 209, in get
assert_will_not_block()
File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/celery/result.py", line 37, in assert_will_not_block
raise RuntimeError(E_WOULDBLOCK)
RuntimeError: Never call result.get() within a task!
See http://docs.celeryq.org/en/latest/userguide/tasks.html#task-synchronous-subtasks
2020-12-20 19:01:37 +01:00
Nico Schottelius
5e870f04b1
++celery/tasks
2020-12-20 18:36:46 +01:00
Nico Schottelius
63191c0a88
Remove $ that is not needed in python...
2020-12-20 13:24:55 +01:00
Nico Schottelius
03c0b34446
++config vpn server
2020-12-20 13:00:36 +01:00
Nico Schottelius
1922a0d92d
++routing tests
2020-12-20 12:54:02 +01:00
Nico Schottelius
2e6c72c093
wireguard/celery fixes
2020-12-20 12:45:36 +01:00
Nico Schottelius
b3626369a2
--syntax error
2020-12-20 12:24:35 +01:00
Nico Schottelius
179baee96d
fix celery task routes syntax error
2020-12-20 12:22:50 +01:00
Nico Schottelius
054886fd9c
begin phasing in config of vpn via cdist
2020-12-20 12:20:54 +01:00
Nico Schottelius
e2b36c8bca
celery test
2020-12-13 19:50:36 +01:00
Nico Schottelius
372fe800cd
fill in template values for settings
2020-12-13 19:06:22 +01:00
Nico Schottelius
16f3adef93
[doc] ++requirements alpine
2020-12-13 18:56:47 +01:00
Nico Schottelius
2d62388eb1
phasing in celery
...
for configuring the vpn server
2020-12-13 18:34:43 +01:00
Nico Schottelius
aec79cba74
[vpn] include vpn server public key
2020-12-13 18:05:48 +01:00
Nico Schottelius
cd19c47fdb
[vpn] implement creating vpns
2020-12-13 17:59:35 +01:00
Nico Schottelius
cf948b03a8
++vpn network
2020-12-13 13:28:43 +01:00
Nico Schottelius
5716cae900
[vpn] add selector for size
2020-12-13 11:43:49 +01:00
Nico Schottelius
10d5a72c5a
[refactor] cleaning up uncloud_net for Wireguardvpn
2020-12-13 11:38:41 +01:00
Nico Schottelius
074cffcbd7
Add selection for vpnnetworkreservations
2020-12-09 21:20:33 +01:00
Nico Schottelius
7f32d05cd4
begin phasing in vpn support [poc]
2020-12-09 20:22:33 +01:00
Nico Schottelius
0fd5ac18cd
do not import pay->auth
...
Try to keep common things in the "uncloud" module
2020-12-06 11:53:37 +01:00
Nico Schottelius
ad0c2f1e9d
Merge branch 'master' of code.ungleich.ch:uncloud/uncloud
2020-11-17 11:47:53 +01:00
Nico Schottelius
0b1c2cc168
Cleanup code so that *most* test work again
...
Still need to solve the downgrade test
2020-11-15 15:43:11 +01:00
4845ab1e39
Create account using api
...
Registration and change_email is backed by ldap
2020-11-14 14:50:43 +05:00
Nico Schottelius
ecc9e6f734
[reverseDNS] add basic logic
2020-10-25 22:43:34 +01:00
Nico Schottelius
20c7c86703
restructure to move uncloudnetwork into core
2020-10-25 21:00:30 +01:00
Nico Schottelius
8959bc6ad5
various updates
2020-10-25 13:52:36 +01:00
Nico Schottelius
0cd8a3a787
++update ungleich_provider
2020-10-11 22:36:01 +02:00
Nico Schottelius
bbc7625550
phase in configuration - move address to base
2020-10-11 22:32:08 +02:00
Nico Schottelius
fe4e200dc0
Begin phasing in the uncloudprovider
2020-10-11 17:45:25 +02:00
Nico Schottelius
e03cdf214a
update VAT importer
2020-10-08 19:54:04 +02:00
Nico Schottelius
50fd9e1f37
++work
2020-10-07 00:54:56 +02:00
Nico Schottelius
2e74661702
Fix first test case / billing
2020-10-06 23:14:32 +02:00
Nico Schottelius
c26ff253de
One step furter to allow saving of orders w/o explicit recurringperiod
2020-10-06 19:21:37 +02:00
Nico Schottelius
9623a77907
Updating for products/recurring periods
2020-10-06 18:53:13 +02:00
Nico Schottelius
c435639241
gitignore some tests
2020-10-06 16:13:03 +02:00
Nico Schottelius
992c7c551e
Make recurring period a database model
...
- For easier handling (foreignkeys, many2many)
- For higher flexibility (users can define their own periods)
2020-10-06 15:46:22 +02:00
Nico Schottelius
58883765d7
[tests] back to 5 working tests!
2020-09-28 23:16:17 +02:00
Nico Schottelius
8d8c4d660c
Can order a generic product now
2020-09-28 21:59:35 +02:00