1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-26 08:05:22 +00:00
Commit graph

1233 commits

Author SHA1 Message Date
Jan Krcmar
f8e681dbf4 added user disk quota limit
added quota warning in instance page
2016-03-31 13:12:52 +02:00
retspen
2f63d35804 Updated Python dependencies 2016-03-30 16:24:22 +03:00
savichev
9b5d745fb9 Update requirements.txt 2016-03-30 18:15:35 +05:00
savichev
90fc5db411 Update requirements.txt 2016-03-30 14:51:16 +05:00
savichev
c5c8d29dff Update requirements.txt
Warning! this string installing libxml2-python version 2.9.2
2016-03-30 12:48:15 +05:00
Jan Krcmar
6546fa2570 show instance title in instances view for non superuser 2016-03-24 14:51:29 +01:00
Jan Krcmar
e9e62e3c41 instance templates show clone button instead of poweron on instances list page 2016-03-23 15:18:20 +01:00
Jan Krcmar
16ef164ed9 correct instance summary display after unsuccessfull resize 2016-03-23 14:29:40 +01:00
Jan Krcmar
1e84dcbbc9 instance resize check_user_quota correct cpu/memory resize amount. only differrence from current state should be provided for the function 2016-03-23 14:11:23 +01:00
Jan Krcmar
bc0552e12e not superuser delete instance causes delete for all corresponding user_instances (not only current user) 2016-03-23 13:47:04 +01:00
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