Commit graph

300 commits

Author SHA1 Message Date
Michael Mayer
d5c196732b Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-14 17:53:32 +02:00
Michael Mayer
591a656270 Auth: Add PHOTOPRISM_AUTH_MODE config option #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-07 19:12:28 +02:00
Michael Mayer
e739dd3e89 Auth: Add support for config and routing extensions (WIP) #782 #2478
Enables developers to extend the existing config and API. Initial proof
of concept and work in progress. Implementation details may change.
Feedback welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-05 23:13:34 +02:00
Michael Mayer
ad84a673fd Backend: Update deps in go.mod and go.sum 2022-06-28 15:48:55 +02:00
Michael Mayer
53b15a728e Backend: Update go.mod and go.sum 2022-06-24 23:04:23 +02:00
Michael Mayer
15b1f5728b Backend: Update deps in go.mod and go.sum 2022-06-23 22:05:26 +02:00
Michael Mayer
d0be186f52 Backend: Update deps in go.mod and go.sum 2022-06-21 11:50:53 +02:00
Michael Mayer
2d6d47121e Backend: Update deps in go.mod and go.sum 2022-06-19 16:51:46 +02:00
Michael Mayer
9a61524a36 Backend: Update Go deps in go.mod and go.sum 2022-06-16 19:01:39 +02:00
Michael Mayer
acc779f107 Albums: Restore deleted album when trying to create it again #2429 2022-06-16 18:59:03 +02:00
Michael Mayer
18a248d464 Backend: Upgrade satori/go.uuid from v1.2.0 to v1.2.1 2022-06-16 03:34:20 +02:00
Michael Mayer
54e5a63b49 Backend: Upgrade gin-gonic/gin to v1.8.1 2022-06-15 11:51:43 +02:00
Michael Mayer
a3e6670df3 Backend: Update dependencies in go.mod and go.sum 2022-06-14 02:13:04 +02:00
Michael Mayer
ab3a80edf0 Backend: Update dependencies in go.mod and go.sum 2022-05-28 15:46:47 +02:00
Michael Mayer
1e4a299ceb Backend: Update dependencies in go.mod and go.sum 2022-05-28 15:45:52 +02:00
Michael Mayer
01df82e933 Backend: Upgrade dependencies in go.mod and go.sum 2022-05-20 11:33:32 +02:00
Michael Mayer
6f28192bd4 Backend: Upgrade dependencies in go.mod and go.sum 2022-05-16 20:20:26 +02:00
Michael Mayer
e1eb8b2f19 Backend: Update go.mod and go.sum 2022-05-10 23:21:38 +02:00
Michael Mayer
a62f49e824 Backend: Update Go dependencies in go.mod and go.sum 2022-05-01 19:19:18 +02:00
Michael Mayer
852db14cbc Backend: Update dependencies urfave/cli and x/net in go.mod and go.sum 2022-04-25 12:24:30 +02:00
Michael Mayer
df00742c19 Backend: Update github.com/tidwall/gjson in go.sum and go.mod 2022-04-21 18:09:56 +02:00
Michael Mayer
adc3f58437 Backend: Update Go dependencies in go.mod and go.sum 2022-04-13 18:25:00 +02:00
Michael Mayer
e42b870c09 CLI: Update and display the list of supported file formats #2247 2022-04-12 19:14:21 +02:00
Michael Mayer
f927c68c4f UX: Skip RAW files by default when clicking Download All #2234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-10 17:02:09 +02:00
Michael Mayer
30da260a11 Config: Refactor options and flags source files #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-08 14:22:07 +02:00
Michael Mayer
4afd3f2ca9 Faces: Add Marker and File UID to API error logs #1438 #2201
The file query functions have been refactored and now return pointers.
2022-04-05 13:54:50 +02:00
Michael Mayer
3837e0a36a Backend: Update golang.org/x/net in go.mod and go.sum 2022-04-02 18:19:31 +02:00
Michael Mayer
557dc24e1b Backend: Update golang.org/x/crypto in go.mod and go.sum 2022-04-01 17:22:08 +02:00
Michael Mayer
5e6692cba5 Backend: Upgrade Go dependencies in go.mod and go.sum 2022-03-30 13:48:43 +02:00
Michael Mayer
dda464f28d Backend: Upgrade Go dependencies in go.mod and go.sum 2022-03-27 11:36:44 +02:00
Michael Mayer
16caeef272 Backend: Update Go dependencies in go.mod and go.sum 2022-03-24 08:30:11 +01:00
Michael Mayer
7beb21f899 Backend: Update Makefile and Go dependencies in go.mod/sum 2022-03-16 17:47:21 +01:00
Michael Mayer
2a33af8bab Backend: Upgrade Go dependencies in go.mod and go.sum 2022-03-11 09:52:37 +01:00
Michael Mayer
3eb753a413 Backend: Update Go dependencies in go.mod and go.sum 2022-03-01 09:46:54 +01:00
Michael Mayer
eb75a58f45 Backend: Update golang.org/x/net in go.mod and go.sum 2022-02-27 10:38:54 +01:00
Michael Mayer
43a6ae03d7 Backend: Upgrade gorilla/websocket from v1.4.2 to v1.5.0 2022-02-19 18:53:33 +01:00
Michael Mayer
d3e9b49c1c Backend: Update Go dependencies 2022-02-13 18:26:49 +01:00
Michael Mayer
070988d0f4 Edit Dialog: Improve display of metadata in the files tab #2017 2022-02-07 12:41:11 +01:00
Michael Mayer
ddd32c6cf6 Backend: Upgrade Go dependencies 2022-02-02 17:39:32 +01:00
Michael Mayer
4de2156a01 Backend: Update package golang.org/x/crypto 2022-01-29 14:27:37 +01:00
Michael Mayer
212a66468f Backend: Upgrade golang.org/x/crypto and golang.org/x/net in go.mod 2022-01-27 22:35:58 +01:00
Michael Mayer
98a372b9c4 Backend: Update Go dependencies in go.mod and go.sum 2022-01-21 08:45:43 +01:00
Michael Mayer
8b2e1732d6 People: Fix typo in faces optimize command #1957 2022-01-20 11:10:26 +01:00
Michael Mayer
2adfc3ee72 Backend: Upgrade Go dependencies in go.mod and go.sum 2022-01-16 13:49:31 +01:00
Michael Mayer
e8a1e85f14 Search: Improve query string normalization and sanitation #1814 #1820 2021-12-16 15:26:54 +01:00
Michael Mayer
2dedbb83dc Sanitize: Add name, query, state, and username filters #1814 2021-12-15 12:24:05 +01:00
Michael Mayer
4e94919030 API: Improve request parameter sanitation #1814 2021-12-14 18:34:52 +01:00
Michael Mayer
34fc9697f5 Backend: Upgrade dependencies 2021-12-14 14:10:45 +01:00
Michael Mayer
2cb90e7e0d Backend: Update golang.org/x/crypto and golang.org/x/net dependencies 2021-12-10 18:04:08 +01:00
Michael Mayer
5be456a09f JPEG: Convert Apple "Display P3" colors to standard sRGB #1474
Other color profiles and file formats are not supported yet. Should
be easy to add though. Main difficulty will be profile name comparison:
For example "Adobe RGB (1998)" vs just "Adobe RGB".
2021-12-09 07:00:39 +01:00
Michael Mayer
986f12af68 Backend: Update dependencies in go.mod and go.sum 2021-12-09 01:11:05 +01:00
Michael Mayer
20f29d58d7 Backend: Update go.mod and go.sum 2021-11-29 15:04:40 +01:00
Michael Mayer
d813171204 Metadata: Estimate latitude and longitude if possible #1668 2021-11-22 18:18:41 +01:00
Michael Mayer
c48310f077 Albums: Improve state geodata and sort by country #1608 #1664 2021-11-18 00:46:34 +01:00
Michael Mayer
6c02ee2512 Places: Improve state name normalization #1664 2021-11-11 16:00:42 +01:00
Michael Mayer
9939b45c4d Backend: Upgrade manifoldco/promptui from v0.8.0 to v0.9.0 2021-11-09 11:48:52 +01:00
Michael Mayer
e4fd294689 Places: Normalize US & CA state names #1664 2021-11-09 11:42:10 +01:00
Michael Mayer
cbfb3d481f Backend: Upgrade dependencies in go.mod and go.sum 2021-11-06 19:22:15 +01:00
Michael Mayer
98320235cb Backend: Update go.mod and go.sum 2021-10-01 17:32:40 +02:00
Michael Mayer
4988bec841 Backend: Update Go dependencies in go.mod and go.sum 2021-09-23 11:31:51 +02:00
Michael Mayer
6fe937ba5e Backend: Upgrade Go dependencies in go.mod 2021-09-22 13:03:26 +02:00
Michael Mayer
e5631d9d28 Backend: Upgrade Go dependencies in go.mod 2021-09-20 23:53:36 +02:00
Michael Mayer
1f92f294dd People: Normalize names #22 2021-09-19 13:35:44 +02:00
Michael Mayer
387838b942 Backend: Upgrade Go dependencies in go.mod and go.sum 2021-09-17 08:02:17 +02:00
Michael Mayer
c520cb4ee4 People: Add autocomplete for selecting a person #22 2021-09-03 16:14:09 +02:00
Michael Mayer
0579b2805d Backend: Upgrade go.mod dependencies 2021-08-29 16:54:45 +02:00
Michael Mayer
29a65dbaab People: Fork clusters library with fixed dbscan implementation #1478 2021-08-19 14:24:30 +02:00
Michael Mayer
2e18c2ef9c Metadata: Upgrade all go-exif image structure libs to v2 #1326 #1463 2021-08-19 13:28:12 +02:00
Michael Mayer
ba914ba7c9 Metadata: Upgrade github.com/dsoprea/go-exif/v2 #1326 #1463 2021-08-16 13:29:24 +02:00
Michael Mayer
94adc2f106 Backend: Upgrade gin-gonic/gin to v1.7.4 2021-08-16 00:55:03 +02:00
Michael Mayer
42027962aa People: Add face clustering and matching to meta worker #22 2021-08-14 14:24:48 +02:00
Michael Mayer
a974b3a7ea People: Improve Facial Recognition Accuracy, Command, and UI #22
Work in progress. Performed refactoring along the way.
2021-08-13 20:04:59 +02:00
Michael Mayer
1fc4ef123b People: Add face clustering worker #22
Work in progress. No performance optimizations yet.
2021-08-12 04:54:20 +02:00
Michael Mayer
5753b035be Backend: Upgrade golang.org/x/net 2021-08-11 19:24:23 +02:00
Michael Mayer
b057d74cbc Backend: Upgrade dependencies in go.mod and go.sum 2021-08-05 15:20:02 +02:00
Michael Mayer
a4289ec9f0 Config: Limit workers and disable transcoding if < 3 GB of memory
see #1135, #1390, and #1397
2021-08-05 15:15:33 +02:00
Michael Mayer
3ce4fddbf3 Backend: Clean-up go.mod and go.sum 2021-07-17 15:24:06 +02:00
Michael Mayer
bc86997ba3 Backend: Replace gopkg.in/ugjka/go-tz with gopkg.in/photoprism/go-tz
Original package was archived and not maintained anymore.
2021-07-17 15:21:03 +02:00
Michael Mayer
63094e7b17 MariaDB: Set default table engine, charset and collation #1371 2021-07-16 18:02:51 +02:00
Michael Mayer
60a6bbf9c6 Backend: Update go.mod and go.sum 2021-07-15 18:16:40 +02:00
Michael Mayer
2ab10b1867 Backend: Upgrade Go packages 2021-07-12 19:32:11 +02:00
Michael Mayer
c87d5da2e3 Config: Add CDN URL option #425 #1351 2021-07-05 16:41:43 +02:00
Michael Mayer
7ecfc174a1 Backend: Update go.mod and go.sum 2021-05-25 11:40:01 +02:00
Michael Mayer
3619cf3635 People: Proof-of-concept for face detection via Pigo #22
see https://github.com/esimov/pigo
2021-05-24 15:54:22 +02:00
Michael Mayer
10b2ac3684 Backend: Update go.mod and go.sum 2021-05-23 13:50:03 +02:00
Michael Mayer
d9a2e79cb8 Backend: Update dependencies in go.mod and go.sum 2021-05-15 10:50:13 +02:00
Michael Mayer
365e582ffd Backend: Upgrade dsoprea/go-exif and revert exif test assertion
see https://github.com/dsoprea/go-exif/issues/55
2021-05-14 18:24:10 +02:00
Michael Mayer
2a0aa2d8c2 Backend: Update go.mod and go.sum 2021-05-13 18:02:23 +02:00
Michael Mayer
cd0f201ef4 TensorFlow: Add panic handlers #1270 2021-05-06 12:45:38 +02:00
Michael Mayer
1192ef7c37 Backend: Upgrade dependencies 2021-05-05 10:53:55 +02:00
Michael Mayer
50d2ff1e69 Backend: Upgrade dependencies and fix potential issues 2021-05-04 17:30:39 +02:00
Michael Mayer
c4f6ab8809 Backend: Update go.sum 2021-05-04 15:21:18 +02:00
Michael Mayer
e10118a65f Metadata: Merge keywords if priority is the same #1153
Also reduces length limit for latin words to 2 letters.
2021-05-04 15:02:54 +02:00
Michael Mayer
28c5c1be7b Metadata: Upgrade dsoprea/go-exif
See https://github.com/dsoprea/go-exif/issues/55
2021-04-30 10:59:06 +02:00
Michael Mayer
ced1de3a98 Backend: Update go.sum 2021-04-30 10:48:17 +02:00
Michael Mayer
02f04c5724 Backend: Upgrade Go dependencies 2021-04-30 10:46:37 +02:00
Michael Mayer
180e46b95f Frontend: Add Yellowstone theme, unlock Grayscale for everyone 2021-04-26 12:37:52 +02:00
Michael Mayer
25adf01d79 Backend: Upgrade Go dependencies 2021-04-19 12:24:14 +02:00
Michael Mayer
4c5a730da4 Thumbs: Fix orientation for HEIF, TIFF, and PNG #1064 2021-02-22 21:09:50 +01:00
Michael Mayer
01d4b1ee31 Exif: Refactor JPEG rotation based on orientation flag #1064
We now manually detect and change the rotation, the imaging
autorotation functionality was disabled for our core use-cases.

anymore.
2021-02-21 22:53:25 +01:00
Michael Mayer
f5915ea50f Metadata: Downgrade go-exif #990 #1046
See https://github.com/dsoprea/go-exif/issues/55
2021-02-15 16:31:07 +01:00
Michael Mayer
f986f21f47 Metadata: Remove estimate when setting a new country #1018 2021-02-11 19:48:33 +01:00
Michael Mayer
8b361093be Metadata: Upgrade Go dependencies #990 2021-02-05 09:45:28 +01:00
Michael Mayer
811b02b5fc Backend: Upgrade dependencies 2021-01-14 19:23:24 +01:00
Michael Mayer
b408538f68 HTTP: Add optional gzip compression 2021-01-10 15:30:21 +01:00
Michael Mayer
dcaf22b329 Config: Detect physical CPU cores to limit number of workers 2021-01-09 12:18:59 +01:00
Michael Mayer
6811a07e8a Backend: Remove allegro/bigcache in favor of patrickmn/go-cache #807 2021-01-08 13:29:01 +01:00
Michael Mayer
0ba3efdded Backend: Upgrade Go dependencies 2020-12-31 10:19:41 +01:00
Michael Mayer
205b7a3061 Backend: Upgrade dependencies 2020-12-18 16:57:22 +01:00
Michael Mayer
ee9baa37d2 Backend: Upgrade dependencies 2020-11-15 10:00:18 +01:00
Michael Mayer
f3588ec23d Backend: Upgrade dependencies
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-09 11:34:36 +02:00
Michael Mayer
5fa47652ee Backend: Refactor config initialization
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-08 08:52:03 +02:00
Michael Mayer
0278023779 Backend: Upgrade google/open-location-code
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-13 18:14:47 +02:00
Michael Mayer
d1def762ba Backend: Upgrade dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-06 14:51:42 +02:00
Michael Mayer
f22744770c Docker: Update images and add security_opt to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-25 14:57:45 +02:00
Michael Mayer
c5beaeaddb Backend: Upgrade Go dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 12:01:54 +02:00
Michael Mayer
1c0d6cba2c Add photoprism reset command
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 11:35:38 +02:00
Michael Mayer
3ffe74a7d6 Metadata: Revert tests after upgrading go-exif #431
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-07 10:38:40 +02:00
Michael Mayer
d2eccd00c0 Metadata: "Fix" broken tests after upgrading go-exif #431
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-06 15:50:18 +02:00
Michael Mayer
b232d374ad Metadata: Update Exif tests and dependencies #431
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-06 10:55:15 +02:00
Dustin Oprea
16b1945971
go.mod: Bump go-exif/v3 to 74a1612 (#434)
Fixes #431
2020-07-31 10:28:14 +02:00
Michael Mayer
43753a2d46 Backend: Upgrade dsoprea/go-jpeg-image-structure
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-23 11:38:24 +02:00
Michael Mayer
766f2759d2 Backend: go mod tidy
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-22 11:04:01 +02:00
Michael Mayer
c16e3741ee Backend: Upgrade dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-22 10:59:53 +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
d20d9c50dd Metadata: Upgrade go-exif v3
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 10:52:39 +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
716aa082d8 Metadata: Upgrade to go-exif v3
See https://github.com/dsoprea/go-exif/issues/43

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-17 09:41:37 +02:00
Michael Mayer
4c72df7610 Metadata: Upgrade go-exif v2
See https://github.com/dsoprea/go-exif/issues/43

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-17 09:28:31 +02:00
Michael Mayer
08d89bfb1d Metadata: Add *.heic parser and upgrade go-exif
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-16 20:32:45 +02:00
Michael Mayer
c0f10e2288 Use gettext for backend translations too
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 01:26:54 +02:00
Michael Mayer
ac751286fd Backend: Upgrade dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 11:27:29 +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
5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +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
dd442ab9e9 Add moments #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 01:41:47 +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
7121c09d66 Upgrade go-exif and go-jpeg-image-structure; see #302, #304, #305 and #295
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 08:44:40 +02:00
Michael Mayer
46f3f12da8 Upgrade go-exif, go-jpeg-image-structure and go-png-image-structure
See #302, #304, #305 and #295

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-17 11:05:57 +02:00
Michael Mayer
abfd2fa79d Videos: Improve indexing and searching #312
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-16 17:07:44 +02:00
Michael Mayer
a16f00f359 Backend: Add support for DateTime in Exif metadata #304
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-15 11:15:15 +02:00
Michael Mayer
6c6ea0ac3d Support GPSVersionID 2.0.0.0 #295
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-06 08:03:57 +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
44abbfc43a Backend: Use fastwalk.Walk instead of filepath.Walk in tests #267
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 15:35:47 +02:00
Michael Mayer
b326aae603 Backend: Update additional dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:54:01 +02:00
Michael Mayer
eea36826af Backend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:32:38 +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
fe6d46ea5f Upgrade TensorFlow to 1.15.2 without AVX #289
Custom TensorFlow build without SSE4.1 SSE4.2 AVX AVX2 FMA support.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 19:00:15 +02:00
Michael Mayer
606e416e2a Upgrade dsoprea/go-jpeg-image-structure
See https://github.com/dsoprea/go-jpeg-image-structure/issues/6

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 14:47:45 +02:00
Michael Mayer
da823a8062 Upgrade TensorFlow to 1.15.0 #282
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 10:27:02 +02:00