Commit graph

2045 commits

Author SHA1 Message Date
Michael Mayer
4421e7d203 Add simple file browser to Library #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 22:16:06 +02:00
Michael Mayer
8d712f4d7e Update README.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 12:59:07 +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
fc62279c0a Shorten Disclaimer in README.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 10:48:46 +02:00
Michael Mayer
0b18a92e7c Update Disclaimer in README.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 09:49:26 +02:00
Michael Mayer
65212f393f API: Shorten cache debug messages #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-22 20:08:28 +02:00
Michael Mayer
75fd1904f3 Add caching to folders API #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-22 20:00:33 +02:00
Michael Mayer
c88cd69e5c Backend: Make sure dirs exist in folder API tests #328
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-22 19:25:53 +02:00
Michael Mayer
e796d036c2 Fix indexer and add sort by file name #328
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-22 19:05:16 +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
9b01cb864d Frontend: Update link to 3rd-party software licenses
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 18:23:37 +02:00
Michael Mayer
88eb1977bc Update Disclaimer in README.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 17:44:28 +02:00
Michael Mayer
0eb30715b3 Backend: Add folder as alias for path in search form
Due to popular request, see https://twitter.com/browseyourlife/status/1263442036570697731

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 16:46:22 +02:00
Michael Mayer
872865f8fd Frontend: Show camera icon on RAW photos #314
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 13:38:55 +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
Michael Mayer
b4c224ebc6 Frontend: Update settings footer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 10:24:21 +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
e3c7f73ef1 Update 3rd-party software licenses
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 23:17:35 +02:00
Michael Mayer
c7e46c44d9 API: Add return to preview error handler
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 22:21:59 +02:00
Michael Mayer
ce5d124af8 Add tests for date matching regular expressions #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 22:03:29 +02:00
Michael Mayer
a81fa0c959 Improve date matching regular expressions #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 21:57:45 +02:00
Michael Mayer
5f6c2af78e Increase min year for dates in file names #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 19:58:59 +02:00
Michael Mayer
1297a8cc1f Read taken date from file name #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 15:10:24 +02:00
Michael Mayer
a77d74e6eb Add play button for videos to photo viewer #321
You can now play a video by clicking on the title (or description) if a video icon is shown next to it.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 10:42:48 +02:00
Michael Mayer
bc5ba03fe5 Frontend: Change slideshow play icon in photo viewer #269
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 06:34:11 +02:00
Michael Mayer
d3cc3ccc82 Sync: Disable account when retry limit is reached
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 19:55:20 +02:00
Michael Mayer
6f3ccc95aa Backend: Make sure .photoprism directory exists
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 19:49:32 +02:00
Michael Mayer
5ae25cf6f2
Frontend: Add slideshow button to photo viewer #269 (#318)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 16:52:00 +02:00
Michael Mayer
4300d45482 Backend: Log errors in database
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 13:48:05 +02:00
Michael Mayer
a785a9d708 Backend: Update TestPhoto_Save test
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:51:19 +02:00
Michael Mayer
27ea0cb214 Backend: Improve entity log and error messages
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:48:32 +02:00
Michael Mayer
1cf0893b18 Backend: Fix AfterCreate after upgrading GORM
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:30:26 +02:00
Michael Mayer
132db3c0d2 Backend: Upgrade Go modules
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:09:48 +02:00
Michael Mayer
f720ca6664 Check PHOTOPRISM_JPEG_HIDDEN flag when converting #311
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:33:39 +02:00
Michael Mayer
4f4e19bd89 Docker: Upgrade Go to 1.14.3
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:14:23 +02:00
Michael Mayer
e61dda495a Add PHOTOPRISM_SIDECAR_HIDDEN and PHOTOPRISM_JPEG_HIDDEN flags #311
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:00:17 +02:00
Michael Mayer
7777fa95a5 Backend: Don't backup albums to photo yaml (just yet)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 09:44:49 +02:00
Michael Mayer
035938938d Frontend: npm run fmt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 09:21:20 +02:00
Michael Mayer
bbe60d120b Backend: Set DescriptionSrc when restored from YAML
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 09:21:10 +02:00
Michael Mayer
6936b7f8d1 Frontend: Show description in photo viewer and card view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 08:51:25 +02:00
Michael Mayer
950b6440be Docker: Add PHOTOPRISM_SIDECAR_YAML to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 22:29:10 +02:00
Michael Mayer
da067f52e7 Improve command flag descriptions for sidecar files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 22:21:27 +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
f057880df3 Backend: Fix panic in File.Save()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 17:57:40 +02:00
Michael Mayer
7f2b13bf71 Backend: Use actual instead of original dimensions from metadata #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 17:38:14 +02:00
Michael Mayer
0bf17206d0 Entity: Return error in File.Save() if PhotoID is 0
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 17:25:28 +02:00
Theresa Gresch
1fdc2cf610 Backend: Add tests to internal/entity 2020-05-18 16:37:37 +02:00
Michael Mayer
a2d5da7afd Entity: Fix query in File.AllFilesMissing()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 16:36:24 +02:00
Michael Mayer
39878b3f83 Store created files in .photoprism sub directory
See #268, #311 and #313

Hidden directory name poll: https://twitter.com/browseyourlife/status/1262320988081074178

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 15:45:55 +02:00
Theresa Gresch
9fc12c917f Backend: Add tests to internal/pkg.txt 2020-05-18 11:17:14 +02:00