Commit graph

443 commits

Author SHA1 Message Date
Michael Mayer
f22cba92d3 Build: Run precompress.js after npm build in build-js targets #5552
The repo Makefile and dev image both export NPM_CONFIG_IGNORE_SCRIPTS=true
to harden npm against malicious supply-chain scripts. That flag also
suppresses lifecycle hooks like postbuild and prewatch, so the
precompress hooks registered in frontend/package.json never fire under
the standard build flow. Wiring `node scripts/precompress.js`
explicitly into build-js (and `--clean` into watch-js) keeps the
security-conscious npm flag intact while guaranteeing siblings exist
after every release-track build and that stale siblings are wiped
before watch-mode dev iteration starts.

The npm hooks remain registered as a backup for ad-hoc `npm run build`
invocations where IGNORE_SCRIPTS is off.
2026-05-03 13:44:12 +00:00
Michael Mayer
c7ef450ed4 Build: Add Makefile targets for Debian Trixie base images #5542
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-27 09:07:50 +02:00
Michael Mayer
e2a200b116 Build: Add Makefile targets for Ubuntu Resolute base images #5543
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-27 09:03:44 +02:00
Michael Mayer
e377056b6d Makefile: Add combined skills target
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-26 14:07:52 +02:00
Michael Mayer
6a1fb99b92 Makefile: Add agents-skills alias for codex-skills
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-26 12:52:24 +02:00
Michael Mayer
5bda752118 Build: Add shared .telemetry file to opt out of CLI telemetry
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-24 16:42:21 +02:00
Michael Mayer
6d29459aca Build: Add Codex skill bundles and auto-link target to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-13 13:00:49 +02:00
Michael Mayer
26a5c06762 Claude: Run "claude update" if already installed and add render-pdf deps
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-13 12:49:04 +02:00
Michael Mayer
e9a714098d Security: Add API request-limit regression check script
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-08 15:12:32 +01:00
Michael Mayer
5c2290680d Build: Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-06 09:43:38 +01:00
Michael Mayer
d86812c0cb Makefile: Add gh install target and explicit issue-editing rule
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-28 16:30:18 +01:00
Michael Mayer
3484da8033 Frontend: Migrate npm lockfile handling to root workspace #5458
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-27 13:34:13 +01:00
Michael Mayer
8ba783c2f4 Makefile: Add "format-tables" target to fix Markdown table formatting
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-23 13:36:22 +01:00
Michael Mayer
267fabffa9 Backend: Update filippo.io/edwards25519 from v1.1.0 to v1.2.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-22 16:53:14 +01:00
Michael Mayer
18c7ac32ff Makefile: Add "gettext-compile" target to regenerate frontend json files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-22 16:39:43 +01:00
Michael Mayer
9932df5a32 Frontend: Add scripts/gettext-extract.sh, update translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-22 16:35:42 +01:00
Michael Mayer
e326bd3d67 Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-21 08:42:19 +01:00
Michael Mayer
ce65fc7e7b Dev: Update Dockerfiles, Makefile, .gitignore, and .dockerignore
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-21 00:53:36 +01:00
Michael Mayer
3ea307405f CI: Add "mariadb-init" target to Makefile and update mariadb-init.sql
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-06 15:11:33 +01:00
Michael Mayer
4691279600 CI: Add "audit" targets to Makefile and frontend/Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-30 17:11:01 +01:00
Michael Mayer
5373194266 CI: Add security vulnerability check targets to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-28 08:59:14 +01:00
graciousgrey
20df956c46 Tests: Adapt testcafe command to run on latest chrome 2026-01-23 18:50:28 +01:00
Michael Mayer
602f059348 Makefile: Add "fmt-swag" alias for "swag-fmt"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-29 09:47:44 +01:00
Michael Mayer
d19c70e8e7 CI: Update preview and release targets in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-27 20:24:26 +01:00
Michael Mayer
41cb9dc55a CI: Add ./.../internal/... to fmt-go and test-go Make targets #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-21 13:01:20 +01:00
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