MCPcopy Create free account

hub / github.com/timelinize/timelinize / functions

Functions1,120 in github.com/timelinize/timelinize

↓ 1 callersMethodcanonicalItemDataFileName
canonicalItemDataFileName returns the filename to be used in the timeline repository for the item's data file. It pulls from elements of the item incl
timeline/itemfiles.go:127
↓ 1 callersMethodchartDataSourceUsage
* SELECT date(timestamp/1000, 'unixepoch') as date, strftime('%H', time(timestamp/1000, 'unixepoch')) as hour, data_source_name, count() FROM exte
timeline/charts.go:229
↓ 1 callersMethodchartItemTypes
(ctx context.Context)
timeline/charts.go:128
↓ 1 callersMethodchartRecentDaysItemCount
(ctx context.Context, params url.Values)
timeline/charts.go:161
↓ 1 callersMethodchartRecentItems
(ctx context.Context, params url.Values)
timeline/charts.go:47
↓ 1 callersFunctioncheckAttachment
(t *testing.T, edge timeline.Relationship, ex expectedDetails, needs *neededParts)
datasources/flighty/flighty_test.go:258
↓ 1 callersFunctioncheckCollection
(t *testing.T, ex expectedDetails, message *timeline.Graph)
datasources/flighty/flighty_test.go:185
↓ 1 callersFunctioncheckFields
(headers []string)
datasources/flighty/csvfields.go:11
↓ 1 callersFunctioncheckFlagParsing
checkFlagParsing returns an error if it looks like the program may have been invoked with the flags in the wrong place. This should NOT be used when t
cmd/cmd.go:192
↓ 1 callersFunctioncheckInCollection
(t *testing.T, edge timeline.Relationship, ex expectedDetails, needs *neededParts)
datasources/flighty/flighty_test.go:277
↓ 1 callersFunctioncheckTables
(ctx context.Context, src string)
datasources/firefox/firefox.go:158
↓ 1 callersFunctionclassInfo
(name)
frontend/resources/js/common.js:28
↓ 1 callersMethodclassificationNameToID
(name string)
timeline/timeline.go:702
↓ 1 callersFunctionclassify
TODO: endpoint currently works for images only
timeline/ml.go:366
↓ 1 callersFunctionclockArms
(hour, minute)
frontend/resources/js/item.js:6
↓ 1 callersMethodclusterBatch
clusterBatch processes the points in the batch into clusters. It returns the processed batch.
datasources/googlelocation/locproc.go:222
↓ 1 callersMethodcoefficients
coefficients returns the three coefficients that define a line. A line can represent by the following equation. ax + by + c = 0
datasources/googlelocation/simplify.go:109
↓ 1 callersFunctionconnectLog
()
frontend/resources/js/common.js:325
↓ 1 callersFunctioncontainsBlocklistedWord
(s string)
timeline/itemfiles.go:367
↓ 1 callersMethodcontent
()
datasources/imessage/imessage.go:476
↓ 1 callersFunctionconversationsPageMain
()
frontend/resources/js/conversations.js:15
↓ 1 callersMethodcount
(match timeline.DataSourceRecognition)
tlzapp/bindings.go:713
↓ 1 callersMethoddata
data returns a reader into the part's data, whether text or media.
datasources/smsbackuprestore/mms.go:268
↓ 1 callersFunctiondataSourceHourStats
()
frontend/resources/js/dashboard.js:240
↓ 1 callersMethoddataSourceImage
(w http.ResponseWriter, r *http.Request)
tlzapp/frontend.go:650
↓ 1 callersFunctiondataSourceOptions
(ds)
frontend/resources/js/import.js:462
↓ 1 callersMethoddbName
()
timeline/entities.go:101
↓ 1 callersMethoddecodeLegacyTakeoutFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:14
↓ 1 callersMethoddecodeOnDevice2024iOSFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:66
↓ 1 callersMethoddecodeOnDevice2025AndroidFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:124
↓ 1 callersMethoddeleteEmptyItems
deleteEmptyItems deletes items that have no content and no meaningful relationships, from the given import.
timeline/imports.go:483
↓ 1 callersMethoddeleteItemRows
deleteItemRows deletes the item rows specified by their row IDs. If remember is true, the item rows will be hashed, and the hash will be stored with t
timeline/timeline.go:1130
↓ 1 callersMethoddeleteThumbnails
(ctx context.Context, itemRowIDs []uint64, dataFiles []string)
timeline/maintenance.go:149
↓ 1 callersMethoddenoiseNext
denoiseNext runs the denoising phase of the algorithm. It returns the next point that is not considered noise.
datasources/googlelocation/locproc.go:473
↓ 1 callersFunctiondetectContentType
detectContentType strives to detect the media type of the item using the peeked bytes. It sets it.Content.MediaType.
timeline/processing.go:1322
↓ 1 callersFunctiondetermineVideoStream
determineVideoStream returns the value to use for the "-map" option of ffmpeg. Note that an empty string and nil error may be returned if no specific
tlzapp/videos.go:144
↓ 1 callersFunctiondirEntryHidden
(d fs.DirEntry)
tlzapp/files_linux.go:74
↓ 1 callersMethoddistanceToPoint
distanceToPoint returns the perpendicular distance of a point to the line. TODO: probably need to implement some great circle formula here for best re
datasources/googlelocation/simplify.go:100
↓ 1 callersMethoddistillUpdatePolicies
distillUpdatePolicies converts the user's update preferences for the import into update policies for this item for the DB.
timeline/timeline.go:1413
↓ 1 callersMethoddistillUpdatePolicy
(pref FieldUpdatePreference, incoming *Item, existing ItemRow)
timeline/timeline.go:1436
↓ 1 callersMethoddownloadAndHashDataFile
downloadAndHashDataFile writes source to destination, hashing it along the way. It returns the number of bytes copied.
timeline/pipeline.go:547
↓ 1 callersMethoddownloadDataFile
downloadDataFile downloads the data file and hashes it. It attaches the results to the item.
timeline/pipeline.go:382
↓ 1 callersMethoddownloadDataFilesInGraph
(ctx context.Context, g *Graph, wg *sync.WaitGroup)
timeline/pipeline.go:237
↓ 1 callersMethoddownloadGraphDataFiles
nolint:unparam // TODO: file bug; opts is definitely used!
timeline/interactive.go:88
↓ 1 callersMethoddownloadItem
(w http.ResponseWriter, r *http.Request, tl openedTimeline, parts []string)
tlzapp/frontend.go:498
↓ 1 callersMethoddownloadItemData
(ctx context.Context, it *Item)
timeline/pipeline.go:265
↓ 1 callersFunctiondropChars
dropChars drops 'offset' characters from the front of a string.
datasources/imessage/nsstring.go:63
↓ 1 callersFunctiondumbHash
(input string)
timeline/obfuscation.go:443
↓ 1 callersFunctiondurationBetween
(ts1, ts2)
frontend/resources/js/common-lib.js:476
↓ 1 callersMethodempty
()
datasources/applecontacts/macaddrbook.go:366
↓ 1 callersMethodendClusterFunc
endClusterFunc ends the cluster by combining all the clustered points into a single location and returns it.
datasources/googlelocation/locproc.go:413
↓ 1 callersMethodenforceHost
enforceHost returns a handler that wraps next such that it will only be called if the request's Host header matches a trustworthy/expected value. This
tlzapp/server.go:150
↓ 1 callersMethodenforceOriginAndMethod
enforceOriginAndMethod ensures that the Origin header matches the expected value(s), sets CORS headers, and also enforces the proper/expected method f
tlzapp/server.go:170
↓ 1 callersMethodensureDataFileNameShortEnough
ensureDataFileNameShortEnough returns the filename that is guaranteed to be short enough for... yeah, you guessed it: Windows. Of course.
timeline/itemfiles.go:195
↓ 1 callersFunctionentitiesPageMain
()
frontend/resources/js/entities.js:1
↓ 1 callersMethodentity
func (ta twitterAccount) screenName() string { if ta.Data.Username != "" { return ta.Data.Username // from API } return ta.Username // from archi
datasources/twitter/models.go:874
↓ 1 callersMethodentity
()
datasources/imessage/imessage.go:535
↓ 1 callersFunctionentityNamesCompatible
entityNamesCompatible returns the singular name of these entities and true if they are compatible, meaning that all the entities with a non-empty Name
timeline/entities.go:1083
↓ 1 callersFunctionentityPageMain
()
frontend/resources/js/entity.js:23
↓ 1 callersFunctionentityPicture
(entity)
frontend/resources/js/common-lib.js:1059
↓ 1 callersMethodequal
(other acceptHeader)
tlzapp/httpaccept_test.go:79
↓ 1 callersFunctionexecuteTemplate
(rr *responseRecorder, r *http.Request, app *App)
tlzapp/frontend.go:691
↓ 1 callersMethodexpandRelationshipSingle
(ctx context.Context, tx *sql.Tx, sr *SearchResult)
timeline/search.go:850
↓ 1 callersFunctionextractEXIFMetadata
(logger *zap.Logger, file io.Reader, item *timeline.Item)
datasources/media/metadata.go:130
↓ 1 callersMethodextractKnownProperties
()
datasources/geojson/geojson.go:292
↓ 1 callersFunctionextractLocation
(content []string)
datasources/whatsapp/locations.go:10
↓ 1 callersFunctionextractPoll
(content []string)
datasources/whatsapp/polls.go:15
↓ 1 callersFunctionextractTextWithNewlines
extractTextWithNewlines is like calling .Text(), but it inserts '\n' where <br> are, or "\n\n" where </p> tags are.
datasources/googlevoice/googlevoice.go:395
↓ 1 callersFunctionextractXMPMetadata
(logger *zap.Logger, file io.Reader)
datasources/media/metadata.go:241
↓ 1 callersFunctionfadeIn
(sel, duration)
frontend/resources/js/app.js:283
↓ 1 callersFunctionfadeOut
(sel, duration)
frontend/resources/js/app.js:271
↓ 1 callersFunctionfileHidden
(filename string)
tlzapp/files_darwin.go:66
↓ 1 callersMethodfileSelectorRoots
()
tlzapp/bindings.go:43
↓ 1 callersMethodfillAllowedOrigins
(configuredOrigins []string, listenAddr string)
tlzapp/server.go:85
↓ 1 callersMethodfillDefaults
()
tlzapp/config.go:85
↓ 1 callersMethodfillItemRow
(ctx context.Context, tx *sql.Tx, ir *ItemRow, it *Item)
timeline/processing.go:710
↓ 1 callersFunctionfilterToQueryString
()
frontend/resources/js/common-lib.js:2463
↓ 1 callersMethodfinalUniqueConstraints
finalUniqueConstraints combines the unique constraints configured by the user with those specified by the data source. It does not add new ones that t
timeline/graph.go:338
↓ 1 callersMethodfindExpiredDeletedItems
(ctx context.Context, tx *sql.Tx)
timeline/maintenance.go:172
↓ 1 callersFunctionfitBounds
()
frontend/resources/js/map.js:484
↓ 1 callersFunctionfloat32ToByte
(f float32)
timeline/thumbnails.go:1033
↓ 1 callersMethodfollowItemSubtrees
(ctx context.Context, tx *sql.Tx, rowIDs []uint64)
timeline/timeline.go:1189
↓ 1 callersFunctionfreezePage
(modal)
frontend/resources/js/common.js:299
↓ 1 callersFunctiongalleryPageMain
()
frontend/resources/js/gallery.js:5
↓ 1 callersMethodgenerateAndStoreThumbhash
(ctx context.Context, thumb []byte)
timeline/thumbnails.go:747
↓ 1 callersMethodgenerateAndStoreThumbnail
(ctx context.Context)
timeline/thumbnails.go:486
↓ 1 callersMethodgenerateEmbeddingForItem
(ctx context.Context, job *ActiveJob, itemID int64)
timeline/ml.go:248
↓ 1 callersFunctiongeneratePKCEVerifier
generatePKCEVerifier generates a PKCE code verifier described at https://www.oauth.com/oauth2-servers/pkce/authorization-request/. "This is a cryptogr
oauth2client/oauth2.go:78
↓ 1 callersFunctiongenerateSerializedEmbedding
(ctx context.Context, dataType string, data []byte, filename *string)
timeline/ml.go:292
↓ 1 callersFunctiongenerateThumbhash
generateThumbhash returns the thumbhash of the decoded image prepended by the aspect ratio; the frontend will need to detach the aspect ratio (and can
timeline/thumbnails.go:781
↓ 1 callersFunctiongenerateThumbhashFromThumbnail
(thumb []byte)
timeline/thumbnails.go:765
↓ 1 callersMethodgenerateThumbnail
(ctx context.Context, inputFilename string, inputBuf []byte)
timeline/thumbnails.go:580
↓ 1 callersMethodgetAccountInfoFromArchive
(fsys fs.FS)
datasources/twitter/archives.go:319
↓ 1 callersMethodgetColumnNames
(ctx context.Context, db *sql.DB, tableName string)
datasources/applecontacts/macaddrbook.go:254
↓ 1 callersMethodgetDirectAuthURLFromProxy
getDirectAuthURLFromProxy returns an auth URL that goes directly to the OAuth2 provider server, but it gets that URL by querying the proxy server for
oauth2client/remoteapp.go:108
↓ 1 callersFunctiongetDistanceToRect
(mouseX, mouseY, rect)
frontend/resources/js/common.js:535
↓ 1 callersFunctiongetFileSelectorRoots
TODO: to list actual mount points: $ mount or $ findmnt (use -J for JSON output!!) getFileSelectorRoots gets the platform-specific filepath roots, lik
tlzapp/files_linux.go:36
↓ 1 callersFunctiongetFileSystemType
(path string)
timeline/fs_linux.go:23
↓ 1 callersFunctiongetLocalLogicalDrives
getLocalLogicalDrives calls the Windows API GetLogicalDrives and returns a slice of drive letters.
tlzapp/files_windows.go:59
↓ 1 callersFunctiongetNearestMapPlaceholderElement
(mouseX, mouseY)
frontend/resources/js/common.js:541
← previousnext →501–600 of 1,120, ranked by callers