Gao Jiangmiao
3488661dc9
Migrate to django 2.2.4
...
The django.core.urlresolvers module is removed in favor of its new location, django.urls.
The on_delete argument for ForeignKey and OneToOneField is required in models and migrations.
2019-08-16 13:07:59 +08:00
Gao Jiangmiao
a4d74a09a6
Migrate source code to python 3.7 and refine code style
2019-08-16 12:59:37 +08:00
Gao Jiangmiao
0e231a930d
Delete unneed files.
2019-08-16 10:09:39 +08:00
catborise
25e6381fc9
add Compute instances tab. Minimal invasion. minimal change. keep structure
2018-09-28 13:33:21 +03:00
Ing. Jan KRCMAR
01ace81c32
Merge remote-tracking branch 'retspen/master' into merge
...
Conflicts:
instances/templates/instance.html
instances/urls.py
instances/views.py
2018-08-21 09:50:29 +02:00
catborise
aa32d826d9
django on_delete statement is must after than
2018-08-08 14:50:58 +03:00
catborise
aba92e30b5
x character converted to ×
2018-08-01 17:18:51 +03:00
catborise
858d1f87d5
integer_validator causes import problem. it removed
2018-07-30 09:24:29 +03:00
Ing. Jan KRCMAR
b909b9d0f1
Merge remote-tracking branch 'retspen/master' into upgrade_django
2018-07-26 12:44:22 +02:00
Ing. Jan KRCMAR
9f7ec62226
accounts: add public key check
2018-07-26 11:33:12 +02:00
catborise
bdfdd9238f
Correction of requirements
2018-07-18 11:41:34 +03:00
catborise
ace30ca952
Libxml2 converted to lxml, django framework upgrade to 1.11.x and some bug fixes
2018-06-27 10:20:51 +03:00
Ing. Jan KRCMAR
43a8fb6dc1
add accounts view style list. configurable via settings.VIEW_ACCOUNTS_STYLE
2018-05-15 14:22:10 +02:00
Ing. Jan KRCMAR
8d46bd40fd
create_user_block.html fix broken dom
2018-05-15 14:11:31 +02:00
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