Commit graph

2465 commits

Author SHA1 Message Date
Mattermost Build c5e3982448
Fixed some E2E tests that broke on v5.2 (#2453) (#2455)
* Fixing some E2E tests

* Fixed a couple flaky ones

* Fixed some issues on Windows

(cherry picked from commit 865fd2522f)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-12-06 16:02:04 +02:00
Mattermost Build 8422f1d250
Fix 3-dot menu not losing focus after clicking outside (Windows). Related to MM-46424 (#2242) (#2454)
(cherry picked from commit 9f7a96e794)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-12-06 15:08:15 +02:00
Mattermost Build 3fd29cec87
[MM-48685] Fix failing downloads dropdown items tests (#2431) (#2451)
* [MM-48685] Fix failing downloads dropdown items tests

* Remove unused styles for Thumbnail

(cherry picked from commit 84ab14eabf)

Co-authored-by: Pantelis Vratsalis <pvratsalis@gmail.com>
2022-12-05 10:00:24 -05:00
Devin Binnie 8a6b241492 Bump to version 5.2.2-rc.3 2022-12-02 09:36:01 -05:00
Mattermost Build eccb8f5890
[MM-48574] Fixed issue on windows where in some cases window resize does not work (#2441) (#2443)
* Fixed issue on windows where in some cases window resize does not work

* Use silly instead of debug for window resizing functions

(cherry picked from commit 08e94b9f55)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-12-02 14:21:11 +02:00
Devin Binnie b69b06c882 Bump to version 5.2.2-rc.2 2022-11-30 11:56:05 -05:00
Mattermost Build f2310b993b
Extend npm run package:* context deadline to 60m (#2437) (#2438)
(cherry picked from commit d8baf2ddc9)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-30 11:55:52 -05:00
Mattermost Build 7dc12bd793
[MM-48682] Stop user from opening the servers menu when no servers are configured (#2434) (#2435)
(cherry picked from commit 0a32030985)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-30 11:08:45 -05:00
Mattermost Build 04a97f23c5
[MM-48380] Reworked Linux build process to correctly support ARM64 (#2428) (#2433)
* [MM-48380] Reworked Linux build process to correctly support ARM64

* Try with ubuntu 18.04

* Why is it backwards

* Revert "Why is it backwards"

This reverts commit 5208fd3fa616a6fe774cca744bb6cd9d3f288a7a.

* Revert "Try with ubuntu 18.04"

This reverts commit e3c0f9e01e5d4b4040f6bb23bbd0fcf6160b92bd.

* :(

(cherry picked from commit b9758bd679)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-30 09:58:57 -05:00
Devin Binnie 3b729c3cde Bump to version 5.2.2-rc.1 2022-11-22 13:14:31 -05:00
Tasos Boulis 7ac3d5edf8 Fix issue with windows-focus-assist returning truthy value on older windows versions (#2385) 2022-11-22 13:12:59 -05:00
Mattermost Build 142962df52
[MM-48557] Fix AppImage shortcut (#2413) (#2414)
(cherry picked from commit 911ae29623)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-22 11:44:19 -05:00
Mattermost Build 6163f83bdd
[MM-48079] Fix race condition related to registry loading vs. the welcome screen popup (#2408) (#2412)
(cherry picked from commit 45e7ec95b7)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-22 09:36:00 -05:00
Mattermost Build 7f1469dd9a
[MM-48380] ARM64 build for Windows/Linux (#2406) (#2407)
* Test ARM build for Windows/Linux

* Fix the windows build

(cherry picked from commit 3c0d309697)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-21 16:27:29 -05:00
Tasos Boulis c75cf59576 Remove invalid files from downloads list on startup 2022-11-21 12:08:26 +02:00
Devin Binnie 76f3c0649c Bump to version 5.2.1 2022-11-15 13:58:20 -05:00
Mattermost Build 1e38a538c3
Fix release script, it would create rc1 instead of rc.1 (#2383) (#2384)
* Dont put dot(.) between rc and number

* Revert "Dont put dot(.) between rc and number"

This reverts commit d9a8837bd0dc18a529d216f76b4f24fe588b63f7.

* Fix missed rc1 in release script

(cherry picked from commit 71f53a477a)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-11-15 13:46:03 +02:00
Tasos Boulis fe50d79ad9 Bump to version 5.2.1-rc.2 2022-11-14 23:47:36 +02:00
Mattermost Build b7b2733f7e
[MM-48080] Update tray icon instantly when the settings change (#2376) (#2382)
* Update wording and update tray icon instantly when the settings change

* Add tests

* Include new file

(cherry picked from commit e1f5250c0c)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-11-14 22:25:03 +02:00
Mattermost Build b0996a1a06
Exclude unnecessary binaries for native modules (#2380) (#2381)
(cherry picked from commit 4171774aee)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-14 14:10:36 -05:00
Tasos Boulis 2e2b43aad8 Bump to version 5.2.1-rc1 2022-11-10 17:28:47 +02:00
Mattermost Build ec4ac77228
[MM-48167] Only grab the last extension from a filename during Save As (#2357) (#2360)
(cherry picked from commit 0ec3da40ba)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-11-07 09:56:46 -05:00
Mattermost Build bf0196fbbf
[MM-48184] Disallow edit/remove server if it is imported from GPO (#2353) (#2355)
* Disallow edit/remove server if it is imported from GPO

* Fix width issue of team dropdown

(cherry picked from commit c319038704)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-11-04 18:44:52 +02:00
Mattermost Build 79b80dc21f
[MM-48079] Dont show server login when GPO has preconfigured servers (#2346) (#2354)
* Show onboarding server screen only when teams.length is 0

* Add tests

* Add more tests

* Fix issue where callback would not re-evaluate variables

(cherry picked from commit 935cf3a0cc)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-11-04 17:34:56 +02:00
Devin Binnie 023ac00559 Bump to version 5.2.0 2022-10-31 09:18:03 -04:00
Devin Binnie 6ca93cf138 Bump to version 5.2.0-rc.5 2022-10-28 16:21:18 -04:00
Mattermost Build fb3d54c9bb
Downloads fixes (#2331) (#2332)
* Add file extension when necessary

* [MM-48017] Set the bounds for the dropdowns on finished resize

(cherry picked from commit 6ae055728d)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-28 16:20:45 -04:00
Mattermost Build 5fc023c6ef
FIx E2E test util method (#2329) (#2330)
(cherry picked from commit 911c0880dd)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-28 11:55:40 -04:00
Devin Binnie ecaa3c8e2f Bump to version 5.2.0-rc.4 2022-10-27 13:04:32 -04:00
Mattermost Build 36f9afe74c
[MM-47970] + [MM-47754] Downloads fixes (#2326) (#2327)
* Use downloads location as default when clicking "Save as". Remove update from downloads after upgrade when application starts

* Fix issue where "addedAt" was extracted from undefined object

* Fix tests

(cherry picked from commit ca62814ce6)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-27 13:00:39 -04:00
Mattermost Build dd7a3f9fd5
Stop unnecessary TestFlight builds (#2323) (#2324)
(cherry picked from commit a29528f1fd)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-26 15:14:11 -04:00
Mattermost Build ce8db337cf
[MM-47912] Upgrade to Electron v21.2.0 (#2319) (#2321)
(cherry picked from commit 54c76d5dd6)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-26 11:48:49 +03:00
Tasos Boulis 1de99aae87 Bump to version 5.2.0-rc.3 2022-10-25 16:15:57 +03:00
Mattermost Build 97678c6686
[MM-47801][MM-45980] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed (#2315) (#2316)
* First pass

* [MM-47801] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed

(cherry picked from commit 635a41f998)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-25 15:40:38 +03:00
Mattermost Build e50e2e85b0
[MM-47776] Reverse order of input fields in server welcome screen (#2309) (#2314)
* Reverse order of inputs in Server modals (add/edit)

* Revert "Reverse order of inputs in Server modals (add/edit)"

This reverts commit f3d577dcd5c0e13d6d0e3c2cc4de588008f53e68.

* Update order of server fields in welcome screens

* Update server modal focus test

* Add margin between inputs

(cherry picked from commit 0f51a628f0)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-24 10:59:22 -04:00
Mattermost Build 27a64cce1c
Fix macos-notification-state build issue (#2310) (#2313)
* Fix macos-notification-state build issue

* Fix windows build, a bit of cleanup

(cherry picked from commit 83b6c64cf3)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-24 10:43:56 -04:00
Mattermost Build bd4f08c35a
[MM-47842] Make "save as" in context menu show the save dialog (#2311) (#2312)
* Make "save as" in context menu show the save dialog

* Update tests

(cherry picked from commit 33da0afce5)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-24 10:08:43 -04:00
Mattermost Build 74d77f1e81
Reposition 3-dot menu only when it is open (#2304) (#2306)
(cherry picked from commit f7f38102d8)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-21 16:55:01 +03:00
Mattermost Build 743a6d7388
[MM-47779] Prevent crash when either URL view or main window was destroyed first (#2300) (#2307)
(cherry picked from commit dc49003d38)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-21 09:19:47 -04:00
Mattermost Build 8995517e7e
[MM-47778] Remove Sign into another Server menu item when no servers exist (#2301) (#2305)
(cherry picked from commit 179eacb582)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-21 09:14:18 -04:00
Mattermost Build e47243e66f
[MM-47754] Remove update from downloads when "Restart and Upgrade" is clicked (#2299) (#2303)
* Remove update from downloads when "Restart and Upgrade" is clicked

* Fix failing test

* Mock downloadsManager in autoUpdater tests

(cherry picked from commit 167f7d832a)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-21 14:12:58 +03:00
Mattermost Build 5f2ebaf750
Fix color issues in Downloads dropdown (#2298) (#2302)
* Fix color issues in Downloads dropdown

* More styling changes

(cherry picked from commit aa28948800)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-21 13:34:06 +03:00
Mattermost Build 7f281a115d
[MM-47756] Close Downloads when clicking in tabBar (Windows) (#2293) (#2297)
* Make tabBar disabled when dropdowns are open so that clicking there can close them

* Update src/renderer/components/MainPage.tsx

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>

* Remove console

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
(cherry picked from commit 1f5f5ef71d)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-20 10:30:06 -04:00
Mattermost Build 7fb2d1abef
Disabled Clear All button when downloads include only the application update and when they also include files, clear only the files (#2294) (#2296)
(cherry picked from commit bbf162e7d0)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-20 16:23:37 +03:00
Mattermost Build 399075fbe5
Fix issue where update progress was not displayed (#2286) (#2287)
(cherry picked from commit d5cf3e76e1)

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
2022-10-14 11:18:38 -04:00
Tasos Boulis ec2d1303e3 Bump to version 5.2.0-rc.2 2022-10-13 18:28:15 +03:00
Mattermost Build 825cae2647
Fix MSI build by removing changelog requirement (#2284) (#2285)
(cherry picked from commit 340ae815d9)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-13 10:11:17 -04:00
Mattermost Build 7792e6906b
Translations update from Mattermost Weblate (#2276) (#2282)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/

* Translated using Weblate (Japanese)

Currently translated at 99.6% (253 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/

* Translated using Weblate (Polish)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/

* Translated using Weblate (English (Australia))

Currently translated at 99.6% (253 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/en_AU/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/hu/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/

* Translated using Weblate (Dutch)

Currently translated at 96.0% (244 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/

* Translated using Weblate (German)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/

* Translated using Weblate (Korean)

Currently translated at 12.2% (31 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (254 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/

* Translated using Weblate (Korean)

Currently translated at 42.9% (109 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/

* Translated using Weblate (Ukrainian)

Currently translated at 0.3% (1 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/uk/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 49.6% (126 of 254 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pt_BR/

* Translated using Weblate (German)

Currently translated at 100.0% (262 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/

* Translated using Weblate (English (Australia))

Currently translated at 98.8% (259 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/en_AU/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (262 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/sv/

* Translated using Weblate (English (Australia))

Currently translated at 99.6% (261 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/en_AU/

* Translated using Weblate (Dutch)

Currently translated at 99.6% (261 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (262 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (262 of 262 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tilto_ <tilto0822@naver.com>
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: José Vítor Cruz de Souza <josevcsouza@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
(cherry picked from commit 89c3375652f955b220e9b353dba61c2e85574ee7)

Co-authored-by: Weblate (bot) <hosted@weblate.org>
2022-10-13 09:44:58 -04:00
Mattermost Build 93f4dc823c
Try wix 3.11.2 (#2280) (#2281)
(cherry picked from commit 04d81d10b3)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-12 11:07:32 -04:00
Mattermost Build 9568c96a3a
[MM-47463] Fix build issues (#2277) (#2279)
* Try updating to 5.0.0

* Try turning off nvm

* Switch to newer Go image

(cherry picked from commit be13c231b6)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2022-10-12 08:50:58 -04:00