mirror of
https://github.com/Athou/commafeed.git
synced 2026-11-20 02:33:33 +00:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7da039503a | ||
|
|
abf9e2cd85 | ||
|
|
fe5ff7f721 | ||
|
|
bedbeeccc2 | ||
|
|
2c819e3049 | ||
|
|
1768571d72 | ||
|
|
f8b1b7f8f4 | ||
|
|
0a1840d4c8 | ||
|
|
3d85eca5f6 | ||
|
|
894ad757b1 | ||
|
|
728868784e | ||
|
|
e59948c68c | ||
|
|
d3ba47d200 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
# Setup
|
||||
- name: Set up GraalVM
|
||||
uses: graalvm/setup-graalvm@d6eca2595046623d69d636041513c80abf745406 # v1.6.9
|
||||
uses: graalvm/setup-graalvm@60e76998d25690099182b796e99b8804da582d90 # v1.6.10
|
||||
with:
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
distribution: "mandrel"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## [7.5.3]
|
||||
|
||||
- Use ntfy JSON API so notification titles support non-ASCII characters (#2398)
|
||||
|
||||
## [7.5.2]
|
||||
|
||||
- Fix Youtube embeds not loading and stealing focus (#2394)
|
||||
|
||||
## [7.5.1]
|
||||
|
||||
- Fix multiple entry context menus being open at the same time (#2393)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.6.8/schema.json",
|
||||
"formatter": {
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 4,
|
||||
|
||||
192
commafeed-client/package-lock.json
generated
192
commafeed-client/package-lock.json
generated
@@ -12,13 +12,13 @@
|
||||
"@fontsource/open-sans": "5.3.0",
|
||||
"@lingui/core": "6.12.0",
|
||||
"@lingui/react": "6.12.0",
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/dates": "9.8.0",
|
||||
"@mantine/form": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/modals": "9.8.0",
|
||||
"@mantine/notifications": "9.8.0",
|
||||
"@mantine/spotlight": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/dates": "9.8.1",
|
||||
"@mantine/form": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"@mantine/modals": "9.8.1",
|
||||
"@mantine/notifications": "9.8.1",
|
||||
"@mantine/spotlight": "9.8.1",
|
||||
"@monaco-editor/react": "4.7.0",
|
||||
"@react-querybuilder/mantine": "8.26.0",
|
||||
"@reduxjs/toolkit": "2.14.0",
|
||||
@@ -46,12 +46,12 @@
|
||||
"websocket-heartbeat-js": "1.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.6.7",
|
||||
"@biomejs/biome": "2.6.8",
|
||||
"@lingui/cli": "6.12.0",
|
||||
"@lingui/vite-plugin": "6.12.0",
|
||||
"@testing-library/jest-dom": "7.0.1",
|
||||
"@testing-library/react": "16.3.3",
|
||||
"@testing-library/user-event": "14.6.10",
|
||||
"@testing-library/user-event": "14.6.12",
|
||||
"@types/mousetrap": "1.6.15",
|
||||
"@types/react": "19.3.0",
|
||||
"@types/react-dom": "19.3.0",
|
||||
@@ -424,9 +424,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/biome": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.7.tgz",
|
||||
"integrity": "sha512-2bT1FE6FvZZgPLFw4BjcDyRwG8Ry9zYla4X+Lw8oj2SxvqiXHiYkkEpjcrsWQrik6iYHygAa/D67YxLbVz9P1Q==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.8.tgz",
|
||||
"integrity": "sha512-kqZUFvX6/aYQOmzfRN5ANcfNS9wLH4aHLWWP/dQKyhRZVoA6rdWszA7DGugFcxPbMiznUyVYyukVl+ExZN4PQA==",
|
||||
"dev": true,
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"bin": {
|
||||
@@ -440,22 +440,22 @@
|
||||
"url": "https://opencollective.com/biome"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@biomejs/cli-android-arm64": "2.6.7",
|
||||
"@biomejs/cli-android-x64": "2.6.7",
|
||||
"@biomejs/cli-darwin-arm64": "2.6.7",
|
||||
"@biomejs/cli-darwin-x64": "2.6.7",
|
||||
"@biomejs/cli-linux-arm64": "2.6.7",
|
||||
"@biomejs/cli-linux-arm64-musl": "2.6.7",
|
||||
"@biomejs/cli-linux-x64": "2.6.7",
|
||||
"@biomejs/cli-linux-x64-musl": "2.6.7",
|
||||
"@biomejs/cli-win32-arm64": "2.6.7",
|
||||
"@biomejs/cli-win32-x64": "2.6.7"
|
||||
"@biomejs/cli-android-arm64": "2.6.8",
|
||||
"@biomejs/cli-android-x64": "2.6.8",
|
||||
"@biomejs/cli-darwin-arm64": "2.6.8",
|
||||
"@biomejs/cli-darwin-x64": "2.6.8",
|
||||
"@biomejs/cli-linux-arm64": "2.6.8",
|
||||
"@biomejs/cli-linux-arm64-musl": "2.6.8",
|
||||
"@biomejs/cli-linux-x64": "2.6.8",
|
||||
"@biomejs/cli-linux-x64-musl": "2.6.8",
|
||||
"@biomejs/cli-win32-arm64": "2.6.8",
|
||||
"@biomejs/cli-win32-x64": "2.6.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-android-arm64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.7.tgz",
|
||||
"integrity": "sha512-f4fyRTl+rW6QZp+iHdZrKAKptG/xmIDijTnxWhpC1Hnzr8yvjaBm/aJ98JiMv5mMx7jL1MOu4+zwmQUzfcoKBg==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.8.tgz",
|
||||
"integrity": "sha512-X4JKPLK85kfUTwuuaORFplnBfGjKkp62PsFhhcL7F/Tpltc7pyUofjlkkMnlZZLWsifFl7LNB8ngVrwJg1uo1Q==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -470,9 +470,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-android-x64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.7.tgz",
|
||||
"integrity": "sha512-eUdeN+mh2bwen+By1feKzpFkFGAfLG3Pxi6tbwpzMvePBwFGMd4mnE6gaxDRMiWJ1eMuc+Xhtg3ErbLLbtL5wQ==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.8.tgz",
|
||||
"integrity": "sha512-C3Hk485vl+deEj53K08+SYYelPIPkdSZL3qHuD31Xi+qydVa4q2ze+aCYo1k3iJGWtvWtjHaGkDh7S2sX6wk8w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -487,9 +487,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-darwin-arm64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.7.tgz",
|
||||
"integrity": "sha512-GewLcsnCsVblgnWYw5QRz5ydy9xphCtlFP37TpLKarezqwZMrH2qxrYblhY6DPOir4gnKyaqDnS/xZWIGVjaKw==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.8.tgz",
|
||||
"integrity": "sha512-DHyj+JnRHcn4YdvpiqgTFZMYKSPELMCfFpNNlEuu1L8DKTGXhzW7raIwdsbo2Ie9nCljQLAQkVWQk/mwM0ueiA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -504,9 +504,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-darwin-x64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.7.tgz",
|
||||
"integrity": "sha512-AMPl+Q+bHjRcNUBn8gwBl+dJAnKRUWGZ7ZiJo2U8tQtdpqJ32OqvIg4cwTH+xv0jrcNVkUSE69nj57zsHZ1WBA==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.8.tgz",
|
||||
"integrity": "sha512-QWWUPjlA0RnkkgYnFLUHZu+RrDc0FdK0A+wEPA+dENQJwsuSHMH89lspnAw2QUWWc9VHyfluGx1Xmp6Y2GZi8Q==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -521,9 +521,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-arm64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.7.tgz",
|
||||
"integrity": "sha512-Qa2edxQClKn17y1ASWkOOuT96K2si1nTLiPbXMOMilNJ79eNsa1as1kaSbgxOXy1kRUENw76sp4pAddneq3l8Q==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.8.tgz",
|
||||
"integrity": "sha512-0Bjim8lKwnrvXUHoI4k3Tb51BjoiLEwDnovCI8nSzkk6wj3dShiuAjrx6+X0Hjf4ejR1sRZgTQiSDHlpy9vB7w==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -541,9 +541,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-arm64-musl": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.7.tgz",
|
||||
"integrity": "sha512-BIA7qVO1O15D2wVKxLTcvEWszgOqJVZRUhlksg1KQ9N0VtYCbvknV1vyjFiSrzuBT57+z59gbzhYQCinw9lRSQ==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.8.tgz",
|
||||
"integrity": "sha512-WB9PhOitX+bRc0G3+GNJGlvbKoWn3JoB9z4E04JQizIC9aPCQyIvwvWG7QZHxw6k20Fi+dHLmZ2fSEmBa9HqiA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -561,9 +561,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-x64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.7.tgz",
|
||||
"integrity": "sha512-VpHQ33CPNYrlIn0vyDdRS1KUlS3AiM17FiyEE2gwU000NwzyY4MgjzVHEv2KrmMb5D9Ksm3gFkwg+IOx/ULJNQ==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.8.tgz",
|
||||
"integrity": "sha512-XIk3pLQT56I6Tti+u0DF8FtSNXjCMTPbxVTzfJ9cS2t1ImVKvrqV5b52GuEaJg6/wuiXvz0sjfb5saB4TPRjzA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -581,9 +581,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-x64-musl": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.7.tgz",
|
||||
"integrity": "sha512-+AOQyCsPR4nH5L4Hjzp8T0iaHm4UxY3unjL/KUJKc/8ziLnbkbmL3adtWmQW5ERB1zi6LRA1fsjaSuf/xGnLaQ==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.8.tgz",
|
||||
"integrity": "sha512-64Yzo+J4fEk7Kf9SMnVdVxC+Y2A2e/L86QTP9JjGQ57lsddyELLpbBcNMxSJggre2T1AvISwwSrOApkBAHDqNA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -601,9 +601,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-win32-arm64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.7.tgz",
|
||||
"integrity": "sha512-2nLivZfgcGMIXP/bI8w1FZP5JE2MetP+XZInyMQ7SvJBKlDoGrm/nRjN7uUi9dOaaSlpbRWkHSfb7PqcQR3nXg==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.8.tgz",
|
||||
"integrity": "sha512-ezjCEZzHIWE2pdh83a7zLVcAAcDaERcTcvfA7uWlxqz/1CuDxgtfO19pDg9B6YY4wKYIDvYBw2QCMnqIshSwmw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -618,9 +618,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-win32-x64": {
|
||||
"version": "2.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.7.tgz",
|
||||
"integrity": "sha512-uYfH+n+IAtVz3lh7m6JxdjxfJ3WCvAJDE3spHIUbU955V42oKymlhiQiu92fAhXZb7KOjvRcrfImySQbc1MFFg==",
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.8.tgz",
|
||||
"integrity": "sha512-cD6HvGczZUiAYsY8s2TxxXj2AHFzEdMomvVJfEjzOjBM45nGqIDfBpbtvwGQzDCN8X2yKKk9u1jnDZisT2nxIg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1372,9 +1372,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/core": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/core/-/core-9.8.0.tgz",
|
||||
"integrity": "sha512-+2Y+GBM6WvBJgBBb7hrfEvHbyljuRsOqC1GjxNpmX6NcD2SwmDXf9ZVFfquyXvi8fFerMrTpAwYdfb6k2PGAlQ==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/core/-/core-9.8.1.tgz",
|
||||
"integrity": "sha512-+ayBTxun7MslJL6x4qaylVy6TyHu3o68+PH22gt70eJSHgy0CHYR/c2q+BYxS8WvORuc4f5mr0xFbi0vzlgHug==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@floating-ui/react": "^0.27.20",
|
||||
@@ -1384,31 +1384,31 @@
|
||||
"type-fest": "^5.10.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/dates": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/dates/-/dates-9.8.0.tgz",
|
||||
"integrity": "sha512-mHmr0uNJI888M0gU7Ga0ec6CtUurQDPst4WauEEqjgkb7uGxAHknL2XdmFshjqQ4UyTLKrsjVeK5DIhzofz/gg==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/dates/-/dates-9.8.1.tgz",
|
||||
"integrity": "sha512-BDYvM3hSvTkFNAqnRmL/nhf8NnoqwXOUe+jxq7xZZ1ME9NaVT5u3QuLY2zEilqF3Wm0iUtf3LP6deL9c4gunSQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"dayjs": ">=1.0.0",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/form": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/form/-/form-9.8.0.tgz",
|
||||
"integrity": "sha512-ECed/ZR/uzCrhm8R5oT723l/Ft0AcM6RDfgwq3bXcK+3bJ9h4dSrr2GyIpwR9fjJ0dwM2JCl//IFFXP4QHlKrw==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/form/-/form-9.8.1.tgz",
|
||||
"integrity": "sha512-BLD6BlsccoM31ZfKMiFWb53A1QW9vR0mKlR2GaDcjJGaQhxfGm5rLZCdBHBnsBXlNdz1Pyf52rQUfNhi6fXePQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@standard-schema/spec": "^1.1.0",
|
||||
@@ -1420,61 +1420,61 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/hooks": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-9.8.0.tgz",
|
||||
"integrity": "sha512-fUA3PS8Ys2kih6VEuozgdEO0UyiGhryTJqx+Bf2lxee1XpXQ0XFXsQY7lNB4f+eBDzYCczYykQjIIuUzyJft7A==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-9.8.1.tgz",
|
||||
"integrity": "sha512-aAbY3zcqrS/n+wbMnKBXMiF5TJ7HZ06sH455Cf4ZkWRXko9Td2FYSe9aONCzXFaW62XqaWHBICyeIsAmUds3uA==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/modals": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/modals/-/modals-9.8.0.tgz",
|
||||
"integrity": "sha512-YRq4jy+kioDT3uIyskLwaQMw7DybVTCkE9n1NFxq9sb0gL2D/UIpkVBU0sWBItLuXBxqd73SNS5Br9SZlZD0eA==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/modals/-/modals-9.8.1.tgz",
|
||||
"integrity": "sha512-QwlPGmwyWXIq5YM3xzbeVQ6dJXTm98YBcrI7YQ6lraHxEXHZAr6M2HDIF4Pqd158mP/Oc+HL+UPd0cvSeZfHLQ==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/notifications": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/notifications/-/notifications-9.8.0.tgz",
|
||||
"integrity": "sha512-5+f1hQUa41UqC7z05kSYOU1uOrL6hpm/s7WzPmeHsfxbcb8xFefFi0I/9RZZ5KNgkCdt0LpfO4N4KNfiTmi0OQ==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/notifications/-/notifications-9.8.1.tgz",
|
||||
"integrity": "sha512-lqi9+HfXMbMKzEsAIUkWRFw2rURzgVMv8//oCyq0rhy27X6NjSMMlzvwsjbSazT/+WugDIYLJ8khZ+JMW1gkMQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@mantine/store": "9.8.0",
|
||||
"@mantine/store": "9.8.1",
|
||||
"react-transition-group": "4.4.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/spotlight": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/spotlight/-/spotlight-9.8.0.tgz",
|
||||
"integrity": "sha512-MsJKv6h0ARTJGgATOZYDh/0liA9ffJQZ7L2TMs1D/0brGFb5l1a4kiUrp1p1GRtZpAEZoiQK1n9Rg8Zo6qqtRA==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/spotlight/-/spotlight-9.8.1.tgz",
|
||||
"integrity": "sha512-x5BL6D1Khp6GxhWWxhPgtoyPb40zFgwKx8XfjyoDMRANGhQ+vijyjyDHol7nYQq8DMiM2G4Hnue2vMyTDEkS1g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@mantine/store": "9.8.0"
|
||||
"@mantine/store": "9.8.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mantine/store": {
|
||||
"version": "9.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/store/-/store-9.8.0.tgz",
|
||||
"integrity": "sha512-1lXf+ULBFLnMTN+cN4rCNxaBIRAUEPGm2uplLtNk0WHpvL+UwSuXZc26S5tdjYUW5HYsLLeY6C3u/N5qLv1r1Q==",
|
||||
"version": "9.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@mantine/store/-/store-9.8.1.tgz",
|
||||
"integrity": "sha512-Wb5+6i6m3GdNgOjX1IbDPYrP76v9y4zThRoKDWH9Es+qY2c6gT2NpH7n10/zYgNPL8ipB6H6gGUPhLurs1o4kg==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": "^19.2.0"
|
||||
@@ -2139,9 +2139,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@testing-library/user-event": {
|
||||
"version": "14.6.10",
|
||||
"resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.10.tgz",
|
||||
"integrity": "sha512-tA4stGNp3mLGOGO+lh87UA56Tz4c8NVGBSkyIF58O+W/bs2Re9BCI9xihnL70+DsThncFznE0skS88SM1D2hyg==",
|
||||
"version": "14.6.12",
|
||||
"resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.12.tgz",
|
||||
"integrity": "sha512-8yQV8v+eToBhsUO4oYrZY7fzhpTEMZx4IDx0/iuER/x0Xuy0NdqQOhsaaUNlvXE03N7vQ+4RCXUieKC0NJty9w==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@@ -2178,9 +2178,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tybys/wasm-util": {
|
||||
"version": "0.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
|
||||
"integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
|
||||
"version": "0.10.5",
|
||||
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
|
||||
"integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
@@ -4558,9 +4558,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/numeric-quantity": {
|
||||
"version": "3.3.4",
|
||||
"resolved": "https://registry.npmjs.org/numeric-quantity/-/numeric-quantity-3.3.4.tgz",
|
||||
"integrity": "sha512-mYzGsK+5jEK3DM3iAxC8ACKp6k1qH2lxvbTQxfIb6FL+meXx4yrwUTiAQtXik7ZnCj8R5pMIY63Ra0wPP3SW/A==",
|
||||
"version": "3.3.5",
|
||||
"resolved": "https://registry.npmjs.org/numeric-quantity/-/numeric-quantity-3.3.5.tgz",
|
||||
"integrity": "sha512-6+8OIGgAmHb+PVCkmfqF1LqpZQ2IVI8DrCR722U5sRZ8h8Ha6cjGl3HeRqb5sz5LMb6S+tkxbMkSwWSUOi54dg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
"@fontsource/open-sans": "5.3.0",
|
||||
"@lingui/core": "6.12.0",
|
||||
"@lingui/react": "6.12.0",
|
||||
"@mantine/core": "9.8.0",
|
||||
"@mantine/dates": "9.8.0",
|
||||
"@mantine/form": "9.8.0",
|
||||
"@mantine/hooks": "9.8.0",
|
||||
"@mantine/modals": "9.8.0",
|
||||
"@mantine/notifications": "9.8.0",
|
||||
"@mantine/spotlight": "9.8.0",
|
||||
"@mantine/core": "9.8.1",
|
||||
"@mantine/dates": "9.8.1",
|
||||
"@mantine/form": "9.8.1",
|
||||
"@mantine/hooks": "9.8.1",
|
||||
"@mantine/modals": "9.8.1",
|
||||
"@mantine/notifications": "9.8.1",
|
||||
"@mantine/spotlight": "9.8.1",
|
||||
"@monaco-editor/react": "4.7.0",
|
||||
"@react-querybuilder/mantine": "8.26.0",
|
||||
"@reduxjs/toolkit": "2.14.0",
|
||||
@@ -53,12 +53,12 @@
|
||||
"websocket-heartbeat-js": "1.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.6.7",
|
||||
"@biomejs/biome": "2.6.8",
|
||||
"@lingui/cli": "6.12.0",
|
||||
"@lingui/vite-plugin": "6.12.0",
|
||||
"@testing-library/jest-dom": "7.0.1",
|
||||
"@testing-library/react": "16.3.3",
|
||||
"@testing-library/user-event": "14.6.10",
|
||||
"@testing-library/user-event": "14.6.12",
|
||||
"@types/mousetrap": "1.6.15",
|
||||
"@types/react": "19.3.0",
|
||||
"@types/react-dom": "19.3.0",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.commafeed</groupId>
|
||||
<artifactId>commafeed</artifactId>
|
||||
<version>7.5.1</version>
|
||||
<version>7.5.3</version>
|
||||
</parent>
|
||||
<artifactId>commafeed-client</artifactId>
|
||||
<name>CommaFeed Client</name>
|
||||
|
||||
@@ -106,7 +106,14 @@ const Content = React.memo((props: ContentProps) => {
|
||||
return (
|
||||
<BasicHtmlStyles>
|
||||
<Box className={classes.content}>
|
||||
<Interweave content={props.content} transform={transform} matchers={matchers} allowList={allowList} />
|
||||
<Interweave
|
||||
content={props.content}
|
||||
transform={transform}
|
||||
matchers={matchers}
|
||||
allowList={allowList}
|
||||
// attributes are already sanitized server-side
|
||||
allowAttributes
|
||||
/>
|
||||
</Box>
|
||||
</BasicHtmlStyles>
|
||||
)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.commafeed</groupId>
|
||||
<artifactId>commafeed</artifactId>
|
||||
<version>7.5.1</version>
|
||||
<version>7.5.3</version>
|
||||
</parent>
|
||||
<artifactId>commafeed-server</artifactId>
|
||||
<name>CommaFeed Server</name>
|
||||
@@ -51,7 +51,7 @@
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-help-plugin</artifactId>
|
||||
<version>3.5.2</version>
|
||||
<version>3.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>initialize</phase>
|
||||
@@ -303,7 +303,7 @@
|
||||
<dependency>
|
||||
<groupId>com.commafeed</groupId>
|
||||
<artifactId>commafeed-client</artifactId>
|
||||
<version>7.5.1</version>
|
||||
<version>7.5.3</version>
|
||||
</dependency>
|
||||
|
||||
<!-- compile-time processors -->
|
||||
@@ -460,7 +460,7 @@
|
||||
<dependency>
|
||||
<groupId>io.github.hakky54</groupId>
|
||||
<artifactId>ayza-for-apache5</artifactId>
|
||||
<version>10.1.1</version>
|
||||
<version>10.1.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.seancfoley</groupId>
|
||||
|
||||
@@ -140,6 +140,7 @@ public class FeedEntryContentCleaningService {
|
||||
|
||||
whitelist.addEnforcedAttribute("a", "target", "_blank");
|
||||
whitelist.addEnforcedAttribute("a", "rel", "noreferrer");
|
||||
whitelist.addEnforcedAttribute("iframe", "referrerpolicy", "strict-origin-when-cross-origin");
|
||||
return whitelist;
|
||||
}
|
||||
|
||||
|
||||
@@ -95,14 +95,17 @@ public class PushNotificationService {
|
||||
return;
|
||||
}
|
||||
|
||||
SimpleRequestBuilder request = SimpleRequestBuilder.post(serverUrl + "/" + topic);
|
||||
request.addHeader("Title", feedTitle);
|
||||
request.setBody(entryTitle, ContentType.TEXT_PLAIN.withCharset(StandardCharsets.UTF_8));
|
||||
|
||||
JsonObject json = new JsonObject();
|
||||
json.put("topic", topic);
|
||||
json.put("title", feedTitle);
|
||||
json.put("message", entryTitle);
|
||||
if (StringUtils.isNotBlank(entryUrl)) {
|
||||
request.addHeader("Click", entryUrl);
|
||||
json.put("click", entryUrl);
|
||||
}
|
||||
|
||||
SimpleRequestBuilder request = SimpleRequestBuilder.post(serverUrl);
|
||||
request.setBody(json.toString(), ContentType.APPLICATION_JSON);
|
||||
|
||||
if (StringUtils.isNotBlank(settings.getUserSecret())) {
|
||||
request.addHeader("Authorization", "Bearer " + settings.getUserSecret());
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ class FeedEntryContentCleaningServiceTest {
|
||||
<p>
|
||||
Some text
|
||||
<img width="965" height="320" src="https://localhost/an-image.png" alt="alt-desc" style="width:100%;">
|
||||
<iframe src="https://localhost/an-iframe" style="width:100%;"></iframe>
|
||||
<iframe src="https://localhost/an-iframe" style="width:100%;" referrerpolicy="strict-origin-when-cross-origin"></iframe>
|
||||
aaa
|
||||
</p>
|
||||
"""
|
||||
|
||||
@@ -64,16 +64,25 @@ class PushNotificationServiceTest {
|
||||
userSettings.setServerUrl("http://localhost:" + mockServerClient.getPort());
|
||||
userSettings.setTopic("test-topic");
|
||||
userSettings.setUserSecret("test-secret");
|
||||
subscription.setTitle("ąćęłńóśźż 📰 Test Feed");
|
||||
|
||||
mockServerClient
|
||||
.when(
|
||||
HttpRequest.request()
|
||||
.withMethod("POST")
|
||||
.withPath("/test-topic")
|
||||
.withHeader("Title", "Test Feed")
|
||||
.withHeader("Click", "http://example.com/entry")
|
||||
.withPath("/")
|
||||
.withHeader("Authorization", "Bearer test-secret")
|
||||
.withBody("Test Entry"))
|
||||
.withContentType(MediaType.APPLICATION_JSON_UTF_8)
|
||||
.withBody(
|
||||
JsonBody.json(
|
||||
"""
|
||||
{
|
||||
"topic": "test-topic",
|
||||
"title": "ąćęłńóśźż 📰 Test Feed",
|
||||
"message": "Test Entry",
|
||||
"click": "http://example.com/entry"
|
||||
}
|
||||
""")))
|
||||
.respond(HttpResponse.response().withStatusCode(200));
|
||||
|
||||
Assertions.assertDoesNotThrow(() -> pushNotificationService.notify(userSettings, subscription, entry));
|
||||
|
||||
@@ -40,7 +40,7 @@ class PushNotificationIT extends BaseIT {
|
||||
@Test
|
||||
void receivedPushNotifications() throws IOException {
|
||||
// mock ntfy server
|
||||
HttpRequest ntfyPost = HttpRequest.request().withMethod("POST").withPath("/ntfy/integration-test");
|
||||
HttpRequest ntfyPost = HttpRequest.request().withMethod("POST").withPath("/ntfy");
|
||||
getMockServerClient().when(ntfyPost).respond(HttpResponse.response().withStatusCode(200));
|
||||
|
||||
// enable push notifications
|
||||
|
||||
Reference in New Issue
Block a user