MCPcopy Create free account

hub / github.com/abishekmuthian/open-payment-host / functions

Functions1,100 in github.com/abishekmuthian/open-payment-host

↓ 2 callersMethodStyle
Style returns true if this file is a CSS file
src/lib/assets/file.go:42
↓ 2 callersMethodStyleName
StyleName returns a fingerprinted group name for styles
src/lib/assets/group.go:176
↓ 2 callersMethodTable
Queryable interface Table returns the table name for this object
src/lib/resource/resource.go:38
↓ 2 callersFunctionTime
Time returns a formatted time string given a time and optional format
src/lib/view/helpers/helpers.go:108
↓ 2 callersMethodUpdate
Update this model object, called from actions.
src/lib/query/query_test.go:42
↓ 2 callersMethodUpdateURL
UpdateURL returns the update url for this model /table/id/update
src/lib/resource/urls.go:18
↓ 2 callersMethodUserID
for role check
src/lib/auth/can/can.go:10
↓ 2 callersFunctionValidateMap
ValidateMap returns the map value of the JSON string
src/lib/resource/validate.go:140
↓ 2 callersMethodValues
(values map[string]interface{})
src/lib/mux/log/log.go:85
↓ 2 callersFunctionWhere
Where returns a new query for products with the format and arguments supplied.
src/products/query.go:172
↓ 2 callersFunctionadd
add adds this ability
src/lib/auth/can/ability.go:33
↓ 2 callersFunctionaddCacheControl
(w http.ResponseWriter, r *http.Request)
src/app/handlers.go:117
↓ 2 callersFunctionbasePath
This file contains some test helpers for resources. basePath returns the path to the fragmenta root from a given test folder.
src/lib/resource/testing.go:25
↓ 2 callersFunctionconfigPath
()
src/app/bootstrap.go:64
↓ 2 callersFunctioncreateOrImportListener
(addr string)
src/lib/server/server.go:74
↓ 2 callersFunctiondecodeBase64
decodeBase64 decodes a value using base64.
src/lib/auth/encode.go:64
↓ 2 callersFunctiondisplayPaymentResults
(status)
src/subscriptions/assets/scripts/square_script.js:56
↓ 2 callersFunctionencodeBase64
encodeBase64 encodes a value using base64.
src/lib/auth/encode.go:57
↓ 2 callersFunctionforkChild
(addr string, ln net.Listener)
src/lib/server/server.go:103
↓ 2 callersFunctionlogWithColor
logWithColor formats the log string with color depending on the arguments
src/lib/mux/middleware/logrequest/middleware.go:143
↓ 2 callersFunctionnewCodeResponseWriter
newCodeResponseWriter initialises a codeResponseWriter
src/lib/mux/middleware/logrequest/middleware.go:133
↓ 2 callersMethodnext
* next -- get the next character, excluding comments. peek() is used to see if a '/' is followed by a '/' or '*'. */
src/lib/assets/internal/jsmin/jsmin.go:121
↓ 2 callersFunctionproductAmount
()
src/app/assets/scripts/app.js:223
↓ 2 callersFunctionproductTitle
()
src/app/assets/scripts/app.js:205
↓ 2 callersFunctionpurgeUsers
purgeUsers clears the users list of users who last acted PurgeInterval ago
src/lib/stats/stats.go:135
↓ 2 callersFunctionrazorpayKeyID
()
src/app/assets/scripts/app.js:277
↓ 2 callersFunctionrefute
(t *testing.T, a interface{}, b interface{})
src/lib/mandrill/mandrill_test.go:18
↓ 2 callersFunctionrequestCacheKey
Return a key suitable for storing this request in our cache. NB: To avoid allocations we do not include every permutation in the cache so routes retur
src/lib/mux/mux.go:170
↓ 2 callersFunctionsafeXORBytes
safeXORBytes is from https://golang.org/src/crypto/cipher/xor.go.
src/lib/auth/auth.go:147
↓ 2 callersMethodsendApiRequest
(data interface{}, path string)
src/lib/mandrill/mandrill.go:307
↓ 2 callersMethodsendMessagePayload
(data interface{}, path string)
src/lib/mandrill/mandrill.go:288
↓ 2 callersFunctionsendToAyrShare
sendToAyrShare sends the message to AyrShare
src/products/actions/social.go:156
↓ 2 callersFunctionstoryHasUserVote
storyHasUserVote returns true if we already have a vote for this story from this user
src/products/actions/vote.go:232
↓ 2 callersFunctionwatchProcess
watchProcess initialises OS signal and fork process
src/lib/server/server.go:266
↓ 2 callersFunctionwriteJSON
(w http.ResponseWriter, v interface{}, err error)
src/subscriptions/checkout.go:253
↓ 2 callersMethodwriteLog
Log events to the server log file and other output
src/lib/server/log/deprecated.go:72
↓ 1 callersFunctionActivateBurgerMenu
()
src/app/assets/scripts/app.js:28
↓ 1 callersFunctionActivateFilterFields
()
src/app/assets/scripts/app.js:130
↓ 1 callersFunctionActivateForms
()
src/app/assets/scripts/app.js:113
↓ 1 callersFunctionActivateHTMX
()
src/app/assets/scripts/app.js:315
↓ 1 callersFunctionActivateManageBilling
()
src/app/assets/scripts/app.js:161
↓ 1 callersFunctionActivateMethodLinks
()
src/app/assets/scripts/app.js:42
↓ 1 callersFunctionActivateShowlinks
()
src/app/assets/scripts/app.js:141
↓ 1 callersMethodAddAsset
AddAsset adds this asset to the group
src/lib/assets/group.go:152
↓ 1 callersMethodAllow
Allow returns an error if the action is not allowed, or nil if it is
src/lib/auth/can/ability.go:48
↓ 1 callersFunctionAllowedParamsAdmin
AllowedParamsAdmin returns the cols editable by admins
src/users/query.go:27
↓ 1 callersFunctionAuthenticityToken
AuthenticityToken returns a new token for a request, and if necessary sets the cookie with our secret.
src/lib/auth/auth.go:37
↓ 1 callersFunctionBootstrap
Bootstrap generates missing config files, sql migrations, and runs the first migrations For this we need to know what to call the app, but we default
src/app/bootstrap.go:39
↓ 1 callersFunctionBytesToHex
BytesToHex converts bytes to a hex string representation of bytes
src/lib/auth/encode.go:23
↓ 1 callersMethodCanDownvote
CanDownvote returns true if this user can downvote.
src/users/vote.go:31
↓ 1 callersMethodCanFlag
CanFlag returns true if this user can flag.
src/users/vote.go:41
↓ 1 callersMethodCanParseFile
Can this parser handle this file?
src/lib/view/parser/parser.go:13
↓ 1 callersMethodCanUpvote
CanUpvote returns true if this user can upvote.
src/users/vote.go:26
↓ 1 callersFunctionCancelPaypalSubscription
(subscriptionId string)
src/subscriptions/paypal.go:564
↓ 1 callersFunctionCancelRazorpaySubscription
(subscriptionId string)
src/subscriptions/razorpay.go:137
↓ 1 callersMethodCheckOwner
CheckOwner returns true if this ability should check ownership
src/lib/auth/can/ability.go:79
↓ 1 callersFunctionCheckRandomToken
CheckRandomToken performs a comparison of two tokens resistant to timing attacks.
src/lib/auth/random.go:27
↓ 1 callersMethodClear
(http.ResponseWriter)
src/lib/auth/session.go:52
↓ 1 callersFunctionClearSession
ClearSession clears the current session cookie
src/lib/auth/session.go:94
↓ 1 callersFunctionClearSessionStorage
()
src/app/assets/scripts/app.js:304
↓ 1 callersMethodConfigBool
ConfigBool returns the current configuration value as bool (yes=true, no=false), or false if no value
src/lib/server/deprecated.go:103
↓ 1 callersMethodConfiguration
Configuration returns the map of configuration keys to values
src/lib/server/deprecated.go:77
↓ 1 callersMethodCreateBatch
CreateBatch creates a batch attached to the db to add points to
src/lib/mux/log/adapters/influx/influx.go:161
↓ 1 callersFunctionCreateCard
CreateCard creates a card with the customer
src/subscriptions/square.go:372
↓ 1 callersFunctionCreateCustomer
CreateCustomer creates a customer
src/subscriptions/square.go:285
↓ 1 callersMethodCreatePoint
CreatePoint creates a batch point for influx from a set of values If you need more control you can create points and use WriteBatch
src/lib/mux/log/adapters/influx/influx.go:110
↓ 1 callersFunctionCreateSubscription
CreateSubscription creates a subscription for the user
src/subscriptions/square.go:502
↓ 1 callersMethodError
Error returns the underling error string - it should not be shown in production
src/lib/server/errors.go:21
↓ 1 callersMethodExec
Exec - use this for non-select statements
src/lib/query/adapters/database_mysql.go:94
↓ 1 callersMethodExec
Exec - use this for non-select statements
src/lib/query/adapters/database_sqlite.go:86
↓ 1 callersMethodFileName
FileName is the file friendly version of the product name
src/products/story.go:142
↓ 1 callersMethodFinalize
Called after parsing is finished
src/lib/view/parser/template.go:17
↓ 1 callersFunctionFind
Find fetches a single subscription record from the database by id.
src/subscriptions/query.go:75
↓ 1 callersFunctionFindCustomerId
Find fetches a single subscription record from the database by user id.
src/subscriptions/query.go:108
↓ 1 callersFunctionFindFirst
FindFirst fetches a single story record from the database using a where query with the format and args provided.
src/products/query.go:103
↓ 1 callersFunctionFindPayerEmail
Find fetches a single subscription record from the database by payer email.
src/subscriptions/query.go:119
↓ 1 callersFunctionFindPaypalPlanId
FindPaypalPlanId fetches a single story record from the database by paypal plan id
src/products/query.go:121
↓ 1 callersFunctionFindSquarePlanId
FindSquarePlanId fetches a single story record from the database by square plan id
src/products/query.go:132
↓ 1 callersFunctionGenerateSignature
GenerateSignature generates a signature for the given payload and secret.
src/subscriptions/sendWebhook.go:53
↓ 1 callersMethodGetDate
GetDate returns the first value associated with a given key as a time, using the given time format.
src/lib/mux/params.go:270
↓ 1 callersMethodGetFloat
GetFloat returns the first value associated with the key as an integer. If there is no value or a parse error, it returns 0.0
src/lib/mux/params.go:352
↓ 1 callersMethodGetFloats
GetFloats returns all values associated with the key as an array of floats.
src/lib/mux/params.go:365
↓ 1 callersMethodGetHashTag
GetHashTag gives the hashtags in the name
src/products/story.go:147
↓ 1 callersMethodGetInts
GetInts returns all values associated with the key as an array of integers.
src/lib/mux/params.go:292
↓ 1 callersMethodGetIntsString
GetIntsString returns all values associated with the key as a comma separated string.
src/lib/mux/params.go:331
↓ 1 callersMethodGetStrings
GetStrings returns all string values associated with this key if there are no values associated an empty array is returned
src/lib/mux/params.go:263
↓ 1 callersFunctionGetTrendingStory
getTrendingStory returns a story with most number of views in past 30 days except meta stories
src/products/query.go:182
↓ 1 callersMethodGetUniqueInts
GetUniqueInts returns all unique non-zero int values associated with the given key as an array of integers
src/lib/mux/params.go:308
↓ 1 callersMethodHandle
Handle calls the handler with the writer and request.
src/lib/mux/route.go:57
↓ 1 callersFunctionHandleCreate
HandleCreate handles the POST of the create form for products
src/products/actions/create.go:78
↓ 1 callersFunctionHandleCreateAdminUser
HandleCreateAdminUser creates the user
src/users/actions/create.go:13
↓ 1 callersFunctionHandleIndex
HandleIndex displays a list of users.
src/users/actions/index.go:16
↓ 1 callersFunctionHandleIndex
HandleIndex repsponds to GET /stories
src/products/actions/index.go:23
↓ 1 callersFunctionHandleLogin
HandleLogin responds to POST /users/login by setting a cookie on the request with encrypted user data.
src/users/actions/login.go:58
↓ 1 callersFunctionHandleShow
HandleShow displays a single user.
src/users/actions/show.go:19
↓ 1 callersFunctionHandleShow
HandleShow displays a single story.
src/products/actions/show.go:30
↓ 1 callersFunctionHandleUpdate
HandleUpdate updates the user
src/users/actions/update.go:11
↓ 1 callersFunctionHandleUpdate
HandleUpdate handles the POST of the form to update a story
src/products/actions/update.go:220
↓ 1 callersFunctionHandleUserCount
HandleUserCount serves a get request at /stats/users/count
src/lib/stats/stats.go:112
↓ 1 callersMethodInsertSQL
Return extra SQL for insert statement (see psql)
src/lib/query/adapters/database.go:26
← previousnext →301–400 of 1,100, ranked by callers