* [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>