mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 09:35:39 +00:00
4d2a4e0488
UI: group chip buttons changed to icon-only (matching folder chips), Create Group tile styling unified with Create Folder, old .group-chip-action CSS replaced with unified .chip-action class. Go server: peerResponse and singlePeerResponse now return status as int (1=active, 0=disabled) instead of string, added status_text for admin panel backward compat. Fixes RustDesk client crash 'type String is not a subtype of type int?'. Go server: new handleUsersWithClientFallback — detects RustDesk client requests to /api/users and returns current user without requiring user.view permission. Fixes disappearing folders/groups caused by _getUsers() 403 short-circuiting _pull(). Node.js: normalisePeer updated to use status_text fallback for status_tier. Branding: RustDesk Server Management -> BetterDesk Server Management across themes, i18n, settings. Console version bumped to 3.0.0. This commit was made possible thanks to Insolve.
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "betterdesk-console",
|
|
"version": "3.0.0",
|
|
"description": "BetterDesk Console - Professional Web Management Panel for BetterDesk Server",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "node --watch server.js",
|
|
"test": "jest --detectOpenHandles --forceExit",
|
|
"test:ci": "jest --detectOpenHandles --forceExit --ci",
|
|
"i18n:check": "node scripts/i18n-check.js",
|
|
"i18n:fix": "node scripts/i18n-check.js --fix"
|
|
},
|
|
"keywords": [
|
|
"rustdesk",
|
|
"betterdesk",
|
|
"remote-desktop",
|
|
"management-console"
|
|
],
|
|
"author": "UNITRONIX",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"axios": "^1.9.0",
|
|
"bcrypt": "^5.1.1",
|
|
"better-sqlite3": "^11.3.0",
|
|
"cookie-parser": "^1.4.7",
|
|
"csrf-csrf": "^3.0.6",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.21.2",
|
|
"express-rate-limit": "^7.4.1",
|
|
"express-session": "^1.18.1",
|
|
"helmet": "^7.2.0",
|
|
"multer": "^2.0.0",
|
|
"otplib": "^12.0.1",
|
|
"protobufjs": "^7.4.0",
|
|
"qrcode": "^1.5.4",
|
|
"tweetnacl": "^1.0.3",
|
|
"tweetnacl-util": "^0.15.1",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"pg": "^8.13.0",
|
|
"node-pty": "^1.0.0"
|
|
},
|
|
"overrides": {
|
|
"tar": "^7.5.11",
|
|
"path-to-regexp": "^0.1.13",
|
|
"brace-expansion": "^1.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"supertest": "^7.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|