Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/openspug/spug
/ functions
Functions
766 in github.com/openspug/spug
⨍
Functions
766
◇
Types & classes
225
↓ 277 callers
Function
json_response
(data='', error='')
spug_api/libs/utils.py:85
↓ 122 callers
Method
get
(self, request)
spug_api/apps/app/views.py:16
↓ 109 callers
Method
parse
(self, has_key, value)
spug_api/libs/parser.py:36
↓ 62 callers
Method
post
(self, request)
spug_api/apps/app/views.py:34
↓ 38 callers
Function
human_datetime
(date=None)
spug_api/libs/utils.py:15
↓ 34 callers
Method
send
(self, data)
spug_api/apps/exec/executors.py:46
↓ 28 callers
Function
human_time
(date=None)
spug_api/libs/utils.py:32
↓ 25 callers
Method
close
(self)
spug_api/apps/file/utils.py:20
↓ 24 callers
Method
delete
(self, using=None, keep_parents=False)
spug_api/apps/app/models.py:69
↓ 24 callers
Method
to_dict
(self, *args, **kwargs)
spug_api/apps/app/models.py:24
↓ 23 callers
Method
items
()
spug_web/src/pages/exec/task/store.js:17
↓ 23 callers
Method
patch
(self, request)
spug_api/apps/app/views.py:60
↓ 20 callers
Method
get_default
(cls, key, default=None)
spug_api/apps/setting/utils.py:20
↓ 20 callers
Method
send_step
(self, key, step, data)
spug_api/apps/deploy/helper.py:252
↓ 19 callers
Function
hasPermission
(strCode)
spug_web/src/libs/functools.js:27
↓ 18 callers
Function
includes
(s, keys)
spug_web/src/libs/functools.js:57
↓ 17 callers
Method
send_error
(self, key, message, with_break=True)
spug_api/apps/deploy/helper.py:246
↓ 16 callers
Method
get
(self, request)
spug_api/apps/deploy/views.py:25
↓ 15 callers
Method
exec_command_raw
(self, command, environment=None)
spug_api/libs/ssh.py:101
↓ 14 callers
Method
set
(cls, key, value, desc=None)
spug_api/apps/setting/utils.py:27
↓ 13 callers
Method
handle_request
(url, data, mode=None)
spug_api/libs/spug.py:46
↓ 12 callers
Method
get_ssh
(self, pkey=None, default_env=None)
spug_api/apps/host/models.py:27
↓ 11 callers
Method
send_info
(self, key, message)
spug_api/apps/deploy/helper.py:242
↓ 9 callers
Method
get
(self, request)
spug_api/apps/host/views.py:25
↓ 9 callers
Method
get
(self, request)
spug_api/apps/account/views.py:23
↓ 8 callers
Method
delete
(self, request)
spug_api/apps/schedule/views.py:89
↓ 8 callers
Method
get
(self, request)
spug_api/apps/schedule/views.py:19
↓ 7 callers
Method
add_argument
(self, **kwargs)
spug_api/libs/parser.py:92
↓ 7 callers
Method
clear
(self)
spug_api/apps/deploy/helper.py:255
↓ 7 callers
Method
delete
(self, request)
spug_api/apps/config/views.py:211
↓ 7 callers
Function
has_host_perm
(user, target)
spug_api/apps/account/utils.py:16
↓ 7 callers
Method
local
(self, command, env=None)
spug_api/apps/deploy/helper.py:272
↓ 6 callers
Method
delete
(self, request)
spug_api/apps/account/views.py:81
↓ 6 callers
Method
echo_error
(self, msg)
spug_api/apps/account/management/commands/user.py:22
↓ 6 callers
Method
get
(self, request)
spug_api/apps/exec/transfer.py:26
↓ 6 callers
Function
handleTagConfirm
(key)
spug_web/src/pages/host/Detail.js:83
↓ 6 callers
Method
make_monitor_notify
(cls, title, content)
spug_api/apps/notify/models.py:36
↓ 6 callers
Function
render_str
(template, datasheet)
spug_api/libs/utils.py:81
↓ 6 callers
Method
to_view
(self)
spug_api/apps/host/models.py:31
↓ 6 callers
Method
to_view
(self)
spug_api/apps/repository/models.py:36
↓ 5 callers
Method
_decode
(self, content)
spug_api/libs/ssh.py:236
↓ 5 callers
Method
_get_sftp
(self)
spug_api/libs/ssh.py:202
↓ 5 callers
Method
close_with_message
(self, content)
spug_api/consumer/utils.py:23
↓ 5 callers
Method
make_password
(plain_password: str)
spug_api/apps/account/models.py:31
↓ 4 callers
Method
_make_notify
(cls, source, type, title, content)
spug_api/apps/notify/models.py:48
↓ 4 callers
Function
_openNode
(node, replace)
spug_web/src/pages/ssh/index.js:100
↓ 4 callers
Function
check_os_type
(os_name)
spug_api/apps/host/utils.py:20
↓ 4 callers
Function
cleanCommand
(text)
spug_web/src/libs/functools.js:69
↓ 4 callers
Function
fetch
()
spug_web/src/layout/Notification.js:55
↓ 4 callers
Function
fetchRecords
()
spug_web/src/pages/home/Notice.js:28
↓ 4 callers
Method
get_client
(self)
spug_api/libs/ssh.py:82
↓ 4 callers
Function
get_request_real_ip
(headers: dict)
spug_api/libs/utils.py:130
↓ 4 callers
Function
handleRemove
(key, target)
spug_web/src/pages/ssh/index.js:119
↓ 4 callers
Function
human_date
(date=None)
spug_api/libs/utils.py:24
↓ 4 callers
Method
make_spug_version
(deploy_id)
spug_api/apps/repository/models.py:33
↓ 4 callers
Method
make_system_notify
(cls, title, content)
spug_api/apps/notify/models.py:32
↓ 4 callers
Function
parse_utc_date
(value)
spug_api/apps/host/utils.py:57
↓ 4 callers
Method
print_help
(self, *args)
spug_api/apps/account/management/commands/user.py:25
↓ 4 callers
Method
to_dict
(self, *args, **kwargs)
spug_api/apps/schedule/models.py:55
↓ 4 callers
Method
update_by_dict
(self, data)
spug_api/libs/mixins.py:22
↓ 3 callers
Method
_format_date
(self, timestamp)
spug_api/libs/gitlib.py:89
↓ 3 callers
Method
_handle_command
(self, command, environment)
spug_api/libs/ssh.py:221
↓ 3 callers
Method
_send
(self, message)
spug_api/apps/deploy/helper.py:239
↓ 3 callers
Function
compose_configs
(app, env_id, no_prefix=False)
spug_api/apps/config/utils.py:9
↓ 3 callers
Method
delete
(self, request)
spug_api/apps/deploy/views.py:64
↓ 3 callers
Method
echo_success
(self, msg)
spug_api/apps/account/management/commands/user.py:19
↓ 3 callers
Method
exec_command
(self, command, environment=None)
spug_api/libs/ssh.py:110
↓ 3 callers
Function
fetchRecords
()
spug_web/src/pages/home/Nav.js:24
↓ 3 callers
Method
get
(self, request)
spug_api/apps/host/group.py:42
↓ 3 callers
Method
get
(self, request)
spug_api/apps/monitor/views.py:17
↓ 3 callers
Method
get
(self, request)
spug_api/apps/file/views.py:16
↓ 3 callers
Function
get_host_perms
(user)
spug_api/apps/account/utils.py:8
↓ 3 callers
Function
handleClick
(val)
spug_web/src/pages/dashboard/RequestTop.js:28
↓ 3 callers
Function
handleDelete
()
spug_web/src/pages/deploy/repository/Detail.js:21
↓ 3 callers
Function
make_ali_request
(ak, ac, endpoint, params)
spug_api/libs/helper.py:38
↓ 3 callers
Function
parse_time
(value)
spug_api/libs/utils.py:52
↓ 3 callers
Method
progress_callback
(self, key)
spug_api/apps/deploy/helper.py:264
↓ 3 callers
Method
put_file
(self, local_path, remote_path, callback=None)
spug_api/libs/ssh.py:156
↓ 3 callers
Method
remote
(self, key, ssh, command, env=None)
spug_api/apps/deploy/helper.py:292
↓ 3 callers
Method
remote_raw
(self, key, ssh, command)
spug_api/apps/deploy/helper.py:299
↓ 3 callers
Method
set_perms_cache
(self, value=None)
spug_api/apps/account/models.py:40
↓ 3 callers
Function
str_decode
(data)
spug_api/libs/utils.py:40
↓ 3 callers
Method
to_view
(self)
spug_api/apps/exec/models.py:71
↓ 3 callers
Function
uniqueId
()
spug_web/src/libs/functools.js:110
↓ 3 callers
Function
verify_password
(password)
spug_api/apps/account/utils.py:25
↓ 2 callers
Method
__init__
(self, *args, **kwargs)
spug_api/consumer/consumers.py:17
↓ 2 callers
Function
_filter_value
(value)
spug_api/apps/config/views.py:337
↓ 2 callers
Method
_get_channel
(self)
spug_api/libs/ssh.py:176
↓ 2 callers
Function
_makeSocket
(index = 0)
spug_web/src/pages/deploy/request/Ext1Console.js:49
↓ 2 callers
Function
_makeSocket
(index = 0)
spug_web/src/pages/deploy/request/Ext2Console.js:55
↓ 2 callers
Function
_parse
(request, query, data)
spug_api/apps/config/views.py:303
↓ 2 callers
Function
_parse_args
()
spug_web/src/pages/schedule/Step3.js:46
↓ 2 callers
Function
_rebuild
(info)
spug_web/src/pages/deploy/repository/Table.js:31
↓ 2 callers
Method
_send
(self, message)
spug_api/apps/exec/executors.py:37
↓ 2 callers
Function
_setDefault
(type, new_extra, new_versions, new_repositories)
spug_web/src/pages/deploy/request/Ext1Form.js:84
↓ 2 callers
Function
_setDefault
(type, new_extra, new_versions)
spug_web/src/pages/deploy/repository/Form.js:29
↓ 2 callers
Function
_special_url_encode
(value)
spug_api/libs/helper.py:16
↓ 2 callers
Method
add_public_key
(self, public_key)
spug_api/libs/ssh.py:93
↓ 2 callers
Function
check_instance_charge_type
(value, supplier)
spug_api/apps/host/utils.py:29
↓ 2 callers
Function
check_internet_charge_type
(value, supplier)
spug_api/apps/host/utils.py:43
next →
1–100 of 766, ranked by callers