* 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
* [MM-38649] Tab bar as BrowserView POC
* Fixes for Mac
* Linux fixes
* Lint fix
* Make view full height
* Fix for macOS getting stuck when dragging
* Lint fix
* Show topbar regardless of whether there are servers or not
* Update src/renderer/components/TeamDropdownButton.tsx
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
Clicking on a notification that regards a reply to a thread,
and when the user has CRT set to ON, should open the corresponding thread.
This is done by passing the URL to push to the browser along side the
notification.
Webapp: If a `url` is passed it will be used, otherwise the URL pushed to
history would be the corresponding channel (as is right now).
* [MM-36428][MM-36434][MM-36435] Keyboard navigation and menu updates for new tab/dropdown layout
* Shortcuts for Windows/Linux
* Update config.yml
* Fixed up the shortcuts
* Fixed the new server modal popping up where there are GPO teams only
* prevent creating new windows from popup windows
* enable sandbox
* fix windows detection logic
* disable on testing environment
Co-authored-by: = <=>
* Updated config, added types and classes for messaging tab
* Working app with tabs and servers
* Remainder of logic
* Make base tab abstract class
* Account for new app case
* Merge'd
* PR feedback
* WIP
* WIP
* PoC for dropdown - logic stuff
* Most of the logic for the dropdown
* Working dropdown menu to pick servers
* Mentions, unreads and expired working. Many styles are working.
* Some more styles
* Dark mode and other stuff
* Some cleanup
* Generate build
* PR feedback
* More PR feedback
* Upgrade packages, fix errors, still WIP
* WIP
* Bootstrap v4 upgrade
* Switch to react-beautiful-dnd
* Fixed some issues
* Added to generate signed Mac build for UX
* PR feedback
* Missed one
* PR feedback
* Initial setup and migrated src/common
* WIP
* WIP
* WIP
* Main module basically finished
* Renderer process migrated
* Added CI step and some fixes
* Fixed remainder of issues and added proper ESLint config
* Fixed a couple issues
* Progress!
* Some more fixes
* Fixed a test
* Fix build step
* PR feedback
* [MM-35454] Fix default downloads path for Windows and Linux, only set for the app if the path is not blank
* Default all other OSes other than Mac/Windows to unix standard