2018-05-30 08:23:57 -07:00
|
|
|
// Copyright (c) 2015-2016 Yuya Ochiai
|
|
|
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
// See LICENSE.txt for license information.
|
2016-05-02 06:34:00 -07:00
|
|
|
'use strict';
|
|
|
|
|
2016-12-27 05:10:53 -08:00
|
|
|
const fs = require('fs');
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
|
2016-05-02 06:34:00 -07:00
|
|
|
const path = require('path');
|
2018-02-20 04:44:23 -08:00
|
|
|
|
2022-07-26 06:11:56 -07:00
|
|
|
const ps = require('ps-node');
|
|
|
|
|
2021-10-28 10:17:10 -07:00
|
|
|
const {_electron: electron} = require('playwright');
|
2018-02-20 04:44:23 -08:00
|
|
|
const chai = require('chai');
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
const {ipcRenderer} = require('electron');
|
|
|
|
|
|
|
|
const {SHOW_SETTINGS_WINDOW} = require('../../src/common/communication');
|
2021-10-28 10:17:10 -07:00
|
|
|
|
2022-10-07 01:40:27 -07:00
|
|
|
const {asyncSleep, mkDirAsync, rmDirAsync, unlinkAsync} = require('./utils');
|
2018-02-20 04:44:23 -08:00
|
|
|
chai.should();
|
2016-05-02 06:34:00 -07:00
|
|
|
|
2016-09-25 07:14:01 -07:00
|
|
|
const sourceRootDir = path.join(__dirname, '../..');
|
|
|
|
const electronBinaryPath = (() => {
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
if (process.platform === 'darwin') {
|
|
|
|
return path.join(sourceRootDir, 'node_modules/electron/dist/Electron.app/Contents/MacOS/Electron');
|
|
|
|
}
|
|
|
|
const exeExtension = (process.platform === 'win32') ? '.exe' : '';
|
|
|
|
return path.join(sourceRootDir, 'node_modules/electron/dist/electron' + exeExtension);
|
2016-05-02 06:34:00 -07:00
|
|
|
})();
|
2021-11-04 08:29:32 -07:00
|
|
|
const userDataDir = path.join(sourceRootDir, 'e2e/testUserData/');
|
2016-12-26 05:55:27 -08:00
|
|
|
const configFilePath = path.join(userDataDir, 'config.json');
|
2022-10-07 01:40:27 -07:00
|
|
|
const downloadsFilePath = path.join(userDataDir, 'downloads.json');
|
|
|
|
const downloadsLocation = path.join(userDataDir, 'Downloads');
|
2016-12-27 05:10:53 -08:00
|
|
|
const boundsInfoPath = path.join(userDataDir, 'bounds-info.json');
|
2022-09-12 07:43:19 -07:00
|
|
|
const appUpdatePath = path.join(userDataDir, 'app-update.yml');
|
2022-01-17 07:20:11 -08:00
|
|
|
const exampleURL = 'http://example.com/';
|
2022-09-12 07:43:19 -07:00
|
|
|
const mattermostURL = process.env.MM_TEST_SERVER_URL || 'http://localhost:8065/';
|
|
|
|
|
|
|
|
if (process.platform === 'win32') {
|
2024-02-26 22:54:54 -08:00
|
|
|
const robot = require('robotjs');
|
2022-09-12 07:43:19 -07:00
|
|
|
robot.mouseClick();
|
|
|
|
}
|
2022-01-17 07:20:11 -08:00
|
|
|
|
2023-05-08 06:17:01 -07:00
|
|
|
const exampleServer = {
|
2022-01-17 07:20:11 -08:00
|
|
|
name: 'example',
|
|
|
|
url: exampleURL,
|
|
|
|
order: 0,
|
|
|
|
tabs: [
|
|
|
|
{
|
|
|
|
name: 'TAB_MESSAGING',
|
|
|
|
order: 0,
|
|
|
|
isOpen: true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'TAB_FOCALBOARD',
|
|
|
|
order: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'TAB_PLAYBOOKS',
|
|
|
|
order: 2,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
lastActiveTab: 0,
|
|
|
|
};
|
2023-05-08 06:17:01 -07:00
|
|
|
const githubServer = {
|
2022-01-17 07:20:11 -08:00
|
|
|
name: 'github',
|
|
|
|
url: 'https://github.com/',
|
|
|
|
order: 1,
|
|
|
|
tabs: [
|
|
|
|
{
|
|
|
|
name: 'TAB_MESSAGING',
|
|
|
|
order: 0,
|
|
|
|
isOpen: true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'TAB_FOCALBOARD',
|
|
|
|
order: 1,
|
|
|
|
isOpen: true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'TAB_PLAYBOOKS',
|
|
|
|
order: 2,
|
|
|
|
isOpen: true,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
lastActiveTab: 0,
|
|
|
|
};
|
2016-05-02 06:34:00 -07:00
|
|
|
|
2021-11-19 07:21:34 -08:00
|
|
|
const demoConfig = {
|
|
|
|
version: 3,
|
2023-05-08 06:17:01 -07:00
|
|
|
teams: [exampleServer, githubServer],
|
2021-11-19 07:21:34 -08:00
|
|
|
showTrayIcon: false,
|
|
|
|
trayIconTheme: 'light',
|
|
|
|
minimizeToTray: false,
|
|
|
|
notifications: {
|
|
|
|
flashWindow: 0,
|
|
|
|
bounceIcon: false,
|
|
|
|
bounceIconType: 'informational',
|
|
|
|
},
|
|
|
|
showUnreadBadge: true,
|
|
|
|
useSpellChecker: true,
|
|
|
|
enableHardwareAcceleration: true,
|
|
|
|
autostart: true,
|
2022-10-07 01:40:27 -07:00
|
|
|
hideOnStart: false,
|
|
|
|
spellCheckerLocales: [],
|
2021-11-19 07:21:34 -08:00
|
|
|
darkMode: false,
|
|
|
|
lastActiveTeam: 0,
|
2022-10-07 01:40:27 -07:00
|
|
|
startInFullscreen: false,
|
2022-12-06 04:40:56 -08:00
|
|
|
autoCheckForUpdates: true,
|
2022-07-14 08:04:18 -07:00
|
|
|
appLanguage: 'en',
|
2022-10-07 01:40:27 -07:00
|
|
|
logLevel: 'silly',
|
2021-11-19 07:21:34 -08:00
|
|
|
};
|
|
|
|
|
2022-01-17 07:20:11 -08:00
|
|
|
const demoMattermostConfig = {
|
|
|
|
...demoConfig,
|
|
|
|
teams: [{
|
2023-05-08 06:17:01 -07:00
|
|
|
...exampleServer,
|
2022-01-17 07:20:11 -08:00
|
|
|
url: mattermostURL,
|
2023-05-08 06:17:01 -07:00
|
|
|
}, githubServer],
|
2022-01-17 07:20:11 -08:00
|
|
|
};
|
|
|
|
|
2022-04-19 06:56:41 -07:00
|
|
|
const cmdOrCtrl = process.platform === 'darwin' ? 'command' : 'control';
|
|
|
|
|
2016-05-02 06:34:00 -07:00
|
|
|
module.exports = {
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
sourceRootDir,
|
|
|
|
configFilePath,
|
2022-10-07 01:40:27 -07:00
|
|
|
downloadsFilePath,
|
|
|
|
downloadsLocation,
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
userDataDir,
|
|
|
|
boundsInfoPath,
|
2022-09-12 07:43:19 -07:00
|
|
|
appUpdatePath,
|
2022-01-17 07:20:11 -08:00
|
|
|
exampleURL,
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
mattermostURL,
|
2021-11-19 07:21:34 -08:00
|
|
|
demoConfig,
|
2022-01-17 07:20:11 -08:00
|
|
|
demoMattermostConfig,
|
2022-04-19 06:56:41 -07:00
|
|
|
cmdOrCtrl,
|
2016-12-27 05:10:53 -08:00
|
|
|
|
2022-07-25 06:41:19 -07:00
|
|
|
async clearElectronInstances() {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
ps.lookup({
|
2022-09-12 07:43:19 -07:00
|
|
|
command: process.platform === 'darwin' ? 'Electron' : 'electron',
|
2022-07-25 06:41:19 -07:00
|
|
|
}, (err, resultList) => {
|
|
|
|
if (err) {
|
|
|
|
reject(err);
|
|
|
|
}
|
|
|
|
resultList.forEach((process) => {
|
|
|
|
if (process && process.command === electronBinaryPath && !process.arguments.some((arg) => arg.includes('electron-mocha'))) {
|
|
|
|
ps.kill(process.pid);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
resolve();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
cleanTestConfig() {
|
2022-10-07 01:40:27 -07:00
|
|
|
[configFilePath, downloadsFilePath, boundsInfoPath].forEach((file) => {
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
try {
|
|
|
|
fs.unlinkSync(file);
|
|
|
|
} catch (err) {
|
|
|
|
if (err.code !== 'ENOENT') {
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
console.error(err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
2022-10-07 01:40:27 -07:00
|
|
|
async cleanTestConfigAsync() {
|
|
|
|
await Promise.all(
|
|
|
|
[configFilePath, downloadsFilePath, boundsInfoPath].map((file) => {
|
|
|
|
return unlinkAsync(file);
|
|
|
|
}),
|
|
|
|
);
|
|
|
|
},
|
2017-10-21 08:34:38 -07:00
|
|
|
|
2021-10-28 10:17:10 -07:00
|
|
|
cleanDataDir() {
|
|
|
|
try {
|
|
|
|
fs.rmdirSync(userDataDir, {recursive: true});
|
|
|
|
} catch (err) {
|
|
|
|
if (err.code !== 'ENOENT') {
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
console.error(err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-10-07 01:40:27 -07:00
|
|
|
cleanDataDirAsync() {
|
|
|
|
return rmDirAsync(userDataDir);
|
|
|
|
},
|
2021-10-28 10:17:10 -07:00
|
|
|
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
createTestUserDataDir() {
|
|
|
|
if (!fs.existsSync(userDataDir)) {
|
|
|
|
fs.mkdirSync(userDataDir);
|
|
|
|
}
|
|
|
|
},
|
2022-10-07 01:40:27 -07:00
|
|
|
async createTestUserDataDirAsync() {
|
|
|
|
await mkDirAsync(userDataDir);
|
|
|
|
},
|
2016-06-25 05:21:10 -07:00
|
|
|
|
2021-10-29 08:28:52 -07:00
|
|
|
async getApp(args = []) {
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
const options = {
|
2022-10-07 01:40:27 -07:00
|
|
|
downloadsPath: downloadsLocation,
|
2022-09-12 07:43:19 -07:00
|
|
|
env: {
|
|
|
|
...process.env,
|
|
|
|
RESOURCES_PATH: userDataDir,
|
|
|
|
},
|
2021-10-28 10:17:10 -07:00
|
|
|
executablePath: electronBinaryPath,
|
2023-10-24 13:31:36 -07:00
|
|
|
args: [`${path.join(sourceRootDir, 'dist')}`, `--user-data-dir=${userDataDir}`, '--disable-dev-mode', '--no-sandbox', ...args],
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
};
|
2021-10-28 10:17:10 -07:00
|
|
|
|
|
|
|
// if (process.env.MM_DEBUG_SETTINGS) {
|
|
|
|
// options.chromeDriverLogPath = './chromedriverlog.txt';
|
|
|
|
// }
|
|
|
|
// if (process.platform === 'darwin' || process.platform === 'linux') {
|
2022-10-07 01:40:27 -07:00
|
|
|
// // on a mac, debugging port might conflict with other apps
|
2021-10-28 10:17:10 -07:00
|
|
|
// // this changes the default debugging port so chromedriver can run without issues.
|
|
|
|
// options.chromeDriverArgs.push('remote-debugging-port=9222');
|
|
|
|
//}
|
2023-01-18 02:11:11 -08:00
|
|
|
return electron.launch(options).then(async (eapp) => {
|
|
|
|
await eapp.evaluate(async ({app}) => {
|
|
|
|
const promise = new Promise((resolve) => {
|
|
|
|
app.on('e2e-app-loaded', () => {
|
|
|
|
resolve();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return promise;
|
2022-09-12 07:43:19 -07:00
|
|
|
});
|
2023-01-18 02:11:11 -08:00
|
|
|
return eapp;
|
2021-10-28 10:17:10 -07:00
|
|
|
});
|
|
|
|
},
|
|
|
|
|
|
|
|
async getServerMap(app) {
|
|
|
|
const map = {};
|
|
|
|
await Promise.all(app.windows().map(async (win) => {
|
|
|
|
return win.evaluate(async () => {
|
|
|
|
if (!window.testHelper) {
|
|
|
|
return null;
|
|
|
|
}
|
2023-04-12 09:52:34 -07:00
|
|
|
const info = await window.testHelper.getViewInfoForTest();
|
2023-05-08 06:17:01 -07:00
|
|
|
return {viewName: `${info.serverName}___${info.viewType}`, webContentsId: info.webContentsId};
|
2021-10-28 10:17:10 -07:00
|
|
|
}).then((result) => {
|
|
|
|
if (result) {
|
|
|
|
map[result.viewName] = {win, webContentsId: result.webContentsId};
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}));
|
|
|
|
return map;
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
},
|
|
|
|
|
2022-01-17 07:20:11 -08:00
|
|
|
async loginToMattermost(window) {
|
2022-08-17 08:44:54 -07:00
|
|
|
// Do this twice because sometimes the app likes to load the login screen, then go to Loading... again
|
|
|
|
await asyncSleep(1000);
|
|
|
|
await window.waitForSelector('#input_loginId');
|
|
|
|
await window.waitForSelector('#input_password-input');
|
|
|
|
await window.waitForSelector('#saveSetting');
|
|
|
|
|
2023-12-13 00:54:16 -08:00
|
|
|
await window.type('#input_loginId', process.env.MM_TEST_USER_NAME);
|
|
|
|
await window.type('#input_password-input', process.env.MM_TEST_PASSWORD);
|
2022-06-22 09:43:24 -07:00
|
|
|
await window.click('#saveSetting');
|
2022-01-17 07:20:11 -08:00
|
|
|
},
|
|
|
|
|
2022-10-07 01:40:27 -07:00
|
|
|
async openDownloadsDropdown(app) {
|
|
|
|
const mainWindow = app.windows().find((window) => window.url().includes('index'));
|
|
|
|
await mainWindow.waitForLoadState();
|
|
|
|
await mainWindow.bringToFront();
|
|
|
|
|
|
|
|
const dlButtonLocator = await mainWindow.waitForSelector('.DownloadsDropdownButton');
|
|
|
|
await dlButtonLocator.click();
|
|
|
|
await asyncSleep(500);
|
|
|
|
|
2022-12-06 04:40:56 -08:00
|
|
|
const downloadsWindow = app.windows().find((window) => window.url().includes('downloadsDropdown.html'));
|
2022-10-07 01:40:27 -07:00
|
|
|
await downloadsWindow.waitForLoadState();
|
|
|
|
await downloadsWindow.bringToFront();
|
2022-12-06 04:40:56 -08:00
|
|
|
await downloadsWindow.isVisible('.DownloadsDropdown');
|
2022-10-07 01:40:27 -07:00
|
|
|
return downloadsWindow;
|
|
|
|
},
|
|
|
|
|
|
|
|
async downloadsDropdownIsOpen(app) {
|
2022-12-06 04:40:56 -08:00
|
|
|
const downloadsWindow = app.windows().find((window) => window.url().includes('downloadsDropdown.html'));
|
2022-10-07 01:40:27 -07:00
|
|
|
const result = await downloadsWindow.isVisible('.DownloadsDropdown');
|
|
|
|
return result;
|
|
|
|
},
|
|
|
|
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
addClientCommands(client) {
|
|
|
|
client.addCommand('loadSettingsPage', function async() {
|
|
|
|
ipcRenderer.send(SHOW_SETTINGS_WINDOW);
|
|
|
|
});
|
|
|
|
client.addCommand('isNodeEnabled', function async() {
|
|
|
|
return this.execute(() => {
|
|
|
|
try {
|
|
|
|
if (require('child_process')) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
} catch (e) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}).then((requireResult) => {
|
|
|
|
return requireResult.value;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
client.addCommand('waitForAppOptionsAutoSaved', function async() {
|
|
|
|
const ID_APP_OPTIONS_SAVE_INDICATOR = '#appOptionsSaveIndicator';
|
|
|
|
const TIMEOUT = 5000;
|
|
|
|
return this.
|
|
|
|
waitForVisible(ID_APP_OPTIONS_SAVE_INDICATOR, TIMEOUT).
|
|
|
|
waitForVisible(ID_APP_OPTIONS_SAVE_INDICATOR, TIMEOUT, true);
|
|
|
|
});
|
|
|
|
},
|
2016-06-25 05:21:10 -07:00
|
|
|
|
[MM-23067] Browser View (#1514)
* Browser-view: initial architectural changes + webpack (#1358)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* CR changes
* Browserview settings window (#1362)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* [BrowserView] renderer (#1378)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* remove log statements
* Bv menus (#1387)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* package.json
* fix merge results
* fix package-lock
* remove debug statements
* address CR requests
* [MM-22691][Browserview] fix tray icon (#1403)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Browserview URLHover (#1393)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* change how to detect when the mouse hovers
* [BrowserView] remove remote usage, fix menus and window buttons in Win (#1418)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* remove unused reject
* remove logs
* Update webpack.config.renderer.js
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix three dot menu
* remove most remote usage, fix window buttons in Windows
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* fix different errors when loading config (#1420)
* [BrowserView] Native modules & registry access (#1417)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* fix webpack adding images to /dist so tray can render them
* wait for config, fix menutray calls
* remove .gitattributes from being tracked
* restart-working native modules
* setup env variables for installing native modules
* [browserview] Electron notifications (#1411)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* move viewmanager into windowmanager
* working notifications
* remove logs, switch tab on notification click
* download notifications
* fix tray
* fix menu switch server
* fix error
* [MM-23078] TabBar fixes for BrowserView (#1423)
* [MM-23078] TabBar fixes for BrowserView
* Removing unnecessary logging
* [Browserview] 4.6 and 4.7 PRs (#1424)
* [MM-28620] allow navigating links to admin_console #1374
* [MM-25789] - Update default settings for new installations #1376
* [MM-27332] show window at autolaunch #1379
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* Notification sounds, also added tab name to notification title
* [MM-22013] - Allow users to specify default download locations #1383
* [MM-21835] Use URL instead of the url library #1384
* remove debug console.log statements
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
* [MM-31266] fix access url when it's not a mm server (#1431)
* [MM-31224] fix reloading servers and other tab issues (#1434)
* [MM-31224] fix reloading servers and other tab issues
* reload if url changes
* Change the dev server port to 9001 to avoid conflict with mattermost-minio (#1437)
* remove dev_web_server (#1438)
* [MM-31225][MM-31217][MM-31219][Browserview] fix linux compilation + other fixes (#1433)
* fix linux errors
* remove registry, remove env_vars
* devtools in separate window, prevent config errors
* fix registry path
* move dist to root when packaging
* make devtools dettached to avoid browserview
* remove unneeded comment
* use reject in case of registry failure
* fix handling results
* fix application menu
* make linter happy
* fix missing key on apt-get (#1440) (#1442)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31221][BrowserView] first modal: adding a server while in a server view (#1400)
* reorder code to support webpack
* start backend changes
* remove simple-spellchecker
* wip
* first browserview run
* settings window routing
* wip
* back to webpack
* working build
* back to using electron-builder
* fix linting
* linting errors missed
* back to just 1 config
* missing changes
* refactor and have the settings in its own page
* reminder to restore disabling window.eval
* wip
* wip
* remove old webpack generated files
* add assets files
* more remove files and fix localurls
* wip settings, needs fixing saving prefs
* remove linting errors
* remove settings as a modal
* fix linting
* remove view from window on destroy
* restore visibility if reloaded
* debug log
* look for closed windows, remove managers from settings as it is a full window
* restore view on configuration save
* linting and debug
* remove debug message
* make eslint be aware of webpack aliases
* some extra disable lines
* move badge management to main
* remove unneded import
* fixing errors
* wip
* back to having tabs
* switch tab working
* wip
* wip
* wip
* fix quitting error
* back to a working config
* configure retries
* add darkmode
* wip
* add error/loading screens
* fix settings while removing remote usage
* wip
* fix lint, get preload to load
* remove unused import
* wip
* menus initially working as they should
* update deps, show context menu
* wip
* wip
* wip
* fix forward/back menu
* fix server menu
* allow navigating to external urls in the browser
* add defaults to menu
* fix logic
* set default options
* remove logs
* wip
* wip
* wip urlview
* wip
* urlview when hovering on a link
* wip
* wip
* first working modal
* fix config loading
* upgrade electron to 10.1.5
* esc exits modals
* first modal
* add env variables for settings and modals devtools
* adress CSS review comments
* Address review comments
* fix dist in prod
* fix preload path on build
* [MM-31987] Allow camera use for jitsi (#1443) (#1450)
* [MM-31987] allow camera use for jitsi
* update message for access
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen (#1449)
* [MM-31261] Use manual resizing of BrowserViews on resize, maximize and full-screen
* Update src/main/windows/windowManager.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* add own branch for testing (#1448)
* add own branch for testing
* remove signing for windows
* add message to channel
* Bv pipeline elisabeth (#1452)
* Add parameter and remove schedule
* Add jq
* Fix adding jq
* Fix adding jq
* Fix adding jq
* fix quotes
* upload as JSON
* use previous, parse json
* fixes
* use json
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
* [MM-30144][MM-30145][MM-30146][MM-30147] Migrate auth and certificate modals to BrowserView (#1445)
* WIP
* WIP
* WIP
* WIP
* WIP
* [MM-30144][MM-30145] Migrate LoginModal and PermissionModal to BrowserView
* [MM-30146][MM-30147] Migrate certificate modals to BrowserView
* Fixed transparency on the bootstrap modals
* PR feedback
* Added better error reporting in case the modal promise fails
* [MM-31233] Reverse maximize logic typo (#1454)
* [browser view] MM-32277 bump version, exe, cache errrors (#1456)
* bump version
* enable msi and remove src/package*
* ensure variable exists
* remove cleanCache script
* default expansion for env variable
* add commit version, missing package-lock.json
* remove duplicated command
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler (#1453)
* WIP
* WIP
* [MM-31467] Move protocol handling over from original MattermostView into web contents handler
* Remove log statement
* [MM-32392] prevent crash when checking a URL (#1457)
* [MM-31215][MM-31387] Fixes for bad tab navigation and dragging (#1461)
* [MM-31387] Send to renderer on clicking server from settings window
* Use different event name for sending switch server info to renderer
* Have the viewManager let the renderer know when the tab has changed
* Couple more fixes around tabs
* Simplify URL compare logic
* [MM-31650] Restore focus to active server on modal and settings window closure + other fixes (#1455)
* [MM-31650] Focus active server on settings window and modal closure
* Disable tabs when a modal is open
* Revert to using original NewTeamModal component
* fix resize (#1462)
* [MM-32424] fix server devtools being hidden by browserview (#1459)
* [MM-32424] fix server devtools being hidden by browserview
* reverse logic
* [MM-20227][MM-31388] move to roles and fix focus (#1463)
* [MM-31570] update mentions/unreads/session on jewel, tray and dock (#1460)
* [MM-32333] Open public links in the user's default browser (#1468)
* [MM-32333] Open public links in the user's default browser
* Removed commented code
* [MM-31232] fix urlview present with no content (#1467)
* [MM-31343] Migrate Finder to BrowserView (#1466)
* WIP
* WIP
* WIP
* [MM-31343] Migrate Finder to BrowserView
* PR feedback
* Removing reference to this in non-class file
* use electron to handle spellchecking (#1469)
* [MM-32382] Use resize event instead of will-resize for monitoring size of BV (#1470)
* [MM-32570] Use OpenSans as the font for the URL preview modal (#1471)
* [MM-32570] Use OpenSans as the font for the URL preview modal
* Don't use bootstrap
* Fix draw badge (#1477)
* use canvas from window
* fix errors
* fix errors
* safer code injection
* [MM-31554] Add listener for config synchronization on the settings window (#1473)
* [MM-31554] Add listener for config synchronization on the settings window
* Synchronize the config if updated from outside the settings window
* [MM-28541] restore deeplinking (#1475)
* handle deeplinking
* fix app handling deeplinking
* remove outdated comment
* address review comments
* MM-32765_prevent crash on checking unread state (#1479)
* MM-31383 make no the default when asking to add a protocol (#1481)
* [MM-31340] Resize browser view and show back button when on non-team URL (#1472)
* WIP
* [MM-31340] Resize browser view and show back button when on non-team URL
* Fixed issue where switching tabs and resizing hides the back button
* Add error checking around going back in history
* [MM-31399] Use webapp ESLint config in desktop app and resolve inconsistencies (#1482)
* Import webapp eslint and update packages
* FIrst pass with new ruleset
* Allow setState
* Fix rule for tests
* Comment out skippeed tests, removed some TODOs and fixed some warnings
* Remove errors from MainPage
* Use indenting profile from webapp
* Update editorconfig for new indenting
* Fix indenting for class properties
* Only disable no-console for renderer process and scripts
* Remove rule overrides and changes
* Fix merge issues
* PR feedback and fixed a bad merge
* [MM-25122] Use modded version of winreg that supports UTF-8 (#1488)
* fix appicon path resolution (#1484)
* [MM-33141] Fixed use of bad context in TeamList (#1487)
* [MM-33141] Fixed use of bad context in TeamList
* Refactor to pull the functions out
* Remove unnecessary props
* [MM-25355] Throttle notifications for Windows by channel id (#1486)
* [MM-25355] Throttle notifications for Windows
* Use teamId as well to key the notifications
* Merge'd
* Use Map instead of Set
* [MM-33050] move webcontent events out of main (#1489)
* wip
* wip
* fix webcontent events, move views to its own folder
* [MM-33238] Check for admin URL when toggling back bar (#1495)
* [MM-31342] fix "save image as" context menu crash (#1490)
* [MM-33231] update jewel on new mentions/when read (#1493)
* [MM-33231] update state properly for a purecomponent
* remove unneeded comment
* [MM-33032] Use `hidden` titleBarStyle value to fix macOS Catalina click issue (#1496)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows, enable toggling on Linux (#1494)
* [MM-32809] Remove Toggle Dark Mode menu item for Windows
* Just check for !win32 and !darwin
* Enable correct dark mode functionality on non-macOS/non-Windows machines
* [MM-33334] Restore keyboard shortcuts for menu items moved to roles (#1499)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades (#1501)
* [MM-33434] Upgrade to Electron v11, some other dependency upgrades
* Missed a version change
* context menu fix
* Forgot to remove a log statement
* Added resized for redundancy and upgraded to spectron 13
* Don't need resized
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* [MM-33247] Have the app handle links to other teams as a deep link (#1498)
* [MM-33373] Trigger the smaller font for 99+ mentions (#1507)
* [MM-32805] Merge master, migrate LoadingScreen to BrowserView (#1504)
* [MM-467] Notification sounds (#1351)
* Custom sounds
* Trying new version
* Trying new version
* Some fixes
* Rollback version change
* Allow native sound
* Increase version
* Playing custom sounds :)
* Fix var name
* Fix
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Several suggestions
* Update src/browser/js/notification.js
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Restore of version
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-28595] Open team links within the app (#1373)
* [MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Update src/main.js
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Fix linter
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* add Russian language in the list available for spellcheck (#1375)
* [MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console
* Fix when there is not a server associated
* [MM-27332] show window at autolaunch (#1379)
* Bump to version 4.7.0-develop
* Update NOTICE.txt (#1385)
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* convert to markdown
* md linting
* Update NOTICE.md
* Revert "Update NOTICE.md"
This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.
* Revert "md linting"
This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.
* Revert "convert to markdown"
This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.
* add missing licenses to joi and jq
* Remove devDependencies
Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
* [MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)
* Only hide tooltip for internal links on the *current* team
* feat(spellcheck): add Ukrainian language for spellcheck (#1382)
* [MM-29677] fix download complete notification not appearing (#1388)
* fix soundname not existing (#1390)
* [MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification
* remove logs
* Update release-process.md (#1394)
* [MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations
* PR comments
* Add proper config prop
* Update src/browser/components/SettingsPage.jsx
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Remove string ref
* Fix styling
* Update styling
* Disable input
* Add variable for windows
* Prevent dialog from opening twice
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.
Issue MM-21835
Fixes #1206
* Merge Powershell files together and remove AppVeyor related code
* Ensure nodejs deps are met before running script argument directly
* [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation
* add prop back in
* adjust z-index for tests
* tweaks to pass tests
* address offline feedback
- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen
* add missing css variable
* no need to remove loading icon
* Apply suggestions from code review
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* Move LoadingScreen.jsx to file-only component
* Rename prop for better clarity
* Default prop to none and check when needed
* Update import paths
* Add ESDocs and remove unecessary conditional
* Forgot to remove the eslint override
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
* [MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
* Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
* [MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi
* update message for access
* Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user
* add info
* remove chrome from UA for gitlab.com
* remove previous solution
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add Swedish sv-SE (already in simple-spellchecker) (#1483)
* Add Swedish sv-SE (already in simple-spellchecker)
* Remove spaces in empty lines
* Add some sv-SE test for spellchecker
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* Add loading screen, fix reload
* WIP
* Migrate LoadingScreen to BrowserView
* Lint fixes
* Removed gitlab fix code, also returning null is bad apparently
* Fix reload logic
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
* [MM-33668] Restore tests to browser-view branch (#1506)
* happy eslint
* wip
* wip
* remove aliases
* almost working tests
* green tests
* Revert "remove aliases"
This reverts commit 803d3695538197407b45e0d8d30dc429b259b7f3.
* add unit test, reconfigure package scripts, make test pass
* [MM-33542] Trigger finder cleanup on pressing close or Escape (#1502)
* [MM-33542] Clear the Finder selection when closing the finder
* Remove listener on close as well
* Run close() on escape as well
* [MM-33607] Remove old badge code, update unreads code (#1503)
* [MM-33607] Remove old badge code, update unreads code
* Fix 2 random lint errors
* fix script naming in circle
* fix check deps
* attempt to fix dependency-check download
* remove check-deps step
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Cleanup of BrowserView migration, some bug fixes (#1509)
* 1st round of cleanup
* 2nd round of cleanup
* Set constant for reload-config
* Cleaned up some TODOs
* store daily build to S3 (#1508)
* store daily build to S3
* missing colon
* fix paths
* try to keep folders
* remove unneeded step
* change from arn to bucket name
* keep organization consistent
* fix indentation
* fix indentation x2
Co-authored-by: = <=>
* MM-33551 keep tray state between themes (#1511)
Co-authored-by: = <=>
* Set to version v4.7
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Nev Angelova <nevy.angelova@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Eugeny Fomin <github.com@jeka.ru>
Co-authored-by: Nathan Bolender <nathan@nathanbolender.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: FalseHonesty <skipboman0@gmail.com>
Co-authored-by: William Gathoye <william@gathoye.be>
Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rohitesh Gupta <srkg.gupta@gmail.com>
Co-authored-by: petermcj <petermcj@gmail.com>
Co-authored-by: Peter Johansson <peter.johansson@havochvatten.se>
2021-03-18 07:51:53 -07:00
|
|
|
// execute the test only when `condition` is true
|
|
|
|
shouldTest(it, condition) {
|
|
|
|
// eslint-disable-next-line no-only-tests/no-only-tests
|
|
|
|
return condition ? it : it.skip;
|
|
|
|
},
|
|
|
|
isOneOf(platforms) {
|
|
|
|
return (platforms.indexOf(process.platform) !== -1);
|
|
|
|
},
|
2016-09-25 07:14:01 -07:00
|
|
|
};
|