Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
b5f94d84
Commit
b5f94d84
authored
Sep 23, 2019
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] Session protocol 添加 telnet 选项
parent
6f4d7dd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
0015_auto_20190923_1529.py
apps/terminal/migrations/0015_auto_20190923_1529.py
+18
-0
models.py
apps/terminal/models.py
+2
-1
No files found.
apps/terminal/migrations/0015_auto_20190923_1529.py
0 → 100644
View file @
b5f94d84
# Generated by Django 2.1.7 on 2019-09-23 07:29
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'terminal'
,
'0014_auto_20181226_1441'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'session'
,
name
=
'protocol'
,
field
=
models
.
CharField
(
choices
=
[(
'ssh'
,
'ssh'
),
(
'rdp'
,
'rdp'
),
(
'vnc'
,
'vnc'
),
(
'telnet'
,
'telnet'
)],
default
=
'ssh'
,
max_length
=
8
),
),
]
apps/terminal/models.py
View file @
b5f94d84
...
...
@@ -147,7 +147,8 @@ class Session(OrgModelMixin):
PROTOCOL_CHOICES
=
(
(
'ssh'
,
'ssh'
),
(
'rdp'
,
'rdp'
),
(
'vnc'
,
'vnc'
)
(
'vnc'
,
'vnc'
),
(
'telnet'
,
'telnet'
),
)
id
=
models
.
UUIDField
(
default
=
uuid
.
uuid4
,
primary_key
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment