Devin Binnie
1894d8a6c6
[MM-61821] Automatically allow permission checks for supported permission types through for GPO configured servers ( #3231 )
...
* [MM-61821] Automatically allow permission checks for supported permission types through for GPO configured servers
* Fix lint
* Fix tsc
2024-12-03 16:55:13 -05:00
Devin Binnie
723fda8abb
[MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data. ( #3185 )
...
* [MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data.
* Fix i18n
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-11-26 15:03:25 +00:00
Devin Binnie
057572e847
[MM-61919] Wrap potential crash in try/catch for thumbnails, fall back to createFromPath
( #3224 )
...
* [MM-61919] Wrap potential crash in try/catch for thumbnails, fall back to `createFromPath`
* Fix lint
2024-11-26 08:11:57 -05:00
Devin Binnie
513a7e0a86
[MM-56795] Improve help options in the Help menu ( #3216 )
...
* [MM-56795] Improve help options in the Help menu
* Fix i18n
* Remove extra separator
2024-11-22 10:18:38 -05:00
Devin Binnie
fad05fd774
[MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux ( #3214 )
...
* [MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux
* Update src/main/app/initialize.ts
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com >
---------
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com >
2024-11-19 16:38:13 -05:00
Devin Binnie
8aa0b86c7a
[MM-22555] Auto-fill server URLs when deep linking into the Desktop App and the server isn't configured ( #3200 )
...
* Allow deep linking to non-configured servers by auto filling the modal
* Fall back to base URL if URL with path name does not work
* Allow deep linking directly into a new server with a permalink
* Support welcome screen/no server case
* Some cleanup
2024-11-18 14:08:00 -05:00
Devin Binnie
453965c964
[MM-53799] Stop autocompleting while the user is typing https://
( #3202 )
...
* [MM-53799] Stop autocompleting while the user is typing `https://`
* PR feedback
* Fix casing issue
2024-11-13 17:05:24 +00:00
Devin Binnie
1fe94eb167
Fixed issues with loading the app from cold when deep linking ( #3201 )
...
* Fixed issues with loading the app from cold when deep linking
* Don't call show() before the window is created on Windows
2024-11-13 10:46:32 -05:00
Andrey Sokolov
cd2d5e817f
Directory can have spaces in its name ( #3198 )
2024-11-12 08:04:34 -05:00
Devin Binnie
03dcd86a5a
[MM-60080] Fixed the MAS migration from the DMG build, fixed a potential crash case ( #3186 )
...
* [MM-60080] Fixed the MAS migration from the DMG build, fixed a potential crash case
* Merge'd
2024-11-04 10:54:46 -05:00
Tsarkov Maksim
ebbee6da5d
Fix: Adjust dropdown menu item layout for better text fitting ( #3159 )
...
- Updated the styling of `.DownloadsDropdownMenu__MenuItem` to improve text fitting and prevent text overlap.
2024-11-04 09:12:30 -05:00
Devin Binnie
5fccd0f837
[MM-59823] Migrate BrowserView
to WebContentsView
( #3177 )
...
* Migrate to WebContentsView from BrowserView
* A bit of cleanup, stop holding reference to the loading screen
* Fix tests
* Fix i18n
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-30 09:05:51 -04:00
Pablo Vélez
f99c10a527
MM-60233 - fix issue in kde of focus after minimize ( #3157 )
...
* MM-60233 - fix issue in kde of focus after minimize
* fix and add unit tests
* enhance condition logic
* place the iskde in utils to be reusable, adjust tests
* move logic to prevent potential problems with upcoming version
* adjust unit test to the new logic
2024-10-29 09:55:01 -04:00
Devin Binnie
6d37cc2dbb
[MM-59483] Remove legacy preload and custom login code ( #3174 )
...
* Remove legacy preload script code
* Remove custom login code
* FIx i18n
2024-10-25 10:02:56 -04:00
Devin Binnie
14bb75eaed
[MM-61271] Upgrade to Electron v33.0.2 ( #3181 )
...
* [MM-61271] Upgrade to Electron v33.0.2
* Fix node-abi
* Fix and patch nan
2024-10-25 09:35:13 -04:00
Devin Binnie
0652f7ff80
[MM-61144][MM-60704] Show badges and allow Edit Server modal for permissions for pre-defined servers ( #3175 )
2024-10-24 13:12:53 -04:00
Devin Binnie
97a872a925
[MM-61058] Upgrade electron-log
, turn on async logging ( #3173 )
2024-10-23 08:52:29 -04:00
Pablo Vélez
9de4f6c2eb
MM-60224 - disable upgrade app button once download starts ( #3164 )
...
* MM-60224 - disable upgrade app btn once download starts
* add translations
* fix styles for update available in dark-mode
2024-10-21 17:16:46 +02:00
Devin Binnie
10295162e0
[MM-60086][MM-60610] Implement performanceMonitor, collect CPU/memory usage data and send via API ( #3165 )
...
* [MM-60086][MM-60610] Implement performanceMonitor, collect CPU/memory usage data and send via API
* Translations
* PR feedback
* Update api-types package
2024-10-18 10:13:39 -04:00
Pablo Vélez
da88b8643e
MM-60782 - use default download directory on windows ( #3161 )
...
* MM-60782 - use default download directory on windows
* fix unit tests
2024-10-18 09:39:56 -04:00
Claudio Costa
071e9d32cc
[MM-61040] Handle custom protocols in plugins popouts ( #3166 )
...
* Handle custom protocols in plugins popouts
* Improve
2024-10-14 08:16:40 -06:00
Devin Binnie
ddecc42233
Disable full screen mode on Linux ( #3151 )
2024-09-24 09:47:38 -04:00
Devin Binnie
c6b68a82b9
[MM-60201] Fixed a potential crash on removing server ( #3152 )
2024-09-23 08:42:19 -04:00
Devin Binnie
3b179c7ec2
[MM-60605] Fix the Download button being hidden on Windows/Linux ( #3148 )
...
* [MM-60605] Fix missing downloads/developer mode icon hidden on Linux and Windows
* Disable for mac
* Fix lint
* Fix misalignment on Windows
* "fix" linux
* Return to inline version, ignore Linux
2024-09-23 08:41:40 -04:00
Devin Binnie
b4eeabb366
[MM-60232] Fix a crash in Linux when trying to create a thumbnail from an image ( #3147 )
...
* [MM-60232] Fix a crash in Linux when trying to create a thumbnail from an image
* Fix lint
* Cap at 1MB
* Fix crash again
2024-09-19 15:00:30 -04:00
Claudio Costa
b03bb69a0d
[MM-60226] Allow plugins to open blank popup windows ( #3136 )
...
* Allow plugins to open blank popup windows
* Simplify with arrow function method
* Handle console messages and render process exit
* Allow opening external links in browser
* Allow routing internal links
* Fix test failure
* Remove allow for potential returns
2024-09-18 09:11:44 -06:00
Claudio Costa
d4e70db999
[MM-60227] Allow plugins to ask for desktop sources for screen sharing ( #3135 )
...
* Allow plugins to ask for desktop sources for screen sharing
* Remove unnecessary logging in case of throwing errors
* Remove more redundant logging
2024-09-18 08:49:56 -06:00
Devin Binnie
42a0bc4759
[MM-60308] Add a set of "Developer Mode" settings that allow the user to turn off systems or force the app to behave a certain way ( #3144 )
...
* Add developer mode manager, implement browser-only mode
* Add indicator when developer mode is enabled
* Add switch to disable notification storage
* Add setting to disable the user activity monitor
* Add switchOff method for easily creating switches to disable/enable functionality, added setting to disable context menu
* Add setting to force legacy API
* Add force new API to remove any support for legacy mode, fix i18n
* Fix lint
* Use one call to `push`
2024-09-18 10:02:20 -04:00
Aino L. Spring
f8a09038dc
Fixed #2977 ( #3126 )
2024-08-19 13:54:58 -04:00
Devin Binnie
c9f671d82a
[MM-59552] Remove unsafe-inline
from internal CSP, replace with nonce and rework some dynamic styling ( #3120 )
...
* Remove unsafe-inline
* Fix dynamic dark mode loading
* Include nonce generator for CSP for styles
* Add nonce provider for react-select
* Fix test
2024-08-12 09:38:59 -04:00
Devin Binnie
0d29d756ac
[MM-59252] Fix loading screen CSS ( #3116 )
2024-08-01 09:09:13 -04:00
Devin Binnie
8ff64d285a
[MM-59841] Migrate to titleBarOverlay
for Windows ( #3111 )
2024-07-31 14:58:33 -04:00
Devin Binnie
b2cd2dc60d
[MM-59252] Fix resizing app when welcome screen is open on macOS, force button to always appear on welcome screen ( #3112 )
2024-07-29 13:23:57 -04:00
Devin Binnie
a00cb4c814
[MM-59489] Change logged in tracking code for new API, check for /
when navigating tabs ( #3105 )
...
* [MM-59489] Change logged in tracking code for new API, check for `/` when navigating tabs
* Better naming
2024-07-24 18:36:36 -04:00
Devin Binnie
7af6601e23
[MM-59480] Fix crash on Windows caused by titlebar overlay ( #3108 )
2024-07-24 17:49:42 -04:00
Claudio Costa
e2cc1cee4b
[MM-51514] Allow Calls widget to open user settings ( #3109 )
...
* Allow Calls widget to open user settings
* Bump api-types version
* Bump
2024-07-24 17:56:45 +02:00
Devin Binnie
314f7ab96f
[MM-59840] Add Linux title bar buttons using titleBarOverlay
field of BrowserWindow
( #3104 )
...
* Add Linux title bar buttons using `titleBarOverlay` field of `BrowserWindow`
* Lint fix, fix potential null on macOS
2024-07-23 09:30:20 -04:00
Devin Binnie
198b1afe88
[MM-59044] Add per-server permission check for screen sharing ( #3097 )
2024-07-19 15:52:07 -04:00
Devin Binnie
7c27a6d1cd
[MM-59412] Reinstate the resize listener for Windows and the exception for willResize ( #3098 )
2024-07-19 10:14:48 -04:00
Devin Binnie
080e4bf727
[MM-59543] Disallow use of file: protocol in the app, remove all references to it, add mattermost-desktop: protocol to read local files ( #3095 )
2024-07-18 16:01:44 -04:00
Devin Binnie
87b2f12663
[MM-59544] Upgrade to Electron v31.2.1 ( #3096 )
2024-07-18 11:01:22 -04:00
Devin Binnie
2dee9b6bc8
Fixed isInsideRectangle to actually work, and removed null check for matchingScreen since it will always return something ( #3093 )
2024-07-16 09:35:06 -04:00
Devin Binnie
35665dee33
[MM-59480] Remove logging of the title/body of notifications ( #3092 )
2024-07-15 14:31:14 -04:00
Claudio Costa
6305153711
Show context menu in Calls popout ( #3085 )
2024-07-15 10:44:21 -04:00
enzowritescode
6c673bd42c
Fix outdated JSDoc comment ( #3083 )
2024-07-15 10:39:39 -04:00
Rajat Dabade
fdf1096494
[MM-56873]: Updated Svg's and styling for welcome page ( #3084 )
...
* [MM-56873]: Updated svg and styling for welcome page
* chore: i18n
2024-07-12 09:30:22 -04:00
Claudio Costa
c0e2b2a0e7
[MM-57964] Implement openThread
and openStopRecordingModal
( #3073 )
...
* Implement API to open thread from Calls widget
* Stop recording modal
* Rename
2024-06-20 18:42:21 +02:00
Devin Binnie
d3a76caeef
[MM-58780] Don't account for scaleFactor on Windows when resizing if the matching screen is the primary monitor ( #3072 )
2024-06-19 09:27:19 -04:00
Devin Binnie
0d4800fd61
[MM-54863] Add permissions manager UI in Edit Server modal, improve permission checks to be less missable ( #3059 )
...
* [MM-54863] Add permissions manager UI in Edit Server modal, improve permission checks to be less missable
* Removing this for E2E (which was having issues anyways)
* PR feedback
* Disable permissions dialog for current E2E tests
* Fixed the dark mode CSS
* Update icon
2024-06-19 09:19:24 -04:00
Devin Binnie
bf07674d68
[MM-58593] Ensure desktop app reloads the current URL when reloading manually ( #3061 )
2024-06-13 09:03:10 -04:00