Commit Graph

418 Commits

Author SHA1 Message Date
Michael Mayer
5c8a6d93f6 CI: Add revive.toml & "make lint-go" target, improve .golangci.yml #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-21 10:28:43 +01:00
graciousgrey
cb20f771bb Tests: Adapt acceptance test targets to work with latest chrome 2025-11-19 14:29:36 +01:00
Keith Martin
6d0016b1df Frontend: Improve acceptance test performance #5298
* Tests: improve openNav, and add ability to close all event notifications.
* Tests: improve search with wait for notifications to expire, then using notifications to determine search completion.
* Tests: improve getPhotoCount by using notifications for completion of photo load.  Add fast and slow photo load waits.
* Tests: add fast and slow load detection via notifications
* Tests: replace waits with notification detection
* Tests: refactor tests to work more efficiently with notifications
* Tests: comment out execution time and p-notify__close logging.  Remove slow version of waits.
* Make: allow acceptance tests to be run with --ignore-errors, and make each multi window test run as separate instance
* Frontend: ensure that closing a notification resets the timer for the next notification
* Tests: move notification handling to single notifications.js file
* Tests: move photoCount as changing cards view doesn't generate event when there is one photo
* Tests: remove commented code
* Tests: enable environment variable SHOW_LOGS  (true) to show timings and click actions for waits
* Tests: add Delete, Import, Index, Unstack, and Upload notification waits.
2025-11-04 11:29:37 +01:00
Michael Mayer
dc7ca44165 Backend: Upgrade deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 14:06:35 +02:00
Michael Mayer
c4bb774195 libheif: Upgrade library version from v1.19.7 to v1.20.2 #5276
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 11:55:13 +02:00
Michael Mayer
580751a051 Docker: Add Makefile targets and Dockerfiles for Ubuntu 25.10 #5276
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 10:49:09 +02:00
Michael Mayer
4ab48cd461 Develop: Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-10 09:36:37 +02:00
Michael Mayer
1eac265978 AI: Rename "scrfs" to "scrfd" in config and download script #5167
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-07 22:12:37 +02:00
Michael Mayer
94f8a5f35d AI: Improve Face Detection with an ONNX-based model #5167
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-06 18:51:49 +02:00
Michael Mayer
fba00a843c Config: Add "test-hub" target to Makefile and improve log messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-04 15:59:34 +02:00
graciousgrey
0c9f82a641 Makefile: Remove unused test targets 2025-09-30 13:02:23 +02:00
Michael Mayer
3e14eed7d7 Scripts: Update success and error messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-29 09:47:29 +02:00
Michael Mayer
a58fa36f34 Develop: Add "build-docker" as an alias for "docker-build" to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-27 11:59:18 +02:00
Michael Mayer
7919b9ddc2 Develop: Improved "npm-version" and "codex-version" output in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-27 11:56:08 +02:00
Michael Mayer
1e7786ad1c Develop: Update "npm" install targets in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-27 11:47:12 +02:00
Michael Mayer
48a965a7cc API: Refactor JWT-based request authorization #98 #5230
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-26 05:32:30 +02:00
Michael Mayer
9ea5f0596c Backend: Add security-focused tests, harden WebDAV and use safe.Download
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-22 10:42:53 +02:00
Michael Mayer
c8964fdc6b Make: Improve "reset-sqlite" target to delete all SQLite test databases
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-22 04:06:24 +02:00
Michael Mayer
fb27969e30 Dev: Add "git-pull" target to Makefile (pulls all changes)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-18 09:05:57 +02:00
Michael Mayer
4ea628af5c Dev: Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 23:40:37 +02:00
Michael Mayer
b894079f62 Dev: Reformat Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 13:11:52 +02:00
Michael Mayer
7bed1cd46a Dev: Update "dep-codex" target in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 13:11:03 +02:00
Michael Mayer
68d387778e Frontend: Harden NPM usage and add version overrides to package.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-09 12:56:40 +02:00
Michael Mayer
f948cd4efb Develop: Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-09 05:21:38 +02:00
Michael Mayer
13730174fe Develop: Add/update "help" and "list" targets in Makefiles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-09 03:36:37 +02:00
Ömer Duran
95c6743b2c Tests: Remove Karma / Mocha and switch to Vitest #4995 #5014 #5087
* Tests: Remove unused Karma configuration and test files

This commit deletes the Karma configuration file and  test files that are no longer needed

* Tests: Refactor setup file for Vitest and remove legacy vue-setup.js

* Tests: Update truncate test case to use Vitest string

* Tests: Add unit tests for PLocationInput component using Vitest

* Tests: Improve unit tests for PLoadingBar component

* Tests: Move karma test to vitest

* Frontend: Update deps in package-lock.json

* Tests: Adapt test to vitest

* Tests: Refactor Makefile and package.json for test commands
2025-09-07 15:29:01 +02:00
Michael Mayer
16dc286976 Develop: Add Docker Compose "down" target to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-26 08:54:52 +02:00
Michael Mayer
8a976825bf Develop: Add start-traefik and stop-traefik targets to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-25 09:45:45 +02:00
Michael Mayer
ab0bd1c732 Config: Change default vision model assets path to assets/models/ #127
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-08 19:06:56 +02:00
Michael Mayer
28873182be Auth: Activate 2FA, even if the recovery code cannot be copied #5106
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-14 09:23:02 +02:00
Michael Mayer
675c2a3f95 Setup: Add build script for the PhotoPrismPi SD card image #4414
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-11 00:37:44 +02:00
Michael Mayer
e201e27842 Frontend: Update test deps and scripts in package.json #5014
This removes the "test-" prefix from vitest script targets.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-24 12:59:17 +02:00
Michael Mayer
758d86f903 Frontend: Update test deps in package.json and license NOTICE #5014
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-20 16:39:38 +02:00
Ömer Duran
a82d657b6b Frontend: Convert tests from mocha to vitest #5014
* Tests: convert all common tests from mocha to karma

* Tests: refactor Vuetify setup in tests

* Tests: update package-lock.json

* Tests: convert all model test to vitest 1/2

* Tests: convert all model test to vitest 2/2

* Tests: fix broken test

* Tests: time zone UTC

* Tests: Add playwright screenshots folder to gitignore

* Tests: Add timezone to vitest scripts

* Tests: Add Vitest scripts to Makefile

* Tests: delete unused timezone configs

* Tests: Update some tests

* Tests: Update vitest config

* Tests: Delete usesless try-catch
2025-06-20 16:28:26 +02:00
Michael Mayer
2e2ebab433 Videos: Improve downloading, remuxing, and transcoding #4982 #4892 #5040
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-09 15:31:23 +02:00
Michael Mayer
b5d2d1c7fb Makefile: Remove "docker-" prefix from nvidia and intel targets
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-06 16:02:08 +02:00
graciousgey
ba8d38a761 Tests: Refactor acceptance tests 2025-04-28 10:35:54 +02:00
Michael Mayer
9ab1772b64 Develop: Export SEMVER_MAJOR and SEMVER_MINOR in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-26 11:25:01 +02:00
Michael Mayer
98f2cbd51b Develop: Export SEMVER_VERSION, BUILD_TAG and BUILD_ARCH in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-26 10:59:26 +02:00
Michael Mayer
eb9c64772f Develop: Upgrade base image from 250418-plucky to 250426-plucky #4967
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-26 09:40:50 +02:00
Michael Mayer
ac8ee9e4dd Build: Change variable export in Makefiles for Make v4 compatibility
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-18 13:52:14 +02:00
Michael Mayer
9e521b244d Develop: Upgrade default base image from oracular to plucky
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-18 13:12:47 +02:00
Michael Mayer
bdf97fff58 Makefile: Add build-libheif build commands for Ubuntu 25.04 (Plucky)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-18 11:55:19 +02:00
Michael Mayer
fa3d7d831d Dist: Update install-libheif.sh script and related Makefile targets
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-18 11:51:37 +02:00
Michael Mayer
da4e9d57c1 Develop: Add deploy image for Ubuntu 25.04 (Plucky Puffin)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-18 11:24:11 +02:00
Michael Mayer
8068e471d1 Develop: Update Makefile and compose.nvidia.yaml
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-12 15:30:22 +02:00
Michael Mayer
494f75917c Develop: Update service configuration in compose.yaml files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-12 15:11:09 +02:00
Michael Mayer
6fcce84623 AI: Add photoprism-vision test service and caption API client #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 01:17:47 +02:00
Michael Mayer
c6b6bfde70 CI: Exclude ARMv7 when building new Docker images and packages #222
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-07 11:36:16 +02:00
Michael Mayer
5a9e3a8645 AI: Update Makefile targets for tensorflow build images #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:14:06 +02:00