MCPcopy Create free account

hub / github.com/timelinize/timelinize / functions

Functions1,120 in github.com/timelinize/timelinize

↓ 2 callersFunctionstoreLinkBetweenEntityAndNonIDAttribute
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 callersMethodsyncOpenRepos
()
tlzapp/config.go:126
↓ 2 callersMethodtempGraphFolder
()
timeline/interactive.go:160
↓ 2 callersMethodtempGraphFolder
()
timeline/imports.go:577
↓ 2 callersFunctiontimelineGroups
(items, options)
frontend/resources/js/common-lib.js:2028
↓ 2 callersMethodtimelineItem
(fsys fs.FS, owner timeline.Entity)
datasources/instagram/models.go:74
↓ 2 callersMethodtimestamp
timestamp returns the best known timestamp for the message.
datasources/email/email.go:361
↓ 2 callersMethodtimestampFromFilePath
()
datasources/generic/timestamp.go:107
↓ 2 callersFunctiontoRadian
frontend/resources/js/map.js:1153
↓ 2 callersMethodtwoLeggedConfig
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 callersFunctiontypeByExtension
(ext string)
timeline/processing.go:1475
↓ 2 callersFunctionunixSecToDate
(ts)
frontend/resources/js/common-lib.js:488
↓ 2 callersMethodunsyncedSave
()
tlzapp/config.go:104
↓ 2 callersFunctionupdateExpandCollapseAll
()
frontend/resources/js/import.js:346
↓ 2 callersFunctionupdateFileCountDisplays
(dsgroupElem)
frontend/resources/js/import.js:340
↓ 2 callersFunctionupdateFilterResults
()
frontend/resources/js/common.js:133
↓ 2 callersFunctionupdateItemClasses
()
frontend/resources/js/spa.js:292
↓ 2 callersFunctionvalidateItemData
(t *testing.T, expectedFilename string, expectedData any, itemData timeline.ItemData, errorMessage string, err
datasources/whatsapp/whatsapp_test.go:150
↓ 2 callersMethodvalueString
()
timeline/entities.go:295
↓ 2 callersMethodwithin
within returns true if c.Date is within the given timeframe (it ignores item ID frames).
datasources/smsbackuprestore/sms.go:57
↓ 2 callersFunctionwrapInLoaderContainer
(container, mediaTag, readyEvent)
frontend/resources/js/common-lib.js:1347
↓ 2 callersFunctionzeroDate
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 callersFunctionzeroTime
zeroTime returns true if the time component of t is zero-valued.
datasources/generic/timestamp.go:279
↓ 1 callersMethodAddConn
AddConn subscribes conn to writes.
timeline/log.go:101
↓ 1 callersFunctionAddLogConn
AddLogConn subscribes conn to the log output. When the conn is closed, it should be removed with RemoveLogConn().
timeline/log.go:127
↓ 1 callersFunctionAppDataDir
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 callersMethodAppliesTo
(tl *Timeline)
timeline/obfuscation.go:609
↓ 1 callersFunctionAssessFolder
(fpath string)
timeline/timeline.go:219
↓ 1 callersMethodAssetImage
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 callersMethodAttribute
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 callersMethodAttributeStats
AttributeStats returns the counts of items by month for attributes of an entity.
timeline/charts.go:297
↓ 1 callersMethodAuthenticate
(ctx context.Context, acc Account, dsOpt any)
timeline/datasource.go:540
↓ 1 callersMethodAuthorizeOAuth2
AuthorizeOAuth2 performs OAuth2 authorization for the account and saves it to the DB.
timeline/account.go:133
↓ 1 callersMethodBuffer
Buffer returns the body buffer that rr was created with. You should still have your original pointer, though.
tlzapp/responsewriter.go:216
↓ 1 callersMethodBuffered
Buffered returns whether rr has decided to buffer the response.
tlzapp/responsewriter.go:221
↓ 1 callersMethodBuildInfo
()
tlzapp/bindings.go:1066
↓ 1 callersMethodCancelJob
(ctx context.Context, repo string, jobID uint64)
tlzapp/bindings.go:1029
↓ 1 callersMethodChart
(ctx context.Context, chartName string, params url.Values)
timeline/charts.go:30
↓ 1 callersMethodClusterPoints
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 callersMethodCommandLineHelp
()
tlzapp/endpoints.go:268
↓ 1 callersFunctionCreate
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 callersFunctionDataSourcesRecognize
DataSourcesRecognize returns the list of data sources that reportedly recognize the file described by the DirEntry.
timeline/datasource.go:289
↓ 1 callersMethodDeleteItems
(repo string, itemRowIDs []uint64, options timeline.DeleteOptions)
tlzapp/bindings.go:1010
↓ 1 callersMethodDescription
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 callersMethodDestination
Returns the 'To' Airport, or the 'DivertedTo' Airport, if one is present
datasources/flighty/types.go:39
↓ 1 callersMethodEmpty
Empty returns true if the name or value is empty or only whitespace.
timeline/entities.go:274
↓ 1 callersMethodEstimateSize
nolint:inamedparam
timeline/datasource.go:548
↓ 1 callersMethodFlushProgress
FlushProgress forces a log to be written that updates the UI about the job.
timeline/jobs.go:683
↓ 1 callersMethodFromItemWithValue
FromItemWithValue connects item to g with a relation that has the given value.
timeline/graph.go:167
↓ 1 callersMethodGeneratePreviewImage
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 callersMethodGetJobs
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 callersMethodGetProperties
(ctx context.Context)
timeline/settings.go:14
↓ 1 callersMethodHasContent
HasContent returns true if the item has data or a location.
timeline/graph.go:412
↓ 1 callersMethodHumanizeKeys
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 callersMethodID
()
datasources/imessage/imessage.go:520
↓ 1 callersMethodInitialToken
(ctx context.Context)
oauth2client/oauth2.go:108
↓ 1 callersMethodIsEmpty
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 callersMethodLess
(i, j int)
timeline/conversations.go:658
↓ 1 callersMethodLoadProperty
(ctx context.Context, key string)
timeline/settings.go:75
↓ 1 callersMethodLookupIATA
Looks up airport information by the provided IATA code.
internal/airports/airports.go:85
↓ 1 callersMethodMustServe
()
tlzapp/app.go:261
↓ 1 callersMethodNewOAuth2HTTPClient
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 callersFunctionNewProcessor
NewProcessor returns a new file processor.
datasources/nmea/nmea.go:164
↓ 1 callersMethodNewRateLimitedRoundTripper
NewRateLimitedRoundTripper adds rate limiting to rt based on the rate limiting policy.
timeline/ratelimit.go:36
↓ 1 callersMethodNextGraphFromImport
(jobID uint64)
timeline/timeline.go:924
↓ 1 callersMethodNextNMEAItem
NextNMEAItem gets the next item from the next NMEA sentence(s).
datasources/nmea/nmea.go:192
↓ 1 callersFunctionOpen
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 callersMethodRecentConversations
RecentConversations loads recent conversations from the DB. It honors a select number of ItemSearchParams fields.
timeline/conversations.go:56
↓ 1 callersFunctionRemoveLogConn
RemoveLogConn removes conn from receiving logs. It is idempotent.
timeline/log.go:133
↓ 1 callersMethodRunCommand
(ctx context.Context, args []string)
tlzapp/app.go:155
↓ 1 callersMethodSaveAuthorization
SaveAuthorization saves the credentials to the DB for this account.
timeline/account.go:142
↓ 1 callersMethodSetObfuscationFunc
(f func() (ObfuscationOptions, bool))
timeline/timeline.go:87
↓ 1 callersMethodSetProperties
(ctx context.Context, properties map[string]any)
timeline/settings.go:102
↓ 1 callersMethodSetTimeframe
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 callersMethodString
()
timeline/datasource.go:445
↓ 1 callersMethodString
()
timeline/imports.go:665
↓ 1 callersMethodStringsToSpecificType
StringsToSpecificType applies StringToSpecificType() to all string and *string values in the metadata map.
timeline/graph.go:581
↓ 1 callersMethodThumbnail
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 callersMethodTimeline
Timeline returns the timeline associated with the job.
timeline/jobs.go:635
↓ 1 callersMethodToEntityWithValue
ToEntityWithValue connects g to entity with a relation that has the given value.
timeline/graph.go:158
↓ 1 callersMethodTranscode
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 callersMethodType
()
datasources/firefox/firefox_test.go:186
↓ 1 callersMethodWalk
(name exif.FieldName, tag *tiff.Tag)
datasources/media/metadata.go:50
↓ 1 callersMethodWriteResponse
()
tlzapp/responsewriter.go:225
↓ 1 callersMethodaddButton
(opt)
frontend/resources/js/settings.js:174
↓ 1 callersMethodaddPhoneNumbersFromArchive
(fsys fs.FS, acc *twitterAccount)
datasources/twitter/archives.go:344
↓ 1 callersMethodaddProfileFromArchive
(fsys fs.FS, acc *twitterAccount)
datasources/twitter/archives.go:363
↓ 1 callersFunctionaddrBarPathToPagePath
(userFriendlyPath)
frontend/resources/js/spa.js:36
↓ 1 callersMethodaddressBook
(ctx context.Context)
datasources/iphone/addressbook.go:34
↓ 1 callersMethodallText
allText returns a concatenation of all the titles in the post.
datasources/instagram/models.go:45
↓ 1 callersMethodassignGraphIDs
(g *Graph)
timeline/interactive.go:74
↓ 1 callersFunctionattachmentToItem
(attachmentDetail string, timestamp time.Time, owner timeline.Entity, dirEntry timeline.DirEntry)
datasources/whatsapp/attachments.go:13
↓ 1 callersMethodattachments
(ctx context.Context, im Importer, sender timeline.Entity)
datasources/imessage/imessage.go:410
↓ 1 callersFunctionauthorizeWithOAuth2
authorizeWithOAuth2 gets an initial OAuth2 token from the user. It requires OAuth2AppSource to be set or it will panic.
timeline/oauth2.go:96
↓ 1 callersFunctionavatarColorClasses
(i)
frontend/resources/js/common-lib.js:1108
↓ 1 callersFunctionbaseFilename
(filepath)
frontend/resources/js/app.js:383
↓ 1 callersFunctionbitsToDrives
bitsToDrives converts a bitmask from GetLogicalDrives into a list of drive letters.
tlzapp/files_windows.go:70
↓ 1 callersMethodcameraRoll
(ctx context.Context)
datasources/iphone/cameraroll.go:33
↓ 1 callersFunctioncanRenderOnMap
(item)
frontend/resources/js/map.js:977
↓ 1 callersMethodcanonicalItemDataFileDir
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
← previousnext →401–500 of 1,120, ranked by callers