Commit Graph

4157 Commits

Author SHA1 Message Date
Michael Mayer
65aae950d2 Dev: Remove GID from env variables
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-07-25 23:47:12 +02:00
theresa
09c51c8db6 Tests: Update test fixtures 2021-07-23 13:25:28 +02:00
theresa
ca390351d8 Tests: Update fixtures 2021-07-22 18:31:56 +02:00
theresa
de1eee18bf Tests: Update fixtures 2021-07-22 15:05:23 +02:00
theresa
dcebf32c2c Tests: Adapt tests to fixture changes 2021-07-22 13:53:28 +02:00
theresa
830fba9d0b Tests: Update test fixtures 2021-07-22 13:53:28 +02:00
Thomas Eizinger
8eac89404e
CI: Fail entire build script if any command fails (#1443)
At the moment, the build script exits with 0 even if any of the commands fail.
Setting `-e` fixes this.
2021-07-22 11:56:50 +02:00
Michael Mayer
b339700dc8 Docs: Update third-party software license notice 2021-07-17 15:37:44 +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
d28d81bc3b Frontend: Remove eslint-plugin-standard 2021-07-17 14:00:00 +02:00
Michael Mayer
9ad0e6317d Frontend: Upgrade package-lock.json 2021-07-17 13:52:25 +02:00
Michael Mayer
7495c8aa03 Frontend: Upgrade easygettext, style-loader, and vue-fullscreen 2021-07-17 13:44:00 +02:00
Michael Mayer
4367f2ed55 Frontend: Upgrade Webpack from v5.44.0 to v5.45.1 2021-07-17 13:26:13 +02:00
Michael Mayer
c79558a039 Backend: Run make fmt 2021-07-16 19:32:33 +02:00
Michael Mayer
066cb50f44 Frontend: Reset photo viewer results after changing search query #1343
The observed behaviour appears to be a timing issue when opening an
image shortly after the search query / filter was changed, thus it
wasn't reproducible in a dev environment with only a few images.
2021-07-16 19:31:51 +02:00
Michael Mayer
97c3e0abe8 Import: Ignore dot files listed in .ppignore #1348 2021-07-16 18:27:28 +02:00
Michael Mayer
07c711a0b4 RAW: Skip Darktable when converting Canon CR3 and Fuji RAF files #1362 2021-07-16 18:12:42 +02:00
Michael Mayer
63094e7b17 MariaDB: Set default table engine, charset and collation #1371 2021-07-16 18:02:51 +02:00
Michael Mayer
10650f6d28 Videos: Skip related images when downloading #1436 2021-07-16 17:06:47 +02:00
Michael Mayer
4af98f61f4 Docker: Update base image for production builds #1158 #1432 2021-07-16 16:46:14 +02:00
Michael Mayer
074dd8025c Docker: Improve Go tool install command #1158 #1432 2021-07-16 15:42:51 +02:00
Michael Mayer
e16cb3a654 Docker: Install less tools on ARMv7 images #1158 #1432
Skip installing go-mod-outdated, go-wrk, and exif-read-tool to
improve build performance on ARMv7 as they are not needed for building.
2021-07-16 15:26:56 +02:00
Michael Mayer
25dbebd5b7 People: Add facenet.zip to development base image #22 #1406 2021-07-16 15:17:27 +02:00
Michael Mayer
2d9918e72b People: Store detected face embeddings in markers table #22 #1406 2021-07-16 14:34:05 +02:00
Michael Mayer
ccbf8d732e People: Download and install Facenet from dl.photoprism.org #22 #1406
Move TF model to download server to reduce git repo size,
especially in case the model needs updates.
2021-07-16 12:16:56 +02:00
Michael Mayer
8c2b55efa4 CI: Remove "docker system prune" from .drone.yml #1158 #1432
Hopefully this fixes repeated multi-arch builds with qemu.
2021-07-15 20:32:04 +02:00
Michael Mayer
2f0ae6d144 Frontend: Add page title for album page in routes.js 2021-07-15 20:17:38 +02:00
Michael Mayer
5831a4e1f4 Demo: Update site info in Dockerfile 2021-07-15 20:06:01 +02:00
Michael Mayer
60a6bbf9c6 Backend: Update go.mod and go.sum 2021-07-15 18:16:40 +02:00
Michael Mayer
f082fd0ac8 Frontend: Update package-lock.json 2021-07-15 18:14:13 +02:00
Garrett Gu
46a3773c8e
Sessions: Fix unhandled error (#1349) 2021-07-15 17:47:43 +02:00
Michael Mayer
fdd83c3b65 Docs: Update third-party software license notice 2021-07-15 17:23:32 +02:00
Michael Mayer
2b98f72f2f CI: Update .drone.yml #1158 #1432
Move scripts/install-qemu.sh from Makefile to .drone.yml
2021-07-15 16:26:21 +02:00
Michael Mayer
b245695eb7 Docker: Upgrade base image and improve prod image #1158 #1432
This commit contains a few improvements discussed in PR #1432
with the primary goal to reduce the Docker image size.
Go has been upgraded from v1.16.4 to v1.16.6 as well.
2021-07-15 16:05:50 +02:00
Michael Mayer
871a5301f6 PWA: Don't cache static assets in service worker #425
Can be enabled later if needed.
2021-07-13 23:07:02 +02:00
Michael Mayer
81629f034d PWA: Disable service worker on shared domains #425 2021-07-13 22:54:03 +02:00
Michael Mayer
4fcd009b8b Metadata: Fix time zone for Quicktime videos #1388
Assume UTC, same as for MP4 videos.
2021-07-13 18:08:47 +02:00
Michael Mayer
c819e9159c Metadata: Fix time zone for MP4 videos #1388
As it turned out, the exiftool -api QuickTimeUTC parameter converts
CreateDate to local time using the server's time zone. This doesn't
help as it's technically still a local time and not UTC. Had to
implement this manually in our Exiftool JSON parser for MP4 videos only.
2021-07-13 17:56:26 +02:00
Michael Mayer
2a11d5fcac Frontend: Update package-lock.json 2021-07-13 17:52:12 +02:00
Michael Mayer
513a7e9257 Exiftool: Fix CLI parameters and add tests #1388 #1401 2021-07-12 21:41:44 +02:00
Michael Mayer
2ab10b1867 Backend: Upgrade Go packages 2021-07-12 19:32:11 +02:00
Michael Mayer
26560e8d71 Frontend: Upgrade Webpack from v4 to v5
Most frontend packages have been upgraded as part of this commit.
JS unit tests have been refactored alongside.
2021-07-12 19:25:37 +02:00
Michael Mayer
bae1f2d734 Frontend: Update package-lock.json 2021-07-09 21:32:14 +02:00
Michael Mayer
4795bda794 CI: Update apt-get commands in Dockerfiles
Hopefully fixes Drone build issues.
2021-07-08 21:36:37 +02:00
Michael Mayer
e74d8279c7 CI: Add libc6 to production Dockerfile 2021-07-08 20:29:45 +02:00
Michael Mayer
21c96f09e0 CI: Add libatomic1 to production Dockerfile 2021-07-08 20:20:41 +02:00
Michael Mayer
47eb558e41 CI: Add build args to production Dockerfile 2021-07-08 19:25:22 +02:00
Michael Mayer
8ee8fc7387 CI: Update production Dockerfile 2021-07-08 19:06:35 +02:00
Michael Mayer
1744b17cfe CI: Add "linux/arm" as target for preview Docker images
Depending on the build time, we can keep this.
2021-07-08 18:39:13 +02:00