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

294 commits

Author SHA1 Message Date
Ing. Jan KRCMAR
80c023f2f3 ignore db.sqlite3* (backups, dumps) 2017-10-05 08:30:15 +02:00
Ing. Jan KRCMAR
b7cd731fda UserAttributes.default_instances moved to django.conf.settings.NEW_USER_DEFAULT_INSTANCES 2017-10-05 08:08:04 +02:00
Ing. Jan KRCMAR
2ef672ffb5 user.is_staff can do resize of all machines 2017-10-05 07:58:01 +02:00
Ing. Jan KRCMAR
d4158a33ee instance owner view: add owner button, delete owner button 2017-09-15 12:40:37 +02:00
Ing. Jan KRCMAR
ad3b4d817b migration implicit option: live (if wm is running), offline (if vm is off) 2017-09-15 10:30:45 +02:00
Ing. Jan KRCMAR
53f5518706 added new feature: create and attach new volume to existing instance
move wvmCreate.get_cache_modes() to wvmConnect

add wvmConnect.get_busses(), wvmConnect.get_image_formats(), used in forms

add corresponding default values to settings (INSTANCE_VOLUME_DEFAULT_FORMAT INSTANCE_VOLUME_DEFAULT_BUS INSTANCE_VOLUME_DEFAULT_CACHE)
2017-07-19 15:34:03 +02:00
Ing. Jan KRCMAR
b095a77da5 configure_user() moved from class MyRemoteUserBackend to class UserAttributes, as static factory.
call configure_user() while adding user from form
2017-07-18 15:05:30 +02:00
Ing. Jan KRCMAR
f2e1273f85 fix profile/sshkeys form. empty public keys broke the page 2017-06-27 10:29:41 +02:00
Ing. Jan KRCMAR
fdf383a647 added SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS, SHOW_PROFILE_EDIT_PASSWORD -- hides specific forms 2017-06-27 09:22:09 +02:00
Ing. Jan KRCMAR
fd87cfd86e fix disk_size NoneType while determining vm disks size 2017-06-26 14:45:12 +02:00
Ing. Jan KRCMAR
437be0df99 instance clone validate mac address 2017-06-15 11:57:31 +02:00
Ing. Jan KRCMAR
3e709cd253 accounts/views: do not redirect to profile, if user wants to see self 2017-06-06 15:07:02 +02:00
Ing. Jan KRCMAR
c5f86358be fix STATIC_URL in templates. static urls should be generated by "static" template tag 2017-06-06 14:49:11 +02:00
Ing. Jan KRCMAR
d715e996b0 templates/instance.html view redesign. smaller instance details, instance title added 2017-06-06 12:51:32 +02:00
Ing. Jan KRCMAR
f959dc7016 settings: TEMPLATE_DIRS is deprecated, using TEMPLATES instead 2017-06-06 12:49:33 +02:00
Ing. Jan KRCMAR
4d08f956fb add /instance/sshkeys/ endpoint for retrieving instance owners ssh keys 2017-05-11 10:46:39 +02:00
Ing. Jan KRCMAR
b7457a4362 automatic remove instances with the same name
sometimes (fe. after manual migrations) some instances appear
multiple times in the database. this patch removes them from
the database while refreshing instance uuid. only under superuser.
records log message.
2017-04-20 14:47:05 +02:00
Ing. Jan KRCMAR
6858448b60 fix multiple media selection in instance settings form 2017-04-20 14:45:01 +02:00
Ing. Jan KRCMAR
14b0751930 UserAttributes can_clone_instances defaults to True 2017-03-31 14:33:03 +02:00
Ing. Jan KRCMAR
fe89af9d8f using custom accounts.backends.MyRemoteUserBackend, which adds default instances and attributes for user
create_missing_userattributes removed from accounts view
2017-03-31 14:29:27 +02:00
Ing. Jan KRCMAR
609651d707 disable page reloading while migrating vm and pleaseWaitDialog is displayed
fixes: http redirect after migrate does not jump to new compute node
2017-03-09 15:14:38 +01:00
Ing. Jan KRCMAR
b5f9f638f1 autostart stays persistent after instance migration 2017-03-09 14:26:55 +01:00
Ing. Jan KRCMAR
20d0e5a09d add offline migration option 2017-01-04 13:14:30 +01:00
Ing. Jan KRCMAR
48371ff92d deleting instance with disk causes also delete of all corresponding snapshots. previously deleting instance with snapshots ended with error and probably also database inconsistency. 2016-11-04 09:33:49 +01:00
Ing. Jan KRCMAR
a3a572a8a8 Fixed: Conflicting migrations detected (0004_userinstance_is_vnc, 0007_auto_20160426_0635 in accounts) 2016-09-12 11:02:01 +02:00
Ing. Jan KRCMAR
ed4cb864ad Merge remote-tracking branch 'qdaniel/master' 2016-09-12 10:57:14 +02:00
Ing. Jan KRCMAR
525d42a74d instances/views.py check instance name, alloweed r^[a-zA-Z0-9-]+$ 2016-09-06 13:01:45 +02:00
Daniel Rieper
29b722ff41 Merge branch 'master' of https://github.com/honza801/webvirtcloud
Conflicts:
	instances/templates/instance.html
	instances/views.py
2016-07-29 13:05:54 +02:00
QDaniel
01fc85e1fc listen 127.0.0.1 2016-07-21 23:14:48 +02:00
QDaniel
9e294ade3c Security Bug: No external Connections 2016-07-13 12:49:14 +02:00
Anatoliy Guskov
346b96b319 Merge pull request #112 from nitmir/user-vnc
Add an option to allow an user to change VNC settings
2016-07-11 10:13:33 +03:00
Ing. Jan KRCMAR
08cc19900c guess_clone_name fix. should check hostname, not fqdn.
guess_clone_name calls guess_mac_address in instance view
2016-06-08 13:37:26 +02:00
Jacco Koning
14e8418472 Fix typos 2016-06-02 13:47:48 +02:00
Ing. Jan KRCMAR
3666ff0738 settings.ALLOW_EMPTY_PASSWORD added. allows to create user withnout password. useful with SSO authentication. 2016-06-02 13:39:18 +02:00
Ing. Jan KRCMAR
f484598414 add guess button for cloned instance name. this reads dhcp conf and uses settings.CLONE_INSTANCE_DEFAULT_PREFIX. 2016-05-27 14:13:24 +02:00
Jan Krcmar
0b80b030fe add refresh button into instance view 2016-05-12 10:06:16 +02:00
Valentin Samir
7efbfec17f Add an option to allow an user to change VNC settings 2016-05-09 12:09:21 +02:00
Valentin Samir
7b3fcd17ea Check user permission before delete or resize
Else a user without these permission could delete or resize and instance
by forging a good post request.
2016-05-09 12:07:30 +02:00
Anatoliy Guskov
4ce76f57c6 Merge pull request #110 from nitmir/passwd-vnc
Create instances with a random generated vnc password by default
2016-05-08 20:22:18 +03:00
Valentin Samir
e75fc99449 Create instances with a random generated vnc password by default 2016-05-08 12:24:43 +02:00
Jan Krcmar
572f7b12cd instances_filter cookie expires after 1 day 2016-05-06 14:40:24 +02:00
Jan Krcmar
9327cf36c4 accounts view sorts users by username 2016-05-06 14:39:52 +02:00
Jan Krcmar
c4ae3d2982 instances filter stores filter value into cookie and auto-fills/applies filter on document ready 2016-05-06 10:56:50 +02:00
Jan Krcmar
99bd6930b9 add js.cookie.js to base.html 2016-05-06 10:55:24 +02:00
Anatoliy Guskov
1425a7ae1f Merge pull request #101 from savichev/patch-12
Update libvirt-bootstrap.sh
2016-05-05 21:34:10 +03:00
Jan Krcmar
e966e6c030 add user information per instance on the instances list
wider .container (900px)
2016-05-02 12:23:18 +02:00
Jan Krcmar
e45c712d67 add instance/options/users tab. lists all owners of the instance 2016-04-28 12:50:11 +02:00
Jan Krcmar
380cc2d09b wvmInstance._set_options options.get(o) returns unicode, so cannot be str()ed 2016-04-27 15:32:40 +02:00
Jan Krcmar
fc71884cd4 please wait dialog added on migrate/clone event 2016-04-26 10:30:48 +02:00
Jan Krcmar
8de4c6b131 /accounts view creates userattributes automatically 2016-04-26 08:50:58 +02:00