MCPcopy Create free account

hub / github.com/Away0x/gin_bbs / functions

Functions1,103 in github.com/Away0x/gin_bbs

↓ 6 callersFunctionfind
* Mimics the `find` method of Array * @method * @memberof Popper.Utils * @argument {Array} arr * @argument prop * @argument value * @returns ind
public/js/app.js:15970
↓ 6 callersFunctiongetScroll
* Gets the scroll value of the given element in the given side (top and left) * @method * @memberof Popper.Utils * @argument {Element} element * @
public/js/app.js:15428
↓ 6 callersFunctionisIE
* Determines if the browser is Internet Explorer * @method * @memberof Popper.Utils * @param {Number} version to check * @returns {Boolean} isIE
public/js/app.js:15306
↓ 6 callersFunctionshowHide
( elements, show )
public/js/app.js:9181
↓ 6 callersFunctionta
(a)
public/js/jquery.min.js:2
↓ 6 callersFunctionta
(a)
resources/editor/js/jquery.min.js:2
↓ 6 callersFunctiontoType
(obj)
public/js/app.js:181
↓ 6 callersFunctionx
(a,b,c)
public/js/jquery.min.js:2
↓ 6 callersFunctionx
(a,b,c)
resources/editor/js/jquery.min.js:2
↓ 5 callersFunctionGet
Get -
app/cache/cache.go:39
↓ 5 callersFunctionGet
Get -
app/models/topic/get.go:16
↓ 5 callersFunctionGuest
Guest 用户未登录才能访问
routes/middleware/guest.go:12
↓ 5 callersFunctionIsApiRequest
IsApiRequest 是 api 的请求
pkg/constants/constants.go:24
↓ 5 callersFunctionLogin
Login 登录
app/auth/session.go:22
↓ 5 callersFunctionPut
Put -
app/cache/cache.go:14
↓ 5 callersFunctionRunByParams
执行验证
pkg/ginutils/validate/validate.go:58
↓ 5 callersFunctionTopicApi
Topic -
app/viewmodels/topic.go:30
↓ 5 callersFunctionc
(a)
public/js/jquery.min.js:3
↓ 5 callersFunctionc
(a)
resources/editor/js/jquery.min.js:3
↓ 5 callersFunctioncomputeStyleTests
()
public/js/app.js:10779
↓ 5 callersFunctioncurCSS
( elem, name, computed )
public/js/app.js:10868
↓ 5 callersFunctiondomManip
( collection, args, callback, ignored )
public/js/app.js:10394
↓ 5 callersFunctiongetOffsetParent
* Returns the offset parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} offset pare
public/js/app.js:15323
↓ 5 callersFunctionisAttached
( elem )
public/js/app.js:9036
↓ 5 callersFunctionisSpace
(c byte)
pkg/mimetype/internal/json/json.go:95
↓ 5 callersFunctionisWindow
( obj )
public/js/app.js:4624
↓ 5 callersFunctionsa
(a,b,c)
public/js/jquery.min.js:2
↓ 5 callersFunctionsa
(a,b,c)
resources/editor/js/jquery.min.js:2
↓ 5 callersFunctionstateEndValue
stateEndValue is the state after completing a value, such as after reading `{}` or `true` or `["x"`.
pkg/mimetype/internal/json/json.go:220
↓ 5 callersFunctiontrimLWS
trimLWS trims whitespace from beginning of the input.
pkg/mimetype/internal/matchers/matchers.go:19
↓ 5 callersFunctionwa
(a,b,c,d,e,f)
public/js/jquery.min.js:2
↓ 5 callersFunctionwa
(a,b,c,d,e,f)
resources/editor/js/jquery.min.js:2
↓ 5 callersFunctionxa
(a)
public/js/jquery.min.js:2
↓ 5 callersFunctionxa
(a)
resources/editor/js/jquery.min.js:2
↓ 4 callersFunctionCreatePage
CreatePage 创建分页 (会从 query 里获取参数) defaultPageLine: 默认 pageline dataKeyName: 列表数据在 render data 中的 key name getTotalFunc: 获取分页数据所需的 total 数 (数据总 count) c
pkg/ginutils/pagination/pagination.go:43
↓ 4 callersFunctionGet
Get -
app/models/user/get.go:9
↓ 4 callersMethodGetIDstring
GetIDstring 获取字符串形式的 id
app/models/models.go:26
↓ 4 callersFunctionNewFlash
NewFlash - flash store
pkg/ginutils/flash/flash.go:34
↓ 4 callersFunctionNewFlashByName
NewFlashByName - 可取其他 name 的 flash store,可用于其他需要闪存的地方
pkg/ginutils/flash/flash.go:26
↓ 4 callersFunctionNewTopicViewModelSerializer
NewTopicViewModelSerializer -
app/viewmodels/topic.go:10
↓ 4 callersFunctionPinyin
Pinyin 汉字转拼音
app/helpers/translate.go:56
↓ 4 callersFunctionReadByName
从 request 中的 cookie 里解析出 flash 数据
pkg/ginutils/flash/flash.go:136
↓ 4 callersFunctionS
(a,b)
public/js/jquery.min.js:3
↓ 4 callersFunctionS
(a,b)
resources/editor/js/jquery.min.js:3
↓ 4 callersMethodSaveByName
将 flash 数据保存到 gin context keys 中和 cookie 中
pkg/ginutils/flash/flash.go:125
↓ 4 callersFunctionSizzle
( selector, context, results, seed )
public/js/app.js:5269
↓ 4 callersFunctionTa
(a,b)
public/js/jquery.min.js:3
↓ 4 callersFunctionTa
(a,b)
resources/editor/js/jquery.min.js:3
↓ 4 callersFunctionUnauthorized
Unauthorized : 无权限时
app/policies/policies.go:22
↓ 4 callersFunctionacceptData
( owner )
public/js/app.js:8553
↓ 4 callersFunctionadd
( key, valueOrFunction )
public/js/app.js:13211
↓ 4 callersFunctionaddCombinator
( matcher, combinator, base )
public/js/app.js:6771
↓ 4 callersFunctionbefore
(currentUser *userModel.User)
app/policies/policies.go:13
↓ 4 callersFunctioncondense
( unmatched, map, filter, context, xml )
public/js/app.js:6858
↓ 4 callersFunctioncreateCache
* Create key-value caches of limited size * @returns {function(string, object)} Returns the Object data after storing it on itself with * property n
public/js/app.js:5411
↓ 4 callersFunctionga
(a,b,d,e)
public/js/jquery.min.js:2
↓ 4 callersFunctionga
(a,b,d,e)
resources/editor/js/jquery.min.js:2
↓ 4 callersFunctiongenFx
( type, includeWidth )
public/js/app.js:11578
↓ 4 callersFunctiongetOppositePlacement
* Get the opposite placement of the given one * @method * @memberof Popper.Utils * @argument {String} placement * @returns {String} flipped placem
public/js/app.js:15915
↓ 4 callersFunctiongetScrollParent
* Returns the scrolling parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} scroll p
public/js/app.js:15268
↓ 4 callersFunctiongetStyles
( elem )
public/js/app.js:10757
↓ 4 callersFunctionhandler
( event )
public/js/app.js:13103
↓ 4 callersFunctionleverageNative
( el, type, expectSync )
public/js/app.js:9958
↓ 4 callersFunctionma
(a)
public/js/jquery.min.js:2
↓ 4 callersFunctionma
(a)
resources/editor/js/jquery.min.js:2
↓ 4 callersFunctionpa
(a)
public/js/jquery.min.js:2
↓ 4 callersFunctionpa
(a)
resources/editor/js/jquery.min.js:2
↓ 4 callersFunctionra
(a)
public/js/jquery.min.js:2
↓ 4 callersFunctionra
(a)
resources/editor/js/jquery.min.js:2
↓ 4 callersFunctionroundPixelMeasures
( measure )
public/js/app.js:10823
↓ 4 callersFunctionsetToCache
(user *User)
app/models/user/user.go:110
↓ 4 callersFunctiontoSelector
( tokens )
public/js/app.js:6761
↓ 4 callersFunctionva
(a,b,c,d,e)
public/js/jquery.min.js:2
↓ 4 callersFunctionva
(a,b,c,d,e)
resources/editor/js/jquery.min.js:2
↓ 3 callersFunctionAPIGETList
APIGETList -
test/controllers/controllers.go:32
↓ 3 callersFunctionAddMessageAndSaveToFlash
AddMessageAndSaveToFlash 添加错误信息并且保存到 flash 中
pkg/ginutils/validate/flash.go:76
↓ 3 callersFunctionBetweenValidator
BetweenValidator - 限制字段的 string length
pkg/ginutils/validate/validators.go:58
↓ 3 callersFunctionDel
Del -
app/cache/cache.go:101
↓ 3 callersMethodExecute
(ctx *pongo2.ExecutionContext, writer pongo2.TemplateWriter)
pkg/ginutils/pongo2/tag_mix.go:21
↓ 3 callersMethodGetActiveUsers
GetActiveUsers 获取活跃用户
app/helpers/active_user.go:40
↓ 3 callersMethodIsActivated
IsActivated 是否已激活
app/models/user/get.go:124
↓ 3 callersFunctionNameUniqueValidator
NameUniqueValidator name 唯一
app/requests/validators.go:10
↓ 3 callersFunctionNewActiveUser
NewActiveUser -
app/helpers/active_user.go:29
↓ 3 callersFunctionRecordLastActivedAt
RecordLastActivedAt 记录用户最后登录时间
app/helpers/last_actived.go:17
↓ 3 callersFunctionRegexpValidator
RegexpValidator 正则验证
pkg/ginutils/validate/validators.go:71
↓ 3 callersFunctionRenderError
RenderError : 渲染错误页面
app/controllers/render.go:70
↓ 3 callersFunctionSaveImage
SaveImage 保存图片 filePrefix: 文件名前缀 maxWidth: 图片最大宽度,0 为不限制
app/helpers/file.go:22
↓ 3 callersFunctionSendListResponse
SendListResponse 分页数据
app/controllers/response.go:71
↓ 3 callersMethodTableName
TableName 表名
app/models/password_reset/password_reset.go:15
↓ 3 callersFunctionTopicListService
TopicListService -
app/services/topic_list.go:13
↓ 3 callersFunctionTopicPolicyOwner
TopicPolicyOwner : 是否有更新、删除 topic 的权限
app/policies/topic.go:10
↓ 3 callersFunctionaddHandle
* Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The met
public/js/app.js:5460
↓ 3 callersFunctionajaxExtend
( target, src )
public/js/app.js:13385
↓ 3 callersFunctionboxModelAdjustment
( elem, dimension, box, isBorderBox, styles, computedVal )
public/js/app.js:10999
↓ 3 callersFunctionc
()
public/js/uploader.min.js:7
↓ 3 callersFunctionc
()
resources/editor/js/uploader.min.js:7
↓ 3 callersFunctionclassesToArray
( value )
public/js/app.js:12546
↓ 3 callersFunctiondone
( status, nativeStatusText, responses, headers )
public/js/app.js:13978
↓ 3 callersFunctionelementMatcher
( matchers )
public/js/app.js:6835
↓ 3 callersFunctionfinalPropName
( name )
public/js/app.js:10961
← previousnext →101–200 of 1,103, ranked by callers