Commit graph

3093 commits

Author SHA1 Message Date
Devin Binnie 850573326c
[MM-53295] Fix crash in diagnostics when server is unreachable (#2771)
* [MM-53295] Fix crash in diagnostics when server is unreachable

* Fix URL parsing, lint fixes
2023-06-26 08:48:42 -04:00
Devin Binnie f51a7d31db
[MM-53294] Fix bad user feedback when plugins are disabled (#2772) 2023-06-23 09:50:39 -04:00
Devin Binnie 23b2fa6815
Update to use notarytool (#2764) 2023-06-20 15:26:04 -04:00
Devin Binnie 9869d9de22
Force install of ARM64 Electron headers (#2759)
* Force install of ARM64 Electron headers

* Update other files and include x86
2023-06-19 14:18:27 -04:00
Devin Binnie 4428596809
[MM-53201] Fix piping concurrency issues with release post generation script (#2752) 2023-06-15 16:40:52 -04:00
Devin Binnie 21e3044ff2
[MM-52333] Create Server View State module, move into new app module (#2739)
* Create Server View State Module

* Move currentServerId to serverViewState

* Move view state into server view state module

* PR feedback/bug fixes
2023-06-12 08:35:14 -04:00
Devin Binnie a7c25ee95e
[MM-53056] Force a pathname when checking for deep links (#2748) 2023-06-07 11:16:04 -04:00
Devin Binnie 1db2828a93
[MM-52984] Fix minimized window not showing when clicking the notification (#2745)
* Fix minimized window not showing when clicking the notification

* Fix tests
2023-06-01 13:01:27 -04:00
Devin Binnie 90b4489053
Fix release post script (#2736) 2023-05-25 18:11:32 -04:00
Devin Binnie 91a81ef6d7
Bump master to v5.5 (#2735) 2023-05-25 13:28:30 -04:00
Devin Binnie 8c580ff456
[MM-51092] Automate release post for RCs and finals, include changelog (#2733) 2023-05-25 10:03:53 -04:00
Devin Binnie 6973fc7012
Upgrade to Electron v24.3.1 (#2732) 2023-05-25 09:01:29 -04:00
Devin Binnie 66b611bb1a
Fix window issues (#2730)
* Fixed the issue where the window doesn't remember the last window state

* Fixed issue with unsnapping windows on switching server on Windows

* Fix tests
2023-05-25 09:01:12 -04:00
Devin Binnie ae4a8dca1f
Icon update (#2729) 2023-05-24 13:23:11 -04:00
Devin Binnie 9e31c59b42
Remove elevate.exe from the NSIS installer (#2731) 2023-05-24 12:06:37 -04:00
Devin Binnie 1239add076
[MM-50352] Improve URL validation and add/edit server experience (#2720)
* [MM-50352] Improve URL validation and add/edit server experience

* Fix build

* Fix translations

* First pass of fixes

* Some changes to avoid 2 clicks, tests

* PR feedback

* Update translations

* PR feedback

* Fix translations

* PR feedback

* E2E test fixes
2023-05-24 09:04:38 -04:00
Devin Binnie a87e770c73
Fix two server manager issues (#2727) 2023-05-20 11:39:32 -04:00
Devin Binnie 2ed851c2a4
[MM-52879] Fixed calls popout URL checking (#2725) 2023-05-18 12:58:05 -04:00
Devin Binnie 3899b7c582
Make ExtraBar dark when using dark mode (#2718)
* Make ExtraBar dark when using dark mode

* Update ExtraBar to use colors from MainBar in dark mode

* Update the colour

---------

Co-authored-by: zoltan-ofir <45757556+zoltan-ofir@users.noreply.github.com>
2023-05-17 11:18:51 -04:00
Christopher Poile 3b8bddd5e7
MM-51956 - Fix for: Calls popout generating duplicate notifications (#2713)
* set userAgent in the widget popout

* tests

* set userAgent on widget, for consistency

* added link to ticket for the proper fix
2023-05-11 13:54:20 -04:00
Devin Binnie 925b2fcc32
Fixed issue where launching the app a second time wouldn't show the main window if it was hidden. (#2712) 2023-05-08 10:10:36 -04:00
Tom De Moor acd0b6a987 Translated using Weblate (Dutch)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/
2023-05-08 09:24:03 -04:00
Kaya Zeren a7891ba9d1 Translated using Weblate (Turkish)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2023-05-08 09:24:03 -04:00
aeomin 029e052615 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-05-08 09:24:03 -04:00
Kwangoh Moon 2bbccaa8af Translated using Weblate (Korean)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-05-08 09:24:03 -04:00
master7 e1a747ff25 Translated using Weblate (Polish)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/
2023-05-08 09:24:03 -04:00
Konstantin d0316fa1de Translated using Weblate (Russian)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ru/
2023-05-08 09:24:03 -04:00
jprusch 1dd08272f5 Translated using Weblate (German)
Currently translated at 100.0% (266 of 266 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-05-08 09:24:03 -04:00
Devin Binnie 316beba950
[MM-14093] Rename 'team' to 'server' and 'tab' to 'view' in most cases, some additional cleanup (#2711)
* Rename MattermostTeam -> UniqueServer, MattermostTab -> UniqueView

* Rename 'team' to 'server'

* Some further cleanup

* Rename weirdly named function

* Rename 'tab' to 'view' in most instances

* Fix i18n

* PR feedback
2023-05-08 09:17:01 -04:00
Devin Binnie 9f75ddcf0f
[MM-52581] Add USB entitlement for MAS build (#2710) 2023-05-05 16:44:20 -04:00
Devin Binnie d685762ac7
Fix weird macOS crash that occurs when closing the settings window (#2707)
* Fix weird macOS crash that occurs when closing the settings window

* Added comment
2023-05-04 13:37:33 -04:00
Devin Binnie 574c4e98a7
Fix issue where Linux menubar pops up when it's not supposed to (#2709) 2023-05-04 13:32:52 -04:00
Devin Binnie c20088f6fa
[MM-52625] Rework tray icon code into a class, make the behaviour of the tray icon consistent with the OS it's running on (#2708)
* Rework tray into a class, make click behaviour consistent

* Fix issue where app wouldn't switch to workspace where the app was visible

* Fixed an issue where the app would show the window with hideOnStart enabled

* Add comment about StatusIconLinuxDbus

* Fix tests
2023-05-04 09:21:50 -04:00
Devin Binnie 78dc529d32
Fixed Linux snapping, performance stuff (#2706) 2023-05-03 13:09:54 -04:00
Devin Binnie 717544779a
Fixed the window resize for Windows as well (#2705) 2023-05-03 11:40:43 -04:00
Devin Binnie 1049b0763c
Fixed a few resizing issues (#2703)
* Fix bad handler on resize for Linux

* Fix maximize/minimize issue again

* Fix macOS rapid resizing issue

* Make sure #2638 is still fixed

* Still don't need this

* Added comment and fixed test
2023-05-03 08:48:54 -04:00
Devin Binnie e227c6bf1d
[MM-52587] Clean up URL utils, use isInternalURL when possible (#2702) 2023-05-03 08:48:41 -04:00
Devin Binnie f3a4417464
[MM-52139] Force user to reset default downloads directory when the app is not allowed to access it (#2699)
* [MM-52139] Force user to reset default downloads directory when the app is not allowed to access it

* Fix a bug where a different download location choice would cause a problem

* Missed i18n
2023-05-02 14:37:14 -04:00
Claudio Costa 09fe196bc6
Prevent calls widget window from showing native shadow (#2693) 2023-05-02 14:45:24 +02:00
Devin Binnie 06ed78f050
[MM-52285] Upgrade to Electron v23.3.0, electron-context-menu to v3.6.0 (#2700) 2023-05-02 08:38:55 -04:00
Devin Binnie 509c1a7be0
[MM-52380] Fix unhandled rejection when clearing app cache (#2696)
* [MM-52380] Fix unhandled rejection when clearing app cache

* Make sure the window is loaded first

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-01 12:09:52 -04:00
Devin Binnie 35e2b81677
Update wine key to 22.04 (#2697) 2023-05-01 11:35:44 -04:00
Francesco Bedini bc515775b5 Translated using Weblate (Italian)
Currently translated at 23.8% (63 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/it/
2023-05-01 09:21:53 -04:00
Kwangoh Moon 5bb2888ae3 Translated using Weblate (Korean)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-05-01 09:21:53 -04:00
Kwangoh Moon 3b4b6674fb Translated using Weblate (Korean)
Currently translated at 99.2% (262 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-05-01 09:21:53 -04:00
metanerd 748b8c8c2e
Draft: Upgrade node-abi (#2691) 2023-05-01 09:21:16 -04:00
Devin Binnie 0f94b7d510
Fixed Snap issue with resizing on Windows 11 (#2686)
* Fixed Snap issue with resizing on Windows 11

* Run on focus/blur as well

* Whoops, left my logging changes

* Fix tests
2023-04-21 18:09:20 -04:00
Devin Binnie 73edb2fe48
Fixed bad mention counts in the dropdown menu (#2687) 2023-04-21 16:57:44 -04:00
Devin Binnie f4f4511cc7
Remove WindowManager, separate functionality into smaller modules (#2682)
* Move sendToRenderer to respective singletons

* Move to using ViewManager call for getting view by webContentsId

* Move show and create logic to main window, handle deep linking seperately

* Move resizing logic and event handing to mainWindow

* Move server switching logic to main/app

* Move tab switching logic to main/app, rely on showById for most usage

* Migrate remaining functions, remove windowManager objects, set up imports for self-contained singletons

* Fix E2E tests

* Update src/main/app/servers.ts

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-04-19 11:04:26 -04:00
Devin Binnie a141d3cde4
Migrate downloads dropdown menus to singletons (#2680) 2023-04-18 09:14:18 -04:00