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
↓ 2 callers
Function
storeLinkBetweenEntityAndNonIDAttribute
storeLinkBetweenEntityAndNonIDAttribute simply stores a row in entity_attributes that links the entity with the attribute. The link has no data source
timeline/timeline.go:784
↓ 2 callers
Method
syncOpenRepos
()
tlzapp/config.go:126
↓ 2 callers
Method
tempGraphFolder
()
timeline/interactive.go:160
↓ 2 callers
Method
tempGraphFolder
()
timeline/imports.go:577
↓ 2 callers
Function
timelineGroups
(items, options)
frontend/resources/js/common-lib.js:2028
↓ 2 callers
Method
timelineItem
(fsys fs.FS, owner timeline.Entity)
datasources/instagram/models.go:74
↓ 2 callers
Method
timestamp
timestamp returns the best known timestamp for the message.
datasources/email/email.go:361
↓ 2 callers
Method
timestampFromFilePath
()
datasources/generic/timestamp.go:107
↓ 2 callers
Function
toRadian
frontend/resources/js/map.js:1153
↓ 2 callers
Method
twoLeggedConfig
twoLeggedConfig returns a clientcredentials configuration if this app source appears to be configured as one (i.e. with bearer credentials, with a tok
oauth2client/localapp.go:99
↓ 2 callers
Function
typeByExtension
(ext string)
timeline/processing.go:1475
↓ 2 callers
Function
unixSecToDate
(ts)
frontend/resources/js/common-lib.js:488
↓ 2 callers
Method
unsyncedSave
()
tlzapp/config.go:104
↓ 2 callers
Function
updateExpandCollapseAll
()
frontend/resources/js/import.js:346
↓ 2 callers
Function
updateFileCountDisplays
(dsgroupElem)
frontend/resources/js/import.js:340
↓ 2 callers
Function
updateFilterResults
()
frontend/resources/js/common.js:133
↓ 2 callers
Function
updateItemClasses
()
frontend/resources/js/spa.js:292
↓ 2 callers
Function
validateItemData
(t *testing.T, expectedFilename string, expectedData any, itemData timeline.ItemData, errorMessage string, err
datasources/whatsapp/whatsapp_test.go:150
↓ 2 callers
Method
valueString
()
timeline/entities.go:295
↓ 2 callers
Method
within
within returns true if c.Date is within the given timeframe (it ignores item ID frames).
datasources/smsbackuprestore/sms.go:57
↓ 2 callers
Function
wrapInLoaderContainer
(container, mediaTag, readyEvent)
frontend/resources/js/common-lib.js:1347
↓ 2 callers
Function
zeroDate
zeroDate returns true if the date component of t is zero-valued (after parsing, which sets the year to 0 if no year was parsed; default time.Time stru
datasources/generic/timestamp.go:274
↓ 2 callers
Function
zeroTime
zeroTime returns true if the time component of t is zero-valued.
datasources/generic/timestamp.go:279
↓ 1 callers
Method
AddConn
AddConn subscribes conn to writes.
timeline/log.go:101
↓ 1 callers
Function
AddLogConn
AddLogConn subscribes conn to the log output. When the conn is closed, it should be removed with RemoveLogConn().
timeline/log.go:127
↓ 1 callers
Function
AppDataDir
AppDataDir returns a directory path that is suitable for storing application data on disk. It uses the environment for finding the best place to store
tlzapp/config.go:206
↓ 1 callers
Method
AppliesTo
(tl *Timeline)
timeline/obfuscation.go:609
↓ 1 callers
Function
AssessFolder
(fpath string)
timeline/timeline.go:219
↓ 1 callers
Method
AssetImage
AssetImage returns the bytes of the image at the given asset path (relative to the repo root). If obfuscate is true, then the image will be downsized
timeline/thumbnails.go:895
↓ 1 callers
Method
Attribute
TODO: I'm not sure we're representing the new date attributes properly in the DB func (p Entity) birthDateUnix() *int64 { if p.BirthDate == nil { r
timeline/entities.go:126
↓ 1 callers
Method
AttributeStats
AttributeStats returns the counts of items by month for attributes of an entity.
timeline/charts.go:297
↓ 1 callers
Method
Authenticate
(ctx context.Context, acc Account, dsOpt any)
timeline/datasource.go:540
↓ 1 callers
Method
AuthorizeOAuth2
AuthorizeOAuth2 performs OAuth2 authorization for the account and saves it to the DB.
timeline/account.go:133
↓ 1 callers
Method
Buffer
Buffer returns the body buffer that rr was created with. You should still have your original pointer, though.
tlzapp/responsewriter.go:216
↓ 1 callers
Method
Buffered
Buffered returns whether rr has decided to buffer the response.
tlzapp/responsewriter.go:221
↓ 1 callers
Method
BuildInfo
()
tlzapp/bindings.go:1066
↓ 1 callers
Method
CancelJob
(ctx context.Context, repo string, jobID uint64)
tlzapp/bindings.go:1029
↓ 1 callers
Method
Chart
(ctx context.Context, chartName string, params url.Values)
timeline/charts.go:30
↓ 1 callers
Method
ClusterPoints
ClusterPoints returns a slice of the original/input points that were aggregated to make the cluster, if this point is a cluster. A nil value is return
datasources/googlelocation/locproc.go:719
↓ 1 callers
Method
CommandLineHelp
()
tlzapp/endpoints.go:268
↓ 1 callers
Function
Create
TODO: refactor Create() and Open() to use AssessFolder() instead of duplicating logic Create creates and opens a new timeline in the given repo path,
timeline/timeline.go:100
↓ 1 callers
Function
DataSourcesRecognize
DataSourcesRecognize returns the list of data sources that reportedly recognize the file described by the DirEntry.
timeline/datasource.go:289
↓ 1 callers
Method
DeleteItems
(repo string, itemRowIDs []uint64, options timeline.DeleteOptions)
tlzapp/bindings.go:1010
↓ 1 callers
Method
Description
Returns a short (English) markdown formatted description of the flight (from, to, diversions) TODO: How to handle localisation here?
datasources/flighty/types.go:48
↓ 1 callers
Method
Destination
Returns the 'To' Airport, or the 'DivertedTo' Airport, if one is present
datasources/flighty/types.go:39
↓ 1 callers
Method
Empty
Empty returns true if the name or value is empty or only whitespace.
timeline/entities.go:274
↓ 1 callers
Method
EstimateSize
nolint:inamedparam
timeline/datasource.go:548
↓ 1 callers
Method
FlushProgress
FlushProgress forces a log to be written that updates the UI about the job.
timeline/jobs.go:683
↓ 1 callers
Method
FromItemWithValue
FromItemWithValue connects item to g with a relation that has the given value.
timeline/graph.go:167
↓ 1 callers
Method
GeneratePreviewImage
GeneratePreviewImage generates a higher quality preview image for the given item. The extension should be for a supported image format such as JPEG, P
timeline/thumbnails.go:911
↓ 1 callers
Method
GetJobs
GetJobs loads the jobs with the specified IDs, or by the most recent jobs, whichever is set. Both technically can be set, but why?
timeline/jobs.go:808
↓ 1 callers
Method
GetProperties
(ctx context.Context)
timeline/settings.go:14
↓ 1 callers
Method
HasContent
HasContent returns true if the item has data or a location.
timeline/graph.go:412
↓ 1 callers
Method
HumanizeKeys
HumanizeKeys transforms the keys in m to be more human-friendly. For example, it capitlizes the first character and replaces underscores with spaces.
timeline/graph.go:671
↓ 1 callers
Method
ID
()
datasources/imessage/imessage.go:520
↓ 1 callers
Method
InitialToken
(ctx context.Context)
oauth2client/oauth2.go:108
↓ 1 callers
Method
IsEmpty
IsEmpty returns true if the entity has no information. It is best to check this AFTER normalizing, which may delete data that looks non-empty but is a
timeline/entities.go:92
↓ 1 callers
Method
Less
(i, j int)
timeline/conversations.go:658
↓ 1 callers
Method
LoadProperty
(ctx context.Context, key string)
timeline/settings.go:75
↓ 1 callers
Method
LookupIATA
Looks up airport information by the provided IATA code.
internal/airports/airports.go:85
↓ 1 callers
Method
MustServe
()
tlzapp/app.go:261
↓ 1 callers
Method
NewOAuth2HTTPClient
NewOAuth2HTTPClient returns a new HTTP client which performs HTTP requests that are authenticated with an oauth2.Token stored with the account acc.
timeline/oauth2.go:59
↓ 1 callers
Function
NewProcessor
NewProcessor returns a new file processor.
datasources/nmea/nmea.go:164
↓ 1 callers
Method
NewRateLimitedRoundTripper
NewRateLimitedRoundTripper adds rate limiting to rt based on the rate limiting policy.
timeline/ratelimit.go:36
↓ 1 callers
Method
NextGraphFromImport
(jobID uint64)
timeline/timeline.go:924
↓ 1 callers
Method
NextNMEAItem
NextNMEAItem gets the next item from the next NMEA sentence(s).
datasources/nmea/nmea.go:192
↓ 1 callers
Function
Open
Open strictly opens an existing timeline at the given repo folder; it does not attempt to create one if it does not already exist. Timelines should al
timeline/timeline.go:311
↓ 1 callers
Method
RecentConversations
RecentConversations loads recent conversations from the DB. It honors a select number of ItemSearchParams fields.
timeline/conversations.go:56
↓ 1 callers
Function
RemoveLogConn
RemoveLogConn removes conn from receiving logs. It is idempotent.
timeline/log.go:133
↓ 1 callers
Method
RunCommand
(ctx context.Context, args []string)
tlzapp/app.go:155
↓ 1 callers
Method
SaveAuthorization
SaveAuthorization saves the credentials to the DB for this account.
timeline/account.go:142
↓ 1 callers
Method
SetObfuscationFunc
(f func() (ObfuscationOptions, bool))
timeline/timeline.go:87
↓ 1 callers
Method
SetProperties
(ctx context.Context, properties map[string]any)
timeline/settings.go:102
↓ 1 callers
Method
SetTimeframe
SetTimeframe sets the Timeframe field based on the Timestamp field. The precision of the timestamp is determined based on default/"zero" values. The t
timeline/graph.go:439
↓ 1 callers
Method
String
()
timeline/datasource.go:445
↓ 1 callers
Method
String
()
timeline/imports.go:665
↓ 1 callers
Method
StringsToSpecificType
StringsToSpecificType applies StringToSpecificType() to all string and *string values in the metadata map.
timeline/graph.go:581
↓ 1 callers
Method
Thumbnail
Thumbnail returns a thumbnail and associated thumbhash for either the given itemDataID or the dataFile. If both do not exist, they are generated and s
timeline/thumbnails.go:795
↓ 1 callers
Method
Timeline
Timeline returns the timeline associated with the job.
timeline/jobs.go:635
↓ 1 callers
Method
ToEntityWithValue
ToEntityWithValue connects g to entity with a relation that has the given value.
timeline/graph.go:158
↓ 1 callers
Method
Transcode
Transcode transcodes the file at inputPath, or inputStream (but not both), to contentType, and writes it to output. inputStream can only be used on vi
tlzapp/videos.go:39
↓ 1 callers
Method
Type
()
datasources/firefox/firefox_test.go:186
↓ 1 callers
Method
Walk
(name exif.FieldName, tag *tiff.Tag)
datasources/media/metadata.go:50
↓ 1 callers
Method
WriteResponse
()
tlzapp/responsewriter.go:225
↓ 1 callers
Method
addButton
(opt)
frontend/resources/js/settings.js:174
↓ 1 callers
Method
addPhoneNumbersFromArchive
(fsys fs.FS, acc *twitterAccount)
datasources/twitter/archives.go:344
↓ 1 callers
Method
addProfileFromArchive
(fsys fs.FS, acc *twitterAccount)
datasources/twitter/archives.go:363
↓ 1 callers
Function
addrBarPathToPagePath
(userFriendlyPath)
frontend/resources/js/spa.js:36
↓ 1 callers
Method
addressBook
(ctx context.Context)
datasources/iphone/addressbook.go:34
↓ 1 callers
Method
allText
allText returns a concatenation of all the titles in the post.
datasources/instagram/models.go:45
↓ 1 callers
Method
assignGraphIDs
(g *Graph)
timeline/interactive.go:74
↓ 1 callers
Function
attachmentToItem
(attachmentDetail string, timestamp time.Time, owner timeline.Entity, dirEntry timeline.DirEntry)
datasources/whatsapp/attachments.go:13
↓ 1 callers
Method
attachments
(ctx context.Context, im Importer, sender timeline.Entity)
datasources/imessage/imessage.go:410
↓ 1 callers
Function
authorizeWithOAuth2
authorizeWithOAuth2 gets an initial OAuth2 token from the user. It requires OAuth2AppSource to be set or it will panic.
timeline/oauth2.go:96
↓ 1 callers
Function
avatarColorClasses
(i)
frontend/resources/js/common-lib.js:1108
↓ 1 callers
Function
baseFilename
(filepath)
frontend/resources/js/app.js:383
↓ 1 callers
Function
bitsToDrives
bitsToDrives converts a bitmask from GetLogicalDrives into a list of drive letters.
tlzapp/files_windows.go:70
↓ 1 callers
Method
cameraRoll
(ctx context.Context)
datasources/iphone/cameraroll.go:33
↓ 1 callers
Function
canRenderOnMap
(item)
frontend/resources/js/map.js:977
↓ 1 callers
Method
canonicalItemDataFileDir
canonicalItemDataFileDir returns the path to the directory for the given item relative to the timeline root, using forward slash as path separators (t
timeline/itemfiles.go:175
← previous
next →
401–500 of 1,120, ranked by callers