Commit graph

2360 commits

Author SHA1 Message Date
Devin Binnie ebba86bc08
Fixed issue with notification sounds not working correctly (#1818) 2021-10-18 18:22:58 -04:00
Devin Binnie 12052d4e0b
Fixed serverAPI throwing error on proxy server challenge, improved modals (#1820) 2021-10-18 12:46:32 -04:00
Eli Young 2194ca85ca
Use build/ as CircleCI workspace (#1810)
* Use build/ as CircleCI workspace

webpack compiles the application code to dist/ and electron-builder
treats it as a source of content to be packaged. As such, using this
path for CircleCI's workspace can cause unwanted scratch files to be
packaged into the app. By instead using build/, we solve the issue.
Moving the entitlements plist to the root of the repo is appropriate
because that's where all the other build config files currently live.

Fixes: #1809

* Update config.yml

Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
2021-10-14 17:19:44 -04:00
Devin Binnie 6ae15b0cea
[MM-39310] Add setTimeout to new server modal pop to make sure it renders correctly. (#1811) 2021-10-14 17:19:22 -04:00
Devin Binnie cc4ddc3c18
[MM-39209] Check that Channels isn't redirecting to / to prevent a refresh (#1807) 2021-10-14 09:25:21 -04:00
Devin Binnie 5e104ab335
[MM-39194] Removing call to focus() causing crash on macOS (#1801) 2021-10-08 11:38:28 -04:00
Devin Binnie 9e440c6db9
[MM-39047] Switch order of installers to avoid extra files being embedded (#1790)
* [MM-39047] Switch order of installers to avoid extra files being embedded

* CircleCi change
2021-10-06 17:05:13 -04:00
Devin Binnie 48cf6fd788
[MM-39160] Remove view from closedViews when it's automatically opened (#1791) 2021-10-06 17:05:07 -04:00
Devin Binnie 3527679648
Fix URL view cutoff for long URLs (#1793) 2021-10-06 16:32:27 -04:00
Devin Binnie d1e5505bd4
[MM-39139] Workaround for transparency issue for BrowserViews on Electron v14.1.0+ (#1792) 2021-10-06 16:26:01 -04:00
Devin Binnie 67ddac1830
Fix electron-builder path for Linux (#1788) 2021-10-06 11:42:55 -04:00
Devin Binnie ca1457f023
[MM-38991] Remove mentions and unreads when unloading a view (#1780) 2021-10-05 10:18:27 -04:00
Devin Binnie 658aec559d
Fix GitHub release markdown for mac universal change (#1775)
* Fix GitHub release markdown for mac universal change

* Update scripts/generate_release_markdown.sh

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2021-10-05 10:17:07 -04:00
Devin Binnie 0b7173542d
Fix update image (#1781)
* Attempt to fix update image

* WIP

* Update ca-certificates

* Try this

* How about this

* Typo

* Update other jobs

* More changes
2021-10-05 10:16:48 -04:00
Devin Binnie e3ea6e4c6a
[MM-38936] Revert #1758, upgrade to Electron 14.1.0 (#1779)
* Revert "[MM-38649] Put top bar in a BrowserView (#1758)"

This reverts commit c914903df9.

* [MM-38936] Upgrade to Electron 14.1.0
2021-10-05 09:25:51 -04:00
Devin Binnie 3665e87cba
[MM-38532] Use currentView to check for most recently used view (#1776) 2021-10-01 11:35:04 -04:00
Devin Binnie 33933781fd
Fix for user selection on the dropdown menu button (#1773) 2021-09-29 14:17:55 -04:00
Devin Binnie a3d7f0518e
[MM-38607] Ensure window is inside one of the screen bounds before rendering (#1769) 2021-09-29 12:40:27 -04:00
Devin Binnie a48c469005
[MM-38857] Fix spellcheck locales regex (#1764)
* [MM-38857] Fix spellcheck locales regex

* Remove unnecessary regex
2021-09-29 12:30:16 -04:00
Devin Binnie fe19fe51d4
[MM-38695] Fixed minimize to tray setting on Linux (#1767)
* [MM-38695] Fixed minimize to tray setting on Linux

* Lint fix
2021-09-29 11:46:49 -04:00
Devin Binnie 5df0657588
Fixed multiple reloads happening on launch (#1761)
* Fixed multiple reloads happening on launch

* Remove extra log statement
2021-09-27 17:31:42 -04:00
Devin Binnie c914903df9
[MM-38649] Put top bar in a BrowserView (#1758)
* [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
2021-09-27 13:29:38 -04:00
Jesse Hallam 9c5e4880ea
Fix tab opening behaviour for playbooks (#1763) 2021-09-27 09:53:16 -04:00
Guillermo Vayá 0476d3efb8
remove global shortcuts (#1740)
* remove global shortcuts

* Add global shortcuts only when the app is in focus

Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
2021-09-24 09:30:17 -04:00
Devin Binnie 45ff8cbd9f
[MM-38679] Fix download notification title on Windows (#1752)
* [MM-38679] Fix download notification title on Windows

* Lint fix
2021-09-22 12:41:28 -04:00
Amy Blais f8209540e3
Update NOTICE.txt (#1749)
* Update NOTICE.txt

* Update NOTICE.txt
2021-09-22 11:38:26 -04:00
Devin Binnie 2f6b7f82c4
[MM-38577] Allow exit of full screen mode using the restore button on Windows (#1744) 2021-09-22 09:42:26 -04:00
Devin Binnie b09f1e23dc
[MM-38642] Set a max-width for the dropdown button and menu (#1751) 2021-09-22 09:31:55 -04:00
Devin Binnie 0a19d5815a
[MM-38530] Update build to generate universal binaries (#1747)
* [MM-38530] Update build to generate universal binaries

* Rework to only build on releases, not needed for development/PR builds

* Update cp_artifacts script

* remove pr
2021-09-22 09:28:53 -04:00
Devin Binnie e8523067b0
[MM-37055] Remove commit hash from release builds generated by CircleCI (#1750) 2021-09-22 12:17:57 +02:00
Devin Binnie 92b297c469
Fixes for release v5 (#1745)
* Change to v5.0

* Fix script to assume no RC

* Bump to version 5.0-rc1

* Fix the version

* Bump to version 5.0.0-rc1

* Fix msi build

* Bump to version 5.0.0-rc2

* Fix version again

* Bump to version 5.0.0-rc1

* Oops

* Bump to version 5.0.0-rc1

* Remove version upgrade

* Lock to version 16
2021-09-21 15:56:27 -04:00
Devin Binnie 01311a07de
[MM-36032] Add electron-context-menu to popup windows (#1746) 2021-09-21 13:41:23 -04:00
Devin Binnie 6dc84b3e5d
[MM-33112] Add support for multiple custom spellchecking languages (#1743)
* [MM-33112] Add support for multiple custom spellchecking languages

* Styles and other formatting

* Type and lint fixes

* Update wording
2021-09-20 14:10:01 -04:00
Devin Binnie c3963424f1
[MM-38532] Force new server to display when added (#1737) 2021-09-20 13:56:12 -04:00
JtheBAB ac0de01d4b
Update mattermost.adml (#1742) 2021-09-20 09:34:21 -04:00
Devin Binnie fc9bf1e4a3
[MM-38570] Fixed the keyboard shortcuts for switching tabs when some tabs are closed (#1739) 2021-09-20 09:14:42 -04:00
Devin Binnie c12c9fb2e4
[MM-38535] Overlay drag region with clickable area when menu is open (#1738) 2021-09-20 11:40:27 +02:00
Devin Binnie b25ccfeecf
[MM-38524] Rework the closing and opening tab logic, fixed login issue (#1735)
* Rework the closing and opening tab logic to better suit adding and removing servers

* A couple more fixes

* Lint fix

* [MM-38524] Fix login issue

* Remove unneeded code
2021-09-16 13:35:07 -04:00
Devin Binnie df57051eaa
[MM-36309] Restore window menu, override shortcuts for window menu so they don't interfere (#1732) 2021-09-15 09:52:53 +02:00
Devin Binnie 980eed8d8d
[MM-38503] Upgrade to Electron v14 (#1734)
* [MM-38503] Upgrade to Electron v14

* Temporarily comment out tests that use spectron

* One more
2021-09-14 09:53:00 -04:00
John Willis 375da5bdb3
[MM-16516] Add a "don't trust" option for certificates (#1733)
* Added checkbox to certificate not trusted modal

* Added functionality to store a dontTrust boolean with the certificate store
2021-09-14 11:16:04 +02:00
Devin Binnie 20ec525819
[MM-38459] Resize the menu instead of removing the browser view altogether (#1730) 2021-09-10 13:48:34 -04:00
Devin Binnie 2bdc0dba2b
[MM-38325] Polished up some of the UI elements (#1727)
* [MM-38325] Polished up some of the UI elements

* PR feedback

* PR feedback

* PR feedback
2021-09-10 13:48:26 -04:00
Devin Binnie 313824b6df
[MM-38316] Remove mention and unread counts for current server from the dropdown button (#1729) 2021-09-10 13:45:24 -04:00
Devin Binnie 59189db86d
[MM-38275] Use browser history push for deeplinking and other inter-tab navigation when using a v6.0 server (#1726) 2021-09-10 11:11:36 -04:00
Devin Binnie 4019177fd1
[MM-38433] Error checking when a bad server URL is entered (#1728)
* [MM-38433] Error checking when a bad server URL is entered

* Add proper error handler call
2021-09-10 11:08:38 -04:00
Devin Binnie 082c95b094
[MM-23452][MM-36861] Fixed some configuration issues (#1725)
* [MM-23452] Show last used server and tab correctly when restarting the app

* [MM-36861] Ensure handleConfigUpdate runs
2021-09-10 10:48:00 -04:00
Devin Binnie 54d82493bf
[MM-35483] Flip fuses on ELECTRON_RUN_AS_NODE (#1717)
* upgrade electron to 12, add fuses

* Fix error on linux afterpack

* Merge'd

* Update package-lock.json

* Edit afterpack.js

* Remove console statement

Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-09-09 15:32:34 -04:00
Devin Binnie ed57722086
Show topbar regardless of whether there are servers or not (#1723)
* 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>
2021-09-09 09:10:16 -04:00
Wes Campaigne 07299fb2bd
Make the Window menu on macOS more standard (#1724) 2021-09-09 09:08:20 -04:00