ibuler
|
158678c2db
|
[Bugfix] 修改bug,显示cluster
|
2017-12-28 18:01:15 +08:00 |
ibuler
|
e20444983d
|
[Bugfix] 修改html bug
|
2017-12-28 12:25:43 +08:00 |
ibuler
|
1c20f519a9
|
[Bugfix] 修改小的bug
|
2017-12-27 11:22:44 +08:00 |
ibuler
|
0848893f1e
|
[Bugfix] 修复时间日期搜索的bug,select2模块自适应长度
|
2017-12-27 01:29:23 +08:00 |
ibuler
|
e1b23a7cb4
|
[Bugfix] 修复无法记录日志的bug
|
2017-12-21 15:28:21 +08:00 |
ibuler
|
76df1de634
|
[Bugfix] 修复一些明显的bug
|
2017-12-21 11:31:13 +08:00 |
ibuler
|
b0eace6ad8
|
[Bugfix] 基本完成assets模块
|
2017-12-19 12:41:00 +08:00 |
ibuler
|
b4e1ac1953
|
[Bugfix] 修复资产模块中一些bug
|
2017-12-18 22:48:19 +08:00 |
ibuler
|
a308000d2e
|
[Bugfix] 修改users模块一些bug
|
2017-12-18 18:38:30 +08:00 |
ibuler
|
cb57002682
|
[Change] 去掉前端html中的hardcode 99991937
|
2017-12-12 14:38:51 +08:00 |
ibuler
|
cbc000696e
|
[Feature] 修改adminuser systemuser cluster及他们的关系
|
2017-12-11 17:08:43 +08:00 |
ibuler
|
ec8106e43d
|
[Feature] 完成登陆日志
|
2017-12-05 12:24:31 +08:00 |
ibuler
|
19051d36dc
|
[Update] 修改一些bug
|
2017-12-01 17:00:55 +08:00 |
ibuler
|
da5b9be5ca
|
[Bugfix] Update some translation and set warning, partial fix #646
|
2017-09-28 20:52:33 +08:00 |
管宜尧
|
290872dcad
|
bugfix: 解决用户失效时间为空时,无法使用密码进行ssh登录跳板机的问题 (#659)
* bugfix: 解决用户失效时间为空时,无法使用密码进行ssh登录跳板机的问题
bugfix: 解决用户失效时间为空时,无法使用密码进行ssh登录跳板机的问题。
```
AttributeError at /api/users/v1/auth/
'NoneType' object has no attribute 'strftime'
Request Method: POST
Request URL: http://127.0.0.1:8080/api/users/v1/auth/
Django Version: 1.11.4
Python Executable: /opt/py3/bin/python
Python Version: 3.6.1
Python Path: ['/data/deployment/jumpserver/apps', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', '/usr/local/lib/python3.6/lib-dynload', '/opt/py3/lib/python3.6/site-packages', '/data/deployment/jumpserver', '/data/deployment/jumpserver/apps']
Server time: Wed, 30 Aug 2017 23:18:47 +0800
Installed Applications:
['users.apps.UsersConfig',
'assets.apps.AssetsConfig',
'perms.apps.PermsConfig',
'ops.apps.OpsConfig',
'audits.apps.AuditsConfig',
'common.apps.CommonConfig',
'applications.apps.ApplicationsConfig',
'rest_framework',
'rest_framework_swagger',
'django_filters',
'bootstrap3',
'captcha',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'jumpserver.middleware.TimezoneMiddleware',
'jumpserver.middleware.DemoMiddleware']
Traceback:
File "/opt/py3/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)
File "/opt/py3/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "/opt/py3/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.6/contextlib.py" in inner
53. return func(*args, **kwds)
File "/opt/py3/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
58. return view_func(*args, **kwargs)
File "/opt/py3/lib/python3.6/site-packages/django/views/generic/base.py" in view
68. return self.dispatch(request, *args, **kwargs)
File "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
489. response = self.handle_exception(exc)
File "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
449. self.raise_uncaught_exception(exc)
File "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
486. response = handler(request, *args, **kwargs)
File "/data/deployment/jumpserver/apps/users/api.py" in post
166. return Response({'token': token, 'user': user.to_json()})
File "/data/deployment/jumpserver/apps/users/models/user.py" in to_json
207. 'date_expired': self.date_expired.strftime('%Y-%m-%d %H:%M:%S')
Exception Type: AttributeError at /api/users/v1/auth/
Exception Value: 'NoneType' object has no attribute 'strftime'
Request information:
USER: AnonymousUser
GET: No GET data
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
```
* bugfix: 个人信息页面个人信息pannel错位
bugfix: 个人信息页面个人信息pannel错位
|
2017-09-24 08:40:59 +08:00 |
ibuler
|
cd1d690fd3
|
[Bugfix] 修复一些bug
|
2017-07-28 21:52:43 +08:00 |
ibuler
|
4e67749eef
|
[Docs] 添加api dockers
|
2017-07-10 10:26:17 +08:00 |
ibuler
|
41633be1aa
|
[Bugfix] 修复无法删除资产组
|
2017-05-22 20:30:31 +08:00 |
ibuler
|
d2620a655c
|
[Bugfix] 修复模板bug, 修复getattr bug
|
2017-05-22 20:18:13 +08:00 |
ibuler
|
edc631ad60
|
[Docker] 添加Docker compose
|
2017-05-20 00:19:10 +08:00 |
ibuler
|
2ec0ab871a
|
Fix form bug
|
2017-04-12 18:06:32 +08:00 |
ibuler
|
695e4da85e
|
[Fixture] 完成批量更新
|
2017-04-12 11:50:15 +08:00 |
ibuler
|
071d1922d0
|
stash it
|
2017-04-10 22:55:15 +08:00 |
ibuler
|
5418d0b44c
|
[Change] Using csv replace xlsx
|
2017-04-09 00:45:28 +08:00 |
ibuler
|
bcc065eb8f
|
[Compat] compat py3 change bootstrap form to bootstrap3
|
2017-04-07 23:52:46 +08:00 |
ibuler
|
c11374ae39
|
[Bugfix] 修改翻译
|
2017-04-07 16:59:09 +08:00 |
ibuler
|
709552f14c
|
[Fixture] 添加首页
|
2017-04-02 18:09:40 +08:00 |
ibuler
|
66a2262ee9
|
[Fixture] 增加 asset groups assets api
|
2017-04-01 00:41:16 +08:00 |
ibuler
|
067426d5e0
|
[Fixture] 完成用户向导页
|
2017-03-31 23:46:00 +08:00 |
ibuler
|
61a481f427
|
[Fixture] 添加用户连接终端
|
2017-03-31 11:25:25 +08:00 |
ibuler
|
3fa5ce5404
|
[Fixture] 添加用户信息更改
|
2017-03-30 16:28:00 +08:00 |
ibuler
|
0983f294b7
|
[Fixture] 添加用户profile
|
2017-03-30 00:51:36 +08:00 |
ibuler
|
4e7b665ea8
|
[Change] 添加翻译,并添加用户登陆页面
|
2017-03-29 15:26:32 +08:00 |
ibuler
|
b055144908
|
Merge with audits
|
2017-03-01 15:35:11 +08:00 |
xiaokong1937@gmail.com
|
548d7ef99a
|
fix #13;fix `user` context conflict problem in user-detail page
|
2017-02-09 21:19:49 +08:00 |
xiaokong1937@gmail.com
|
fe01f92545
|
user profile: update ssh pk
|
2017-02-03 13:37:05 +08:00 |
xiaokong1937@gmail.com
|
8a5d0b2d92
|
remove unused templatetags: users_tags and common_tags
|
2017-01-26 20:24:50 +08:00 |
xiaokong1937@gmail.com
|
f3647ea46d
|
user-profile page
|
2017-01-25 21:19:16 +08:00 |
ibuler
|
0869931e67
|
[Bugfix] 修改了一些issue上的bug
|
2017-01-20 20:13:22 +08:00 |
ibuler
|
17657deb0e
|
[Bugfix] 和Master分支合并后,修复冲突,DRF 新版本要求 fields和exclude
|
2017-01-08 13:35:59 +08:00 |
ibuler
|
d56f030dc4
|
Finish terminal accept
|
2016-12-27 00:59:52 +08:00 |
wangjun5
|
87eed2e59b
|
add asset tool
|
2016-12-15 19:55:15 +08:00 |
ibuler
|
3aea994101
|
asset import
|
2016-11-27 14:37:50 +08:00 |
ibuler
|
c1c9c7b68a
|
update asset
|
2016-11-25 22:45:47 +08:00 |
ibuler
|
6e843533cb
|
Base finish user
|
2016-11-25 11:00:51 +08:00 |
ibuler
|
d8a229c09b
|
to Commpany
|
2016-11-25 08:39:24 +08:00 |
ibuler
|
c1a74aebc5
|
[BugFix] update some user import bug
|
2016-11-24 17:08:20 +08:00 |
ibuler
|
eae580e51f
|
Update user import and export
|
2016-11-24 15:45:08 +08:00 |
ibuler
|
e28f7a3bec
|
Add export and import
|
2016-11-24 00:48:57 +08:00 |
ibuler
|
be99eb82e8
|
udpate some bug
|
2016-11-23 19:37:47 +08:00 |