Prevent boards product from being included automatically (#23539)
* Prevent boards product from being included automatically * Fix config diff test * Update prepackaged plugin version Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> * Readd boards/dist to the gitignore * Does not enable the focalboard plugin by default * Update plugin version to v7.10.3 --------- Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d8cb5f3a6e
Коммит
1215584665
@@ -182,8 +182,6 @@ export default class Client4 {
|
||||
userRoles = '';
|
||||
telemetryHandler?: TelemetryHandler;
|
||||
|
||||
useBoardsProduct = false;
|
||||
|
||||
getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
@@ -247,10 +245,6 @@ export default class Client4 {
|
||||
this.telemetryHandler = telemetryHandler;
|
||||
}
|
||||
|
||||
setUseBoardsProduct(useBoardsProduct: boolean) {
|
||||
this.useBoardsProduct = useBoardsProduct;
|
||||
}
|
||||
|
||||
getServerVersion() {
|
||||
return this.serverVersion;
|
||||
}
|
||||
@@ -479,10 +473,6 @@ export default class Client4 {
|
||||
return `${this.getBaseRoute()}/drafts`;
|
||||
}
|
||||
|
||||
getBoardsRoute() {
|
||||
return `${this.url}/plugins/${this.useBoardsProduct ? 'boards' : 'focalboard'}/api/v2`;
|
||||
}
|
||||
|
||||
getCSRFFromCookie() {
|
||||
if (typeof document !== 'undefined' && typeof document.cookie !== 'undefined') {
|
||||
const cookies = document.cookie.split(';');
|
||||
|
||||
Ссылка в новой задаче
Block a user