Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/timelinize/timelinize
/ functions
Functions
1,120 in github.com/timelinize/timelinize
⨍
Functions
1,120
◇
Types & classes
328
↳
Endpoints
3
↓ 1 callers
Method
canonicalItemDataFileName
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 callers
Method
chartDataSourceUsage
* 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 callers
Method
chartItemTypes
(ctx context.Context)
timeline/charts.go:128
↓ 1 callers
Method
chartRecentDaysItemCount
(ctx context.Context, params url.Values)
timeline/charts.go:161
↓ 1 callers
Method
chartRecentItems
(ctx context.Context, params url.Values)
timeline/charts.go:47
↓ 1 callers
Function
checkAttachment
(t *testing.T, edge timeline.Relationship, ex expectedDetails, needs *neededParts)
datasources/flighty/flighty_test.go:258
↓ 1 callers
Function
checkCollection
(t *testing.T, ex expectedDetails, message *timeline.Graph)
datasources/flighty/flighty_test.go:185
↓ 1 callers
Function
checkFields
(headers []string)
datasources/flighty/csvfields.go:11
↓ 1 callers
Function
checkFlagParsing
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 callers
Function
checkInCollection
(t *testing.T, edge timeline.Relationship, ex expectedDetails, needs *neededParts)
datasources/flighty/flighty_test.go:277
↓ 1 callers
Function
checkTables
(ctx context.Context, src string)
datasources/firefox/firefox.go:158
↓ 1 callers
Function
classInfo
(name)
frontend/resources/js/common.js:28
↓ 1 callers
Method
classificationNameToID
(name string)
timeline/timeline.go:702
↓ 1 callers
Function
classify
TODO: endpoint currently works for images only
timeline/ml.go:366
↓ 1 callers
Function
clockArms
(hour, minute)
frontend/resources/js/item.js:6
↓ 1 callers
Method
clusterBatch
clusterBatch processes the points in the batch into clusters. It returns the processed batch.
datasources/googlelocation/locproc.go:222
↓ 1 callers
Method
coefficients
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 callers
Function
connectLog
()
frontend/resources/js/common.js:325
↓ 1 callers
Function
containsBlocklistedWord
(s string)
timeline/itemfiles.go:367
↓ 1 callers
Method
content
()
datasources/imessage/imessage.go:476
↓ 1 callers
Function
conversationsPageMain
()
frontend/resources/js/conversations.js:15
↓ 1 callers
Method
count
(match timeline.DataSourceRecognition)
tlzapp/bindings.go:713
↓ 1 callers
Method
data
data returns a reader into the part's data, whether text or media.
datasources/smsbackuprestore/mms.go:268
↓ 1 callers
Function
dataSourceHourStats
()
frontend/resources/js/dashboard.js:240
↓ 1 callers
Method
dataSourceImage
(w http.ResponseWriter, r *http.Request)
tlzapp/frontend.go:650
↓ 1 callers
Function
dataSourceOptions
(ds)
frontend/resources/js/import.js:462
↓ 1 callers
Method
dbName
()
timeline/entities.go:101
↓ 1 callers
Method
decodeLegacyTakeoutFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:14
↓ 1 callers
Method
decodeOnDevice2024iOSFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:66
↓ 1 callers
Method
decodeOnDevice2025AndroidFormat
(ctx context.Context, dirEntry timeline.DirEntry, params timeline.ImportParams)
datasources/googlelocation/formatdecoders.go:124
↓ 1 callers
Method
deleteEmptyItems
deleteEmptyItems deletes items that have no content and no meaningful relationships, from the given import.
timeline/imports.go:483
↓ 1 callers
Method
deleteItemRows
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 callers
Method
deleteThumbnails
(ctx context.Context, itemRowIDs []uint64, dataFiles []string)
timeline/maintenance.go:149
↓ 1 callers
Method
denoiseNext
denoiseNext runs the denoising phase of the algorithm. It returns the next point that is not considered noise.
datasources/googlelocation/locproc.go:473
↓ 1 callers
Function
detectContentType
detectContentType strives to detect the media type of the item using the peeked bytes. It sets it.Content.MediaType.
timeline/processing.go:1322
↓ 1 callers
Function
determineVideoStream
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 callers
Function
dirEntryHidden
(d fs.DirEntry)
tlzapp/files_linux.go:74
↓ 1 callers
Method
distanceToPoint
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 callers
Method
distillUpdatePolicies
distillUpdatePolicies converts the user's update preferences for the import into update policies for this item for the DB.
timeline/timeline.go:1413
↓ 1 callers
Method
distillUpdatePolicy
(pref FieldUpdatePreference, incoming *Item, existing ItemRow)
timeline/timeline.go:1436
↓ 1 callers
Method
downloadAndHashDataFile
downloadAndHashDataFile writes source to destination, hashing it along the way. It returns the number of bytes copied.
timeline/pipeline.go:547
↓ 1 callers
Method
downloadDataFile
downloadDataFile downloads the data file and hashes it. It attaches the results to the item.
timeline/pipeline.go:382
↓ 1 callers
Method
downloadDataFilesInGraph
(ctx context.Context, g *Graph, wg *sync.WaitGroup)
timeline/pipeline.go:237
↓ 1 callers
Method
downloadGraphDataFiles
nolint:unparam // TODO: file bug; opts is definitely used!
timeline/interactive.go:88
↓ 1 callers
Method
downloadItem
(w http.ResponseWriter, r *http.Request, tl openedTimeline, parts []string)
tlzapp/frontend.go:498
↓ 1 callers
Method
downloadItemData
(ctx context.Context, it *Item)
timeline/pipeline.go:265
↓ 1 callers
Function
dropChars
dropChars drops 'offset' characters from the front of a string.
datasources/imessage/nsstring.go:63
↓ 1 callers
Function
dumbHash
(input string)
timeline/obfuscation.go:443
↓ 1 callers
Function
durationBetween
(ts1, ts2)
frontend/resources/js/common-lib.js:476
↓ 1 callers
Method
empty
()
datasources/applecontacts/macaddrbook.go:366
↓ 1 callers
Method
endClusterFunc
endClusterFunc ends the cluster by combining all the clustered points into a single location and returns it.
datasources/googlelocation/locproc.go:413
↓ 1 callers
Method
enforceHost
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 callers
Method
enforceOriginAndMethod
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 callers
Method
ensureDataFileNameShortEnough
ensureDataFileNameShortEnough returns the filename that is guaranteed to be short enough for... yeah, you guessed it: Windows. Of course.
timeline/itemfiles.go:195
↓ 1 callers
Function
entitiesPageMain
()
frontend/resources/js/entities.js:1
↓ 1 callers
Method
entity
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 callers
Method
entity
()
datasources/imessage/imessage.go:535
↓ 1 callers
Function
entityNamesCompatible
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 callers
Function
entityPageMain
()
frontend/resources/js/entity.js:23
↓ 1 callers
Function
entityPicture
(entity)
frontend/resources/js/common-lib.js:1059
↓ 1 callers
Method
equal
(other acceptHeader)
tlzapp/httpaccept_test.go:79
↓ 1 callers
Function
executeTemplate
(rr *responseRecorder, r *http.Request, app *App)
tlzapp/frontend.go:691
↓ 1 callers
Method
expandRelationshipSingle
(ctx context.Context, tx *sql.Tx, sr *SearchResult)
timeline/search.go:850
↓ 1 callers
Function
extractEXIFMetadata
(logger *zap.Logger, file io.Reader, item *timeline.Item)
datasources/media/metadata.go:130
↓ 1 callers
Method
extractKnownProperties
()
datasources/geojson/geojson.go:292
↓ 1 callers
Function
extractLocation
(content []string)
datasources/whatsapp/locations.go:10
↓ 1 callers
Function
extractPoll
(content []string)
datasources/whatsapp/polls.go:15
↓ 1 callers
Function
extractTextWithNewlines
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 callers
Function
extractXMPMetadata
(logger *zap.Logger, file io.Reader)
datasources/media/metadata.go:241
↓ 1 callers
Function
fadeIn
(sel, duration)
frontend/resources/js/app.js:283
↓ 1 callers
Function
fadeOut
(sel, duration)
frontend/resources/js/app.js:271
↓ 1 callers
Function
fileHidden
(filename string)
tlzapp/files_darwin.go:66
↓ 1 callers
Method
fileSelectorRoots
()
tlzapp/bindings.go:43
↓ 1 callers
Method
fillAllowedOrigins
(configuredOrigins []string, listenAddr string)
tlzapp/server.go:85
↓ 1 callers
Method
fillDefaults
()
tlzapp/config.go:85
↓ 1 callers
Method
fillItemRow
(ctx context.Context, tx *sql.Tx, ir *ItemRow, it *Item)
timeline/processing.go:710
↓ 1 callers
Function
filterToQueryString
()
frontend/resources/js/common-lib.js:2463
↓ 1 callers
Method
finalUniqueConstraints
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 callers
Method
findExpiredDeletedItems
(ctx context.Context, tx *sql.Tx)
timeline/maintenance.go:172
↓ 1 callers
Function
fitBounds
()
frontend/resources/js/map.js:484
↓ 1 callers
Function
float32ToByte
(f float32)
timeline/thumbnails.go:1033
↓ 1 callers
Method
followItemSubtrees
(ctx context.Context, tx *sql.Tx, rowIDs []uint64)
timeline/timeline.go:1189
↓ 1 callers
Function
freezePage
(modal)
frontend/resources/js/common.js:299
↓ 1 callers
Function
galleryPageMain
()
frontend/resources/js/gallery.js:5
↓ 1 callers
Method
generateAndStoreThumbhash
(ctx context.Context, thumb []byte)
timeline/thumbnails.go:747
↓ 1 callers
Method
generateAndStoreThumbnail
(ctx context.Context)
timeline/thumbnails.go:486
↓ 1 callers
Method
generateEmbeddingForItem
(ctx context.Context, job *ActiveJob, itemID int64)
timeline/ml.go:248
↓ 1 callers
Function
generatePKCEVerifier
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 callers
Function
generateSerializedEmbedding
(ctx context.Context, dataType string, data []byte, filename *string)
timeline/ml.go:292
↓ 1 callers
Function
generateThumbhash
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 callers
Function
generateThumbhashFromThumbnail
(thumb []byte)
timeline/thumbnails.go:765
↓ 1 callers
Method
generateThumbnail
(ctx context.Context, inputFilename string, inputBuf []byte)
timeline/thumbnails.go:580
↓ 1 callers
Method
getAccountInfoFromArchive
(fsys fs.FS)
datasources/twitter/archives.go:319
↓ 1 callers
Method
getColumnNames
(ctx context.Context, db *sql.DB, tableName string)
datasources/applecontacts/macaddrbook.go:254
↓ 1 callers
Method
getDirectAuthURLFromProxy
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 callers
Function
getDistanceToRect
(mouseX, mouseY, rect)
frontend/resources/js/common.js:535
↓ 1 callers
Function
getFileSelectorRoots
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 callers
Function
getFileSystemType
(path string)
timeline/fs_linux.go:23
↓ 1 callers
Function
getLocalLogicalDrives
getLocalLogicalDrives calls the Windows API GetLogicalDrives and returns a slice of drive letters.
tlzapp/files_windows.go:59
↓ 1 callers
Function
getNearestMapPlaceholderElement
(mouseX, mouseY)
frontend/resources/js/common.js:541
← previous
next →
501–600 of 1,120, ranked by callers