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

46 commits

Author SHA1 Message Date
Ing. Jan KRCMAR
6e5e10594c SHOW_PROFILE_EDIT_PASSWORD, SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS in settings.py are not inherited in templates. they are now forwarded directly into views. 2018-05-07 10:51:23 +02:00
Ing. Jan KRCMAR
748a79d9db accounts/templates/account.html fix missig tr in table 2018-03-08 10:34:52 +01:00
Ing. Jan KRCMAR
fdca3cef9c account view now displays user public keys 2017-11-15 12:55:05 +01:00
Ing. Jan KRCMAR
96674221b4 add migration userattributes.can_clone_instances dafaults to True 2017-10-26 10:10:52 +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
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
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
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
a3a572a8a8 Fixed: Conflicting migrations detected (0004_userinstance_is_vnc, 0007_auto_20160426_0635 in accounts) 2016-09-12 11:02:01 +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
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
Valentin Samir
7efbfec17f Add an option to allow an user to change VNC settings 2016-05-09 12:09:21 +02:00
Jan Krcmar
9327cf36c4 accounts view sorts users by username 2016-05-06 14:39:52 +02:00
Jan Krcmar
8de4c6b131 /accounts view creates userattributes automatically 2016-04-26 08:50:58 +02:00
Jan Krcmar
25529835b5 set default UserAttributes to instances=1, vcpus=1, memory=2048, disk=20 2016-04-26 08:36:14 +02:00
Jan Krcmar
db1ab88f51 Merge remote-tracking branch 'retspen/master'
Conflicts:
	conf/requirements.txt
2016-04-21 13:34:27 +02:00
Benjamin Renard
e1d3be17f1 Fix pep8 errors 2016-04-16 15:06:39 +02:00
Jan Krcmar
f8e681dbf4 added user disk quota limit
added quota warning in instance page
2016-03-31 13:12:52 +02:00
Jan Krcmar
27030113fb account max mamory label Max memory (MB), added MB 2016-03-23 13:24:14 +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
9832e662a8 account create_user_instance form sorts instances by name 2016-03-21 10:24:09 +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
8deb844c35 adding new instance to user checks existing instances assigned to user 2016-01-19 15:43:56 +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
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
Retspen
2d1f72a7e1 Added models and telmplate for sshkeys 2015-05-27 14:10:57 +03:00
Retspen
871e04fb03 Fixed some bugs 2015-05-13 09:42:20 +03:00
Retspen
981eb65fac Fixed default account 2015-05-07 17:00:11 +03:00
Retspen
2aa5558df7 Fixed pep8 2015-04-06 10:51:50 +03:00
Retspen
b4e8da8671 Resoved problem with app template 2015-04-02 16:20:46 +03:00
Retspen
9484b11c41 DB changes 2015-04-02 14:24:28 +03:00
Retspen
ea41412aac Move tempates 2015-04-02 11:48:40 +03:00
Retspen
8b39d4e429 Adde urls for app 2015-04-02 09:37:46 +03:00
Retspen
56f840c893 Fixed pep8 2015-03-27 17:12:15 +02:00
Retspen
6604aa9d11 Fixed refer from logs to accouts admin 2015-03-26 16:03:12 +02:00
Retspen
1f68e8c5ed Added migration 2015-03-25 11:36:37 +02:00
Retspen
9497eb7c89 Added profile page 2015-03-24 14:45:38 +02:00
Retspen
02ae7336ea Refactor users page 2015-03-18 17:13:44 +02:00
Retspen
29b05745ad Added users page 2015-03-02 10:52:07 +02:00
Retspen
cbba654538 Add fixtures 2015-02-27 15:56:10 +02:00
Retspen
4d48e79341 Initial commit 2015-02-27 10:53:51 +02:00