Commit graph

3889 commits

Author SHA1 Message Date
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
Michael Mayer aa119c72ea Exiftool: Add command params to fix time zone for videos #1388 #1401
This also enables large file support to read metadata from
movie length video files.
2021-07-08 18:33:41 +02:00
Michael Mayer 4a2e4fc99f Config: Update manifest.json location for generating hash #425 #1351 2021-07-08 18:31:06 +02:00
Michael Mayer caf7920672 Config: Dynamically set title and desc in manifest.json #425 #1351 2021-07-06 11:19:21 +02:00
Michael Mayer c87d5da2e3 Config: Add CDN URL option #425 #1351 2021-07-05 16:41:43 +02:00
Michael Mayer 50560004aa Demo: Update template 2021-07-05 12:40:23 +02:00
Tom Pansino 5d6c9d01db
Frontend: Add crossorigin="use-credentials" to manifest links (#1410) 2021-07-05 12:40:16 +02:00
Michael Mayer bb2fcef831 Docs: Update third-party license NOTICE 2021-07-01 11:19:15 +02:00
Michael Mayer 2d2bf2af42 Frontend: Update package-lock.json 2021-07-01 11:17:22 +02:00
Haim Kastner f8ec8ba99e
Maps: Serve plugin assets from internal static server #1391 #1393 2021-07-01 11:12:47 +02:00
Haim Kastner c69dd1a32d
Fix Mapbox map RTL support - Fix #1391 (#1393)
Load Mapbox RTL plugin when facing RTL language on the map.
Load the plugin lazy, so it will not affect current other languages' performance.
2021-06-29 00:39:43 +02:00
Michael Mayer 1a78bc7052 Tests: Code clean-up 2021-06-28 12:45:00 +02:00
Michael Mayer db457e0421 Frontend: Update dependencies 2021-06-28 12:44:43 +02:00
Michael Mayer 68f40b70f3 Dockerfiles: Upgrade base image to 20210628 2021-06-28 12:12:18 +02:00
Michael Mayer 06e33c1a9e Dockerfiles: Remove manual exiftool upgrade
Distribution packages seem fixed now:
https://ubuntu.com/security/CVE-2021-22204
2021-06-28 11:44:09 +02:00
theresa 1a90f4a454 Tests: Add tests for internal/entity 2021-06-23 15:34:19 +02:00
Michael Mayer bd53f6d67f CI: Update .drone.yml 2021-06-02 17:58:55 +02:00
Michael Mayer 49fd531420 People: Implement marker update API #22 2021-06-02 17:25:04 +02:00
Michael Mayer 525f9a1869 CI: Update .drone.yml 2021-06-02 13:28:30 +02:00