Commit graph

8377 commits

Author SHA1 Message Date
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
Michael Mayer
1d7655584c Setup: Update Podman Compose example config
https://www.reddit.com/r/photoprism/comments/188hn3u/comment/kbxaiz9/
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 11:00:02 +01:00
Michael Mayer
13160c1640 Setup: Fix typo in Linux package install guide #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 10:01:58 +01:00
Michael Mayer
07d74e68f9 Setup: Improve Linux package install guide #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-04 09:33:38 +01:00
Michael Mayer
37f647a8f9 Setup: Improve docs for binary installation packages #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-29 13:45:55 +01:00
Michael Mayer
111fd0ebbe Setup: Improve docs for binary installation packages #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-29 13:32:48 +01:00
Michael Mayer
7801e603f9 Setup: Update docs for binary installation packages #3861
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-29 13:12:19 +01:00
Michael Mayer
4ffc548287 Docs: Update badges in README.md
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-28 14:03:47 +01:00
Michael Mayer
200b0e1f1d Docs: Update badges in README.md
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-28 14:02:06 +01:00
Michael Mayer
e4f287bbb8
Windows: Update install.bat 2023-11-27 21:59:55 +01:00
Michael Mayer
ab491c3032 2FA: Add generator for random 16-digit app passwords #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-27 19:43:53 +01:00
Michael Mayer
f48ff16ef5 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-27 18:21:42 +01:00
Michael Mayer
51178ea209 Develop: Upgrade base image from 231120-mantic to 231127-mantic
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-27 18:19:08 +01:00
Michael Mayer
5bc61b496f Cards View: Refactor generateLensInfo() to fix rendering bug #3918
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-27 15:41:48 +01:00
Michael Mayer
eb63cb8324 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-26 16:32:30 +01:00
Michael Mayer
6ba87a52d8 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-23 17:24:41 +01:00
graciousgrey
59456c57be Tests: Add unit test #3885 2023-11-21 17:47:29 +01:00
graciousgrey
292eaf6ee0 Tests: Add unit tests #3896 2023-11-21 17:08:18 +01:00
graciousgrey
5d06770ab6 Tests: Update photo fixtures 2023-11-21 17:07:39 +01:00
Michael Mayer
63d071a219 Develop: Upgrade base image from 231108-mantic to 231120-mantic #3885
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 18:59:58 +01:00
Michael Mayer
82c70772d2 Develop: Update Ubuntu base image Dockerfiles #3885
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 14:35:13 +01:00
Michael Mayer
f714c1d759 Develop: Update Ubuntu base image Dockerfiles #3885
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 14:32:15 +01:00
graciousgrey
2d7a951c1a Update SPONSORS.md 2023-11-20 12:29:09 +01:00
Michael Mayer
eb19a4a893 Search: Add filter to find pictures by resolution range in MP #3896
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 11:47:23 +01:00
Michael Mayer
717e616700 Vectors: Use RSVG instead of imagemagick to convert SVG to PNG #3885
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 11:43:54 +01:00