Michael Mayer
3ae3fe29bc
SQLite: Rename dialect constant to SQLite3 for consistency #319 #1791
2021-12-09 07:47:23 +01:00
Michael Mayer
9f3ebf671f
SQLite: Reduce routine index maintenance log levels #1791
2021-12-09 07:41:07 +01:00
Michael Mayer
1b583e071e
People: Add mutex so changes don't get processed concurrently
2021-12-09 02:33:41 +01:00
Michael Mayer
403eb0d71d
Places: Remove unique label index and purge unused location infos #1664
2021-11-20 19:14:00 +01:00
Michael Mayer
73ffa53397
Metadata: Perform less frequent estimates to reduce server load #1736
2021-11-18 02:23:25 +01:00
Michael Mayer
07ae9b83f4
Backend: Add index update mutex to reduce database locking
2021-10-06 11:50:48 +02:00
Michael Mayer
03bfd39b71
Index: Remove primary file flag from broken or missing files
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-10-06 02:59:27 +02:00
Michael Mayer
ee017cc841
Index: Remove debug log from query.ResetPhotoQuality()
2021-10-05 20:30:52 +02:00
Michael Mayer
f7153cdd21
People: Improve logging, command help, and handling of broken files #22
2021-10-05 18:42:39 +02:00
Michael Mayer
9a88d7fc6a
Logs: Tweak messages and log levels for improved readability
2021-10-02 14:24:44 +02:00
Michael Mayer
0d772c4dc3
Index: Purge orphan file entries #1559
2021-09-30 15:50:10 +02:00
Michael Mayer
1db5b36dde
Purge: Fix and simplify database queries #599 #1010
2021-02-08 14:09:58 +01:00
Michael Mayer
568685f991
Index: Improve query for photos with missing primaries #1010
2021-02-08 07:39:29 +01:00
Michael Mayer
906376ea31
Index: Reduce log level for missing primaries to info #1010
2021-02-08 07:14:55 +01:00
Michael Mayer
1bfb2e1774
Index: Improve save / update functions, remove orphans
2021-02-06 16:30:30 +01:00
Michael Mayer
274c9347f5
Purge: Hide missing files in UI and set new primary if needed #917
2021-01-24 20:40:40 +01:00
Michael Mayer
e04f0f937f
Add cleanup command that removes orphaned thumbnails and index entries
2021-01-24 17:46:18 +01:00
Michael Mayer
9f4066edb6
Indexer: Improve stacking and indexing of moved files
2020-12-11 22:09:11 +01:00
Michael Mayer
fe9884331f
make fmt
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-09 21:49:41 +01:00
Michael Mayer
c0fb3deb06
Indexer: Stack photos while optimizing
2020-12-09 21:44:04 +01:00
Michael Mayer
b7cd2facb9
Indexing: Use fallback for MySQL to improve performance on MariaDB #599
2020-12-09 13:08:55 +01:00
Michael Mayer
a43f8be231
Stacks: Repair merge query #681 #667 #593
2020-12-07 17:51:35 +01:00
Michael Mayer
ae0af699c6
Stacks: Add advanced indexing options #681 #667 #593
2020-12-07 16:19:03 +01:00
Michael Mayer
d0f8c577b3
Indexer: Add optimize command & automatically fix location data #546
2020-12-05 00:13:44 +01:00
Michael Mayer
e77fefd78f
Indexer: Improve stacking SQL #576
2020-12-04 20:33:17 +01:00
Michael Mayer
902aacece9
Indexer: Merge identical photos (stack files) #576
2020-12-04 19:51:51 +01:00
Michael Mayer
59a806c685
Indexer: Fix purge and restore of RAW files #568 #614
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-11-21 23:28:03 +01:00
Michael Mayer
2bad5b3cdd
Backend: Wrap SQL select for MySQL 8 #599
...
In MySQL, you can't modify the same table which you use in the
SELECT part (DELETE and UPDATE with subquery):
https://dev.mysql.com/doc/refman/8.0/en/update.html
We need to verify how this affects large photo libraries
as it probably "breaks" the query optimizer. So might lead to
bad performance as well as high CPU and/or memory usage.
2020-11-15 12:15:14 +01:00
Michael Mayer
5648c9616e
Backend: Refactor location data tables and entities
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-12 08:27:05 +02:00
Michael Mayer
e1c45c4d5f
Rename "location" to "geo" to have a short, common prefix for geo data
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 23:43:29 +02:00
Michael Mayer
43abf0bd83
Photos: Rename maintained_at to checked_at
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-24 08:34:23 +02:00
Michael Mayer
722d7dd421
Improve link sharing dialog and api #18
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-22 15:16:26 +02:00
Theresa Gresch
ad9167360d
Feature/246 ( #345 )
...
* Import: Implement "add to album" in backend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Import: Implement "add to album" in frontend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Add OriginalName to photo search result
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Add json tags to PhotoName and PhotoPath
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Photo: Use EstimateCountry() in UpdateLocation()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Photo: Set OriginalName earlier while indexing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Ignore whitespace when stripping sequence from filename #335
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Fix labels count for SQLite
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Import: Show name of new albums #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Frontend: Add acceptance test files
Co-authored-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 09:45:24 +02:00
Michael Mayer
02800e796e
Guess title, location and date from file and path name #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 15:12:18 +02:00
Michael Mayer
f510ac994c
XMP: Group files based on DocumentID and Instance ID #335
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 13:40:21 +02:00
Michael Mayer
1df0d9a549
Change name of maintenance worker to "prism" #154
...
See https://twitter.com/browseyourlife/status/1265289044856123393
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 19:27:29 +02:00
Michael Mayer
03ec4b586d
Initial commit for folders and moments #154 #260 #331
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
2efb0039e8
Photos: Add photo_type column and search filters for path / name
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 10:03:56 +02:00
Michael Mayer
b24d5c03a1
Use YAML files to save and restore photo metadata
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 22:18:58 +02:00
Michael Mayer
842da9f09b
Backend: Query package refactoring
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 15:41:01 +02:00
Michael Mayer
1894b4440f
Detect and report photos without primary file, e.g. after purging #234
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 12:01:28 +02:00
Michael Mayer
979a5f5c76
Code clean-up and refactoring of purge command #234
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-07 21:55:34 +02:00
Michael Mayer
ac33ee87a1
Purge command: Fix database query and add --dry flag #234
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-07 20:33:11 +02:00
Michael Mayer
f0187df4a1
Purge command to remove missing files from the index #234
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-07 19:42:04 +02:00
Michael Mayer
2032b40f2b
Backend: Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-03 18:00:50 +02:00
Michael Mayer
260cca91fe
Backend: Refactor entity package
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 20:07:03 +02:00
Michael Mayer
8cd075cf0f
Labels: Sort results by quality and uncertainty
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 14:41:22 +02:00
Michael Mayer
3630a49df0
Backend: Improve metadata indexing
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 16:22:29 +02:00
Michael Mayer
882340a14c
Refactor string clipping in frontend & backend
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 14:31:33 +02:00
Michael Mayer
3edf30ab3a
Reduce location precision to float32
...
This is the practical limit of commercial data and should be more than enough for our use case while ideally providing better index performance.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 11:41:54 +02:00