ibuler
|
bbaa35c773
|
[Update] 修改Perms
|
2018-04-11 11:34:15 +08:00 |
ibuler
|
fffa0def9e
|
[Update] 修改api和view
|
2018-04-08 20:02:40 +08:00 |
ibuler
|
5f0b4a4b63
|
[Update] 修改一些翻译
|
2018-03-28 11:28:40 +08:00 |
ibuler
|
759760e7d9
|
[Update] 服务器可以生成用户密钥
|
2018-03-21 15:22:10 +08:00 |
ibuler
|
e123599735
|
[Update] 修改一些bug和文案
|
2018-03-05 12:59:14 +08:00 |
ibuler
|
d284c2175d
|
[Update] 修改一些小问题
|
2018-03-02 15:39:01 +08:00 |
ibuler
|
1018deda96
|
[Update] 支持拖拽更新
|
2018-03-01 12:40:41 +08:00 |
ibuler
|
5a0068d86a
|
[Update] 修改文案
|
2018-03-01 10:45:51 +08:00 |
ibuler
|
31629fc975
|
[Bugfix] 修复资产禁用还可以登录
|
2018-03-01 10:44:55 +08:00 |
ibuler
|
521a5c57a2
|
[Update] 统一copyright
|
2018-02-28 11:23:04 +08:00 |
ibuler
|
08edda35e1
|
[Update] 完成资产书
|
2018-02-25 18:08:00 +08:00 |
ibuler
|
c8728cace4
|
[Update] 完成树形改造
|
2018-02-09 15:24:44 +08:00 |
ibuler
|
c7296c2498
|
[Update] 修改系统用户推送,拆分assets的部分模块
|
2018-02-09 11:12:40 +08:00 |
ibuler
|
f82d939d15
|
[Update] 使用资产树,去掉集群和资产组
|
2018-02-08 11:34:21 +08:00 |
ibuler
|
9e09a962af
|
[Feature] 支持popover
|
2018-01-30 18:07:51 +08:00 |
ibuler
|
f37b331630
|
Merge with dev
|
2018-01-23 15:13:24 +08:00 |
ibuler
|
9dbf498322
|
[Update] 修改copyright
|
2018-01-23 12:40:22 +08:00 |
ibuler
|
8e6efac6db
|
[Update] 修改copyrite
|
2018-01-23 12:39:19 +08:00 |
ibuler
|
579e74dd5d
|
[Bugfix] 修复一些bug
|
2018-01-23 12:22:25 +08:00 |
ibuler
|
57e508f331
|
[update] 修改用户创建时 姓名和用户名的位置
|
2018-01-20 22:26:21 +08:00 |
ibuler
|
59a69f0253
|
[Bugfix] 修复title显示Jumpserver
|
2018-01-15 13:54:19 +08:00 |
ibuler
|
39fff235d1
|
[Bugfix] 修复cluster创建的bug
|
2018-01-14 18:02:11 +08:00 |
ibuler
|
3223d3b74d
|
[Bugfix] 修复了一些显示上的bug
|
2018-01-10 17:38:10 +08:00 |
ibuler
|
72a82c41ee
|
[Update] 修改 success message, 添加资产组时可以添加资产
|
2018-01-09 23:07:53 +08:00 |
ibuler
|
c0829194dc
|
[Update] 修改一些bug, 增加执行task的按钮
|
2018-01-08 19:16:28 +08:00 |
ibuler
|
07a70311df
|
[Bugfix] 修复以下bug
- 删除用户报错,上次更新带来的
- 管理员用户页面会看到所有主机的,而不是授权给自己的
- 授权详情页面 资产显示无效
|
2018-01-08 11:22:19 +08:00 |
ibuler
|
1888c698f1
|
[Bugfix] 修复一些bug
|
2018-01-05 17:57:02 +08:00 |
ibuler
|
28223421b1
|
[Bugfix] 修复一下bug
1. 添加管理用户时同名的异常
2. 添加授权规则的检查
|
2018-01-05 14:36:49 +08:00 |
ibuler
|
3b6403b2f2
|
[Update] 修改一些翻译
|
2018-01-01 15:08:33 +08:00 |
ibuler
|
c48531c586
|
[Update] 添加和修改部分翻译
|
2018-01-01 00:45:12 +08:00 |
ibuler
|
0916757eb8
|
[Bugfix] 修复一些bug
|
2017-12-31 21:51:25 +08:00 |
ibuler
|
0b299344a7
|
[Update] 修改database 表现
|
2017-12-31 12:20:08 +08:00 |
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 |