Added
- A picture as the desktop wallpaper (M53): Settings → Appearance has Picture under the wallpaper color: choose a PNG, JPEG or WebP (under 50 MB) from your computer. It is scaled down to 2560 px and kept on this computer, never uploaded, and Dim picture darkens it (up to 70%) so icons and text stay readable. Settings → Performance → Wallpaper picture switches it off on its own: Beautiful and Balanced show it, Light does not, and without a picture nothing changes or costs anything. On the development Mac a picture added about 30 MB of memory and no measurable CPU or dropped frames (render bench, 3 runs:
scripts/bench.sh --wallpaper, which anyone can run on their own machine). - Dragging windows (#262): Settings → Performance has a new setting for how a window follows the pointer while you drag it. Live is what it was. Simple moves the window too, but turns the glass off until you let go. Outline moves only an outline and puts the window there when you let go, for computers that paint the window on the CPU, where dragging a big translucent window is slow. Outline has a light tint inside, which Fill the outline turns off for the lightest drag. It is Live unless you change it, and the performance levels are unchanged.
- System logo beside a server's name: the cards and the list in All servers and the server menu show the logo of the system each server runs (Ubuntu, Debian, Fedora, Arch, Windows, macOS and more). Davish reads it from
/etc/os-releasewhen the server connects and remembers it; a server whose system is not known yet, or has no logo of its own, shows a plain server glyph - Choose what opens when Davish starts (#273, #281): Settings → General has When Davish opens: All servers shows the list of servers, Last server opens and connects to the one you used last (what Davish always did), and Nothing opens the last server's workspace without connecting, for servers behind a VPN or in production. A new install opens on All servers; if you already have servers, you keep Last server.
- Turn off password login from Security: Password login in Security is now a switch instead of a command to type in a terminal. Turning it off checks that your key logs in over a new connection, backs up the sshd settings, adds a drop-in file, checks it with
sshd -tandsshd -T, reloads sshd and checks the key again, and undoes the change if the key no longer logs in. It is not offered when aMatchblock orAuthenticationMethodswould make it lock people out or not apply, or when Davish logs in with a password. The dialog shows the whole script first, and the same switch turns password login back on - Duplicate a server (#257): the copy icon on a card or a row in All servers opens the add dialog filled in from that server, with the name as
name (copy), so only what differs is typed. Nothing is created until you save. Passwords, key passphrases and the control socket are not copied. - Connect through an OpenSSH control socket (#240): for logins that only work through OpenSSH, such as an agent that issues certificates on demand (authentik), the server dialog has an Advanced: use an ssh control socket field. Start a master yourself (
ssh -M -S <path> -fN user@host) and give Davish its path: it attaches to that connection, so OpenSSH does the login and Davish never sees your credentials. It replaces the authentication of that server, and works on Linux and macOS only. Tried against authentik by @PlayerFann14.
Changed
- Disk → Clean up: before a cleanup runs, the confirmation lists the files it would remove (the largest 200, with sizes) for old logs, container logs, core dumps, temporary files and
~/.cache. The list comes from the same selection as the delete command, read-only. When it is read without root, it says so. The old text claiming that logs being written are not touched was wrong and is gone (#296). - With a picture as the wallpaper, the menu bar now follows the picture's brightness instead of the theme: light text on smoky glass over a dark picture, dark text on light glass over a bright one, so its labels, icons and clock stay readable (as on macOS). It is worked out once, when the picture is chosen, from the strip at the top and the dim level, and only while the glass is see-through.
- The readings in the menu bar (CPU, RAM, Disk, network) are bigger: the ring, its number and its name grow by about a tenth, so they are easier to read (#288).
- The log now says when the SSH agent could not be reached, and why (for example a Windows pipe that is busy or not there), so a support log can tell "no agent" from "an agent that would not open", and how long the agent took to answer. An agent that waits for you to unlock or confirm, such as Bitwarden's, may need more than the 5 seconds Davish waits: start Davish with
DAVISH_AGENT_WAIT=60(seconds, 1 to 300) to wait longer (#168).
Fixed
- Security: Block and Ban refuse an address that would cut you off:
0.0.0.0/0and other very wide ranges, loopback, and the address Davish connects from (the server tells it throughSSH_CLIENT). Run in several servers: the typed confirmation now also coversapt remove/purge,find -delete,xargs,mv,cp,sed -i,tee,docker compose down,git reset --hard,ufw disableand similar. Database: dropping a system database (mysql,postgres,admin…) is refused, and restoring a MongoDB archive says it replaces each collection of the same name. - Disk: cleanups were rechecked after #296. Temporary files now need to be neither read nor changed for 7 days and skip a service's private
/tmp. The Docker stopped-container and unused-volume cleanups list what they would remove. Texts that promised too much now say what is lost: images you built yourself cannot be pulled again, container logs lose their history,~/.cachecan hold large downloads. Nginx: deleting a site's Let's Encrypt certificate now says Davish cannot see a mail server or other program that may use it. - All servers: the list scrolls again when its servers are taller than the window, in both the cards and the table. In 1.15.1 it was cut off at the window's edge and the servers below could not be reached (#256).
- A PuTTY
.ppkkey used as a server's private key now gets a clear message with how to convert it (PuTTYgen → Conversions → Export OpenSSH key), instead of a generic "cannot read the private key" (#264). Davish still cannot read.ppkitself. - Disk: the "Old rotated logs" cleanup no longer deletes files like PCP's live archive volumes (
20261125.00.10.0). It matched any name ending in.0-.9; now the number must follow a letter, as insyslog.1orauth.log.2(#296).
Tiếng Việt
Thêm
- Ảnh làm hình nền desktop (M53): Cài đặt → Giao diện có mục Ảnh dưới màu nền: chọn một ảnh PNG, JPEG hoặc WebP (dưới 50 MB) từ máy bạn. Ảnh được thu nhỏ về 2560 px và giữ trên máy này, không tải lên đâu, còn Làm tối ảnh làm ảnh tối đi (tối đa 70%) để icon và chữ vẫn dễ đọc. Cài đặt → Hiệu năng → Ảnh nền tắt riêng được: Beautiful và Balanced hiện ảnh, Light thì không, và khi chưa chọn ảnh thì không đổi gì và không tốn gì. Trên máy Mac dùng để phát triển, một ảnh tốn thêm khoảng 30 MB bộ nhớ và không đo được thêm CPU hay rớt khung (bench render, 3 lần:
scripts/bench.sh --wallpaper, ai cũng chạy được trên máy mình). - Kéo cửa sổ (#262): Cài đặt → Hiệu năng có thêm một cài đặt cho cách cửa sổ đi theo chuột khi kéo. Trực tiếp như trước. Đơn giản vẫn di chuyển cửa sổ nhưng tắt kính cho tới khi thả. Viền chỉ di chuyển một đường viền và đặt cửa sổ vào đó khi thả, cho máy vẽ cửa sổ bằng CPU, nơi kéo một cửa sổ mờ lớn thì chậm. Viền có nền mờ bên trong, Tô nền viền tắt nền đó để kéo nhẹ nhất. Mặc định là Trực tiếp nếu bạn không đổi, và các mức hiệu năng không đổi.
- Logo hệ điều hành cạnh tên server: thẻ và danh sách trong Tất cả server, cùng menu chọn server, hiện logo hệ điều hành mà mỗi server chạy (Ubuntu, Debian, Fedora, Arch, Windows, macOS và nhiều hơn). Davish đọc từ
/etc/os-releasekhi server kết nối rồi nhớ lại; server chưa biết hệ hoặc không có logo riêng thì hiện hình server đơn giản - Chọn cái gì mở khi Davish khởi động (#273, #281): Cài đặt → Chung có mục Khi mở Davish: Tất cả server hiện danh sách server, Server cuối mở và kết nối server bạn dùng lần trước (như Davish vẫn làm), còn Không gì mở workspace của server cuối mà không kết nối, cho server sau VPN hoặc đang chạy thật. Bản cài mới mở Tất cả server; nếu bạn đã có server thì giữ Server cuối.
- Tắt đăng nhập bằng mật khẩu từ An ninh: Đăng nhập bằng mật khẩu ở An ninh giờ là một công tắc thay vì một lệnh gõ trong terminal. Tắt thì thử key đăng nhập được qua một kết nối mới, sao lưu cấu hình sshd, thêm một file, kiểm tra bằng
sshd -tvàsshd -T, reload sshd rồi thử lại key, và hoàn tác nếu key không còn đăng nhập được. Không cho tắt khi một khốiMatchhoặcAuthenticationMethodssẽ khiến người ta bị khóa hoặc thay đổi không có tác dụng, hoặc khi Davish đang đăng nhập bằng mật khẩu. Hộp thoại hiện cả script trước, và cùng công tắc đó bật lại - Nhân bản server (#257): icon sao chép trên thẻ hoặc hàng trong Tất cả server mở hộp thoại thêm server đã điền sẵn từ server đó, tên thành
tên (copy), nên chỉ gõ chỗ khác biệt. Chưa lưu thì chưa tạo gì. Mật khẩu, passphrase của key và control socket không được sao chép. - Kết nối qua control socket của OpenSSH (#240): với kiểu đăng nhập chỉ chạy được qua OpenSSH, như agent cấp chứng chỉ theo yêu cầu (authentik), hộp thoại server có ô Nâng cao: dùng control socket của ssh. Bạn tự chạy một master (
ssh -M -S <đường dẫn> -fN user@host) rồi đưa đường dẫn của nó cho Davish: Davish gắn vào kết nối đó, nên OpenSSH lo việc đăng nhập và Davish không bao giờ thấy thông tin đăng nhập của bạn. Nó thay thế phần xác thực của server đó, và chỉ có trên Linux và macOS. Đã thử với authentik bởi @PlayerFann14.
Đổi
- Disk → Dọn dẹp: trước khi chạy, hộp xác nhận liệt kê các file sẽ bị xóa (200 file lớn nhất, kèm dung lượng) cho log cũ, log container, core dump, file tạm và
~/.cache. Danh sách lấy từ đúng cách chọn file của lệnh xóa, chỉ đọc. Khi đọc mà chưa có quyền root, hộp báo rõ. Câu cũ nói log đang ghi không bị đụng tới là sai nên đã bỏ (#296). - Khi dùng ảnh làm hình nền, menu bar giờ theo độ sáng của ảnh chứ không theo giao diện sáng/tối: chữ sáng trên kính khói khi ảnh tối, chữ tối trên kính sáng khi ảnh sáng, để nhãn, icon và đồng hồ luôn dễ đọc (như macOS). Độ sáng được tính một lần lúc chọn ảnh, từ dải trên cùng và mức làm tối, và chỉ khi kính còn trong suốt.
- Các chỉ số trên thanh menu (CPU, RAM, Ổ đĩa, mạng) to hơn: vòng, số trong vòng và tên tăng khoảng một phần mười, dễ đọc hơn (#288).
- Nhật ký giờ ghi lại khi không kết nối được SSH agent và vì sao (ví dụ pipe của Windows đang bận hoặc không có), để nhìn log biết được "không có agent" khác "có agent nhưng không mở được", và agent trả lời sau bao lâu. Agent chờ bạn mở khóa hoặc xác nhận, như của Bitwarden, có thể cần hơn 5 giây Davish chờ: chạy Davish với
DAVISH_AGENT_WAIT=60(giây, từ 1 đến 300) để chờ lâu hơn (#168).
Sửa
- An ninh: Chặn và Ban từ chối địa chỉ có thể khóa bạn ra ngoài:
0.0.0.0/0và các dải quá rộng khác, loopback, và địa chỉ Davish đang dùng để kết nối (server báo quaSSH_CLIENT). Chạy trên nhiều server: bước gõ xác nhận giờ cũng áp choapt remove/purge,find -delete,xargs,mv,cp,sed -i,tee,docker compose down,git reset --hard,ufw disablevà các lệnh tương tự. Database: từ chối xóa database hệ thống (mysql,postgres,admin…), và khôi phục MongoDB nói rõ là thay thế từng collection cùng tên. - Disk: rà lại các mục dọn sau #296. File tạm giờ phải không được đọc lẫn sửa suốt 7 ngày và bỏ qua
/tmpriêng của dịch vụ. Dọn container đã dừng và volume không dùng của Docker có danh sách xem trước. Các chuỗi hứa quá giờ nói rõ cái gì sẽ mất: image tự build không tải lại được, log container mất lịch sử,~/.cachecó thể chứa thứ tải về rất nặng. Nginx: xóa chứng chỉ Let's Encrypt của site giờ nói rõ Davish không thấy được mail server hay chương trình khác có thể đang dùng nó. - Tất cả server: danh sách cuộn lại được khi các server cao hơn cửa sổ, ở cả dạng thẻ và dạng bảng. Ở bản 1.15.1 nó bị cắt ở mép cửa sổ và không tới được các server bên dưới (#256).
- Key
.ppkcủa PuTTY dùng làm private key của server giờ được báo rõ cách chuyển đổi (PuTTYgen → Conversions → Export OpenSSH key), thay vì "không đọc được private key" chung chung (#264). Davish vẫn chưa tự đọc được.ppk. - Disk: dọn "log đã xoay vòng" không còn xóa nhầm file như volume lưu trữ đang ghi của PCP (
20261125.00.10.0). Trước đây mọi tên kết thúc bằng.0-.9đều khớp; giờ chữ số phải đứng sau một chữ cái, nhưsyslog.1hayauth.log.2(#296).