Commit graph

3029 commits

Author SHA1 Message Date
Devin Binnie a3722baa48 Bump to version 5.8.1-rc.2
Some checks failed
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release-mas / mac-app-store-preflight (push) Has been cancelled
release / begin-notification (push) Has been cancelled
release / build-linux (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-06-12 10:23:57 -04:00
Mattermost Build d7ecc0b727
[MM-58357] Disable window scaling for OSes that aren't Windows (#3063) (#3064)
(cherry picked from commit 3139d485d4)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-12 10:22:02 -04:00
Mattermost Build 98dce7cceb
[MM-58693] Fix some issues with Windows notifications (#3060) (#3062)
* 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

(cherry picked from commit 06c5fe9220)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-11 17:26:41 -04:00
Devin Binnie e2e223c900 Bump to version 5.8.1-rc.1
Some checks failed
release-mas / mac-app-store-preflight (push) Has been cancelled
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-06-10 10:08:29 -04:00
Mattermost Build 84a3a1596c
Improve notification logging (#3040) (#3058)
(cherry picked from commit 9c6d809682)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-10 10:03:37 -04:00
Mattermost Build af3b1d262e
[MM-58357] Account for monitor scale factor when creating the window from saved bounds (#3045) (#3057)
(cherry picked from commit 9bc0270a13)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-10 10:01:32 -04:00
Mattermost Build 6eab211e41
[MM-46634] Force window to be focused after navigation on notification click (#3051) (#3056)
(cherry picked from commit 923df7c187)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-10 10:01:25 -04:00
Mattermost Build bd245ddfbe
[MM-58455] Add error handling when FocusStatus is not authorized on macOS (#3053) (#3054)
* [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

(cherry picked from commit d11752e195)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-06-06 14:31:22 -04:00
Devin Binnie 8834720cb4 [MM-58286] Fix cp_artifacts to avoid weird naming changes (#3037)
Some checks failed
release / build-mac-installer (push) Has been cancelled
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-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-05-16 16:45:52 -04:00
Devin Binnie f579ed346d Bump to version 5.8.0
Some checks failed
release-mas / mac-app-store-preflight (push) Has been cancelled
2024-05-14 12:05:41 -04:00
Devin Binnie 5d99ea45e9 Bump to version 5.8.0-rc.3
Some checks failed
release-mas / mac-app-store-preflight (push) Has been cancelled
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-05-08 15:02:42 -04:00
Mattermost Build dd4870f96f
[MM-58158] Make sure closing the permissions dialog results in a Deny instead of an Allow (#3032) (#3033)
(cherry picked from commit 3cf7ec7451)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-05-08 15:01:00 -04:00
Mattermost Build a1f5430824
Fix script to make directories recursively (#3027) (#3031)
(cherry picked from commit 8beeb93aee)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-05-08 11:23:16 -04:00
Mattermost Build 1c9fc719dc
[MM-58089] Disallow redirects to untrusted URLs without a permission prompt (#3024) (#3030)
* [MM-58089] Disallow redirects to untrusted URLs without a permission prompt

* Fix types

* Add test

(cherry picked from commit b411437a15)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-05-08 11:12:28 -04:00
Mattermost Build a1244be5ac
[MM-58065] Force the packager to create the version directory before packing (#3022) (#3023)
(cherry picked from commit e623fd1536)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-04-30 15:58:26 -04:00
Devin Binnie 47954e348e Bump to version 5.8.0-rc.2
Some checks failed
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release-mas / mac-app-store-preflight (push) Has been cancelled
release / begin-notification (push) Has been cancelled
release / build-linux (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-04-29 09:41:07 -04:00
Mattermost Build fc5a11d84a
[MM-58001] Fix an issue where the window position has a decimal number (#3017) (#3018)
* [MM-58001] Fix an issue where the window position has a decimal number

* I accidentally a log

(cherry picked from commit a6ce24d184)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-04-24 13:21:02 -04:00
Devin Binnie 7fc55f5759 Bump to version 5.8.0-rc.1
Some checks failed
release-mas / mac-app-store-preflight (push) Has been cancelled
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-04-19 13:11:28 -04:00
Mario Vitale 2be7a9c016
Revert download-artifact for problematic jobs (#3012) 2024-04-19 13:10:32 -04:00
Mario Vitale 53502acfd0
Revert upload-artifact where homonymous jobs are used (#3011) 2024-04-19 12:11:20 -04:00
Devin Binnie 6845d4a261
Fix shouldNotify notification reason (#3009) 2024-04-19 09:17:13 -04:00
Devin Binnie e410583fcd
[MM-57912] Disable --inspect on built application (#3010) 2024-04-19 09:16:42 -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
Kaya Zeren 4fc768c1ba Translated using Weblate (Turkish)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2024-04-15 08:56:49 -04:00
Kaya Zeren e23a00f960 Translated using Weblate (Turkish)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2024-04-15 08:56:49 -04:00
Blai 71c5eca5ac Translated using Weblate (Catalan)
Currently translated at 5.8% (17 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ca/
2024-04-15 08:56:49 -04:00
Devin Binnie c586bcdb4b
Upgrade to Electron v29.3.0 (#3004) 2024-04-12 09:09:14 -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
Amy Blais 125ff06481
Update NOTICE.txt (#3003) 2024-04-11 09:46:10 -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
Nemanja Slavković 2456e68ae9 Translated using Weblate (Serbian)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/sr/
2024-04-08 09:06:01 -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 a0ad135fd3
Small package update (#2995) 2024-04-02 09:29:38 -04:00
Antonis Stamatiou 711f2308a0
feat: Minor fixes for the Compatibility Matrix Test (#2994) 2024-04-01 13:41:33 +03:00
Antonis Stamatiou a5f023ce05
feat: Introduce Compatibility Matrix Testing Workflow (#2993) 2024-03-28 11:47:30 +02:00
Tom De Moor 15d53890ce Translated using Weblate (Thai)
Currently translated at 8.9% (26 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/th/
2024-03-26 08:52:09 -04:00
RyoKub 5b0f8d6238 Translated using Weblate (Thai)
Currently translated at 8.9% (26 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/th/
2024-03-26 08:52:09 -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
Antonis Stamatiou 6c3eced3e9
feat: Upgrade Reusable GitHub Actions version (#2989)
* feat: Upgrade Github Actions versions

* fix: Fix supply chain scorecard

* fix: Remove ubuntu-4-core instances as they are redundant

* fix: Upgrade also CodeQL
2024-03-22 14:03:24 +02:00
Antonis Stamatiou 81c3a07412
feat: Refactor E2E functional for readability and reusability (#2988) 2024-03-22 12:30:31 +02:00
yasserfaraazkhan 7c2b4ec502
Modify run conditions for nightly e2e job to create test cycle and post in channel. (#2971) 2024-03-19 22:18:29 +05:30
Devin Binnie d3b43b5b64
release.sh patch (#2983) 2024-03-19 09:57:03 -04:00
Devin Binnie 6d02c5a528
Some further ESLint cleanup, remove some unnecessary scripts and lines (#2984) 2024-03-18 14:46:12 -04:00
Kaya Zeren f762718330 Translated using Weblate (Turkish)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2024-03-18 09:07:05 -04:00
Blai 5955cc835c Translated using Weblate (Catalan)
Currently translated at 3.4% (10 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ca/
2024-03-18 09:07:05 -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 8c6332e42f
Restore working E2E tests (#2981) 2024-03-13 08:51:13 -04:00