MCPcopy Create free account

hub / github.com/Banrai/PiScan / functions

Functions221 in github.com/Banrai/PiScan

↓ 1 callersFunctionGenerateDigest
(privateKey string, message string)
server/digest/digest.go:16
↓ 1 callersFunctionGenerateHeaders
(sender, recipient, subject, boundary string)
server/emailer/emailer.go:85
↓ 1 callersFunctionGetAllAccounts
(db *sqlite3.Conn)
client/database/db-access.go:376
↓ 1 callersFunctionGetItems
(db *sqlite3.Conn, a *Account)
client/database/db-access.go:247
↓ 1 callersFunctionGetVendor
(db *sqlite3.Conn, vendorId int64)
client/database/db-access.go:285
↓ 1 callersFunctionGetVendorProducts
(db *sqlite3.Conn, itemId int64)
client/database/db-access.go:319
↓ 1 callersFunctionOc
(a,b,c)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctionPc
(a,b,c,d)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctionSendEmailedItems
(context EmailedItems)
server/api/notify.go:44
↓ 1 callersFunctionSendFromServer
SendFromServer transmits the given message, with optional attachments, via the defined mail server and port
server/emailer/emailer.go:129
↓ 1 callersMethodUnfavorite
(db *sqlite3.Conn)
client/database/db-access.go:206
↓ 1 callersMethodUpdate
(stmt *sql.Stmt)
server/database/barcodes/account-access.go:92
↓ 1 callersFunctionVc
(a,b,c,d)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctionWb
(a,b,c)
client/ui/js/jquery.min.js:3
↓ 1 callersFunctionZc
()
client/ui/js/jquery.min.js:4
↓ 1 callersFunction_is_duplicate
Check the current list of match objects and return a boolean if the asin already exists or not
server/commerce/amazon/amazon_api_lookup.py:27
↓ 1 callersFunctionapiLookup
The apiLookup function provides a simple interface to the python amazon_api_lookup.py script using os/exec and returns the string result and error (if
server/commerce/amazon/amazon.go:26
↓ 1 callersFunctionb
()
client/ui/js/respond.min.js:5
↓ 1 callersFunctionbuyAmzUS
(targetClass)
client/ui/js/controls.js:16
↓ 1 callersFunctionc
(a,b)
client/ui/js/html5shiv.min.js:4
↓ 1 callersFunctioncalculateTimeSince
(posted string)
client/database/db-access.go:64
↓ 1 callersFunctiond
(b)
client/ui/js/bootstrap.min.js:6
↓ 1 callersFunctiondecodeEvents
DecodeEvents iterates through the list of InputEvents and decodes the barcode data into a string, along with a boolean to indicate if this particular
scanner/scanner.go:127
↓ 1 callersFunctiondeleteItem
deleteItem attempts to lookup and remove the Item for the Account and Item.Id combination, returning a bool on success/fail, and the db lookup error (
client/ui/ui.go:220
↓ 1 callersFunctiondoShutdown
()
client/ui/shutdown.go:15
↓ 1 callersFunctione
()
client/ui/js/bootstrap.min.js:6
↓ 1 callersFunctionf
()
client/ui/js/bootstrap.min.js:6
↓ 1 callersFunctionf
(a,b)
client/ui/js/respond.min.js:5
↓ 1 callersFunctiong
(a,c,d)
client/ui/js/html5shiv.min.js:4
↓ 1 callersFunctiongetExistingItem
(db *sqlite3.Conn, barcode, desc string)
client/database/db-access.go:147
↓ 1 callersFunctionhc
(a,b,c)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctioni
(a,b)
client/ui/js/html5shiv.min.js:4
↓ 1 callersFunctioni
(a,c,d,e,f,i,j)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionj
(a,b,c,d,f)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionjc
(a,b)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctionkc
(a,b,c)
client/ui/js/jquery.min.js:4
↓ 1 callersFunctionlb
(a)
client/ui/js/jquery.min.js:2
↓ 1 callersFunctionlookup
Lookup the given barcode and return a list of possible matches
server/commerce/amazon/amazon_api_lookup.py:41
↓ 1 callersFunctionlookupKeyCode
lookupKeyCode finds the corresponding string for the given hex byte, returning "-" as the default if not found
scanner/scanner.go:91
↓ 1 callersFunctionmb
(a)
client/ui/js/jquery.min.js:2
↓ 1 callersFunctionn
(a,c,f)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionp
(a,b)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionq
(a)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionq
()
client/ui/js/bootstrap.min.js:6
↓ 1 callersFunctionread
read takes the open scanner device pointer and returns a list of InputEvent captures, corresponding to input (scan) events
scanner/scanner.go:102
↓ 1 callersFunctionrenderAccountEditTemplate
* HTML Response Functions (via templates) */
client/ui/account.go:36
↓ 1 callersFunctionrenderItemEditTemplate
(w http.ResponseWriter, f *ItemForm)
client/ui/ui.go:293
↓ 1 callersFunctionrenderItemListTemplate
* HTML Response Functions (via templates) */
client/ui/ui.go:287
↓ 1 callersFunctionshowConfirmModal
(title, header, message, continueAction)
client/ui/js/utils.js:29
↓ 1 callersFunctionsubmitOk
()
client/ui/js/controls.js:91
↓ 1 callersFunctiontb
(a,b,c)
client/ui/js/jquery.min.js:2
↓ 1 callersFunctionvb
(a,b,c,d,e,f)
client/ui/js/jquery.min.js:2
↓ 1 callersFunctionw
()
client/ui/js/respond.min.js:5
↓ 1 callersFunctionx
()
client/ui/js/respond.min.js:5
↓ 1 callersFunctiony
(a,b)
client/ui/js/modernizr.js:4
↓ 1 callersFunctionyb
(a)
client/ui/js/jquery.min.js:3
↓ 1 callersFunctionz
(a,b,d)
client/ui/js/modernizr.js:4
MethodAdd
(db *sqlite3.Conn)
client/database/db-access.go:342
FunctionAddVendor
(db *sqlite3.Conn, vendorId, vendorDisplayName string)
client/database/db-access.go:267
FunctionAddVendorProduct
(db *sqlite3.Conn, productCode string, vendorId, itemId int64)
client/database/db-access.go:278
FunctionConfirmServerAccount
ConfirmServerAccount responds to the ajax request from the client to lookup and return the status of the given account
client/ui/account.go:132
FunctionContributeBarcode
Write functions (user contributions)
server/database/barcodes/pod-access.go:232
FunctionContributeBarcodeBrand
(stmt *sql.Stmt, rec BARCODE, brand *BRAND)
server/database/barcodes/pod-access.go:242
FunctionContributeBrand
(stmt *sql.Stmt, rec *CONTRIBUTED_BRAND, acc *ACCOUNT)
server/database/barcodes/pod-access.go:248
FunctionContributeData
(r *http.Request, db DBConnection)
server/api/contribute.go:15
MethodDelete
(stmt *sql.Stmt)
server/database/barcodes/account-access.go:86
FunctionDeleteItems
DeleteItems accepts a form post of one or more Item.Id values, and attempts to remove them from the client db. Unless it hits a critical error, it ret
client/ui/ui.go:323
FunctionDigestMatches
(privateKey, messagePlainText, messageDigest string)
server/digest/digest.go:22
FunctionEditAccount
EditAccount presents the form for editing Account information (in response to a GET request) and handles to add/updates (in response to a POST request
client/ui/account.go:45
FunctionEmailItems
EmailItems handles the client form post, to send a list of the selected items via email to the given user
client/ui/email.go:19
FunctionEmailSelectedItems
(r *http.Request, db DBConnection)
server/api/notify.go:56
FunctionFavoriteItems
FavoriteItems accepts a form post of one or more Item.Id values, and attempts to change their status in the client db to 'favorite'
client/ui/ui.go:332
FunctionFavoritedItems
FavoritedItems returns all the products scanned and favorited by this Account
client/ui/ui.go:316
FunctionGetAccountStatus
(r *http.Request, db DBConnection)
server/api/register.go:154
FunctionGetAllVendors
(db *sqlite3.Conn)
client/database/db-access.go:303
FunctionGetDesignatedAccount
GetDesignatedAccount implements single-user mode (for now): it returns either the anonymous account, or the first non-anonymous account found on the s
client/database/db-access.go:423
FunctionGetFavoriteItems
(db *sqlite3.Conn, a *Account)
client/database/db-access.go:251
FunctionGetSingleItem
(db *sqlite3.Conn, a *Account, id int64)
client/database/db-access.go:255
FunctionInitializeDB
(coords ConnCoordinates)
client/database/db-access.go:431
FunctionInitializeTemplates
InitializeTemplates confirms the given folder string leads to the html template files, otherwise templates.Must() will complain
client/ui/ui.go:301
FunctionInputUnknownItem
InputUnknownItem handles the form for user contributions of unknown barcode scans: a GET presents the form, and a POST responds to the user-contribute
client/ui/contribute.go:20
FunctionInsertAsin
InsertAsin takes a prepared statement corresponding to an insert, an AMAZON data struct, and inserts the data from the struct as a new record in the d
server/database/barcodes/commerce-access.go:82
FunctionJ
()
client/ui/js/jquery.min.js:2
FunctionLookup
The Lookup function first looks for the given barcode in the barcodes database. If not found there, it tries the Amazon Product API, and save all thos
server/commerce/amazon/amazon.go:44
FunctionLookupAccount
Query Functions LookupAccount searches for the Account using either the id (uuid) or email address string parameter, depending on which prepared state
server/database/barcodes/account-access.go:40
FunctionLookupAsin
Query Functions Amazon LookupAsin takes a prepared statment (using the ASIN_LOOKUP string), a barcode string, and looks it up in the Amazon table (sou
server/database/barcodes/commerce-access.go:39
FunctionLookupBarcode
Lookup the barcode, using both the barcodes database, and the Amazon API
server/api/scan.go:18
FunctionLookupBrand
LookupBrand takes a prepared statment (using the BRAND_LOOKUP string), a bsin (brand id) string, and looks it up in POD, returning a list of matching
server/database/barcodes/pod-access.go:101
FunctionLookupBrandByName
(stmt *sql.Stmt, brandName string)
server/database/barcodes/pod-access.go:133
FunctionLookupContributedBarcode
Query Functions (user contributions)
server/database/barcodes/pod-access.go:167
FunctionLookupContributedBrand
(stmt *sql.Stmt, brandName string)
server/database/barcodes/pod-access.go:201
FunctionLookupGtin
Query Functions (POD) LookupGtin takes a prepared statment (using the GTIN_LOOKUP string), a barcode string, and looks it up in POD, returning a list
server/database/barcodes/pod-access.go:66
FunctionMakeHTMLHandler
Respond to requests using HTML templates and the standard Content-Type (i.e., "text/html")
client/ui/ui.go:63
FunctionMakeHandler
Respond to requests that are not "text/html" Content-Types (e.g., for ajax calls)
client/ui/ui.go:82
FunctionNewAPIServer
NewAPIServer uses the map of handlers to respond to incoming FastCGI requests on the specific host, port, and transport
server/api/server.go:91
FunctionRedirect
Use this to redirect one request to another target (string)
client/ui/ui.go:56
FunctionRegisterAccount
(r *http.Request, db DBConnection, serverLink string)
server/api/register.go:47
FunctionRemoveSingleItem
* Ajax Response Functions (as strings via MakeHandler) */ RemoveSingleItem looks up the single item represented by the itemId form post variable, and
client/ui/ui.go:354
FunctionRespond
(mediaType string, charset string, fn func(w http.ResponseWriter, r *http.Request) string)
server/api/server.go:81
FunctionScanForever
ScanForever takes a linux input device string pointing to the scanner to read from, invokes the given function on the resulting barcode string when co
scanner/scanner.go:150
← previousnext →101–200 of 221, ranked by callers