Commit graph

8401 commits

Author SHA1 Message Date
snyk-bot
b276f11ffc
fix: frontend/package.json & frontend/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
2023-12-27 18:04:59 +00:00
graciousgrey
04e8dfe6cb Tests: Add unit tests #3943 2023-12-21 16:00:28 +01:00
graciousgrey
0f8d5073dd Tests: Add unit tests #3943 2023-12-21 11:17:33 +01:00
Michael Mayer
60bf949970 MariaDB: Change version in config examples from 11.0 to 11 #3962
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-20 15:39:40 +01:00
Michael Mayer
e01b027956 MariaDB: Upgrade version in config examples from 10.11 to 11.0 #3962
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-20 15:33:29 +01:00
Michael Mayer
ef776a1a46 Podman: Re-add "security_opt" to mariadb config in docker-compose.yml
This has been re-enabled by default after we received problem reports
that seem to be related to this option.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 17:51:09 +01:00
Michael Mayer
b60d633c65 Develop: Remove unnecessary .PHONY targets from Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 17:47:57 +01:00
graciousgrey
b6cb478cfb Tests: Add unit tests 2023-12-19 17:03:50 +01:00
Michael Mayer
cc179e9ecf Metadata: Stack media files with the same "ContentIdentifier" #3960
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 16:55:08 +01:00
Michael Mayer
b725f08e3e Develop: Upgrade base image from 231206-mantic to 231219-mantic
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 15:43:56 +01:00
Michael Mayer
3dec8f4f48 Run "make fmt"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 15:43:29 +01:00
Michael Mayer
1af29dafba CI: Add show-rev target to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 14:15:48 +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
Michael Mayer
14caae4b02 Scripts: Upgrade TestCafe from v3.2.0 to v3.4.0 in install-nodejs.sh
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 11:32:55 +01:00
Michael Mayer
89c012495c Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 11:31:57 +01:00
Michael Mayer
e73fbe737f Backend: Update golang.org/x/crypto in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-19 10:44:26 +01:00
Michael Mayer
d8cece1d2e Setup: Update Linux package installation docs #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-18 08:35:46 +01:00
graciousgrey
ee8de5e39f Tests: Add unit tests #3943 2023-12-15 13:16:32 +01:00
Michael Mayer
8e81f78c12 Metadata: Add "TV" to list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-14 16:11:32 +01:00
graciousgrey
0c4c3215f4 Tests: Add unit tests #3943 2023-12-14 14:19:43 +01:00
Michael Mayer
a29ac670f7 Metadata: Update list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-13 22:09:31 +01:00
Michael Mayer
cf93437b1c Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-13 15:39:54 +01:00
graciousgrey
759dbe540a Auth: Refactor resources.go 2023-12-13 15:36:39 +01:00
Michael Mayer
5fa0b08f20 Scripts: Add pronounceable name generator to dist/install-admin-tools.sh
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-13 15:27:27 +01:00
Michael Mayer
467f7b1585 OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943
This adds standard OAuth2 client credentials and bearer token support as
well as scope-based authorization checks for REST API clients. Note that
this initial implementation should not be used in production and that
the access token limit has not been implemented yet.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-12 18:42:50 +01:00
Michael Mayer
e80b07795c Metadata: Update list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 17:55:22 +01:00
Michael Mayer
dbe525b99a Metadata: Update list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 09:25:16 +01:00
Michael Mayer
636dad9fa1 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 09:18:10 +01:00
Michael Mayer
fb39fc86dc Docs: Update license and copyright notice for third-party packages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 09:10:07 +01:00
Michael Mayer
4efff4a3d1 Frontend: Add license and copyright notice for SVG brand icons
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 08:51:49 +01:00
Michael Mayer
4fe7e9cc44 Frontend: Update SVG icons in assets/static/brands
Font Awesome Free v6.5.1, Released November 2023
Downloaded from https://fontawesome.com/download

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-11 07:49:34 +01:00
Michael Mayer
e3857a45f9 Develop: Add Prometheus test server configuration #213 #3730 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-09 20:34:50 +01:00
Michael Mayer
837b2cfb40 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-09 20:28:12 +01:00
Michael Mayer
2dc680adc9 Metadata: Update list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-09 16:37:15 +01:00
Michael Mayer
99b3af1863 Metadata: Update list of special terms in specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-09 15:49:33 +01:00
Michael Mayer
878313e3ad Setup: Update installation package readme
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-08 14:35:10 +01:00
graciousgrey
d223728796 Tests: Update test fixtures 2023-12-08 14:01:13 +01:00
graciousgrey
92759e8862 Tests: Add unit tests 2023-12-08 14:00:49 +01:00
graciousgrey
ff37fc2d53 Tests: Update test fixtures 2023-12-07 14:50:26 +01:00
graciousgrey
4c308f5b33 Tests: Update karma.conf.js 2023-12-07 14:50:26 +01:00
graciousgrey
1b56fe2ab7 Tests: Add unit tests 2023-12-07 14:50:26 +01:00
Michael Mayer
8990d48381 Develop: Upgrade base image from 231127-mantic to 231206-mantic
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-06 17:10:53 +01:00
Michael Mayer
9c6fae98d3 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-06 17:10:16 +01:00
graciousgrey
55d5e7a732 Videos: Add file info for .mxf files #3935 2023-12-06 12:02:13 +01:00
graciousgrey
3507f5ef55 Add support for .mxf files #3935 2023-12-06 11:59:53 +01:00
Brandon Richardson
3d962e2382 Backend: Expose prometheus-style metrics endpoint
Expose a new API which can be scraped by prometheus to gather useful
metrics from an instance. The new endpoint exposes photoprism build
version information, golang version, edition and various count metrics.
2023-12-06 08:13:24 +01:00
Michael Mayer
0935d9fab0 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 11:52:16 +01:00
Michael Mayer
d36e5a3850 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 11:51:56 +01:00
Michael Mayer
fb4d99625d Setup: Simplify mariadb service config in docker-compose.yml files #3928
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 11:07:55 +01:00
Daniel Black
cd014f02c5
Mariadb docker-compose simplification (#3928)
* Docker: mariadb container don't need command: mariadbd

The #3443 compatibility missed an important simplification,
the mariadbd/mysqld was never needed on the command.

Remove this from the simple cases.

Signed-off-by: Daniel Black <daniel@mariadb.org>

* Docker: mariadb - bump latest to 11.2

Latest GA MariaDB is currently 11.2

Signed-off-by: Daniel Black <daniel@mariadb.org>

* Docker: mariadb - eol for 10.7/10.8 - 10.11 is lts

As the 10.7 and 10.8 where short term releases and are now end of life,
remove those and replace with 10.11, a LTS version.

Signed-off-by: Daniel Black <daniel@mariadb.org>

---------

Signed-off-by: Daniel Black <daniel@mariadb.org>
2023-12-04 11:04:03 +01:00