1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 07:35:22 +00:00
Commit graph

823 commits

Author SHA1 Message Date
Jan Krcmar
8148620025 instances.views.check_user_quota correct cpu/memory sum
instance resize respects quota
2016-03-23 13:25:28 +01:00
Jan Krcmar
27030113fb account max mamory label Max memory (MB), added MB 2016-03-23 13:24:14 +01:00
Jan Krcmar
738993d97a bugfix: instances list block poweron when is_template for normal users 2016-03-23 12:44:24 +01:00
Jan Krcmar
7cdac17b53 instances list block poweron when is_template for normal users 2016-03-23 12:07:52 +01:00
Jan Krcmar
c51e986b8c clone check_user_quota correct application logic 2016-03-23 12:04:15 +01:00
Jan Krcmar
027bbbc776 Merge remote-tracking branch 'andrem/master' 2016-03-23 10:54:25 +01:00
Jan Krcmar
6afcd00e2e logs view adds paging ability
settings.LOGS_PER_PAGE controls logs count per page
2016-03-23 10:38:33 +01:00
Jan Krcmar
317c2a85ae user can now clone instances, admin can specify user quotas (instances,cpus,memory)
user can only select predefined instance names, mac and disk names are selected automatically
2016-03-23 09:00:42 +01:00
Jan Krcmar
de5cb19913 class UserAddForm: remove is_staff, is_superuser 2016-03-23 08:53:29 +01:00
Jan Krcmar
78dcb10a57 .gitignore dhcpd.* 2016-03-22 10:32:16 +01:00
Jan Krcmar
c2b3938f2a add instances/migrations/0002_instance_is_template.py 2016-03-22 10:31:49 +01:00
Jan Krcmar
9832e662a8 account create_user_instance form sorts instances by name 2016-03-21 10:24:09 +01:00
andrem
b6350e134e add details for local socket 2016-03-18 15:21:44 -03:00
andrem
fc56e66555 add migration for new column details for hypervisor. 2016-03-18 12:07:42 -03:00
Anatoliy Guskov
ff4c05f90b Merge pull request #94 from andrem/master
adjust path to storage for url.
2016-03-17 23:10:44 +02:00
andrem
84fe28e9d7 adjust path to storage for url. 2016-03-17 17:19:55 -03:00
Jan Krcmar
2aa81ccecb instance/clone adds title and description input fields 2016-02-24 13:08:43 +01:00
Jan Krcmar
6c4a3a93e3 instance/clone view: generation of clone_data algorithm enhanced
if disk or meta in post: results always true, so removed. this pushes all POST data to conn.clone_instance()
2016-02-24 12:50:43 +01:00
Jan Krcmar
679f84f117 template/instance: correct placement of options tab panel div, should be after xmledit div 2016-02-24 12:44:14 +01:00
Jan Krcmar
e1b4fdf5de instances display virtual title under name 2016-02-23 15:03:33 +01:00
Jan Krcmar
2ceb456a4f section #template renamed to #options, added title and description fields 2016-02-23 14:43:32 +01:00
Jan Krcmar
510e0e6ee5 guess_mac checks for existing dhcp_file 2016-02-11 14:48:41 +01:00
Jan Krcmar
16510dee59 instance/clone block new instance creating if instance with same name found 2016-02-11 14:46:42 +01:00
Jan Krcmar
2958a21ad1 instance/check_instance service endpoint added. checks for existing instance (returns json) 2016-02-11 14:37:26 +01:00
Jan Krcmar
a1d5edebe2 guess_mac_address reads /srv/webvirtcloud/dhcpd.conf 2016-02-11 12:56:36 +01:00
Jan Krcmar
96982ce58b instance/settings: inputs renamed according to action type (net -> clone-net-mac, net -> net-mac)
instance/network: correct multiple interfaces handling, add mac handling
2016-02-10 17:52:50 +01:00
Jan Krcmar
71c6161291 accounts/edit added is_staff and is_superuser checkboxes
list all users (previously staff and admins were not displayed)
2016-02-09 11:16:36 +01:00
Jan Krcmar
39f3c9e12b instance/clone added Guess mac address button. search for mac address of Clone Name via ajax request. Currently scans only local dhcpd configuration file. 2016-02-08 12:28:52 +01:00
Jan Krcmar
33916c6a82 instance/clone: changing clone name input changes disk image name according to clone name (similar approach as instances/views:show_clone_disk)
clone input boxes enlarged (class=col-sm-4)
2016-02-08 10:17:01 +01:00
Jan Krcmar
323e0a10d5 show_clone_disk generates cloned images name with "-*" suffix. fe: vname=vm1 vm1-root becomes vm1-clone-root (was vm1-root-clone) 2016-02-08 10:13:19 +01:00
Jan Krcmar
a34c55d3bc clone instance fixes mac address not separated by :, to correct format xx:xx:... 2016-01-29 14:44:19 +01:00
Jan Krcmar
646bdbbe0e Added is_template attribute to instances. If true, instance cannot be started. 2016-01-20 15:40:09 +01:00
Jan Krcmar
4ab8561360 correct value=true of checked checkboxes 2016-01-20 14:49:49 +01:00
Jan Krcmar
d4fa71ff25 default true: live migration and delete original 2016-01-20 14:35:23 +01:00
Jan Krcmar
8deb844c35 adding new instance to user checks existing instances assigned to user 2016-01-19 15:43:56 +01:00
Jan Krcmar
d036d582fd .gitignore: tags 2016-01-19 15:39:56 +01:00
Jan Krcmar
ca328a7527 instances/templates/instance.html checkbox delete_disk default checked 2016-01-15 15:09:23 +01:00
Jan Krcmar
6151792d9b allow multiple owners of single instance. this is controlled by settings.ALLOW_INSTANCE_MULTIPLE_OWNER 2016-01-15 10:12:03 +01:00
Jan Krcmar
50ddda98f2 settings tab for changing devices/interface/source/bridge added
TODO: handle multiple interfaces
2016-01-14 16:59:50 +01:00
Jan Krcmar
1499af1eef upgrade websockify 0.6.0 to 0.7.0
older version contains bug that closes novnc connection after 30 seconds. this commit puts the right version into conf/requirements.txt used by pip install
2015-12-28 13:57:17 +01:00
Jan Krcmar
0eb60b1aa4 ignore novnc certificate (console/cert.pem) 2015-12-28 13:53:40 +01:00
Jan Krcmar
dac974ddab request.user.is_authenticated() substitued for @login_required decorator
settings.LOGIN_URL = /accounts/login
2015-12-22 15:09:02 +01:00
Jan Krcmar
ae4fdcec92 added class MyRemoteUserBackend(RemoteUserBackend) giving all authenticated users superuser flag 2015-12-22 15:06:19 +01:00
Jan Krcmar
f8c08cb719 wsgi.py customized for use mod_wsgi with apache module 2015-12-22 15:04:23 +01:00
Jan Krcmar
decd5ab4a6 add remoteuser auth middleware classes 2015-12-22 09:48:54 +01:00
Jan Krcmar
6dbd6e558c pip installing packages need gcc and pkg-config on debian/ubuntu 2015-12-21 10:28:03 +00:00
Anatoliy Guskov
35369edf28 Fixed Checking KVM 2015-12-21 10:02:50 +00:00
Anatoliy Guskov
e6f0116908 Fixed Checking KVM 2015-11-27 09:38:04 +02:00
Jan Krcmar
cd787c3eaf Merge branch 'master' of github.com:honza801/webvirtcloud
Conflicts:
	README.md
	computes/views.py
	gunicorn.conf.py
	instances/templates/instance.html
	instances/views.py
	vrtManager/create.py
	vrtManager/instance.py
2015-11-24 09:37:31 +00:00
Jan Krcmar
04f3a76c05 resize disk image option added 2015-11-24 08:53:13 +00:00