Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit df68ed3

Browse files
committed
Merge branch 'develop' into tree
2 parents 369eb78 + 63ce62a commit df68ed3

File tree

39 files changed

+1478
-1367
lines changed

39 files changed

+1478
-1367
lines changed

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
pull_request:
1212
paths:
1313
- .github/actions/build-electron/*
14+
- .github/workflows/nightly.yml
1415
- forge.config.cjs
1516

1617
concurrency:
@@ -76,7 +77,7 @@ jobs:
7677
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
7778

7879
- name: Publish release
79-
uses: softprops/action-gh-release@v2.2.2
80+
uses: softprops/action-gh-release@v2.3.2
8081
if: ${{ github.event_name != 'pull_request' }}
8182
with:
8283
make_latest: false
@@ -116,7 +117,7 @@ jobs:
116117
arch: ${{ matrix.arch }}
117118

118119
- name: Publish release
119-
uses: softprops/action-gh-release@v2.2.2
120+
uses: softprops/action-gh-release@v2.3.2
120121
if: ${{ github.event_name != 'pull_request' }}
121122
with:
122123
make_latest: false

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
path: upload
115115

116116
- name: Publish stable release
117-
uses: softprops/action-gh-release@v2.2.2
117+
uses: softprops/action-gh-release@v2.3.2
118118
with:
119119
draft: false
120120
body_path: docs/Release Notes/Release Notes/${{ github.ref_name }}.md

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
22

3+
# Workaround for Nx bug: parent .gitignore files with '*' can cause
4+
# `nx show projects` to return nothing by ignoring subprojects.
5+
# See: https://github.com/nrwl/nx/issues/27368
6+
# Unignore everything to ensure Nx detects all projects
7+
!*
8+
39
# compiled output
410
dist
511
tmp
@@ -45,4 +51,4 @@ upload
4551
.rollup.cache
4652
*.tsbuildinfo
4753

48-
/result
54+
/result

_regroup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"chore:generate-openapi": "tsx bin/generate-openapi.js"
3636
},
3737
"devDependencies": {
38-
"@playwright/test": "1.52.0",
38+
"@playwright/test": "1.53.0",
3939
"@stylistic/eslint-plugin": "4.4.1",
4040
"@types/express": "5.0.3",
4141
"@types/node": "22.15.31",

apps/client/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"mind-elixir": "4.6.0",
5252
"normalize.css": "8.0.1",
5353
"panzoom": "9.4.3",
54-
"react": "19.1.0",
55-
"react-dom": "19.1.0",
54+
"preact": "10.26.9",
5655
"split.js": "1.6.5",
5756
"svg-pan-zoom": "3.6.2",
5857
"vanilla-js-wheel-zoom": "9.0.4"
@@ -64,18 +63,18 @@
6463
"@types/leaflet": "1.9.18",
6564
"@types/leaflet-gpx": "1.3.7",
6665
"@types/mark.js": "8.11.12",
67-
"@types/react": "19.1.7",
68-
"@types/react-dom": "19.1.6",
6966
"copy-webpack-plugin": "13.0.0",
70-
"happy-dom": "17.6.3",
67+
"happy-dom": "18.0.1",
7168
"script-loader": "0.7.2",
7269
"vite-plugin-static-copy": "3.0.0"
7370
},
7471
"nx": {
7572
"name": "client",
7673
"targets": {
7774
"serve": {
78-
"dependsOn": ["^build"]
75+
"dependsOn": [
76+
"^build"
77+
]
7978
}
8079
}
8180
}

apps/client/src/translations/cn/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@
13331333
"recovery_keys_used": "已使用: {{date}}",
13341334
"recovery_keys_unused": "恢复代码 {{index}} 未使用",
13351335
"oauth_title": "OAuth/OpenID 认证",
1336-
"oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账户登录网站,以验证您的身份。请参阅这些 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">指南</a> 通过 Google 设置 OpenID 服务。",
1336+
"oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账号登录网站来验证您的身份。默认的身份提供者是 Google,但您可以更改为任何其他 OpenID 提供者。点击<a href=\"#root/_hidden/_help/_help_Otzi9La2YAUX/_help_WOcw2SLH6tbX/_help_7DAiwaf8Z7Rz\">这里</a>了解更多信息。请参阅这些 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">指南</a> 通过 Google 设置 OpenID 服务。",
13371337
"oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。如果要从环境变量设置,请设置 TRILIUM_OAUTH_BASE_URL、TRILIUM_OAUTH_CLIENT_ID 和 TRILIUM_OAUTH_CLIENT_SECRET 环境变量。",
13381338
"oauth_missing_vars": "缺少以下设置项: {{missingVars}}",
13391339
"oauth_user_account": "用户账号:",

apps/client/src/translations/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@
14931493
"recovery_keys_used": "Used: {{date}}",
14941494
"recovery_keys_unused": "Recovery code {{index}} is unused",
14951495
"oauth_title": "OAuth/OpenID",
1496-
"oauth_description": "OpenID is a standardized way to let you log into websites using an account from another service, like Google, to verify your identity. Follow these <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">instructions</a> to setup an OpenID service through Google.",
1496+
"oauth_description": "OpenID is a standardized way to let you log into websites using an account from another service, like Google, to verify your identity. The default issuer is Google, but you can change it to any other OpenID provider. Check <a href=\"#root/_hidden/_help/_help_Otzi9La2YAUX/_help_WOcw2SLH6tbX/_help_7DAiwaf8Z7Rz\">here</a> for more information. Follow these <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">instructions</a> to setup an OpenID service through Google.",
14971497
"oauth_description_warning": "To enable OAuth/OpenID, you need to set the OAuth/OpenID base URL, client ID and client secret in the config.ini file and restart the application. If you want to set from environment variables, please set TRILIUM_OAUTH_BASE_URL, TRILIUM_OAUTH_CLIENT_ID and TRILIUM_OAUTH_CLIENT_SECRET.",
14981498
"oauth_missing_vars": "Missing settings: {{variables}}",
14991499
"oauth_user_account": "User Account: ",

apps/client/src/types-assets.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ declare module "*.png" {
33
export default path;
44
}
55

6-
declare module "@triliumnext/ckeditor5/emoji_definitions/en.json?url" {
6+
declare module "*?url" {
77
var path: string;
88
export default path;
99
}

apps/client/src/types.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ declare global {
5757

5858
process?: ElectronProcess;
5959
glob?: CustomGlobals;
60+
61+
EXCALIDRAW_ASSET_PATH?: string;
6062
}
6163

6264
interface AutoCompleteConfig {

0 commit comments

Comments
 (0)