Commit graph

1050 commits

Author SHA1 Message Date
Mattermost Build 8c45e25a9f
[MM-38936] Revert #1758, upgrade to Electron 14.1.0 (#1779) (#1784)
* Revert "[MM-38649] Put top bar in a BrowserView (#1758)"

This reverts commit c914903df9.

* [MM-38936] Upgrade to Electron 14.1.0

(cherry picked from commit e3ea6e4c6a)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-10-05 09:27:49 -04:00
Mattermost Build ceec1ec19b
[MM-38532] Use currentView to check for most recently used view (#1776) (#1777)
(cherry picked from commit 3665e87cba)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-10-01 11:35:31 -04:00
Mattermost Build 28e5a64bac
Fix for user selection on the dropdown menu button (#1773) (#1774)
(cherry picked from commit 33933781fd)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-29 14:28:05 -04:00
Mattermost Build 73c0b240fe
[MM-38607] Ensure window is inside one of the screen bounds before rendering (#1769) (#1772)
(cherry picked from commit a3d7f0518e)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-29 13:09:38 -04:00
Mattermost Build 590ff4d0c5
[MM-38857] Fix spellcheck locales regex (#1764) (#1771)
* [MM-38857] Fix spellcheck locales regex

* Remove unnecessary regex

(cherry picked from commit a48c469005)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-29 13:07:42 -04:00
Mattermost Build 7aefdda561
[MM-38695] Fixed minimize to tray setting on Linux (#1767) (#1770)
* [MM-38695] Fixed minimize to tray setting on Linux

* Lint fix

(cherry picked from commit fe19fe51d4)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-29 12:30:12 -04:00
Mattermost Build ac7cb1d825
Fixed multiple reloads happening on launch (#1761) (#1768)
* Fixed multiple reloads happening on launch

* Remove extra log statement

(cherry picked from commit 5df0657588)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-27 17:56:15 -04:00
Mattermost Build 8ac48d618d
[MM-38649] Put top bar in a BrowserView (#1758) (#1766)
* [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

(cherry picked from commit c914903df9)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-27 13:47:47 -04:00
Mattermost Build 7fc2d944cc
Fix tab opening behaviour for playbooks (#1763) (#1765)
(cherry picked from commit 9c5e4880ea)

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2021-09-27 10:56:31 -03:00
Mattermost Build 6658599147
remove global shortcuts (#1740) (#1762)
* remove global shortcuts

* Add global shortcuts only when the app is in focus

Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
(cherry picked from commit 0476d3efb8)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2021-09-27 12:14:41 +02:00
Mattermost Build 44456a1b85
[MM-37055] Remove commit hash from release builds generated by CircleCI (#1750) (#1760)
(cherry picked from commit e8523067b0)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-23 09:33:48 -04:00
Mattermost Build 73b8d47172
[MM-38679] Fix download notification title on Windows (#1752) (#1759)
* [MM-38679] Fix download notification title on Windows

* Lint fix

(cherry picked from commit 45ff8cbd9f)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2021-09-22 15:11:53 -04:00
Devin Binnie 704d87818a
[MM-38577] Allow exit of full screen mode using the restore button on Windows (#1744) (#1757) 2021-09-22 09:58:09 -04:00
Devin Binnie f3d3e59985
[MM-38642] Set a max-width for the dropdown button and menu (#1751) (#1756) 2021-09-22 09:52:20 -04:00
Devin Binnie 11951f3a14
[MM-36032] Add electron-context-menu to popup windows (#1746) (#1753) 2021-09-21 15:55:49 -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
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 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
Devin Binnie cfc0613d0f
[MM-38310][MM-38313][MM-38315] Fixed some issues caused by having multiple tabs (#1722)
* [MM-38313][MM-38315] Fixed some issues caused by having multiple tabs

* [MM-38310] Make sure notification navigates to correct tab
2021-09-03 14:55:52 -04:00
Devin Binnie 3213a16774
[MM-36309] Completely remove menu bar from Linux/Windows (#1718) 2021-09-02 14:07:29 -04:00
Devin Binnie 78819d1dca
[MM-38301] Check for admin URL when adding space for back bar (#1719) 2021-09-02 14:06:48 -04:00
Devin Binnie 9c55f8c717
[MM-36347] Force max window width of 700px (#1720) 2021-09-02 14:05:54 -04:00
Devin Binnie 37c637efe9
[MM-36432][MM-37072][MM-37073] Logic to support Focalboard and Playbooks tabs (#1680)
* Tab stuff

* Inter-tab navigation

* Close tab functionality

* [MM-36342][MM-37072] Logic to support Focalboard and Playbooks tabs

* Update to version 5.0

* Update config.yml

* Updated routes

* Update names for products

* [MM-37073] Close unneeded tabs when not using v6.0

* Merge'd

* Update config.yml

* Update config.yml

* Fix menu names

* PR feedback

* blank

* blank

* blank

* PR feedback

* Update config.yml

* PR feedback

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-09-01 12:45:37 -04:00
Dean Whillier ac61c66ce4
[MM-37090] Update loading screen branding (#1706)
* update loading screen branding

- background
- logo light mode colour

* linting

* build mac installer on pr

* use the actual branch name
2021-08-20 13:50:16 -04:00
Devin Binnie ea14159dcc
[MM-36793][MM-37954] Upgrade to Electron v13.2.0 (#1707)
* [MM-36793][MM-37954] Upgrade to Electron v13.2.0

* Update config.yml
2021-08-20 10:08:22 +02:00
Kyriakos Z 9ce5cb759d
MM-36234: CRT, handle click on notification (#1699)
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).
2021-08-19 17:36:07 +03:00
Devin Binnie 40dfbdb884
[MM-36923] Wait to return to the application before turning off the custom login setting (#1697) 2021-08-17 12:22:37 -04:00
Devin Binnie a79e7aeb4c
[MM-36428][MM-36434][MM-36435] Keyboard navigation and menu updates for new tab/dropdown layout (#1695)
* [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
2021-08-16 09:17:45 -04:00
Devin Binnie 52becc3467
[MM-37797] Re-added the check for flashing the window (#1696) 2021-08-13 10:08:00 -04:00
Devin Binnie 60c73d6d58
[MM-37743] Fix URL validation when editing/adding a server (#1688) 2021-08-12 08:26:24 -04:00
Devin Binnie 5964fc99ac
[MM-37661][MM-29878] Brand Updates for Desktop v5.0/MM v6.0 (#1691)
* WIP

* WIP

* Fixed the background

* Do the thing

* Merge'd?

* Adjust window height to completely show image
2021-08-11 16:49:36 -04:00
Devin Binnie 10feb84c31
enable handlers earlier (#1676) (#1689)
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2021-08-10 09:20:07 -04:00
Devin Binnie d77b6f81a9
[MM-36423][MM-36427] Edit/Delete modals for dropdown (#1682)
* [MM-36423] Edit/Delete modals for dropdown

* [MM-36427] Remove Server Management from Settings modal

* Style fixes

* Hover states for edit/delete buttons

* Update config.yml

* Oops I broke something
2021-08-09 12:04:27 -04:00
Devin Binnie 638e331c58
[MM-37646] Fixed long server name style issue (#1683) 2021-08-05 14:20:46 -04:00
Guillermo Vayá 2229ed3e84
remove electron-log from preload (#1673)
fix lint
2021-07-28 09:51:55 -04:00
Guillermo Vaya d859e95c5c Revert "remove electron-log from preload"
This reverts commit 90ba844fba.
2021-07-27 11:24:56 +02:00
Guillermo Vaya 90ba844fba remove electron-log from preload 2021-07-27 11:22:10 +02:00