Commit graph

2421 commits

Author SHA1 Message Date
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
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
Carlos Tadeu Panato Junior 58bb16fbb6
add no_output_timeout to 30m (default 10m) (#1716) 2021-09-01 10:18:59 -04:00
Devin Binnie 26bea631da
Add jobs for automatically building test builds for PRs (#1713)
* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP
2021-08-31 08:57:24 -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
Devin Binnie 836a05d920
[MM-36577] Fix electron-builder path for linux files (#1700) 2021-08-20 10:07:54 +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 14873083d7
fix package lock (#1692) 2021-08-11 12:22:13 -04:00
Devin Binnie 51f80f5fef
Remove old src/node_modules on clean if it exists (#1693) 2021-08-11 12:02:30 -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
Devin Binnie bdf83547fe
Fix mac installer (#1681)
* Fix mac installer

* Update config.yml

* Ignore issues updating to node v16
2021-08-04 16:02:14 -04:00
Guillermo Vayá 81baae30bf
make electron builder compatible with node v16 (#1678)
* make electron builder compatible with node v16

* Fix cp_artifacts.sh

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
2021-08-03 09:30:15 -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
Guillermo Vayá 0b05f0e00c
allow webpack to resolve .json (#1672) 2021-07-26 15:43:02 +02:00
Guillermo Vayá d77c823bd5
[MM-36747] Spellchecker custom urls (cherrypick to TS) (#1669)
* [MM-36747] Allow users to specify spellchecker url for downloading dictionaries

* fix settings keys

Co-authored-by: = <=>
2021-07-26 09:28:49 -04:00
= f5ca0f9ef5 remove memoization 2021-07-23 17:15:35 +02:00
Guillermo Vayá 4e75007362
[Mm 37198] enable global sandboxing to increase security (#1667)
* prevent creating new windows from popup windows

* enable sandbox

* fix windows detection logic

* disable on testing environment

Co-authored-by: = <=>
2021-07-23 16:07:48 +02:00
Devin Binnie c567449854
[MM-36753] Revert to Electron v12.0.1 (#1665) 2021-07-21 16:47:29 -04:00
Devin Binnie d3599fc500
[MM-36431] Logic to support multiple configurable tabs per server (#1655)
* 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
2021-07-20 09:05:53 -04:00
Devin Binnie 29a049e8ae
[MM-36998] Ensure server key must be at least 0 (#1660) 2021-07-19 11:29:38 -04:00
Guillermo Vayá ccd515e50c
fix crash on invalid download paths (#1662)
Co-authored-by: = <=>
2021-07-19 17:26:37 +02:00
Devin Binnie e71c4ff9f0
[MM-36459] Drag and drop for dropdown (#1651)
* [MM-36459] Drag and drop for dropdown

* CircleCI build

* Drag and drop feedback from UX

* PR feedback

* PR feedback
2021-07-14 16:29:35 -04:00
Guillermo Vayá 26ca8ccefc
disable gpu before app inits (#1654)
Co-authored-by: = <=>
2021-07-13 18:23:05 +02:00
Devin Binnie ee1b393e3d
Bootstrap v4 dark mode for modals and settings window (#1650)
* Bootstrap v4 dark mode for modals and settings window

* Fix package-lock.json

* Fix package-lock.json again

* Merge'd

* Oops

* Refactor into helper
2021-07-09 17:19:49 -04:00
Devin Binnie 880af87ddf
[MM-36421] Replace server tabs with dropdown menu (#1647)
* 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
2021-07-07 18:49:48 -04:00
Devin Binnie 4130c2c37d
React bootstrap upgrade to v1, migrate to react-beautiful-dnd (#1639)
* 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
2021-07-05 21:19:11 -04:00