Commit graph

149 commits

Author SHA1 Message Date
Michael Mayer
5daa689975 Backend: Format go imports 2020-11-21 18:08:41 +01:00
Theresa Gresch
b6d9d7e11f Backend: Add tests for pkg 2020-10-19 15:11:27 +02:00
Michael Mayer
45f1a34018 Backend: Use constants for home dir and path separator
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-19 09:52:52 +02:00
Michael Mayer
c8ded4c7c1 Backend: Refactor .ppignore pattern matching
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-19 09:23:09 +02:00
Michael Mayer
9eef7b37ab Backend: Improve .ppignore pattern matching
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-18 20:03:25 +02:00
Michael Mayer
4e172c450a Improve feedback form
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-05 07:40:11 +02:00
Michael Mayer
d38c84bbfb Update trademark
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-21 02:48:22 +02:00
Michael Mayer
9e37c86b67 Backend: Fallback to file extension for mime type detection
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-20 15:12:45 +02:00
Michael Mayer
db4749a6f8 Config: Show helpful error message when a path is missing #418
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-18 19:09:46 +02:00
Michael Mayer
6e2849fba2 Index: Don't stack files based on XMP InstanceID
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-18 00:45:53 +02:00
Theresa Gresch
6c03ad73fd Backend: Add german cities to countries.go 2020-08-17 20:23:23 +02:00
Michael Mayer
d43d3a22e0 Backend: Improve country estimate from folder name
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-14 15:36:48 +02:00
Theresa Gresch
a6a4899ccc Backend: Add special word 2020-08-12 19:14:45 +02:00
Theresa Gresch
68d490c975 Backend: Add new stopword 2020-08-12 19:14:01 +02:00
Michael Mayer
0938fe1fa0 Backend: Move .cr3 in file type list #445
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-06 10:56:33 +02:00
Michael Mayer
91a1a1ca27 Backend: Ignore image unique IDs that are not standard UUIDs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-23 15:34:20 +02:00
Michael Mayer
7d00e68d92 Index: Refactor mime type detection #391
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 14:43:45 +02:00
Michael Mayer
ad93f04003 Backend: Add "des" to smallwords.go
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 03:30:18 +02:00
Michael Mayer
8d3b46a631 Backend: Add "los" to shortwords.go
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 03:19:03 +02:00
Michael Mayer
bf6c79ad67 Backend: Keep plus in titles generated from file names
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-20 13:30:25 +02:00
Michael Mayer
2283f6019a Backend: Keep ampersand in titles generated from file names
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-20 13:25:09 +02:00
Michael Mayer
138dabd0c8 Metadata: Use mime type to determine file format and exif parser #391
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-19 16:39:43 +02:00
Michael Mayer
0023fdb1e2 Fix indexing aborts when encountering broken symlink #414
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-19 14:45:49 +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
cc946b8ea8 Use int64 for file modification timestamps #391
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-17 16:09:55 +02:00
Michael Mayer
ab7931732e File Browser: Add empty file to test directory
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-16 16:01:46 +02:00
Michael Mayer
6847b8b5f9
Complete file browser with symlink support and full folder / file names (#412)
* Backend: Code clean-up

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* File Browser: Show complete, original file and folder names #408

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* File Browser: Follow symlinks #201 #403 #407

Warning: Following symlinks can make folder lists non-deterministic
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-16 15:43:23 +02:00
Michael Mayer
5866ba307f Backend: Improve detection of generated file names
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 15:00:14 +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
Theresa Gresch
832715f861 Backend: Improve Dsc regular expression and add test 2020-07-14 08:46:20 +02:00
Michael Mayer
70c6a68169 Use date from file name if no metadata was found #396
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 19:34:21 +02:00
Michael Mayer
2bcb954266 Show taken date incl source in photo info tab #396
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 16:29:36 +02:00
Michael Mayer
849225e1ea Backend: Tweak db connection params and add stack to panic logs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:16:09 +02:00
Michael Mayer
4fb263f8a4 Add location field to album metadata
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-12 16:36:39 +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
5c780c99db Backend: Add words to stopwords.txt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 20:28:17 +02:00
Theresa Gresch
f58ca6dcda Backend: Add unit tests for internal/form 2020-07-07 18:03:20 +02:00
Theresa Gresch
0faf7dbb7f Backend: Add unit tests for pkg 2020-07-07 16:29:55 +02:00
Michael Mayer
f7c955053f Backend: Update short and small words list in txt package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 15:25:19 +02:00
Theresa Gresch
e74de4716e Backend: Add unit tests for pkg/fs 2020-07-07 15:13:42 +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
8e07f1c61a Backend: Add "eos" to stopwords list
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 10:31:33 +02:00
Michael Mayer
d4008564bb Backend: Update countries.txt and stopwords.txt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-05 17:37:40 +02:00
Michael Mayer
f86a2fe50b Backend: Add "misc" to stopwords list
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 10:13: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
957638e0df Stopwords: Remove "fuji"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 14:50:58 +02:00
Michael Mayer
045f5915c2 Backend: Add "xd" to SpecialWords list
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 14:27:37 +02:00
Michael Mayer
f0af60a82b Stopwords: Add "unknown", "title", "caption" and "description"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 14:24:30 +02:00
Michael Mayer
6c7ed8fdff Backend: Add "edit" and "edited" to stopwords list
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 14:22:03 +02:00
Michael Mayer
e7fecd3b27 Improve album sharing and album UX #18 #309
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 13:08:45 +02:00