feat(custom-widgets): add secure v2 authoring

This commit is contained in:
Thomas Camlong committed 2026-07-12 14:35:35 +02:00
1 parent d37545c98e
commit 46add018bf
56 files changed
+12613 -1726

No files matched your search

+144 -48
View File
@@ -12,6 +12,24 @@ catalogs:
'@auth/drizzle-adapter':
specifier: ^1.11.2
version: 1.11.2
'@codemirror/autocomplete':
specifier: ^6.20.3
version: 6.20.3
'@codemirror/commands':
specifier: ^6.10.3
version: 6.10.3
'@codemirror/lang-javascript':
specifier: ^6.2.5
version: 6.2.5
'@codemirror/lang-json':
specifier: ^6.0.2
version: 6.0.2
'@codemirror/lint':
specifier: ^6.9.6
version: 6.9.6
'@codemirror/view':
specifier: ^6.43.0
version: 6.43.0
'@ctrl/deluge':
specifier: ^8.0.0
version: 8.0.0
@@ -267,6 +285,9 @@ catalogs:
'@types/xml2js':
specifier: ^0.4.14
version: 0.4.14
'@uiw/react-codemirror':
specifier: ^4.25.11
version: 4.25.11
'@vitejs/plugin-react':
specifier: ^6.0.3
version: 6.0.3
@@ -285,6 +306,12 @@ catalogs:
'@xterm/xterm':
specifier: ^6.0.0
version: 6.0.0
acorn:
specifier: ^8.16.0
version: 8.16.0
acorn-jsx:
specifier: ^5.3.2
version: 5.3.2
adm-zip:
specifier: 0.5.18
version: 0.5.18
@@ -462,9 +489,6 @@ catalogs:
react-error-boundary:
specifier: ^6.1.2
version: 6.1.2
react-jsx-parser:
specifier: ^2.4.1
version: 2.4.1
react-markdown:
specifier: ^10.1.0
version: 10.1.0
@@ -782,6 +806,24 @@ importers:
apps/nextjs:
dependencies:
'@codemirror/autocomplete':
specifier: 'catalog:'
version: 6.20.3
'@codemirror/commands':
specifier: 'catalog:'
version: 6.10.3
'@codemirror/lang-javascript':
specifier: 'catalog:'
version: 6.2.5
'@codemirror/lang-json':
specifier: 'catalog:'
version: 6.0.2
'@codemirror/lint':
specifier: 'catalog:'
version: 6.9.6
'@codemirror/view':
specifier: 'catalog:'
version: 6.43.0
'@dnd-kit/core':
specifier: 'catalog:'
version: 6.3.1(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
@@ -944,6 +986,9 @@ importers:
'@trpc/server':
specifier: 'catalog:'
version: 11.18.0(typescript@6.0.3)
'@uiw/react-codemirror':
specifier: 'catalog:'
version: 4.25.11(@babel/runtime@7.29.7)(@codemirror/autocomplete@6.20.3)(@codemirror/language@6.12.3)(@codemirror/lint@6.9.6)(@codemirror/search@6.7.1)(@codemirror/state@6.6.0)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.0)(codemirror@6.0.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
'@xterm/addon-canvas':
specifier: 'catalog:'
version: 0.7.0(@xterm/xterm@6.0.0)
@@ -1350,6 +1395,9 @@ importers:
trpc-to-openapi:
specifier: 'catalog:'
version: 3.3.0(patch_hash=2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c)(@trpc/server@11.18.0(typescript@6.0.3))(zod-openapi@5.3.0(zod@4.4.3))(zod@4.4.3)
undici:
specifier: 'catalog:'
version: 7.28.0
zod:
specifier: 'catalog:'
version: 4.4.3
@@ -2496,6 +2544,12 @@ importers:
'@homarr/translation':
specifier: workspace:^0.1.0
version: link:../translation
acorn:
specifier: 'catalog:'
version: 8.16.0
acorn-jsx:
specifier: 'catalog:'
version: 5.3.2(acorn@8.16.0)
zod:
specifier: 'catalog:'
version: 4.4.3
@@ -2647,6 +2701,12 @@ importers:
'@tiptap/starter-kit':
specifier: 'catalog:'
version: 3.27.1
acorn:
specifier: 'catalog:'
version: 8.16.0
acorn-jsx:
specifier: 'catalog:'
version: 5.3.2(acorn@8.16.0)
clsx:
specifier: 'catalog:'
version: 2.1.1
@@ -2674,9 +2734,6 @@ importers:
react-dom:
specifier: 'catalog:'
version: 19.2.7(react@19.2.7)
react-jsx-parser:
specifier: 'catalog:'
version: 2.4.1(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
react-markdown:
specifier: 'catalog:'
version: 10.1.0(@types/react@19.2.17)(react@19.2.7)
@@ -3597,9 +3654,15 @@ packages:
'@codemirror/lint@6.9.6':
resolution: {integrity: sha512-6Kp7r6XfCi/D/5sdXieMfg9pJU1bUEx96WITuLU6ESaKizCz0QHFMjY/TaFSbigDdEAIgi93itLBIUETP4oK+A==}
'@codemirror/search@6.7.1':
resolution: {integrity: sha512-uMe5UO6PamJtSHrXhhHOzSX3ReWtiJrva6GnPMwSOrZtiExb5X5eExhr2OUZQVvdxPsKpY3Ro2mFbQadpPWmHA==}
'@codemirror/state@6.6.0':
resolution: {integrity: sha512-4nbvra5R5EtiCzr9BTHiTLc+MLXK2QGiAVYMyi8PkQd3SR+6ixar/Q/01Fa21TBIDOZXgeWV4WppsQolSreAPQ==}
'@codemirror/theme-one-dark@6.1.3':
resolution: {integrity: sha512-NzBdIvEJmx6fjeremiGp3t/okrLPYT0d9orIc7AFun8oZcRk58aejkqhv6spnz4MLAevrKNPMQYXEWMg4s+sKA==}
'@codemirror/view@6.43.0':
resolution: {integrity: sha512-V7ZCLQO3Jus9hzh2jVCCPW3mO4IBMr43O37PqSUYautJSnnJF41YlgLw21x0fLJTYvJ+Vkm6Gp+qKGH9pltgXA==}
@@ -7901,20 +7964,12 @@ packages:
'@types/prismjs@1.26.6':
resolution: {integrity: sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==}
'@types/prop-types@15.7.15':
resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
'@types/qs@6.9.16':
resolution: {integrity: sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==}
'@types/range-parser@1.2.7':
resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
'@types/react-dom@18.3.7':
resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}
peerDependencies:
'@types/react': ^18.0.0
'@types/react-dom@19.2.3':
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
peerDependencies:
@@ -7929,9 +7984,6 @@ packages:
'@types/react-router@5.1.20':
resolution: {integrity: sha512-jGjmu/ZqS7FjSH6owMcD5qpq19+1RS9DeVRqfl1FeBMxTDQAGwlMWOcs52NDoXaNKyG3d1cYQFMs9rCrb88o9Q==}
'@types/react@18.3.31':
resolution: {integrity: sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==}
'@types/react@19.2.17':
resolution: {integrity: sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==}
@@ -8010,6 +8062,28 @@ packages:
'@types/yargs@17.0.35':
resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}
'@uiw/codemirror-extensions-basic-setup@4.25.11':
resolution: {integrity: sha512-otyFa+n9IOYtEjaKOxPedHkj15fTPUF21wdR9pv0GpZPfuGl27cvmcv6+tognbRu9VvEcsHKE+ESoszeo3KfTw==}
peerDependencies:
'@codemirror/autocomplete': '>=6.0.0'
'@codemirror/commands': '>=6.0.0'
'@codemirror/language': '>=6.0.0'
'@codemirror/lint': '>=6.0.0'
'@codemirror/search': '>=6.0.0'
'@codemirror/state': '>=6.0.0'
'@codemirror/view': '>=6.0.0'
'@uiw/react-codemirror@4.25.11':
resolution: {integrity: sha512-DYVFAKLX+F/4JS9N/7xexh+TICrlncwkX9HKKInrP1bwO0tSfc3k0GB6oawTYhelVKh20cX3TuRx+NJSkVXuMw==}
peerDependencies:
'@babel/runtime': '>=7.29.7'
'@codemirror/state': '>=6.0.0'
'@codemirror/theme-one-dark': '>=6.0.0'
'@codemirror/view': '>=6.0.0'
codemirror: '>=6.0.0'
react: '>=17.0.0'
react-dom: '>=17.0.0'
'@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
@@ -8953,6 +9027,9 @@ packages:
resolution: {integrity: sha512-Kbpv2Yd1NdL1V/V4cwLVxraHDV6K8ayohr2rmH0J87Er8+zJjcTa6dAn9QMPC9CRgU8+aNajKbSf1TzDB1yKPA==}
engines: {node: '>=8.0.0'}
codemirror@6.0.2:
resolution: {integrity: sha512-VhydHotNW5w1UGK0Qj96BwSk/Zqbp9WbnyK2W/eVMv4QyF41INRGpjUhFJY7/uDNuudSc33a/PKr4iDqRduvHw==}
collapse-white-space@2.1.0:
resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}
@@ -13375,13 +13452,6 @@ packages:
peerDependencies:
react: ^18.0.0 || ^19.0.0
react-jsx-parser@2.4.1:
resolution: {integrity: sha512-gE25DiHseuKmSbb5O1K1IkyQ/bwth3zl4z3EdW8XMhwrb2agUpuh8GvqHFvGwh/wdZjDDuadGrSR2lEgjcOvqQ==}
engines: {bun: ^1.1.27}
peerDependencies:
react: '>=18'
react-dom: '>=18'
react-loadable-ssr-addon-v5-slorber@1.0.3:
resolution: {integrity: sha512-GXfh9VLwB5ERaCsU6RULh7tkemeX15aNh6wuMEBtfdyMa7fFG8TXrhXlx1SoEK2Ty/l6XIkzzYIQmyaWW3JgdQ==}
engines: {node: '>=10.13.0'}
@@ -16510,10 +16580,23 @@ snapshots:
'@codemirror/view': 6.43.0
crelt: 1.0.6
'@codemirror/search@6.7.1':
dependencies:
'@codemirror/state': 6.6.0
'@codemirror/view': 6.43.0
crelt: 1.0.6
'@codemirror/state@6.6.0':
dependencies:
'@marijn/find-cluster-break': 1.0.2
'@codemirror/theme-one-dark@6.1.3':
dependencies:
'@codemirror/language': 6.12.3
'@codemirror/state': 6.6.0
'@codemirror/view': 6.43.0
'@lezer/highlight': 1.2.3
'@codemirror/view@6.43.0':
dependencies:
'@codemirror/state': 6.6.0
@@ -21580,18 +21663,10 @@ snapshots:
'@types/prismjs@1.26.6': {}
'@types/prop-types@15.7.15':
optional: true
'@types/qs@6.9.16': {}
'@types/range-parser@1.2.7': {}
'@types/react-dom@18.3.7(@types/react@18.3.31)':
dependencies:
'@types/react': 18.3.31
optional: true
'@types/react-dom@19.2.3(@types/react@19.2.17)':
dependencies:
'@types/react': 19.2.17
@@ -21613,12 +21688,6 @@ snapshots:
'@types/history': 4.7.11
'@types/react': 19.2.17
'@types/react@18.3.31':
dependencies:
'@types/prop-types': 15.7.15
csstype: 3.2.3
optional: true
'@types/react@19.2.17':
dependencies:
csstype: 3.2.3
@@ -21706,6 +21775,33 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.3
'@uiw/codemirror-extensions-basic-setup@4.25.11(@codemirror/autocomplete@6.20.3)(@codemirror/commands@6.10.3)(@codemirror/language@6.12.3)(@codemirror/lint@6.9.6)(@codemirror/search@6.7.1)(@codemirror/state@6.6.0)(@codemirror/view@6.43.0)':
dependencies:
'@codemirror/autocomplete': 6.20.3
'@codemirror/commands': 6.10.3
'@codemirror/language': 6.12.3
'@codemirror/lint': 6.9.6
'@codemirror/search': 6.7.1
'@codemirror/state': 6.6.0
'@codemirror/view': 6.43.0
'@uiw/react-codemirror@4.25.11(@babel/runtime@7.29.7)(@codemirror/autocomplete@6.20.3)(@codemirror/language@6.12.3)(@codemirror/lint@6.9.6)(@codemirror/search@6.7.1)(@codemirror/state@6.6.0)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.0)(codemirror@6.0.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)':
dependencies:
'@babel/runtime': 7.29.7
'@codemirror/commands': 6.10.3
'@codemirror/state': 6.6.0
'@codemirror/theme-one-dark': 6.1.3
'@codemirror/view': 6.43.0
'@uiw/codemirror-extensions-basic-setup': 4.25.11(@codemirror/autocomplete@6.20.3)(@codemirror/commands@6.10.3)(@codemirror/language@6.12.3)(@codemirror/lint@6.9.6)(@codemirror/search@6.7.1)(@codemirror/state@6.6.0)(@codemirror/view@6.43.0)
codemirror: 6.0.2
react: 19.2.7
react-dom: 19.2.7(react@19.2.7)
transitivePeerDependencies:
- '@codemirror/autocomplete'
- '@codemirror/language'
- '@codemirror/lint'
- '@codemirror/search'
'@ungap/structured-clone@1.3.0': {}
'@unhead/vue@2.1.15(vue@3.5.35(typescript@6.0.3))':
@@ -22757,6 +22853,16 @@ snapshots:
raw-body: 2.5.3
type-is: 1.6.18
codemirror@6.0.2:
dependencies:
'@codemirror/autocomplete': 6.20.3
'@codemirror/commands': 6.10.3
'@codemirror/language': 6.12.3
'@codemirror/lint': 6.9.6
'@codemirror/search': 6.7.1
'@codemirror/state': 6.6.0
'@codemirror/view': 6.43.0
collapse-white-space@2.1.0: {}
color-convert@1.9.3:
@@ -27766,16 +27872,6 @@ snapshots:
dependencies:
react: 19.2.7
react-jsx-parser@2.4.1(react-dom@19.2.7(react@19.2.7))(react@19.2.7):
dependencies:
acorn: 8.16.0
acorn-jsx: 5.3.2(acorn@8.16.0)
react: 19.2.7
react-dom: 19.2.7(react@19.2.7)
optionalDependencies:
'@types/react': 18.3.31
'@types/react-dom': 18.3.7(@types/react@18.3.31)
react-loadable-ssr-addon-v5-slorber@1.0.3(@docusaurus/react-loadable@6.0.0(react@19.2.7))(webpack@5.107.1(@swc/core@1.15.3(@swc/helpers@0.5.15))(esbuild@0.28.1)(postcss@8.5.16)):
dependencies:
'@babel/runtime': 7.29.7