Various QoL fixes for Desktop App (#2999)
* Some ESLint fixes * Add login/logout signal to API, clear mentions on logout and flush cookies on login/logout * Fix issue where local and HTTP-only servers would not validate correctly * Reduce noise of renderer logging, adjust a few local renderer logs to be louder when needed * Fallback to beginning of hostname for servers that don't change the site name * Fix Save Image crash * Update the name for insecure servers too * Fix test * Fix lint * Reduce repetition
This commit is contained in:
39
package-lock.json
generated
39
package-lock.json
generated
@@ -43,7 +43,7 @@
|
||||
"@babel/preset-typescript": "7.23.3",
|
||||
"@electron/fuses": "1.6.0",
|
||||
"@electron/rebuild": "3.6.0",
|
||||
"@mattermost/desktop-api": "*",
|
||||
"@mattermost/desktop-api": "file:api-types",
|
||||
"@mattermost/eslint-plugin": "1.1.0-0",
|
||||
"@types/auto-launch": "5.0.5",
|
||||
"@types/jest": "29.4.1",
|
||||
@@ -100,6 +100,20 @@
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
},
|
||||
"api-types": {
|
||||
"name": "@mattermost/desktop-api",
|
||||
"version": "5.8.0-4",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"typescript": "^4.3.0 || ^5.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
"version": "1.2.6",
|
||||
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
|
||||
@@ -5038,18 +5052,8 @@
|
||||
"integrity": "sha512-vQThJ4SAynnS2u94lQtZ9xANsStpVh8uTpsJascHJOWcavLuL2aDmMLgvg9EAx8Z1qRmTdP6hF5+IU5+9E9+Jg=="
|
||||
},
|
||||
"node_modules/@mattermost/desktop-api": {
|
||||
"version": "5.8.0-1",
|
||||
"resolved": "https://registry.npmjs.org/@mattermost/desktop-api/-/desktop-api-5.8.0-1.tgz",
|
||||
"integrity": "sha512-uS/vBY9ehaMolR2j7EAQSSZJl0TO5VHxDFraxy75QHpq9hD504lLlNKIjGUNgPeZSMWde+ah29xX2lBq12gt7A==",
|
||||
"dev": true,
|
||||
"peerDependencies": {
|
||||
"typescript": "5.3.3"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
"resolved": "api-types",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@mattermost/eslint-plugin": {
|
||||
"version": "1.1.0-0",
|
||||
@@ -9913,17 +9917,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/electron-dl": {
|
||||
"version": "3.5.2",
|
||||
"resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.5.2.tgz",
|
||||
"integrity": "sha512-i104cl+u8yJ0lhpRAtUWfeGuWuL1PL6TBiw2gLf0MMIBjfgE485Ags2mcySx4uWU9P9uj/vsD3jd7X+w1lzZxw==",
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.5.0.tgz",
|
||||
"integrity": "sha512-Oj+VSuScVx8hEKM2HEvTQswTX6G3MLh7UoAz/oZuvKyNDfudNi1zY6PK/UnFoK1nCl9DF6k+3PFwElKbtZlDig==",
|
||||
"dependencies": {
|
||||
"ext-name": "^5.0.0",
|
||||
"pupa": "^2.0.1",
|
||||
"unused-filename": "^2.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
|
Reference in New Issue
Block a user