1
0
Fork 0
Commit graph

400 commits

Author SHA1 Message Date
Matthew Holt
058e933742
Refine file picker styles slightly 2025-04-25 21:49:39 -06:00
Matthew Holt
f0697d2d6b
Refactor embedding jobs; enhance tooltips; upgrade gofakeit to v7
The gofakeit upgrade uses the new math/rand/v2 package, which uses uint64 more than int64, so we had to change a bunch of row IDs from int64 to uint64.
2025-04-24 16:33:41 -06:00
Matthew Holt
d62a10f9ab
People say this worked... 2025-04-22 10:16:44 -06:00
Matthew Holt
fb08b7181c
ci: Install glib, I guess
This wasn't required before yesterday but whatever
2025-04-22 10:07:23 -06:00
Matthew Holt
516eef9b4d
Fix lint warning 2025-04-22 08:40:03 -06:00
Matthew Holt
06656c8ab7
ci: Ignore obfuscation file
Many magic numbers, doesn't matter, don't care.
2025-04-22 07:52:10 -06:00
Matthew Holt
af689078ee
Nicer tooltip in message display
(And rename file to make more sense.)
2025-04-21 22:00:14 -06:00
Matthew Holt
167585bae0
Improved demo mode / obfuscation support 2025-04-21 21:49:41 -06:00
dependabot[bot]
42a3a2174c
Bump golang.org/x/net from 0.37.0 to 0.38.0 (#76)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 16:35:29 -06:00
Matthew Holt
ec87974576
Refactor thumbnails jobs to dynamically page through rows by import ID 2025-04-21 16:18:23 -06:00
Matthew Holt
6a19bf891e
Aesthetic improvements/fixes
- No more jiggly lines on the job throughput chart
- Gallery/image fixes for thumbhash element overflow and rounded corners
2025-04-21 16:15:03 -06:00
Matthew Holt
b88485a84b
A few fixes/enhancements
googlelocation: Allow iOS on-device location filename to be renamed, but it should still contain "location-history" and be a .json file.

- Upgrade mapbox-gl-js to 3.11

- Run thumbnail+embedding jobs even if import failed; WIP
2025-04-19 13:44:51 -06:00
Matthew Holt
b4d4f4b88e
Variety of minor UI enhancements 2025-04-13 22:51:30 -06:00
Matthew Holt
6d231fd0c2
Improved embeddings with SigLIP2; fix semantic search bug
Still lots of room for improvement here, but I see way better results already.
2025-04-13 15:38:14 -06:00
Matthew Holt
b4f43b662d
Super minor tweaks 2025-04-11 16:31:25 -06:00
Matthew Holt
a749c74747
Fix map size; auto-detect locale 2025-04-11 14:18:04 -06:00
Matthew Holt
758b10d6e5
Minor fixes for the conversations page 2025-04-11 12:21:20 -06:00
Matthew Holt
6ed4535933
Fix lint warning 2025-04-11 11:19:52 -06:00
Matthew Holt
70d8090c4e
ui: Add date picker to conversations view 2025-04-11 11:01:23 -06:00
Matthew Holt
2992c87fcf Upgrade to Tabler v1.1.1 2025-04-09 07:50:38 -06:00
Matthew Holt
cce63835c5 Add toggle for hidden files in file picker (close #69) 2025-04-09 07:50:38 -06:00
dependabot[bot]
7330ca29f4
Bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4 (#75)
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-version: 3.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 09:57:26 -06:00
Sergio Rubio
88eab7c50a
firefox: check sqlite database has the required table (#74)
* firefox: check sqlite database has the required table

This improves Firefox places.sqlite database recognition by making sure
it has the required moz_places table we need.

* Address linter issues

* Wait for the goroutine to exit before cancelling
2025-04-08 09:47:17 -06:00
Sergio Rubio
612cae9c03
Firefox data source (#55)
* [WiP] Firefox data source

Work in progress.

Implements a new Firefox datasource capable of reading its
places.sqlite database to import the browser history (page visits).

The implementation currently has a number of issues:

* Firefox (and Firefox based) browser keeps an exclusive lock on the
  places.sqlite database, and we can't dump or backup it while the
  browser is open, at least on Linux. To work around that,
  we copy the database to a temporary directory and import from it.
  This generally works, but isn't safe, as there's a risk of database
  corruption when doing the hot copy. Potential alternatives:
  * Ask the user to close the browser while the import happens, which
    isn't convenient/possible if this is happening regularly in the background.
  * Ignore and retry, as it'll eventually succeed, in the rare case the
    temporary db copy is corrupted and unreadable
  * Something else, no expert here.
* You need to point Timelinize to the places.sqlite file directly. Pointing
  it to the Firefox profile directory doesn't seem to work, as it
  doesn't seem to scan recursively or list all the directory files and
  pass them to Recognize. I'm probably missing something obvious here.
* Missing tests (will be added)

* Linter fixes

* Adapt it to the new API

* Send the full path to process

* Simplify import process

* Add datasource description

* Use the URL as the item content

* Add basic tests

* Give the test some more time

* Do not return an error if context was cancelled
2025-04-08 07:02:20 -06:00
Matthew Holt
6071890390
Minor enhancements
- Upgrade mholt/archives
- Error opening browser should not be fatal
- Fix lint error
2025-04-07 13:05:20 -06:00
Matthew Holt
73196f51ae
Refactor DirEntry, fix some bugs
Remove TopDir* functions, they aren't really relevant with our new import planner.
2025-04-02 21:52:49 -06:00
Matthew Holt
ae4167c6d0
ci: Fix depguard linter (hopefully) 2025-04-01 22:34:38 -06:00
Matthew Holt
90e6ea228c
googlephotos: Fix empty imports
Thanks for the reports on Discord!
2025-04-01 22:04:33 -06:00
Sergio Rubio
f4596d270b
lint: disable tenv linter, obsolete (#71)
* lint: disable tenv linter, obsolete

Fixing a warning issued by golangci-lint:

WARN The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature another linter. Replaced by usetesting.

* Enable the usetesting linter

* listMode makes config verify fail

* Update .golangci.toml

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

---------

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2025-02-21 11:49:41 -07:00
Matthew Holt
932831db47
Refactor data sources to make them dynamic
Also change the checkbox dropdown to a more interactive tomselect (type-to-search dropdown with chips) with pictures.

This makes it so data sources can be added to a timeline dynamically.

In the future, data sources can be implemented externally and push data to the timeline, so these need to not be rigidly hard-coded into the app and assumed to never change.

This essentially adds all their info (name, title, description, image, etc) into each timeline DB.
2025-02-11 16:49:20 -07:00
Matthew Holt
c74e4a5f11
Upgrade vips to support 8.16.0 2025-02-07 13:11:08 -07:00
Matthew Holt
c20cf838d9
Fix data sources
Currently transitioning to letting them be dynamic
2025-02-07 13:08:55 -07:00
Matthew Holt
8c5d76dfad
Actually fix lint error 2025-02-07 12:08:25 -07:00
Matthew Holt
eb7717c843
Fix lint error; remove old build script
(Cross-compilation is now documented in our project wiki)
2025-02-07 12:02:47 -07:00
Matt Holt
35c5a63be4
Refactor python server code, update schema, rename config dir (#68)
* WIP

* Finish updating changes
2025-02-07 11:34:42 -07:00
Matthew Holt
d18c4cd2c8
googlelocation: Fix on-device Android format handling 2025-02-05 13:52:20 -07:00
Matthew Holt
b54e4561df
forgot to remove a couple sections of readme
They have been moved to the wiki
2025-02-04 09:02:04 -07:00
Matthew Holt
6e60b4dea8
Update readme; move compilation instructions to wiki 2025-02-04 09:00:42 -07:00
Matt Holt
e8349ca480
ci: Fix release job (#65)
* ci: Attempt to fix goreleaser job

* Oh geez, there's a second goreleaser file

* Use just the current OS and arch

* Maybe fix the goos thing

* Try --single-target

* Oops, that's Pro-only

* Hmm let's try this

* Set token

* Wow I am lame

* Try ref_name

* Create or edit, sigh

* Syntax who needs syntax

* Hmm try this

* Another attempt, probably in vain

* Sigh, quotes

* Big changes

* oh Windows

* Starting to get annoyed at Windows

* sldfkj

* Huzzah

* Update name, et voila

* Just do it on push I guess
2025-01-31 13:43:21 -07:00
dependabot[bot]
0cb39dfac8
Bump github.com/golang/glog from 1.2.0 to 1.2.4 (#66)
Bumps [github.com/golang/glog](https://github.com/golang/glog) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases)
- [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.4)

---
updated-dependencies:
- dependency-name: github.com/golang/glog
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-30 22:37:39 -07:00
Matthew Holt
8437a38746
googlelocation: Fix longitude 2025-01-30 14:46:42 -07:00
Matthew Holt
c1a9abb74b
googlelocation: Support on-device Android 2025 format
(Thanks to those who helped in Discord!)
2025-01-30 13:08:26 -07:00
Matt Holt
628ecc1cb3
ci: Update workflows; restore functioning CI jobs (#64)
* ci: Attempt to fix broken CI

It broke out of the blue several months ago. I think ubuntu-latest
updated, but there's no PPA for libheif in that distro I guess

* Try tests next

* More fixing

* Try again

* Yada yada

* Woops

* I don't really know what I'm doing
2025-01-27 22:30:54 -07:00
Matthew Holt
7c34746b31
Minor fixes and enhancements; particularly to import planner 2025-01-27 06:54:44 -07:00
Matthew Holt
c3dc7728a1
Add basic calendar (.ics) data source 2025-01-26 14:39:02 -07:00
Matthew Holt
d4d7991f7b
vcard: Use sidecar picture if available 2025-01-24 10:14:53 -07:00
Matthew Holt
a6da2ee542
applecontacts: Split out this data source; imessage: FIxes & improvements 2025-01-22 22:35:46 -07:00
Matthew Holt
ccef13f530
Add icons for iCloud and iMessage 2025-01-21 15:53:02 -07:00
Matthew Holt
a4ec710f9f
Various fixes and improvements (imessage, duplicate rows, etc) 2025-01-21 10:16:38 -07:00
Matthew Holt
83635f444d
WIP entity page 2025-01-16 14:43:46 -07:00