Commit graph

25 commits

Author SHA1 Message Date
Michael Mayer
c786eb6df9 Build: Centralize npm targets in root Makefile and align flags
Define npm clean-install, install, update, and audit commands once in the
root Makefile and have frontend/Makefile delegate via $(MAKE) -C .., so the
single root node_modules and package-lock.json are used. Standardize the
--ignore-scripts/--no-audit/--no-fund/--no-update-notifier flag order across
all npm invocations and drop the no-op --no-audit from npm audit.
2026-05-29 04:40:23 +00:00
Michael Mayer
91d27f7e6e Docs: Update copyright year in Dockerfiles, scripts, and Go files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-22 07:56:59 +02:00
Michael Mayer
7ba4dc1bf6 Frontend: Tune lightbox theme for face markers, retire ESLint-Prettier glue #4966
- Refactor `meta.css` face-marker palette to consume theme tokens (Path A):
  default rect → `on-surface`; named-marker stroke → `primary`; draft →
  `accent`; hover → `primary-darken-1`; handle → `primary-darken-1` fill +
  `primary` stroke; Confirm pill → `primary-darken-2`; Cancel pill →
  `highlight-lighten-1`; Remove pill → `remove`; Back button → `surface`.
- Retune the `lightbox` theme block to support the rebind: `primary
  #F2F3F3 → #9E8FC9` (muted purple), `accent #2D2E2E → #BDAFE4` (lavender),
  `surface #151515 → #181818`, `surface-bright → #1c1c1c`, `button →
  #242424`, `highlight #424041 → #3c3c3c`, `remove → #cd4645`. Effectively
  reverts the `surface-variant ↔ on-surface-variant` swap and re-introduces
  an explicit `.v-tooltip.v-theme--lightbox` override in `lightbox.css`.
- Bump `variations.darken` to 2 so `--v-theme-primary-darken-2` resolves.
- Swap the in-template button order in `markers.vue` to Cancel-left /
  Confirm-right for both the pending-add and remove-confirm popovers.
- Add inline comments to the `default.add` and updated `lightbox`
  entries so each color's purpose stays documented at the source.
- Drop `eslint-plugin-prettier` (its `prettier/prettier` rule was already
  `"off"`, making the plugin inert). Replace `plugin:prettier/recommended`
  with a direct `eslint-config-prettier` extend; keep ESLint's own
  `indent` / `quotes` / `brace-style` rules as the JS formatter.
- Tell ESLint to ignore `*.{css,scss,sass}` so Prettier owns CSS
  unambiguously; wire `npm run fmt-css` / `npm run lint-css` Prettier
  passes into `npm run fmt` / `npm run lint` so `make fmt-js` and
  `make lint-js` cover stylesheets too.
- Drop `eslint-plugin-prettier` from the dev-container global install
  list and the `frontend/tests/README.md` dependency table; regenerate
  `NOTICE` files.
2026-05-19 09:56:09 +00:00
Michael Mayer
7ed0fc44d3 Frontend: Drop unused "escape-string-regexp" dep, refresh tooling
Removes the top-level "escape-string-regexp" dependency, which has no
direct consumer in our source. The v4 line lives on as a transitive
dep of "eslint" and "sanitize-html"; "webpack-bundle-analyzer" keeps
its nested v5 copy. Net dep-tree shape is unchanged.

Also bumps "@vue/language-server" to ^3.3.0, adds "vuln" and "tools"
phony aliases in the Makefile, and aligns the frontend "audit" target
with the root one (--no-fund --no-audit).

Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-19 01:04:49 +00: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
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
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
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
Michael Mayer
f9a2e54476 Frontend: Disable msgmerge fuzzy matching with vue3-gettext
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-22 09:51:13 +02:00
Michael Mayer
7872e7f967 Frontend: Remove "server" package and update "eslint" #5274
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 09:46:39 +02:00
Michael Mayer
c81f9f4b3f Frontend: Fix update target in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 13:14:07 +02:00
Michael Mayer
e221a8ee73 Frontend: Update npm install targets in Makefile and package.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-18 09:51:11 +02:00
Michael Mayer
5db044284b Frontend: Update Makefile, package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-16 18:06:11 +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
Michael Mayer
e7db7efc58 Frontend: Update install and update targets in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-10 17:22:43 +02:00
Michael Mayer
dbfe4e5dc1 Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-10 17:13:29 +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
62eff7c4c3 Frontend: Upgrade ESLint from v8.57.0 to v9.23.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-26 21:07:45 +01:00
Michael Mayer
04c3e98073 Frontend: Ensure that ESLint is installed and works as intended #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-22 12:34:49 +01:00
Michael Mayer
543bc8b20d Frontend: Update copyright notices #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-09 10:29:03 +01:00
Michael Mayer
149f1dfe84 Develop: Upgrade NodeJS from v20 to v22 and TestCafe from 3.6.0 to 3.6.2
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-09-15 16:42:08 +02:00
Michael Mayer
e09ce3eed3 CI: Generate NOTICE file with go-licenses and npm license-report
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-15 10:11:15 +02:00
Michael Mayer
04abf49095 Frontend: Upgrade deps in package.json and TestCafe from v3.4 to v3.5
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-02-17 15:03:05 +01:00
Michael Mayer
0ca37b2c92 Docs: Update year in backend and frontend package file headers
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-05 16:38:36 +01:00
Michael Mayer
b536e50005 CI: Add Makefile to /frontend directory
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 11:33:55 +01:00