mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-28 18:26:36 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1488565ea | ||
|
|
35d5f887ce | ||
|
|
4c76de45ed |
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
@@ -2,7 +2,6 @@ name: "🐛 Bug Report"
|
|||||||
description: "Report something that is not working as expected"
|
description: "Report something that is not working as expected"
|
||||||
title: "🐛 Bug Report: "
|
title: "🐛 Bug Report: "
|
||||||
type: 'Bug'
|
type: 'Bug'
|
||||||
labels: [bug]
|
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
1
.github/ISSUE_TEMPLATE/feature.yml
vendored
1
.github/ISSUE_TEMPLATE/feature.yml
vendored
@@ -1,7 +1,6 @@
|
|||||||
name: 🚀 Feature
|
name: 🚀 Feature
|
||||||
description: "Submit a proposal for a new feature"
|
description: "Submit a proposal for a new feature"
|
||||||
title: "🚀 Feature: "
|
title: "🚀 Feature: "
|
||||||
labels: [feature]
|
|
||||||
type: 'Feature'
|
type: 'Feature'
|
||||||
body:
|
body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|||||||
1
.github/ISSUE_TEMPLATE/language-request.yml
vendored
1
.github/ISSUE_TEMPLATE/language-request.yml
vendored
@@ -1,7 +1,6 @@
|
|||||||
name: "🌐 Language request"
|
name: "🌐 Language request"
|
||||||
description: "You want to contribute to a language that isn't on Crowdin yet?"
|
description: "You want to contribute to a language that isn't on Crowdin yet?"
|
||||||
title: "🌐 Language Request: <language name in english>"
|
title: "🌐 Language Request: <language name in english>"
|
||||||
labels: [language-request]
|
|
||||||
type: 'Language Request'
|
type: 'Language Request'
|
||||||
body:
|
body:
|
||||||
- type: input
|
- type: input
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## [](https://github.com/pocket-id/pocket-id/compare/v1.6.3...v) (2025-07-21)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* migration fails on postgres ([#762](https://github.com/pocket-id/pocket-id/issues/762)) ([35d5f88](https://github.com/pocket-id/pocket-id/commit/35d5f887ce7c88933d7e4c2f0acd2aeedd18c214))
|
||||||
## [](https://github.com/pocket-id/pocket-id/compare/v1.6.2...v) (2025-07-21)
|
## [](https://github.com/pocket-id/pocket-id/compare/v1.6.2...v) (2025-07-21)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -1,25 +1,34 @@
|
|||||||
-- Normalize (form NFC) all existing values in the database
|
-- Normalize (form NFC) all existing values in the database
|
||||||
UPDATE api_keys SET
|
DO $$
|
||||||
name = normalize(name, 'nfc'),
|
BEGIN
|
||||||
description = normalize(description, 'nfc');
|
-- This function is available only if the server's encoding is UTF8
|
||||||
|
IF current_setting('server_encoding') = 'UTF8' THEN
|
||||||
|
UPDATE api_keys SET
|
||||||
|
name = normalize(name, NFC),
|
||||||
|
description = normalize(description, NFC);
|
||||||
|
|
||||||
UPDATE app_config_variables SET
|
UPDATE app_config_variables SET
|
||||||
"value" = normalize("value", 'nfc')
|
"value" = normalize("value", NFC)
|
||||||
WHERE "key" = 'appName';
|
WHERE "key" = 'appName';
|
||||||
|
|
||||||
UPDATE custom_claims SET
|
UPDATE custom_claims SET
|
||||||
"key" = normalize("key", 'nfc'),
|
"key" = normalize("key", NFC),
|
||||||
"value" = normalize("value", 'nfc');
|
"value" = normalize("value", NFC);
|
||||||
|
|
||||||
UPDATE oidc_clients SET
|
UPDATE oidc_clients SET
|
||||||
name = normalize(name, 'nfc');
|
name = normalize(name, NFC);
|
||||||
|
|
||||||
UPDATE users SET
|
UPDATE users SET
|
||||||
username = normalize(username, 'nfc'),
|
username = normalize(username, NFC),
|
||||||
email = normalize(email, 'nfc'),
|
email = normalize(email, NFC),
|
||||||
first_name = normalize(first_name, 'nfc'),
|
first_name = normalize(first_name, NFC),
|
||||||
last_name = normalize(last_name, 'nfc');
|
last_name = normalize(last_name, NFC);
|
||||||
|
|
||||||
UPDATE user_groups SET
|
UPDATE user_groups SET
|
||||||
friendly_name = normalize(friendly_name, 'nfc'),
|
friendly_name = normalize(friendly_name, NFC),
|
||||||
"name" = normalize("name", 'nfc');
|
"name" = normalize("name", NFC);
|
||||||
|
ELSE
|
||||||
|
RAISE NOTICE 'Skipping normalization: server_encoding is %', current_setting('server_encoding');
|
||||||
|
END IF;
|
||||||
|
END;
|
||||||
|
$$ LANGUAGE plpgsql;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pocket-id-frontend",
|
"name": "pocket-id-frontend",
|
||||||
"version": "1.6.3",
|
"version": "1.6.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user