d2435a561c
* wip * background download * various fixes * wip * wokring autoupgrade * fix menu * fix windows * cleanup * add publishername * fix messages and titles * Test updates * Moved module and added functionality to click icon to install (instead of just download) * Add auto update setting, update on close app if downloaded * Tests, changes for security fixes, update version number * Update E2E tests * Lint fix * Update to latest electron-updater * Revert to stable electron-builder (only needed to update electron-updater) * Fix package-lock * skip flaky test * Update package * Fix E2E test * Fixes for enabling/disabled autoupdater * Fixed GPO definitions * [MM-38300] Set localhost as the test server * blank * Switch to s3 bucket for testing * Update icons to match spec * Add menu items for download/update actions * Type and test fixes * Fix notification circle * Fix macOS app not restarting on Restart/Update * Update dialog box titles * Turn off file system check for Linux * Changes to support deployments * Testing autoupdater deployments to s3 * disable tests for now * asfrehwf * fine no windows WHATEVER * remove windows again * Try universal all in one * pffftttngggguhhhh * make sure it's working * Missed artifacts script * Modify destination as well * one more time! * Update yml files * Oops * add yq manually * oof * Fix the script to work properly * Fix release script * Fix script again so it runs in time * Build version 2 * Revert build specific changes * Lint override * Fix build apps for PR builds * One more change * Add file generation for .deb repo * Deb repo test * skip tests for now * Fix artifact push * Persist after repo creation * Put tests back * Fix unit tests * Enable mac generated builds temp * Temporarily disable tests * Fix issue where notification doesn't pop dialog box * Try version 2 again * Put the version back * Attempting to debug mac app path issue * Fix issue where Mac app will quarantine itself after first update * Lock versions of yq * Fix yq for mac * As usual, Mac is difficult :P * Add quotes to anti-quarantine command * Change to spawn to avoid command injection * Oops * Nightly deployment changes (#2005) * Test nightly deploy * I fixed a some things * aaaaaaaaa * Restore old bucket * Added progress indicator via tooltip * Ship nightly builds to main S3 bucket * PR feedback * Fix a couple security exploits * Fix opacity on light mode button * Use large app icon * Resize icon for Windows * Resize icon for Mac * Update to electron-updater final * Remove Mac support and deb repo * Typo * Remove deb script * Remove checksum function * Removed autoUpdateSettingsPath * Update URL Co-authored-by: = <=> Co-authored-by: Devin Binnie <devin.binnie@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
139 lines
5 KiB
JSON
139 lines
5 KiB
JSON
{
|
|
"extends": [
|
|
"./.eslintrc-webapp.json"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"webpack": {
|
|
"config": "webpack.config.base.js"
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"header/header": [
|
|
2,
|
|
"line",
|
|
[
|
|
" Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.",
|
|
" See LICENSE.txt for license information."
|
|
]
|
|
],
|
|
"import/no-commonjs": 2,
|
|
"no-process-env": 0,
|
|
"no-var": 2,
|
|
"react/no-find-dom-node": 2
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"scripts/**/*",
|
|
"src/main/preload/**/*",
|
|
"src/renderer/**/*"
|
|
],
|
|
"rules": {
|
|
"no-console": 0
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"e2e/**/*",
|
|
"src/**/*.test.js"
|
|
],
|
|
"env": {
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"babel/no-unused-expressions": "off", //TODO: rework tests to use correct notation
|
|
"func-names": 0,
|
|
"global-require": 0,
|
|
"new-cap": 0,
|
|
"prefer-arrow-callback": 0,
|
|
"no-import-assign": 0,
|
|
"no-only-tests/no-only-tests": "warn"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"webpack.config.renderer.js",
|
|
"e2e/specs/startup/app.test.js",
|
|
"e2e/specs/settings.test.js",
|
|
"e2e/modules/utils.js",
|
|
"e2e/modules/environment.js",
|
|
"CHANGELOG.md",
|
|
"webpack.config.base.js",
|
|
"babel.config.js",
|
|
"README.md",
|
|
"scripts/watch_main_and_preload.js",
|
|
"scripts/extract_dict.js",
|
|
"scripts/manipulate_windows_zip.js",
|
|
"scripts/check_build_config.js",
|
|
"LICENSE.txt",
|
|
"src/utils/util.ts",
|
|
"src/main/contextMenu.ts",
|
|
"src/renderer/updater.tsx",
|
|
"src/main/badge.ts",
|
|
"src/common/deepmerge.ts",
|
|
"src/common/config/index.ts",
|
|
"src/common/config/buildConfig.ts",
|
|
"src/common/config/pastDefaultPreferences.ts",
|
|
"src/common/config/upgradePreferences.ts",
|
|
"src/common/config/RegistryConfig.ts",
|
|
"src/common/osVersion.ts",
|
|
"src/common/config/defaultPreferences.ts",
|
|
"src/common/JsonFileManager.ts",
|
|
"src/main/certificateStore.ts",
|
|
"src/main/mainWindow.ts",
|
|
"src/main/allowProtocolDialog.ts",
|
|
"src/main/permissionRequestHandler.ts",
|
|
"src/main/squirrelStartup.ts",
|
|
"src/main/autoLaunch.ts",
|
|
"src/main/PermissionManager.ts",
|
|
"src/main/AutoLauncher.ts",
|
|
"src/main/AppStateManager.ts",
|
|
"src/main/menus/tray.ts",
|
|
"src/main/CriticalErrorHandler.ts",
|
|
"src/main/cookieManager.ts",
|
|
"src/main/utils.ts",
|
|
"src/main/downloadURL.ts",
|
|
"src/main/SpellChecker.ts",
|
|
"src/main/menus/app.ts",
|
|
"src/main/preload/mattermost.js",
|
|
"src/renderer/components/RemoveServerModal.tsx",
|
|
"src/renderer/components/MainPage.tsx",
|
|
"src/renderer/components/HoveringURL.tsx",
|
|
"src/renderer/components/AutoSaveIndicator.tsx",
|
|
"src/renderer/components/MattermostView.tsx",
|
|
"src/renderer/components/TabBar.tsx",
|
|
"src/renderer/components/DestructiveConfirmModal.tsx",
|
|
"src/renderer/components/ErrorView.tsx",
|
|
"src/renderer/components/UpdaterPage.tsx",
|
|
"src/renderer/components/PermissionRequestDialog.tsx",
|
|
"src/renderer/components/Finder.tsx",
|
|
"src/renderer/components/SettingsPage.tsx",
|
|
"src/renderer/components/TeamListItem.tsx",
|
|
"src/renderer/components/UpdaterPage/UpdaterPage.stories.tsx",
|
|
"src/renderer/components/Button/Button.stories.tsx",
|
|
"src/renderer/components/TeamList.tsx",
|
|
"src/renderer/components/LoginModal.tsx",
|
|
"src/renderer/components/NewTeamModal.tsx",
|
|
"src/renderer/settings.tsx",
|
|
"src/renderer/index.tsx"
|
|
],
|
|
"rules": {
|
|
"header/header": [
|
|
2,
|
|
"line",
|
|
[
|
|
" Copyright (c) 2015-2016 Yuya Ochiai",
|
|
" Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.",
|
|
" See LICENSE.txt for license information."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|