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
↓ 791 callers
Function
$
(sel, el)
frontend/resources/js/app.js:20
↓ 166 callers
Function
$$
(sel, el)
frontend/resources/js/app.js:21
↓ 162 callers
Method
String
()
timeline/graph.go:405
↓ 158 callers
Method
Error
()
timeline/timeline.go:214
↓ 136 callers
Method
Error
()
tlzapp/errors.go:49
↓ 135 callers
Method
Close
()
timeline/db.go:84
↓ 94 callers
Method
Open
(name string)
datasources/iphone/iphone.go:227
↓ 88 callers
Method
Name
()
datasources/firefox/firefox_test.go:184
↓ 82 callers
Method
Scan
(dest ...any)
timeline/graph.go:857
↓ 76 callers
Function
on
(eventName, elemSelector, handler, capture)
frontend/resources/js/app.js:213
↓ 61 callers
Method
Info
()
datasources/firefox/firefox_test.go:187
↓ 61 callers
Method
IsDir
()
datasources/firefox/firefox_test.go:185
↓ 56 callers
Method
Context
Context returns the context the job is being run in. It should (usually) be the parent context of all others in the job.
timeline/jobs.go:629
↓ 50 callers
Method
Unlock
(key any)
timeline/mapmutex.go:46
↓ 49 callers
Method
Lock
(key any)
timeline/mapmutex.go:37
↓ 47 callers
Method
String
()
datasources/telegram/telegram.go:97
↓ 47 callers
Function
cloneTemplate
(tplSelector)
frontend/resources/js/app.js:262
↓ 36 callers
Method
FullPath
FullPath returns the full file system path for a data file, including the repo path. It converts forward slashes in the input to the file system path
timeline/itemfiles.go:343
↓ 31 callers
Function
jsonResponse
(w http.ResponseWriter, v any, err error)
tlzapp/helpers.go:128
↓ 29 callers
Function
RegisterDataSource
authFunc gets the authentication function for this service. If s.Authenticate is set, it returns that; if s.OAuth2 is set, it uses a standard OAuth2 f
timeline/datasource.go:117
↓ 27 callers
Function
StringData
StringData makes it easy to return a simple string as an item's data.
timeline/timeline.go:1342
↓ 25 callers
Method
Logger
Logger returns a logger for the job.
timeline/jobs.go:638
↓ 24 callers
Method
Header
()
tlzapp/app.go:517
↓ 23 callers
Method
Dir
()
timeline/timeline.go:84
↓ 23 callers
Method
Get
(ctx context.Context, expectedStateVal, authCodeURL string)
oauth2client/oauth2.go:41
↓ 23 callers
Function
post
(endpoint, data, method = 'POST')
frontend/resources/js/app.js:42
↓ 22 callers
Method
Contains
Contains returns true if the given time ts is inside the timeframe tf. Only tf.Since and tf.Until are used; tf.SinceItemID and tf.UntilItemID are igno
timeline/datasource.go:467
↓ 22 callers
Method
FileExists
FileExists returns true if the named file exists in the DirEntry's FS starting from the DirEntry's filename.
timeline/datasource.go:263
↓ 21 callers
Function
getOpenTimeline
getOpenTimeline gets an open timeline designated by instance ID. If the timeline is not open, a structured error is returned.
tlzapp/state.go:70
↓ 20 callers
Method
ToItem
ToItem links an item to the node on this graph such that the edge goes from the graph node to the item.
timeline/graph.go:126
↓ 20 callers
Method
Token
()
timeline/oauth2.go:115
↓ 18 callers
Method
ToEntity
ToEntity links an entity to the node on this graph such that the edge goes from the graph node to the entity.
timeline/graph.go:132
↓ 17 callers
Function
FixString
FixString fixes a malformed string created by decoding UTF-8-encoded JSON string values as UTF-16 strings. JSON string values *should* be encoded as U
datasources/facebook/archive.go:774
↓ 16 callers
Method
Anonymize
Anonymize obfuscates the entity.
timeline/obfuscation.go:346
↓ 16 callers
Function
ptr
(t time.Time)
timeline/datasource_test.go:157
↓ 15 callers
Function
itemContentElement
(item, opts)
frontend/resources/js/common-lib.js:1291
↓ 15 callers
Function
newEntitySelect
(element, maxItems, noWrap)
frontend/resources/js/common-lib.js:2332
↓ 14 callers
Method
SearchItems
(params timeline.ItemSearchParams)
tlzapp/bindings.go:773
↓ 13 callers
Method
Stat
Stat stats the named file from the DirEntry's FS rooted at the DirEntry's Filename.
timeline/datasource.go:253
↓ 13 callers
Function
avatar
(colored, entity, classes)
frontend/resources/js/common-lib.js:1117
↓ 13 callers
Method
parse
EXAMPLE: "geo:30.123456,-105.987654"
datasources/googlelocation/models.go:101
↓ 12 callers
Method
Clean
Clean removes keys with empty values (including numeric 0 and non-empty strings and byte slices containing only spaces) or keys that are the empty str
timeline/graph.go:567
↓ 12 callers
Method
ObfuscationMode
(repo *timeline.Timeline)
tlzapp/bindings.go:1073
↓ 12 callers
Method
Run
Run runs or resumes a job. It should utilize the checkpoint, if set, to resume an interrupted job. CPU-intensive work should use the throttle. If poss
timeline/jobs.go:1172
↓ 12 callers
Method
Stat
(name string)
datasources/iphone/iphone.go:231
↓ 12 callers
Method
Write
(p []byte)
timeline/log.go:85
↓ 11 callers
Function
FileExistsFS
FileExistsFS returns true if name exists in fsys.
timeline/timeline.go:1336
↓ 11 callers
Method
ID
ID returns the database row ID of the job.
timeline/jobs.go:632
↓ 11 callers
Method
With
With is a promotion of the embedded Core.With() method so that we can ensure derivative loggers are our type, not the embedded type, to preserve our o
timeline/log.go:158
↓ 11 callers
Function
currentPageNum
()
frontend/resources/js/common.js:123
↓ 11 callers
Function
getClassification
(name string)
timeline/graph.go:1188
↓ 11 callers
Function
getOwner
(repo)
frontend/resources/js/common.js:43
↓ 10 callers
Method
Close
Close frees up resources allocated from Open.
timeline/timeline.go:558
↓ 10 callers
Function
ExtractAllMetadata
ExtractAllMetadata reads the file at the given path in the given file system and tries to extract any and all metadata it can find. The metadata will
datasources/media/metadata.go:57
↓ 10 callers
Method
IsEmpty
IsEmpty returns true if there is no x, y, or z coordinate.
timeline/graph.go:972
↓ 10 callers
Method
Len
Implement sort.Interface
timeline/conversations.go:657
↓ 10 callers
Method
Location
Location converts the coordinates into a item-processable Location value.
datasources/googlelocation/locproc.go:693
↓ 10 callers
Method
Open
Open opens the named file from the DirEntry's FS rooted at the DirEntry's Filename.
timeline/datasource.go:248
↓ 10 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
tlzapp/helpers.go:31
↓ 10 callers
Function
latLonBounds
latLonBounds returns low and high bounds for an acceptable lat/lon value, as well as the decimal precision used, which can be useful in SQL queries fo
timeline/processing.go:1401
↓ 9 callers
Method
deleteRepoFile
deleteRepoFile deletes the file at pathInRepo, which is a path relative to the repo root, or a path within the repo root (if the given path is prefixe
timeline/timeline.go:1238
↓ 9 callers
Function
entityDisplayNameAndAttr
(entity)
frontend/resources/js/common-lib.js:1093
↓ 9 callers
Function
notify
(params)
frontend/resources/js/app.js:310
↓ 9 callers
Function
nullableUnixMilli
nullableUnixMilli returns the Unix epoch millisecond UTC timestamp associated with the given time value. If it is nil or zero, nil is returned. Otherw
timeline/graph.go:848
↓ 9 callers
Function
trigger
(el, eventType, detail)
frontend/resources/js/app.js:245
↓ 8 callers
Method
AttributeValue
AttributeValue gets the value of the (first-)named attribute from the entity.
timeline/entities.go:136
↓ 8 callers
Method
ContainsItem
ContainsItem returns true if the timeframe contains the item, according to its timestamp and timespan (start and end) values, with respect to strict m
timeline/datasource.go:482
↓ 8 callers
Function
FileExists
FileExists returns true if file exists.
timeline/timeline.go:1330
↓ 8 callers
Method
NextLocation
NextLocation returns the next location to process. When there are no more locations, it should return (nil, nil). Implementations must honor context
datasources/googlelocation/locproc.go:38
↓ 8 callers
Method
ReadDir
ReadDir reads the direcftory at the named path from the DirEntry's FS rooted at the DirEntry's Filename.
timeline/datasource.go:258
↓ 8 callers
Method
SearchEntities
TODO: all of these methods should be cancelable by the browser... somehow
tlzapp/bindings.go:790
↓ 8 callers
Method
Size
Size returns the number of nodes in the graph
timeline/graph.go:101
↓ 8 callers
Method
String
()
timeline/timeline.go:83
↓ 8 callers
Method
String
()
datasources/applecontacts/macaddrbook.go:378
↓ 8 callers
Method
flushProgress
flushProgress writes a log that the UI uses to update the progress of the job if it has been enough time since the last flush (we don't need to update
timeline/jobs.go:711
↓ 8 callers
Function
setDynamicTimestamp
(elem, isoOrUnixSecTime, forDuration)
frontend/resources/js/common.js:251
↓ 8 callers
Function
updateRepoOwners
(forced)
frontend/resources/js/spa.js:254
↓ 7 callers
Function
ByteData
ByteData makes it easy to return a simple byte array as an item's data.
timeline/timeline.go:1349
↓ 7 callers
Method
Merge
Merge adds the incoming metadata to m according to the specified conflict policy.
timeline/graph.go:709
↓ 7 callers
Function
NewLocationProcessor
NewLocationProcessor returns a new location source that filters, refines, clusters, and possibly simplifies the locations it reads from source. The r
datasources/googlelocation/locproc.go:67
↓ 7 callers
Function
commonFilterSearchParams
(params)
frontend/resources/js/common-lib.js:2665
↓ 7 callers
Method
fillItem
(item *timeline.Item, d timeline.DirEntry, postText string, logger *zap.Logger)
datasources/facebook/models.go:153
↓ 7 callers
Method
findFileID
findFileID looks up the file ID in the manifest for the file given by its domain and path relative to that domain.
datasources/iphone/iphone.go:162
↓ 7 callers
Function
get
(endpoint, data, signal)
frontend/resources/js/app.js:31
↓ 7 callers
Function
maxlenStr
(str, maxLen)
frontend/resources/js/common-lib.js:1164
↓ 7 callers
Function
navigateSPA
(addrBarDestination, scrollToTop)
frontend/resources/js/spa.js:63
↓ 7 callers
Function
newHash
TODO: do we really need to use the default 32-byte digest? What if 16 bytes or even 8 is enough for us?
timeline/processing.go:1435
↓ 6 callers
Method
ChartStats
TODO: Very WIP / experimental
tlzapp/bindings.go:849
↓ 6 callers
Method
FileImport
FileImport conducts an import of the data using this data source.
datasources/github/github.go:119
↓ 6 callers
Method
String
()
timeline/entities.go:84
↓ 6 callers
Method
ToItemWithValue
ToItemWithValue connects g to item with a relation that has the given value.
timeline/graph.go:149
↓ 6 callers
Method
WriteHeader
(statusCode int)
tlzapp/app.go:521
↓ 6 callers
Function
betterToHuman
(luxonDuration, opts)
frontend/resources/js/common.js:272
↓ 6 callers
Function
httpWrap
httpWrap wraps a standard http.Handler with a handlerFunc signature.
tlzapp/helpers.go:112
↓ 6 callers
Function
load
(key)
frontend/resources/js/app.js:199
↓ 6 callers
Method
matches
(candidate string)
tlzapp/httpaccept.go:79
↓ 6 callers
Function
mustCount
(t *testing.T, itemChan chan *timeline.Graph, count int)
datasources/github/github_test.go:114
↓ 6 callers
Function
newDatePicker
(opts)
frontend/resources/js/common-lib.js:586
↓ 6 callers
Function
stripPreface
stripPrefaces reads from f until a '=' is encountered. (Each .js file starts with a variable definition at the beginning.)
datasources/twitter/archives.go:384
↓ 6 callers
Method
text
text returns the full text of the tweet, with entities added inline.
datasources/twitter/models.go:408
next →
1–100 of 1,120, ranked by callers