* [MM-36326] Added Native Node Module support - incl demo to fix DND issue
* Fix OS per build
* Fix to include priority alarms on Windows
* Update node command
* Fixes for mac (only work on non-MAS build)
* Attempt to rebuild properly since electron-builder is having issues with a module
* Show me more logs maybe idk
* Try with ignore-scripts
* Force async to work asyncly
* PR feedback and ESLint fixes
* Add comment for node-gyp
* Revert me: test msi and mac installer
* Revert me too
* Try reverting back to the old system cause the new one miraculously broke...
* Add ignore scripts to makefile
* Ignore non-macho files :P
* Revert "Revert me too"
This reverts commit 074dc9551a2d8ce34a23a3abaeed937d957e8b76.
* Revert "Revert me: test msi and mac installer"
This reverts commit 0ac998c26a824e7136bdfdc825280a407bb1aa7f.
* [MM-43941] Optimize app resizing on Windows/Linux by waiting for the viewport to resize
* Some mitigations for Windows
* Make the logs sillier
* Fixed the no servers case
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add language files
* Add react-intl, mmjstool, setup for adding translations
* Translated main module
* Translations for renderer
* A few minor fixes
* More fixes
* Add CI, add missing menu translations, other cleanup
* Added setting to manually select the language of the app
* Force English for E2e
* Unit tests
* Fix mmjstool
* Move set language to before update menu
* PR feedback
* Swap names for dark/light tray icons for linux and windows.
* Swap icon tray themes when system default is used
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* only refresh view when the server URL changes (MM-34565)
Create views of current and incoming tabs indexed
by unique [URL, TABTYPE] tuples, and diffing them.
Tuples that are identical are recycled, merely
porting the new server name over.
* lint fixes
* WIP
* linting
* remove dependency on by, duad
* provide a more exaplanatory name for TabView.prototype.tuple (urlTypeTuple)
* minor improvements in viewManager
- remove stateful behaviour from makeView
- more descriptive variable names when looping
- create new arrays before sorting (sort is in-place by default)
* resolve linting errors
* automatically add protocol to Server URL (#2083)
* refactor NewTeamModal to only detect protocol on save
* use window.postMessage for intercom + only ping on form save
yargs, the command line parsing library, was unable to read the app's version automatically from package.json
fix by passing the app's version as electron sees it
* Reinstall reporter and re-enable skipped tests
* Fixups for Linux
* Mac fixes
* Windows fixes
* Use keyboard shortcuts instead of menu for most menu actions
* Couple fixes
* One more fix for now
* Windows fixes
* Lint fixes
* Change up developer tools tests to be more consistent
* Fix key for mac
* Couple fixes for flaky tests/to avoid crashes on unload
* Upgrade Electron to v18
* Fix a test
* Upgrade ESLint and TypeScript
* Update Joi
* Clean up and upgrade dependencies
* Upgrade dev dependencies
* Upgrade to Webpack 5
* Update NOTICE.txt
* Update test runtime
* Add debug logging switch
* Add tests
* Mock electron-log globally in jest
* New logs for debugging
* Switch to a dropdown to choose log levels
* Fix tests
* Update wording
* Add preference to open app in full screen
* CLI flag for fullscreen and function to return fullscreen state
Parsing the config or the args to define how to open the app. Args take priority over the config, and fallback is the window state.
* Optional TS config value
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* Remove undefined check for `Config.startInFullscreen`
* Fixed optional arg for test
* Fixed jest test
* fullscreen optional window value
* Update src/main/windows/mainWindow.ts
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Update src/main/windows/mainWindow.ts
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
* Type fixes
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
* Initial MAS build, working on TestFlight
* Migration of old configs to MAS
* Ignore fastlane files
* Add mac app store build to nightly build
* Revert Me - For testing in PR
* Don't need to install fastlane
* BIG D
* Fix patch updater script to allow for no yml
* Nevermind, do this instead
* Update xcode
* Let's try a fake version that works
* Revert version and rename for test flight
* Use Xcode 13.0.0
* Use CircleCI build number when available
* Revert testing changes
* Remove notarize for MAS
* Change vars to MACOS instead of IOS
* Revert electron-builder to v22
* Revert package-lock.json
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* wip
* background download
* various fixes
* wip
* wokring autoupgrade
* fix menu
* fix windows
* cleanup
* add publishername
* fix messages and titles
* Test updates
* Moved module and added functionality to click icon to install (instead of just download)
* Add auto update setting, update on close app if downloaded
* Tests, changes for security fixes, update version number
* Update E2E tests
* Lint fix
* Update to latest electron-updater
* Revert to stable electron-builder (only needed to update electron-updater)
* Fix package-lock
* skip flaky test
* Update package
* Fix E2E test
* Fixes for enabling/disabled autoupdater
* Fixed GPO definitions
* [MM-38300] Set localhost as the test server
* blank
* Switch to s3 bucket for testing
* Update icons to match spec
* Add menu items for download/update actions
* Type and test fixes
* Fix notification circle
* Fix macOS app not restarting on Restart/Update
* Update dialog box titles
* Turn off file system check for Linux
* Changes to support deployments
* Testing autoupdater deployments to s3
* disable tests for now
* asfrehwf
* fine no windows WHATEVER
* remove windows again
* Try universal all in one
* pffftttngggguhhhh
* make sure it's working
* Missed artifacts script
* Modify destination as well
* one more time!
* Update yml files
* Oops
* add yq manually
* oof
* Fix the script to work properly
* Fix release script
* Fix script again so it runs in time
* Build version 2
* Revert build specific changes
* Lint override
* Fix build apps for PR builds
* One more change
* Add file generation for .deb repo
* Deb repo test
* skip tests for now
* Fix artifact push
* Persist after repo creation
* Put tests back
* Fix unit tests
* Enable mac generated builds temp
* Temporarily disable tests
* Fix issue where notification doesn't pop dialog box
* Try version 2 again
* Put the version back
* Attempting to debug mac app path issue
* Fix issue where Mac app will quarantine itself after first update
* Lock versions of yq
* Fix yq for mac
* As usual, Mac is difficult :P
* Add quotes to anti-quarantine command
* Change to spawn to avoid command injection
* Oops
* Nightly deployment changes (#2005)
* Test nightly deploy
* I fixed a some things
* aaaaaaaaa
* Restore old bucket
* Added progress indicator via tooltip
* Ship nightly builds to main S3 bucket
* PR feedback
* Fix a couple security exploits
* Fix opacity on light mode button
* Use large app icon
* Resize icon for Windows
* Resize icon for Mac
* Update to electron-updater final
* Remove Mac support and deb repo
* Typo
* Remove deb script
* Remove checksum function
* Removed autoUpdateSettingsPath
* Update URL
Co-authored-by: = <=>
Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
* [MM-30713] Stop Linux app from minimizing/hiding without user warning
* Added same behaviour for Windows
* Update messages
* Change wording
* Fix for accidentally disabled setting
* #1960 fix unexpected top menu focus
* #1960 test update
* #1960 improved test
* #1960 optimized algrithm to handle only Alt key to improve performance and avoid side effects
* #1960 tests update
* #1960 fixed 3 dit menu focus on workspace change with Alt+1, Alt+2
* #313 fix linter issue
* #1960 fix linter issue
* tests update
* [MM-26018] Added disclaimer for window flashing on Linux
* Update src/renderer/components/SettingsPage.tsx
Co-authored-by: Eric Sethna <eric@mattermost.com>
Co-authored-by: Eric Sethna <eric@mattermost.com>
* [MM-40602] Ensure URL is valid before showing tooltip link
* Rework to allow invalid URLs to display
* [MM-32946] Allow parsable URLs and open invalid URIs in browser
* Refactor main.ts dependencies into singleton pattern
* Split main.ts into testable pieces, some other refactoring for singleton pattern
* Unit tests for main/app/app
* Unit tests for main/app/config
* Unit tests for main/app/initialize
* Unit tests for main/app/intercom
* Unit tests for main/app/utils
* Add some more tests to get to 70% coverage
* Fix for linux
* Fix for alternate data dir paths
* Fix E2E test
* Refactor autoLauncher and remove unnecessary file
* [MM-40277] Unit tests for main/badge
* [MM-40279] Unit tests for main/certificateStore
* [MM-40301] Unit tests for main/contextMenu, also remove workaround
* [MM-40307] Unit tests for main/CriticalErrorHandler
* [MM-40310] Unit tests for main/utils
* [MM-40313] Unit tests for main/Validator
* Lint fix
* Added globals
* More things that should probably already be merged
* PR feedback
* [MM-39491] Force Add Server modal to stay until server has been added
* Make the parameter optional
* Actually do the logic, add a test for the logic
* Add remove event listener
* [MM-39885] Migrate unit tests to Jest, fleshed out tests for common/util/url
* Typo fix
* Oops
* I found more tests!
* Fixed a bug
* Oops again
* Tests for common/utils/util
* A bunch of cleanup
* Oops