Commit graph

3017 commits

Author SHA1 Message Date
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
Devin Binnie e5efa727fe
Upgrade electron-log to v5.1.1 (#2973) 2024-03-11 19:55:34 -04:00
Martin Popp Fredslund (SektorCERT) 16f24fede4 Translated using Weblate (Danish)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/da/
2024-03-11 09:40:59 -04:00
Kaya Zeren 5cee00904e 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-11 09:40:59 -04:00
Angel Mendez Cano 27cd37fc6d Translated using Weblate (Spanish)
Currently translated at 99.6% (288 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/es/
2024-03-11 09:40:59 -04:00
Devin Binnie c55e37da2f
[MM-45780] Update to macos-notification-state 3.0, update entitlements and provisioning profile to allow Communication Notification access (#2972)
* [MM-45780] Update to macos-notification-state 3.0, update entitlements and provisioning profile to allow Communication Notification access

* Remove extra entitlements

* Add proper inherit
2024-03-11 09:37:38 -04:00
Devin Binnie 4eec77d299
Remove build hash from release builds (#2974) 2024-03-11 09:07:59 -04:00
Devin Binnie 9b36c25e4e
[MM-52696] Upgrade and clean up Desktop App dev dependencies (#2970)
* Upgrade to ESLint v8

* Upgrade TypeScript, api-types, react-intl

* Remove unnecessary dependencies

* Update to React 17.0.2

* npm audit fixes, remove storybook

* Lock some packages

* Remove nan patch

* Remove some deprecated dependencies

* Fix lint/type/tests

* Merge'd

* Fix bad use of spawn

* Fix notarize

* Fix afterpack, switch to tsc es2020

* Fix api types

* Use @mattermost/eslint-plugin
2024-03-07 15:55:33 -05:00
Devin Binnie 12d59cd81c
[MM-48518] Include renderer logs in main log (#2969) 2024-03-06 09:42:34 -05:00
kaakaa 1021b7fcc1 Translated using Weblate (Japanese)
Currently translated at 100.0% (289 of 289 strings)

Translation: Mattermost/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/
2024-03-04 09:06:44 -05:00