root
692584ad77
added childprocess to read clients running processes
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
2024-09-20 12:36:58 -07:00
root
5a351c526a
initial commit bois
2024-09-20 11:43:32 -07: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
Devin Binnie
3139d485d4
[MM-58357] Disable window scaling for OSes that aren't Windows ( #3063 )
2024-06-12 10:21:21 -04:00
Devin Binnie
06c5fe9220
[MM-58693] Fix some issues with Windows notifications ( #3060 )
...
* Fix DND setting for Windows
* Add custom not_sent reason for handling windows permissions denied
* Wait to see if failed event happened first before calling success
* Add test
* Reverse priority
2024-06-11 17:18:01 -04:00
Devin Binnie
d11752e195
[MM-58455] Add error handling when FocusStatus is not authorized on macOS ( #3053 )
...
* [MM-58455] Add error handling when FocusStatus is not authorized on macOS
* Do the permission check very early so that it's less likely for users to miss it
* Move permissions check to initialize
2024-06-06 14:04:49 -04:00
Devin Binnie
923df7c187
[MM-46634] Force window to be focused after navigation on notification click ( #3051 )
2024-06-04 15:43:22 -04:00
Devin Binnie
9bc0270a13
[MM-58357] Account for monitor scale factor when creating the window from saved bounds ( #3045 )
2024-05-29 10:08:11 -04:00
Devin Binnie
9c6d809682
Improve notification logging ( #3040 )
2024-05-23 16:45:36 -04:00
Devin Binnie
3cf7ec7451
[MM-58158] Make sure closing the permissions dialog results in a Deny instead of an Allow ( #3032 )
2024-05-08 15:00:44 -04:00
Devin Binnie
b411437a15
[MM-58089] Disallow redirects to untrusted URLs without a permission prompt ( #3024 )
...
* [MM-58089] Disallow redirects to untrusted URLs without a permission prompt
* Fix types
* Add test
2024-05-08 11:12:09 -04:00
Devin Binnie
a6ce24d184
[MM-58001] Fix an issue where the window position has a decimal number ( #3017 )
...
* [MM-58001] Fix an issue where the window position has a decimal number
* I accidentally a log
2024-04-24 13:20:16 -04:00
Devin Binnie
6845d4a261
Fix shouldNotify notification reason ( #3009 )
2024-04-19 09:17:13 -04:00
Devin Binnie
02704177c0
Move Settings Window into Modal ( #3007 )
...
* Move Settings Window into modal
* Re-add for E2E tests
2024-04-16 09:53:55 -04:00
Devin Binnie
d2414c286f
Fix settings window disappearing on macOS when dragged to another monitor ( #3006 )
...
* Fix settings window disappearing on macOS when dragged to another monitor
* Force other windows to show on the same screen as the main window when created
* Try to center the window relative to the main window
* Fix test
2024-04-15 17:15:18 -04:00
Devin Binnie
1eda09ae25
[MM-57348] Change result
to status
as a better descriptor of the notification status ( #3005 )
2024-04-12 09:06:33 -04:00
Devin Binnie
6f96919771
[MM-57736] Force maximize state when restoring the window ( #3002 )
2024-04-10 07:54:26 -04:00
Devin Binnie
e1c957e774
Various QoL fixes for Desktop App ( #2999 )
...
* Some ESLint fixes
* Add login/logout signal to API, clear mentions on logout and flush cookies on login/logout
* Fix issue where local and HTTP-only servers would not validate correctly
* Reduce noise of renderer logging, adjust a few local renderer logs to be louder when needed
* Fallback to beginning of hostname for servers that don't change the site name
* Fix Save Image crash
* Update the name for insecure servers too
* Fix test
* Fix lint
* Reduce repetition
2024-04-08 09:12:35 -04:00
Devin Binnie
e7cf7a81e9
[MM-57348] Support notification metrics from the Desktop App client ( #2998 )
...
* [MM-57348] Support notification metrics from the Desktop App client
* Add timeout in case promise never resolves
2024-04-05 10:35:12 -04:00
Devin Binnie
ba8578273f
Stop Apple from killing the Electron dev process when a notification is received ( #2991 )
2024-03-22 13:12:06 -04:00
Devin Binnie
da59e13477
Use .close()
instead of the private .destroy()
to stop leaking WebContents ( #2990 )
...
* Use `.close()` instead of the private `.destroy()` to stop leaking WebContents
* Fix tests
2024-03-22 12:26:51 -04:00
Devin Binnie
6d02c5a528
Some further ESLint cleanup, remove some unnecessary scripts and lines ( #2984 )
2024-03-18 14:46:12 -04:00
Devin Binnie
ab014c26a2
Stop constant reloading of BrowserViews for servers that are not available ( #2980 )
2024-03-13 08:53:07 -04:00
Devin Binnie
e56b5cdd6a
Various build and developer fixes, some optimizations ( #2975 )
...
* Various build and developer fixes, some optimizations
* Fix the linux build
* Fix afterpack
* Fix notarization variables
* Revert macos-notification-state changes from this PR
* Only build the tar for PRs
* Also ci
* Fix copy script
* Fix copy script more
* Remove @babel/cli
* Fix windows build
* Fix MAS build
2024-03-12 10:04:11 -04:00
Devin Binnie
e5efa727fe
Upgrade electron-log to v5.1.1 ( #2973 )
2024-03-11 19:55:34 -04:00