Commit graph

3076 commits

Author SHA1 Message Date
Devin Binnie fed306e8bc
[MM-58286] Fix cp_artifacts to avoid weird naming changes (#3037) 2024-05-16 16:44:11 -04:00
Devin Binnie e244b2c230
[MM-55341][MM-56894] Use electron-builder to create the MSI installer, drop support for 32-bit Windows and the NSIS installer (#3028)
* Drop 32-bit windows support

* Remove unnecessary after build script

* Enable MSI build from electron-builder

* Copy MSI installers correctly

* Change script to `windows-installer`

* Revert "Remove unnecessary after build script"

This reverts commit 65b1cccb063656916a7d12c440792ad013dff826.

* Fix duplicate installers when updating to EXE version

* Inject the app-update.yml from the NSIS installer into the MSI, have the MSI uninstall the EXE if it exists

* Cleanup old MSI builder, switch actions to use new process

* Sign PR builds

* Update to use absolute paths

* Use env variable paths
2024-05-14 12:07:45 -04:00
kaakaa a59115b878 Translated using Weblate (Japanese)
Currently translated at 100.0% (291 of 291 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/
2024-05-13 08:49:46 -04:00
jprusch 8b439d490e Translated using Weblate (German)
Currently translated at 100.0% (291 of 291 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2024-05-13 08:49:46 -04:00
master7 eef46411a5 Translated using Weblate (Polish)
Currently translated at 100.0% (291 of 291 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/
2024-05-13 08:49:46 -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 8beeb93aee
Fix script to make directories recursively (#3027) 2024-05-08 11:22:58 -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 e623fd1536
[MM-58065] Force the packager to create the version directory before packing (#3022) 2024-04-30 15:58:02 -04:00
Takuya N 7c9c462964
chore(ci): update CI badge with GitHub Actions' one (#3021)
Follows up PR 2516.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2024-04-30 08:50:38 -04:00
Devin Binnie 77f2800a7b
Bump version to v5.9 (#3019) 2024-04-25 14:09:02 -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
Antonis Stamatiou 54091f3c7d
fix: Upgrade upload/download actions (#3015) 2024-04-23 14:59:45 +03:00
yasserfaraazkhan 69eee2a146
Fix focus test cases (#3014) 2024-04-22 20:52:36 +05:30
Weblate (bot) 632f03d2ea
Translated using Weblate (Croatian) (#3013)
Currently translated at 61.9% (179 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2024-04-22 08:34:33 -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
Devin Binnie e6cbe80c8a
Add NSUserActivityTypes to Info.plist (#2979) 2024-03-13 08:50:12 -04:00
Devin Binnie 22860a4566
Fix MAS build (#2978) 2024-03-12 10:33:11 -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