Commit graph

6679 commits

Author SHA1 Message Date
snyk-bot
50c5cbc0c1
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-MOCHA-2863123
2022-10-17 00:10:04 +00:00
Michael Mayer
79faca4f67 Sharing: Prefix album redirect URLs #840 #2466
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 23:08:26 +02:00
Michael Mayer
e3bb8b19dd Routing: Prefix frontend UI routes with /library #840 #2466
Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
3bad6820d7 UI: Update logs icon in navigation.vue
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 12:24:01 +02:00
Michael Mayer
b277a72eae Text: Update stopwords.txt and stopwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 12:07:48 +02:00
Michael Mayer
f1f59bd8af Frontend: Update package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 12:07:27 +02:00
Michael Mayer
04475e5c3c Backend: Fix accidental change in config options and update deps
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 12:07:08 +02:00
Michael Mayer
6b8b3bf3c2 Auth: Improve legacy user search command and add tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 02:48:23 +02:00
Michael Mayer
0be163370d CI: Update Makefile, go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 01:43:26 +02:00
Michael Mayer
bd74d9d5c2 Config: Set CliTestContext
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 00:20:24 +02:00
Michael Mayer
f98aa619ec Security: Disable HTTPS redirect by default #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 23:44:51 +02:00
Michael Mayer
9da97273e1 Frontend: Update webpack.config.js
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:18:27 +02:00
Michael Mayer
884dea17de Security: Use individual preview tokens for each user account #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00
theresa
ccfdf22590 Tests: Move settings tests to auth mode 2022-10-13 14:08:22 +02:00
theresa
7e3df13ba6 Tests: Adapt states test to fixture data 2022-10-13 14:01:47 +02:00
Michael Mayer
38722e72c8 Config: Use mutex when resolving the path of external binaries
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 18:39:30 +02:00
Michael Mayer
9a3015a818 Frontend: Do not redirect to login form in public mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 18:14:09 +02:00
Michael Mayer
0297006876 API: Refactor authentication tests to use conf.SetAuthMode() #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 18:11:20 +02:00
Michael Mayer
952f7e1793 API: Skip authentication if app is running in public mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 16:34:48 +02:00
Michael Mayer
39b852e7cc CI: Update Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 16:03:26 +02:00
Michael Mayer
368ec21442 CI: Add unstable demo image build config
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 16:00:51 +02:00
Michael Mayer
3c03f9c115 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 15:36:40 +02:00
Michael Mayer
ac23706601 Develop: Upgrade base image from 221007-jammy to 221012-jammy #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 15:36:05 +02:00
Michael Mayer
265fdd0dd3 Security: Refactor certs path config #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 15:33:35 +02:00
Michael Mayer
fc58c4a875 Exif: Update dsoprea/go-exif version in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 15:07:53 +02:00
Michael Mayer
d198a1d23f Security: Improve rate limit and HTTP proxy configuration #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 14:57:33 +02:00
Michael Mayer
6abbc39017 Security: Add http rate limiter and auto tls mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-11 22:44:11 +02:00
Michael Mayer
20904041f9 Session: Remove unnecessary go-cache package from imports
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-11 10:57:04 +02:00
theresa
b5132fedec Tests: Fix unit test 2022-10-11 09:53:49 +02:00
Theresa Gresch
89aab13591
Merge pull request #2770 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-10-11 08:46:39 +02:00
Weblate
001fe19fa9 Weblate: Update frontend translations 2022-10-11 02:13:34 +02:00
Michael Mayer
b8ea229915 Backend: Update pkg klauspost/cpuid in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:37:55 +02:00
Michael Mayer
8e2b229a30 Frontend: Update package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:36:48 +02:00
Michael Mayer
3c4cc40882 Security: Refactor log levels and events #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:34:07 +02:00
theresa
0e518b27fd Tests: Adapt sharing test to ux changes 2022-10-10 15:28:03 +02:00
theresa
7954e78596 Translations: Update translations.json 2022-10-10 13:56:18 +02:00
Theresa Gresch
edb4e07f03
Merge pull request #2767 from ehsansabet/feature/persian_language
Feature/persian language
2022-10-10 13:39:29 +02:00
Michael Mayer
dc39fc44d2 Security: Add "header" package for setting common response headers #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-09 17:16:49 +02:00
Michael Mayer
6038af786e Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 23:46:46 +02:00
Michael Mayer
075756c421 WebDAV: Refactor basic authentication handler #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 23:34:43 +02:00
Michael Mayer
d815123bfb CLI: Add "photoprism users reset" command #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 20:48:58 +02:00
Michael Mayer
3512c7be4f Reactions: Ignore error, should a test fixture already exist
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 19:13:39 +02:00
Michael Mayer
ff8bc9f5da MariaDB: Show error if an unsupported server version is used #2381
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 18:50:49 +02:00
Michael Mayer
3d3b1f10c4 Sharing: Allow to search for photos in shared albums
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 21:35:01 +02:00
Ehsan Sabet
2455e39417
Merge branch 'develop' into feature/persian_language 2022-10-07 21:08:40 +03:30
Michael Mayer
945d602e17 Places: Refactor backend service request
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 19:32:08 +02:00
Ehsan Sabet
f11988e021 Translation: Add frontend persian language 2022-10-07 21:00:51 +03:30
Michael Mayer
929e5ebe50 CLI: Migrate database before adding or deleting users
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 19:30:30 +02:00
Michael Mayer
1b89915cc4 HEIF/AVIF/DNG: Improve conversion to JPEG #1246 #2726 #2291 #2593
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 16:45:49 +02:00
Michael Mayer
2034110c5d HEIF/AVIF/DNG: Update file format descriptions in the UI #2726
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 16:37:47 +02:00