fix(deployment): accept absolute local paths in mappings and name menu entries after the server (#885)

A mapping's local path may now be an absolute path inside the project (the form IntelliJ writes), and a deployment path of . means the server root; absolute paths outside the project are kept as they are. The project-tree Deployment submenu names the default server (Upload to <server>, Download from <server>, Sync with Deployed to <server>…) and gains Sync with Deployed to Default Server. Remote Host downloads use the backend-resolved mapping, which fixes downloads under symlinked or case-different paths.

Fixes #877

Co-authored-by: florentvdry <[email protected]>
Цей коміт міститься в:
Florent Vтаflorentvdry authored and GitHub committed 2026-11-03 23:35:43 +08:00
1 джерело 0396f0d552
коміт 2d4d6ee6bf
17 files changed
+372 -65

No files matched your search

+6 -1
Переглянути файл
@@ -4294,7 +4294,7 @@
"Use as Default": "设为默认",
"Mappings actions": "映射操作",
"No mappings: nothing is deployed": "没有映射:不会部署任何内容",
"Local paths are relative to the project root (empty: the whole project); deployment paths are relative to the server's root path.": "本地路径相对于项目根目录(为空表示整个项目);部署路径相对于服务器的根路径。",
"Local paths are relative to the project root or absolute inside it (empty: the whole project); deployment paths are relative to the server's root path.": "本地路径相对于项目根目录,或为项目内的绝对路径(为空表示整个项目);部署路径相对于服务器的根路径。",
"No excluded paths": "没有排除的路径",
"Excluded remote paths": "排除的远程路径",
"Remote paths that are never uploaded to, downloaded from or deleted.": "这些远程路径永远不会被上传、下载或删除。",
@@ -4309,6 +4309,11 @@
"Delete remote files when local are deleted": "删除本地文件时删除远程文件",
"Preserve files timestamps": "保留文件时间戳",
"Upload to Default Server": "上传到默认服务器",
"Upload to {server}": "上传到 {server}",
"Download from {server}": "从 {server} 下载",
"Sync with Deployed to {server}…": "与 {server} 上已部署的同步…",
"Sync with Deployed to Default Server": "与默认服务器上已部署的同步",
"Compare local files with the default deployment server and synchronize them": "将本地文件与默认部署服务器比较并同步",
"Upload the selected files and folders to the default deployment server": "将选定的文件和文件夹上传到默认部署服务器",
"Upload to…": "上传到…",
"Upload the selected files and folders to a deployment server": "将选定的文件和文件夹上传到部署服务器",