Michael Mayer
b09edde419
Index: Improve log messages #1010
2021-02-08 08:09:23 +01:00
Michael Mayer
568685f991
Index: Improve query for photos with missing primaries #1010
2021-02-08 07:39:29 +01:00
Michael Mayer
1bfb2e1774
Index: Improve save / update functions, remove orphans
2021-02-06 16:30:30 +01:00
Michael Mayer
128cdf4bac
Backend: Fix typo in photo entity
2021-02-05 19:18:33 +01:00
Michael Mayer
bf592bdf7c
Backup: Restore archive flag from yaml files #912
2021-02-05 16:32:08 +01:00
Michael Mayer
b55c06dca1
Metadata: Rename SetTimeZone to UpdateTimeZone #930
2021-01-27 23:39:46 +01:00
Michael Mayer
480b186b3c
Metadata: Ignore UTC time zone estimates #930
2021-01-27 23:31:13 +01:00
Michael Mayer
28e2e85d48
Metadata: Apply time zone estimate if date was not set manually #930
2021-01-27 22:47:37 +01:00
Michael Mayer
40ccb29313
Metadata: Improve date extraction for mod time and file names #930
2021-01-27 15:21:54 +01:00
Michael Mayer
e175251783
Metadata: Remove time zone if taken date is from file name #930
2021-01-27 12:36:23 +01:00
Michael Mayer
52532c4579
Metadata: Improve handling of time zones and estimates #930
2021-01-26 19:18:37 +01:00
Michael Mayer
05b417acfa
Metadata: Apply existing time zone when changing TakenAt
2021-01-26 13:00:54 +01:00
Michael Mayer
ef2f231d5b
Indexer: Improve taken date fallback when other metadata is missing #930
2021-01-25 21:41:57 +01:00
Michael Mayer
378dd0812e
Metadata: Simplify keyword indexing #920
2021-01-25 20:30:52 +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
6ee2613e90
Metadata: Improve time zone estimates #914
2021-01-19 13:47:41 +01:00
Michael Mayer
9dad595c3e
Photo: Allow overwriting estimated locations #918
2021-01-19 11:38:35 +01:00
Michael Mayer
8e22fbf8f6
Metadata: Store and compare data source for details #755
2020-12-31 13:51:31 +01:00
Michael Mayer
1ad8eb343d
Photo: Omit Stack property in YAML files if 0
2020-12-21 18:43:31 +01:00
Michael Mayer
12cb89eca5
Stacks: Use "Stackable" int8 instead of "Unstacked" bool #616 #667
2020-12-19 19:15:32 +01:00
Michael Mayer
859e4f7d8c
Indexer: Set a default color for photos with multiple files #715
2020-12-17 12:32:53 +01:00
Michael Mayer
1f386533cf
Indexer: Use lookup table to prioritize metadata sources
2020-12-17 10:23:17 +01:00
Michael Mayer
28880e682d
Database: Improve config and SQL queries
2020-12-15 20:14:06 +01:00
Michael Mayer
387452858e
Indexer: Use mutex when saving photos to avoid concurrency issues
2020-12-14 20:56:33 +01:00
Michael Mayer
35659f25cf
Indexer: Improve logging and locking
2020-12-14 13:31:18 +01:00
Michael Mayer
ce471de921
Indexer: Refactor photo merge #616
2020-12-12 22:02:14 +01:00
Michael Mayer
9fe9ca747f
Indexer: Improve unstacking of single files
2020-12-11 23:09:06 +01:00
Michael Mayer
04c17fb77b
Indexer: Improve stacking settings and merging
2020-12-11 17:21:13 +01:00
Michael Mayer
c0fb3deb06
Indexer: Stack photos while optimizing
2020-12-09 21:44:04 +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
4fc693fb0b
Permanently delete non-primary files #435
...
This is a fix for unstacking issues in certain situations. More general
photo delete functionality will be added later, see #167 .
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-04 14:21:40 +02:00
Michael Mayer
84b17194af
Backend: Refactor person entity #98 #144
...
Database column types are now UPPERCASE so that developers can easily recognize them. After upgrading to GORM 2.0, we can use generic types instead.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-13 17:51:43 +02:00
Theresa Gresch
7e7b53590a
Backend: Add validation for valid dates in setTakenAt()
2020-08-18 10:42:09 +02:00
Michael Mayer
ab6228fb9a
Index: Skip empty files #391
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 10:44:41 +02:00
Michael Mayer
24cfa1aea2
Backend: Refactor file indexing / skipping
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-18 20:58:35 +02:00
Michael Mayer
0e5fe5eb43
Index image projection and add panorama filter
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-16 13:02:48 +02:00
Michael Mayer
db5edb8e4d
Add flag for 360° panoramas #352
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 20:59:33 +02:00
Michael Mayer
be94ff624c
Edit photo type and sort by recently edited #394
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 12:42:31 +02:00
Michael Mayer
8989c987a2
Unstack all types, except primary and sidecar files #394
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 11:00:49 +02: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
00e334657a
Photo: Set defaults for PlaceID, GeoID, CameraID and LensID
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-12 04:48:17 +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
99eaae0816
Backend: Import JSON metadata from Google Photos
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 16:46:29 +02:00
Michael Mayer
2c6552ff73
Backend: Remove log in Photo.Create()
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 09:41:35 +02:00
Michael Mayer
174e6d53c9
Backend: Use FirstOrCreate() instead of Create() when adding new photos
...
Not perfect as metadata should rather be merged. Ideally some kind of mutex avoids database conflicts / locks / errors in the future. Right now, we're (intentionally) using the database as "mutex" so that the application code needs less complexity. This is especially problematic on powerful servers with many CPUs and index workers. See also issue #392 .
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 17:09:39 +02:00
Michael Mayer
3f9454876d
Concurrency fix for photo details #357
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 17:45:56 +02:00
Michael Mayer
e2845981c1
Concurrency fixes for cameras, lenss, folders, keywords, and labels #357
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 20:44:33 +02:00
Michael Mayer
6273e77867
Try saving photo a second time after deadlocks #357
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 12:59:47 +02:00
Michael Mayer
3fec93ee4e
Load existing photo if uid was found in YAML sidecar file #357
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 12:20:38 +02:00
Michael Mayer
d1db3d04f7
Logs: Improve event log and messages in i18n package
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 10:51:55 +02:00
Michael Mayer
8f74fdb8a0
Backend: Fix Photo.GetDetails()
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 20:20:03 +02:00
Michael Mayer
eeef16f07e
Backend: Refactor photo details entity #379 #357
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 19:15:57 +02:00
Michael Mayer
4ddf241a6c
UX: Rename "analog" to "scan"
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 14:35:25 +02:00
Michael Mayer
1284091b77
Backend: Improve FileTitle() function
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 11:31:03 +02:00
Michael Mayer
3b8f3ebd23
Improve date input parsing #274 #358
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 10:32:37 +02:00
Michael Mayer
ca154f3bb3
Replace date picker with day, month & year inputs #274 #358
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 07:41:33 +02:00
Michael Mayer
581404648c
Add search filter for content that has no album #377
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-05 14:48:49 +02:00
Michael Mayer
4721f9d044
Backend: Improve metadata logs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-02 08:16:27 +02:00
Michael Mayer
1c72f88e8c
Backend: Improve logging #369
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-29 13:16:55 +02:00
Michael Mayer
bfd73932e5
Improve UX and title generation from file names
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-29 11:10:24 +02:00
Michael Mayer
cfd23666a9
Sharing: Link expiration, view counter and permissions #18
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 12:16:13 +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
12cfe6efec
Backend: Prefer file title over image classification #361
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-23 11:12:24 +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
Michael Mayer
961fda3b11
Add photos from other albums (clone)
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-14 11:39:53 +02:00
Michael Mayer
d5e4aec8ea
Frontend: Add fields to advanced tab (edit dialog)
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-10 18:26:05 +02:00
Michael Mayer
f2738c1f65
Backend: Update size limit for (U)UIDs to 42 bytes
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-09 19:40:32 +02:00
Michael Mayer
d72480200e
Add approve button to photo card view
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-09 09:20:20 +02:00
Michael Mayer
a91206a509
Universal sidecar configuration, indexing with multiple roots #268 #348
...
Slowly getting to the point where only very few people are able to maintain this codebase :)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-07 10:09:35 +02:00
Michael Mayer
5a06433a1c
Fix restore photo data from YAML files
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-05 10:17:00 +02:00
Michael Mayer
5b1c0f2afe
Refactor Photo.LoadLocation and LoadPlace
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 22:26:00 +02:00
Michael Mayer
f16169c259
Refactor Photo.PlaceLoaded and LocationLoaded
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 22:05:24 +02:00
Michael Mayer
6564e7a548
NewPhoto should only set default IDs, not entities
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 21:55:00 +02:00
Michael Mayer
c0a3ab5ac5
Favorites: Don't count private photos #334
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 17:33:00 +02:00
Michael Mayer
916e3a570c
Backend: Don't index sidecar files if main file failed
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 17:06:42 +02:00
Michael Mayer
ca8a8466d4
Indexing bug fixes and UX improvements
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 14:56:27 +02:00
Michael Mayer
15113afaa6
Backend: Fix handling of deleted labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-02 17:57:12 +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
68c758a686
Backend: Improve location list for estimates #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 17:45:58 +02:00
Michael Mayer
14c89022d3
Improve browsing by original file and folder name #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 14:42:41 +02:00
Michael Mayer
9a5d4fa719
Backend: Indexing improvements #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 18:04:30 +02:00
Michael Mayer
f6c929528e
Locations and places: Revert key renaming
...
Code reads better this way.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 12:56:24 +02:00
Michael Mayer
a77b2431d3
Backend: Improve labels, keywords and caching
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 21:20:42 +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
301e510b2d
Photos: Generate title based on estimated place #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 21:51:34 +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
24cc8089fa
Fix favorite counter for archived files #334
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 13:43:16 +02:00
Michael Mayer
fe732e274c
Fix saving photo metadata
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 12:46:22 +02:00
Michael Mayer
dd42d2b823
Entities: Refactor FirstOrCreate
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 11:00:39 +02:00
Michael Mayer
10d5f433aa
Albums/Folders: Add category, country, year & month columns #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 09:02:19 +02:00
Michael Mayer
2156afd85a
File browser: Implement clipboard; refactor entities and fixtures #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-25 19:10:44 +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
a7122ff4e1
Add /folders API to get directory lists for browsing #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-22 16:29:12 +02:00
Michael Mayer
f9b6952947
Support for Live Photos #177
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 13:26:28 +02:00