ibuler
c7d1ba1944
[Update] Middleware 写法升级到新版本, Task login require
2018-01-08 14:18:02 +08:00
ibuler
07a70311df
[Bugfix] 修复以下bug
...
- 删除用户报错,上次更新带来的
- 管理员用户页面会看到所有主机的,而不是授权给自己的
- 授权详情页面 资产显示无效
2018-01-08 11:22:19 +08:00
ibuler
c16471d54f
[Bugfix] 资产导入中下载模板异常
2018-01-05 19:09:42 +08:00
ibuler
9a6bc9fec5
[Update] session添加登陆ip
2018-01-05 18:37:36 +08:00
ibuler
1888c698f1
[Bugfix] 修复一些bug
2018-01-05 17:57:02 +08:00
ibuler
afce4c81a8
Merge branch 'dev' of github.com:jumpserver/jumpserver into dev
2018-01-05 14:56:50 +08:00
ibuler
28223421b1
[Bugfix] 修复一下bug
...
1. 添加管理用户时同名的异常
2. 添加授权规则的检查
2018-01-05 14:36:49 +08:00
ibuler
56fd18241d
[Update] 修改一些翻译
2018-01-04 09:29:54 +08:00
q4speed
9a2fbba956
修改访问官网链接
2018-01-03 15:07:46 +08:00
ibuler
a327c46229
Merge remote-tracking branch 'github/dev' into dev
2018-01-02 19:37:56 +08:00
ibuler
720dc9ab05
[Bugfix] 修复以下bug
...
- session时区
- 切换管理和用户页面cookie问题
- 创建权限时验证
- 一些翻译
2018-01-02 19:36:13 +08:00
q4speed
25fa392dda
修复图片高度和大小
2018-01-02 17:51:25 +08:00
q4speed
ad3297ff2f
显示个人头像
2018-01-02 17:40:49 +08:00
q4speed
ab27d1c193
修改菜单折叠起来时Logo
2018-01-02 17:31:20 +08:00
q4speed
8160425672
修改Logo
2018-01-02 17:07:00 +08:00
ibuler
68ccec6b9c
[UPdate] 修改cookie设置
2018-01-02 17:02:03 +08:00
ibuler
239a829c20
[Bugfix] support xvdx disk
2018-01-02 14:49:52 +08:00
ibuler
4dbf332a56
[Bugfix] 修复刷新硬件的bug
2018-01-02 14:29:37 +08:00
ibuler
e8a72c8c7d
[Update] 修改一些翻译
2018-01-01 19:55:37 +08:00
ibuler
73a99de55c
[Update] 修改terminal翻译
2018-01-01 15:39:35 +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
13b610c140
[Change] 仅点击checkbox选中
2017-12-31 11:14:02 +08:00
ibuler
a755882100
[Bugfix] 修复打印中文报错异常
2017-12-30 22:26:05 +08:00
ibuler
6586bef84c
[Modify] Add access log
2017-12-30 20:45:54 +08:00
ibuler
e0a3fafbd5
[Bugfix] 详见trello
2017-12-30 02:29:29 +08:00
ibuler
3804ab532d
[Update] 修改信号
2017-12-29 23:53:45 +08:00
ibuler
158678c2db
[Bugfix] 修改bug,显示cluster
2017-12-28 18:01:15 +08:00
ibuler
2cceb281c2
Merge remote-tracking branch 'github/new_api' into dev
2017-12-28 17:44:59 +08:00
liuzheng712
14de3ba5de
Merge branch 'new_api' of github.com:jumpserver/jumpserver into new_api
2017-12-28 17:41:00 +08:00
liuzheng712
ac3ee4c317
feat: luna window
2017-12-28 17:39:24 +08:00
ibuler
69f723c8f5
[Bugfix] requirements 添加openssh-cleints
2017-12-28 16:06:07 +08:00
ibuler
f992347fc5
[Update] 修改become信息
2017-12-28 14:25:56 +08:00
ibuler
e20444983d
[Bugfix] 修改html bug
2017-12-28 12:25:43 +08:00
ibuler
827246ed4c
Update ansible remote tmp
2017-12-28 12:03:02 +08:00
ibuler
825edadc13
[Update] Add build no
2017-12-28 01:08:39 +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
3d705dbeaa
[Bugfix] 修复一些bug
2017-12-27 00:14:46 +08:00
ibuler
22b7b84a45
[Update] 修改创建默认集群,组等名称为Default
2017-12-26 22:14:37 +08:00
ibuler
6a6d0cf279
[Update] Change user model
2017-12-26 02:01:19 +08:00
ibuler
a39e0a1db9
[Docker] For docker update
2017-12-26 01:54:10 +08:00
ibuler
f4beccddae
[Update] 修改注册流程
2017-12-25 12:22:49 +08:00
ibuler
8b081cd6b0
[Update] 修改 运行脚本
2017-12-25 00:36:14 +08:00
ibuler
209200dc4f
[Update] 修改migrations
2017-12-24 23:23:05 +08:00
ibuler
d0ef1e715e
[Add] Add initial migrations
2017-12-24 23:21:05 +08:00
ibuler
bf9bb1b973
[Update] 修改ops task运行
2017-12-24 18:53:07 +08:00
ibuler
30efec1b09
[Update] 修改 task 运行机制
2017-12-22 21:42:12 +08:00
ibuler
4893c4664d
[Update] 修改task定时运行机制
2017-12-22 02:08:29 +08:00
ibuler
47040a61c8
[Bugfix] User first login
2017-12-21 19:33:16 +08:00
ibuler
d33ae9d9d9
[Update] login add cookie test
2017-12-21 19:15:12 +08:00
ibuler
d51b3eff6a
[Update] 修改settings和配置文件
2017-12-21 18:54:29 +08:00
ibuler
ec45c56868
[Change] 修改media地址
2017-12-21 16:04:24 +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
5a92972120
[Bugfix] 修复ops一些功能的bug
2017-12-20 11:30:15 +08:00
ibuler
3f89701b84
[Bugfix] 修复授权和资产的一部分bug
2017-12-19 19:38:09 +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
e1163895e2
[Update] 系统用户api允许app user获取
2017-12-16 17:21:30 +08:00
ibuler
1b6fd4d13a
[Bugfix] 修改普通用户获取资产详情的bug
2017-12-16 17:16:40 +08:00
ibuler
0f64d39cc5
Merge branch 'new_api' of github.com:jumpserver/jumpserver into new_api
2017-12-15 18:56:21 +08:00
ibuler
5e1eff19b7
[Change] Add terminal migrations force
2017-12-15 18:55:36 +08:00
ibuler
6cee62696c
[Feature] 翻译,并增加设置导航
2017-12-15 17:38:46 +08:00
ibuler
11fa3e08e9
[Bugfix] 修改ts_to_date bug
2017-12-15 17:08:22 +08:00
ibuler
2d0be8f996
[git status
2017-12-15 17:07:52 +08:00
ibuler
b97d5b0960
[Feature] assets task 修改
2017-12-15 15:50:15 +08:00
ibuler
08e1788426
[Feature] 打算拆分下载和上传为独立模块,时间有限暂时放弃
2017-12-14 21:27:14 +08:00
ibuler
160b01ec12
Merge branch 'new_api' into ops
2017-12-13 18:10:41 +08:00
ibuler
17ddb3bbbd
[Feture] 使用信号解耦
2017-12-13 17:21:08 +08:00
liuzheng712
ef1bbc29b5
fix: update the terminal app
2017-12-13 00:34:04 +08:00
ibuler
ffa7e58025
[Bugfix] Terminal status报异常
2017-12-12 16:05:21 +08:00
ibuler
18fbfb449d
[Feature] 修改url pattern 精确匹配uuid
2017-12-12 15:45:01 +08:00
ibuler
cb57002682
[Change] 去掉前端html中的hardcode 99991937
2017-12-12 14:38:51 +08:00
ibuler
722863428d
[Feature] 添加context_processor
2017-12-12 14:28:12 +08:00
ibuler
99b4c66b5e
[Feature] 添加signals 解耦代码
2017-12-12 12:19:45 +08:00
ibuler
cbc000696e
[Feature] 修改adminuser systemuser cluster及他们的关系
2017-12-11 17:08:43 +08:00
ibuler
0c9e24dc59
[Feture] 添加ops 页面
2017-12-11 00:29:25 +08:00
ibuler
18fd04d63c
[Stash] Test case 通不过,import error
2017-12-08 10:15:27 +08:00
ibuler
27a1849b1d
[Change] 修改idc => cluster
2017-12-07 16:25:50 +08:00
ibuler
32fd9bb42f
Merge branch 'new_api' into ops
2017-12-07 13:28:29 +08:00
ibuler
15f6d5c9c0
[Bugfix] terminal tasks main()运行时,可能数据库还不存在
2017-12-07 13:28:11 +08:00
ibuler
2b3551f1fc
[Feature] 修改ansible和ops
2017-12-07 13:01:33 +08:00
ibuler
e57121a780
[Feature] 优化Ops ansible api
2017-12-06 18:31:51 +08:00
ibuler
ec8106e43d
[Feature] 完成登陆日志
2017-12-05 12:24:31 +08:00
ibuler
a5f9735906
[Update] 更新index view
2017-12-04 20:15:47 +08:00
ibuler
71a3079221
[Feature] 离线session完成
2017-12-04 16:41:00 +08:00
ibuler
9b6696bb6e
[Feture] session detail页面,包含命令列表
2017-12-04 00:21:26 +08:00
ibuler
01558c985a
[Feture] 添加session 列表,并支持kill session
2017-12-03 20:42:36 +08:00
ibuler
bf8fa95597
[Update] 修改session
2017-12-01 21:22:32 +08:00
ibuler
94462bddb3
[Bugfix] 修改api view name
2017-12-01 17:55:19 +08:00
ibuler
1920a0f03d
[Bugfix] 修改nav小bug
2017-12-01 17:37:46 +08:00
ibuler
f74422e4bb
[Bugfix] 更改application models后导致 terminalstatus报错
2017-12-01 17:35:28 +08:00
ibuler
3120cef335
[Change] 修改导航列表
2017-12-01 17:29:57 +08:00
ibuler
61a8d95f46
[Change] Rename applications -> terminal
2017-12-01 17:28:47 +08:00
ibuler
19051d36dc
[Update] 修改一些bug
2017-12-01 17:00:55 +08:00
ibuler
7910292e0f
[Feature] 修改命令上传api
2017-11-29 19:27:04 +08:00
ibuler
26607bc327
[Copyright] 修改copyrite
2017-11-23 14:35:16 +08:00
ibuler
e7f38ec894
[Change] 全部使用uuid作为主键
2017-11-23 14:08:01 +08:00
ibuler
d80cbe270a
[Update] 修改用户获取自己授权资产的api,和查询用户授权资产组等api的Url和结构
2017-11-23 11:26:17 +08:00
ibuler
818ead85ca
[Feature] 增加上传replay log的api
2017-11-22 10:54:59 +08:00
ibuler
7f9ce57318
修改 terminal上报接口和api
2017-11-14 09:44:16 +08:00
ibuler
3639b190e3
Update perm api
2017-11-01 23:23:11 +08:00
ibuler
034f0a02b1
Update terminal api
2017-10-31 11:34:20 +08:00
ibuler
30c4fc9514
App user get user perms
2017-10-22 17:53:46 +08:00
ibuler
91601cce9e
[Feature] Support multiple ou search
2017-10-12 14:29:00 +08:00
ibuler
a4fa15a7de
Update logging
2017-10-10 15:46:14 +08:00
ibuler
d4ed6a97a5
[Bugfix] Update jumpserver settings
2017-10-10 14:28:32 +08:00
ibuler
0db8482873
Update ldap auth
2017-10-10 14:18:08 +08:00
ibuler
8bccaa6ee2
Update issue template
2017-10-08 19:43:55 +08:00
ibuler
2ae3bec335
[Bugfix] Change user public key length to 5000, fixed #631
2017-09-28 21:37:36 +08:00
ibuler
da5b9be5ca
[Bugfix] Update some translation and set warning, partial fix #646
2017-09-28 20:52:33 +08:00
ibuler
d1fbbd3213
[Bugfix] Push system user have not result may be error, fixed #701
2017-09-28 07:23:46 +08:00
ibuler
688a836bbe
[Copywriting] Copywriting change fixes #733
2017-09-28 07:15:36 +08:00
ibuler
5446196471
[Bugfix] #695 Asset detail add or delete system user or group mixed
2017-09-27 07:20:16 +08:00
ibuler
0f9ae9efbb
Merge branch 'dev' of github.com:jumpserver/jumpserver into dev
2017-09-25 22:15:42 +08:00
ibuler
4aef5b8229
[Bugfix] export asset pof error when none of assets
2017-09-25 22:15:22 +08:00
ibuler
6903e05af1
[Bugfix] Remove pdfmake js 404
2017-09-25 21:55:48 +08:00
Caijun
43a0c4fe51
Fix importing csv bugs ( #717 )
...
* Fix exporting csv bugs
1. auto detect the encoding of csv
2. if id in csv is empty, let it equal 0
3. if hostname exists, give up this asset
* Add chardet to requirements.txt
2017-09-24 09:16:47 +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
e6537699fd
[Bugfix] Update asset create template bug
2017-09-13 10:09:17 +08:00
老广
1d950c4f49
Update settings.py
2017-09-12 17:58:09 +08:00
ibuler
594ad0e14f
Update db index more than 767
2017-08-31 16:54:45 +08:00
ibuler
d73d6e943b
update user model charfield max length more than 767 bug
2017-08-31 16:04:57 +08:00
本杰明
8537e3e135
Update settings ( #595 )
...
修改redis有密码无法连接bug
2017-08-03 15:24:16 +08:00
ibuler
cd1d690fd3
[Bugfix] 修复一些bug
2017-07-28 21:52:43 +08:00
中国娃
67e953902b
Update utils.py ( #579 )
2017-07-28 20:42:16 +08:00
ibuler
5ffd1f99fd
[Bugfix] 修复更新bug
2017-07-24 22:42:01 +08:00
ibuler
cc1a339142
[bugfix] system user update bug
2017-07-24 21:59:55 +08:00
ibuler
1c78526f86
Fix bug
2017-07-20 07:58:16 +08:00
ibuler
b0a5289a42
Merge branch 'dev' of github.com:jumpserver/jumpserver into dev
2017-07-20 07:55:45 +08:00
ibuler
477d23ea37
fix some bug
2017-07-20 07:55:24 +08:00
tonygatescxp
72c2290300
Update settings.py ( #515 )
...
修正Redis连接字符串
2017-07-17 17:18:14 +08:00
ibuler
61014c747e
Merge branch 'dev' of github.com:jumpserver/jumpserver into dev
2017-07-15 13:51:15 +08:00
ibuler
b2ba1f3ca5
update requirements
2017-07-15 13:50:56 +08:00
Eli
7c154abf70
fix bug: variable i should be the host name ( #538 )
...
fix bug: variable i is not the host name, because summary['failed'] is something like [("hostname1", "error message 1"),("hostname1", "error message 1")]
2017-07-13 14:00:17 +08:00
ibuler
d012880a90
[Bugfix] 修复bug
2017-07-13 11:46:56 +08:00
ibuler
143cabe5fc
update settings
2017-07-10 11:02:51 +08:00
Eli
370cdc275a
添加一个资产,然后推送系统用户时出现(Asset实例无法序列化) ( #477 )
...
* error while push systemuser. error while create assets with adminuser(ssh key)
* fix errors in case of config.py dose not exist.
* change sign_t return from bytes to str. (#480 )
* fix id_dsa check error (#458 )
* fix id_dsa check error
* fix 邮件修改密码 token错误
* fix 3c8aec9
add )
* Dockerfile 优化 (#453 )
2017-07-10 11:01:20 +08:00
Fengxu Lin
26a169d938
fix bug in pagination_range function ( #511 )
...
start and end may be float when current_num >= 3 and display % 2 == 1
2017-07-10 10:39:18 +08:00
ibuler
4e67749eef
[Docs] 添加api dockers
2017-07-10 10:26:17 +08:00
ibuler
f3a50610af
[Update] update docker-compose
2017-06-19 23:15:09 +08:00
ibuler
4141ae517f
update docker-compose
2017-06-19 18:13:44 +08:00
ibuler
29095a869c
[Demo] update demo mode code
2017-06-19 17:59:13 +08:00
ibuler
cda22a6f0d
add demo mode middleware
2017-06-15 22:35:03 +08:00
Caijun
8f4d8b1c02
Compile messages ( #495 )
2017-06-13 17:51:12 +08:00
Caijun
b502b06e82
Support i18n for asset `platform` field ( #494 )
2017-06-13 16:38:33 +08:00