MCPcopy Create free account

hub / github.com/Away0x/gin_bbs / functions

Functions1,103 in github.com/Away0x/gin_bbs

↓ 3 callersFunctiongetBoundaries
* Computed the boundaries limits and return them * @method * @memberof Popper.Utils * @param {HTMLElement} popper * @param {HTMLElement} reference
public/js/app.js:15751
↓ 3 callersFunctiongetBoundingClientRect
* Get bounding client rect of given element * @method * @memberof Popper.Utils * @param {HTMLElement} element * @return {Object} client rect
public/js/app.js:15575
↓ 3 callersFunctiongetEditTopic
获取要编辑的 topic
app/controllers/topic/utils__.go:17
↓ 3 callersFunctiongetOffsetRectRelativeToArbitraryNode
(children, parent)
public/js/app.js:15624
↓ 3 callersFunctiongetParentNode
* Returns the parentNode or the host of the element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} parent
public/js/app.js:15254
↓ 3 callersFunctiongetSupportedPropertyName
* Get the prefixed supported property name * @method * @memberof Popper.Utils * @argument {String} property (camelCase) * @returns {String} prefix
public/js/app.js:16111
↓ 3 callersFunctiongetTopic
获取要编辑的 topic
app/controllers/api/topic/utils__.go:15
↓ 3 callersFunctionha
()
public/js/jquery.min.js:2
↓ 3 callersFunctionha
()
resources/editor/js/jquery.min.js:2
↓ 3 callersFunctioni
()
public/js/jquery.min.js:3
↓ 3 callersFunctioni
()
resources/editor/js/jquery.min.js:3
↓ 3 callersFunctionisArrayLike
( obj )
public/js/app.js:5036
↓ 3 callersFunctionisHiddenWithinTree
( elem, el )
public/js/app.js:9048
↓ 3 callersFunctionisNumeric
* Tells if a given input is a number * @method * @memberof Popper.Utils * @param {*} input to check * @return {Boolean}
public/js/app.js:16252
↓ 3 callersFunctionka
(a,b)
public/js/jquery.min.js:2
↓ 3 callersFunctionka
(a,b)
resources/editor/js/jquery.min.js:2
↓ 3 callersFunctionna
(a)
public/js/jquery.min.js:2
↓ 3 callersFunctionna
(a)
resources/editor/js/jquery.min.js:2
↓ 3 callersFunctions
(a)
public/js/jquery.min.js:2
↓ 3 callersFunctions
(a)
resources/editor/js/jquery.min.js:2
↓ 3 callersFunctionsb
(a,b)
public/js/jquery.min.js:4
↓ 3 callersFunctionsb
(a,b)
resources/editor/js/jquery.min.js:4
↓ 3 callersFunctionsetGlobalEval
( elems, refElements )
public/js/app.js:9307
↓ 3 callersFunctionsetStyles
* Set the style to the given popper * @method * @memberof Popper.Utils * @argument {Element} element - Element to apply the style to * @argument {
public/js/app.js:16264
↓ 3 callersFunctionsetToCache
(topic *Topic)
app/models/topic/topic.go:83
↓ 3 callersFunctiontestContext
* Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable
public/js/app.js:5602
↓ 3 callersFunctionwinnow
( elements, qualifier, not )
public/js/app.js:7376
↓ 3 callersFunctionya
(a,b)
public/js/jquery.min.js:2
↓ 3 callersFunctionya
(a,b)
resources/editor/js/jquery.min.js:2
↓ 2 callersFunctionAll
All -
app/models/category/get.go:18
↓ 2 callersFunctionAllID
AllID -
app/models/user/get.go:103
↓ 2 callersMethodAssignRole
AssignRole 赋予用户角色
app/models/permission/roles.go:70
↓ 2 callersFunctionBase
Base -
pkg/errno/errno.go:36
↓ 2 callersMethodCalculateAndCacheActiveUsers
()
app/helpers/active_user.go:50
↓ 2 callersFunctionCaptchaValidator
CaptchaValidator 验证码验证
app/requests/validators.go:42
↓ 2 callersFunctionCategory
Category -
app/viewmodels/category.go:8
↓ 2 callersFunctionCheckReplyPolicy
CheckReplyPolicy -
app/policies/reply.go:22
↓ 2 callersFunctionCheckTopicPolicyOwner
CheckTopicPolicyOwner -
app/policies/topic.go:20
↓ 2 callersMethodCompare
Compare 验证用户密码
app/models/user/utils.go:14
↓ 2 callersMethodCreate
Create -
app/models/reply/effect.go:11
↓ 2 callersMethodCreate
Create -
app/models/user/effect.go:10
↓ 2 callersMethodCreate
Create 创建权限
app/models/permission/roles.go:32
↓ 2 callersMethodCreate
Create -
app/models/topic/effect.go:10
↓ 2 callersFunctionD
(a,b)
public/js/jquery.min.js:2
↓ 2 callersFunctionD
(a,b)
resources/editor/js/jquery.min.js:2
↓ 2 callersFunctionDOMEval
( code, node, doc )
public/js/app.js:4638
↓ 2 callersFunctionDetectReader
DetectReader returns the MIME type and extension of the byte slice read from the provided reader. mime is always a valid MIME type, with application/
pkg/mimetype/mime.go:30
↓ 2 callersMethodEncrypt
Encrypt 对密码进行加密
app/models/user/utils.go:8
↓ 2 callersFunctionEqualValidator
EqualValidator -
pkg/ginutils/validate/validators.go:86
↓ 2 callersFunctionFa
(a,b)
public/js/jquery.min.js:3
↓ 2 callersFunctionFa
(a,b)
resources/editor/js/jquery.min.js:3
↓ 2 callersFunctionGetPageQuery
GetPageQuery 从 query 中获取有关分页的参数 xx.com?page=1&pageline=10
pkg/ginutils/pagination/query.go:12
↓ 2 callersFunctionGetStringMap
GetStringMap -
app/cache/cache.go:49
↓ 2 callersFunctionGetUserActivedLastActivedAt
GetUserActivedLastActivedAt 获取用户最后登录时间
app/helpers/last_actived.go:47
↓ 2 callersMethodGivePermissionTo
GivePermissionTo 赋予角色权限
app/models/permission/roles.go:52
↓ 2 callersFunctionHa
(a,b,c,d,e)
public/js/jquery.min.js:3
↓ 2 callersFunctionHa
(a,b,c,d,e)
resources/editor/js/jquery.min.js:3
↓ 2 callersFunctionIa
(a,b,c)
public/js/jquery.min.js:3
↓ 2 callersFunctionIa
(a,b,c)
resources/editor/js/jquery.min.js:3
↓ 2 callersFunctionImageDimensionsValidator
ImageDimensionsValidator 图片分辨率校验
pkg/ginutils/validate/validators.go:194
↓ 2 callersMethodInfo
Info flash
pkg/ginutils/flash/flash.go:60
↓ 2 callersFunctionInitConfig
InitConfig 初始化配置
config/config.go:38
↓ 2 callersFunctionJa
(a,b)
public/js/jquery.min.js:3
↓ 2 callersFunctionJa
(a,b)
resources/editor/js/jquery.min.js:3
↓ 2 callersFunctionJb
(a)
public/js/jquery.min.js:4
↓ 2 callersFunctionJb
(a)
resources/editor/js/jquery.min.js:4
↓ 2 callersFunctionMergeMap
MergeMap 合并 map
pkg/ginutils/utils/map.go:4
↓ 2 callersMethodMiddleware
Middleware 注册中间件
pkg/ginutils/router/register.go:13
↓ 2 callersFunctionMimetypeValidator
MimetypeValidator 文件 mimetype 校验
pkg/ginutils/validate/validators.go:159
↓ 2 callersFunctionNew
New 获取验证码
pkg/ginutils/captcha/captcha.go:15
↓ 2 callersMethodNotification
Notification 更新用户通知
app/models/user/effect.go:32
↓ 2 callersFunctionP
(a,b,c)
public/js/jquery.min.js:2
↓ 2 callersFunctionP
(a,b,c)
resources/editor/js/jquery.min.js:2
↓ 2 callersFunctionPhoneValidator
PhoneValidator 验证手机格式
pkg/ginutils/validate/validators.go:117
↓ 2 callersFunctionPutStringMap
PutStringMap -
app/cache/cache.go:19
↓ 2 callersFunctionRedirect
Redirect 重定向
pkg/ginutils/redirect.go:10
↓ 2 callersFunctionRedirectBack
RedirectBack : 重定向到之前 path
app/controllers/redirect.go:29
↓ 2 callersFunctionRender403
Render403 -
app/controllers/render.go:86
↓ 2 callersFunctionRenderAdminIndexPage
RenderAdminIndexPage 渲染管理员后台 index.html
routes/admin.go:19
↓ 2 callersFunctionReplyApi
ReplyApi -
app/viewmodels/reply.go:21
↓ 2 callersFunctionReplyPolicy
ReplyPolicy : 是否有更新、删除 reply 的权限
app/policies/reply.go:12
↓ 2 callersFunctionRequestGet
RequestGet get http
pkg/ginutils/utils/request.go:9
↓ 2 callersFunctionRpleyListApiService
RpleyListApiService -
app/services/reply_list.go:76
↓ 2 callersFunctionRpleyListService
RpleyListService -
app/services/reply_list.go:14
↓ 2 callersFunctionRunSingle
只有一个字段要验证
pkg/ginutils/validate/validate.go:48
↓ 2 callersFunctionSa
()
public/js/jquery.min.js:3
↓ 2 callersFunctionSa
()
resources/editor/js/jquery.min.js:3
↓ 2 callersFunctionSendMail
SendMail 发送邮件
app/helpers/mail.go:16
↓ 2 callersFunctionSendResponse
SendResponse -
app/controllers/response.go:36
↓ 2 callersFunctionSendVerifyEmail
SendVerifyEmail 发送激活用户的邮件
app/helpers/mail.go:41
↓ 2 callersFunctionSetUserPermissionCache
SetUserPermissionCache -
app/models/permission/cache.go:35
↓ 2 callersFunctionSetupDB
SetupDB db setup
bootstrap/db.go:23
↓ 2 callersFunctionSign
Sign 签发 token
app/auth/token/token.go:18
↓ 2 callersFunctionTopicListAPIService
TopicListAPIService -
app/services/topic_list.go:71
↓ 2 callersFunctionUserPolicyUpdate
UserPolicyUpdate : 是否有更新目标 user 的权限
app/policies/user.go:10
↓ 2 callersFunctionXSSClean
XSSClean 去除 html string 里面的 style script 标签
pkg/ginutils/utils/html.go:8
↓ 2 callersFunction_
()
public/js/jquery.min.js:3
↓ 2 callersFunction_
()
resources/editor/js/jquery.min.js:3
↓ 2 callersFunction__webpack_require__
(moduleId)
public/main.js:6
↓ 2 callersFunction_defineProperties
(target, props)
public/js/app.js:109
← previousnext →201–300 of 1,103, ranked by callers