Commit graph

242 commits

Author SHA1 Message Date
Theresa Gresch
b6461dca36 Backend: Add unit tests for internal/entity 2020-07-12 15:41:30 +02:00
Theresa Gresch
7c1ef53be6 Backend: Add unit tests for internal/photoprism 2020-07-12 15:21:42 +02:00
Michael Mayer
6465ffa5ce Frontend: Re-add favicon.png to avoid 404 errors when using old templates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 16:47:07 +02:00
Michael Mayer
eeeff27ba5 Frontend: Update favicons
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 16:06:58 +02:00
Michael Mayer
7cd88e411a Frontend: Improve loading animation and logo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 15:01:36 +02:00
Michael Mayer
540a6f4598 Frontend: Improve German translation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-03 16:27:33 +02:00
Michael Mayer
06bcfbd915 Update rainbow.tmpl and preview.jpg
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-02 21:49:31 +02:00
Michael Mayer
ba5ab56dba Frontend: Add about and license page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 14:52:24 +02:00
Michael Mayer
1cf3d19f45 Backend: Force file type "jpg" if mime type is "image/jpeg" #366
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-29 17:25:52 +02:00
Michael Mayer
50050363a0 Frontend: Use new logo colors
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-28 16:37:46 +02:00
Michael Mayer
6266a88c68 Sharing: Remove space from og:type tag #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 17:48:18 +02:00
Michael Mayer
c07f657c06 Sharing: Set siteUrl to shared content #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 17:39:53 +02:00
Michael Mayer
8d79f90138 Sharing: Use album title & description for site metadata #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 09:28:32 +02:00
Michael Mayer
5359b93ac6 Frontend: Use static rainbow background for sidebar logo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 16:41:08 +02:00
Michael Mayer
ceaf085c39 Clean up site templates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 16:24:21 +02:00
Michael Mayer
1fb8b5cd63 Use static logo in sidebar navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 16:11:56 +02:00
Michael Mayer
4aa7b6cc97 Sharing: Generate share preview images #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 14:26:36 +02:00
Michael Mayer
1d2a3aaaea Update HTML templates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 12:28:11 +02:00
Michael Mayer
3eece7a8ad Frontend: Use new logo for splash screen
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 10:49:44 +02:00
Michael Mayer
474d9cd657 Frontend: Add logo variants and use 6pt for navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-24 17:08:40 +02:00
Michael Mayer
610cefd011 CSS: Set rainbow page background color to transparent
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-24 14:11:12 +02:00
Michael Mayer
7b835f3168 Frontend: Use white background for rainbow page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-24 12:35:10 +02:00
Michael Mayer
628885f8fe Frontend: Use new logo in main navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-24 12:01:59 +02:00
Michael Mayer
2b1056c5e1 Sharing: Add new logo and simplify layout #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-23 18:53:34 +02:00
Michael Mayer
0ed82c690c Add link sharing template #18
Public mode only, auth not implemented yet.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-22 20:15:08 +02:00
Michael Mayer
374ea03b10 Frontend: Add offline maps
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-12 17:27:30 +02:00
Michael Mayer
57286b5587 Add rainbow page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-09 14:05:40 +02:00
Michael Mayer
175f4d24d1 Add SVG logos
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-09 12:17:26 +02:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
0b1bcf0d4a Replace TiDB with SQLite for improved stability #66
As a side effect, we need less configuration values.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:52:47 +02:00
Michael Mayer
6f6e3799dc Refactor download urls and client config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
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
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
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
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
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
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
Michael Mayer
a61f2384b3 Initial video support #17
Still need to add a player and index metadata. Work in progress.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-11 18:29:17 +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
3ccad67622 Index and import subdirectories #258
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-06 15:53:47 +02:00
Michael Mayer
9b643c830f Add template settings; remove twitter config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 18:26:44 +02:00
Michael Mayer
f9b2ff326b Refactor feature flags and settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-04 18:28:23 +02:00
Michael Mayer
fe28c7d284 Backend: Add support for .ppignore files #233 #287
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-03 14:40:59 +02:00
Michael Mayer
0e9a90fd6b Config: Change TiDB port to 2343 in example config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:10:03 +02:00
Michael Mayer
8318ab8983 Config: Rename "sql" / "internal" to "tidb" for more clarity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 22:49:02 +02:00
Michael Mayer
783e8ec3af Backend: Don't use private photos as cover for labels or albums
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 17:06:36 +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
Michael Mayer
430fb2acb3 Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:48:08 +02:00
Michael Mayer
e8e0639d78 Backend: Provide unknown camera & lens as default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:22:47 +02:00
Michael Mayer
8609ab805f Automatically set private flag if detect-nsfw is enabled
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 20:28:16 +02:00