Commit graph

2783 commits

Author SHA1 Message Date
kevfocke f23bbb9272
minimize on click (#2508) 2023-01-22 02:29:36 -05:00
JtheBAB 8b182f0539
Update msi_installer.wxs (#2111) 2023-01-22 02:25:55 -05:00
Devin Binnie d312bfca24
[MM-44004] Optionally turn off UTF-8 encoding for winreg if the system doesn't support it (#2128)
* [MM-44004] Optionally turn off UTF-8 encoding for winreg if the system doesn't support it

* Fix tests

* REVERT ME: Enable msi installer

* REVERT ME: Wait for msi

* Toggle between winreg and winreg-utf8 if the latter doesn't work

* Revert MSI stuff

* Added logging for the catch at the end to see what error is occurring there

* Catch the error on registry creation as well

* Update logging a bit further

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-20 12:11:37 -05:00
Tasos Boulis 94120a0315
[MM-49743] Remove screen change listeners due to electron's bug (#2506)
* Remove screen change listeners due to electron bug

* Remove unused functions
2023-01-20 11:09:26 +02:00
Tasos Boulis 4131f8fb66
Close downloads menu when clicking "show in folder" (#2507) 2023-01-19 16:34:24 +02:00
Tasos Boulis 5bafaff297
Check if view is destroyed before sending ipc message (#2505) 2023-01-18 19:24:42 +02:00
Devin Binnie c8c88a274f
[MM-49724] More robust check for startup before starting E2E tests (#2504)
* [MM-49724] More robust check for startup before starting E2E tests

* Fix a few more tests
2023-01-18 12:11:11 +02:00
KyeongSoo Kim 7d79cab916
open a file when it is clicked from the download list (#2501) 2023-01-16 17:05:24 -05:00
Seo Joonsoo bab5a372c8 Translated using Weblate (Korean)
Currently translated at 96.5% (254 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-01-16 10:31:02 -05:00
Pierre JENICOT 748f0d5aa1 Translated using Weblate (French)
Currently translated at 83.6% (220 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fr/
2023-01-16 10:31:02 -05:00
jprusch 9e0c497a88 Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-01-16 10:31:02 -05:00
jprusch 82b061ee9d Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-01-16 10:31:02 -05:00
Florian Busch e344ea7850 Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-01-16 10:31:02 -05:00
Devin Binnie db76a67fb5
Reduce the number of writes to the config (#2498)
* Add some logging, refactor setting config items

* Move active team to setMultiple, reduce serverInfos calls if the data is already the same

* Fix some logging

* Lint fix
2023-01-12 08:46:06 -05:00
Tasos Boulis 9f6893fdb2
Remove any existing IPC hanlders/listeners before assigning new ones inside the downloadsManager (#2493)
* Remove any existing IPC hanlders/listeners before assigning new ones inside the downloadsManager

* Mock more ipx functions during tests
2023-01-09 16:57:53 +02:00
Tasos Boulis 71d6cc21ca
Bump macos-notification-state to 2.0.2 (#2489) 2023-01-04 11:33:51 +02:00
Tasos Boulis 76caf02cb2
Maximize main window if monitor removed/changed resolution (#2486)
* Maximize main window if monitor removed/changed resolution

* Fix unit tests

* Add better handlers to support active screen changes
2023-01-03 18:11:35 +02:00
Ji-Hyeon Gim c90f0de342 Translated using Weblate (Korean)
Currently translated at 40.3% (106 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-01-03 11:08:02 -05:00
Csaba Tóth // BDSC Business Digitalisation Kft bb639ea5c2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/hu/
2023-01-03 11:08:02 -05:00
정성근 99f2affad3 Translated using Weblate (Korean)
Currently translated at 38.4% (101 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-01-03 09:26:20 -05:00
jprusch 9b12a1c5c8 Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-01-03 09:26:20 -05:00
kaakaa 8cfbb62809 Translated using Weblate (Japanese)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/
2023-01-03 09:26:20 -05:00
Danny Funkat 47f05a65b4 Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-01-03 09:26:20 -05:00
Devin Binnie 7199593c01
Proper MSI fix (#2481) 2022-12-17 13:00:35 -05:00
Devin Binnie 4ec938859f
Fix MSI (#2480) 2022-12-17 00:12:04 -05:00
Devin Binnie a089d51d0e
Fix flaky unit test (#2479) 2022-12-16 16:18:16 -05:00
Devin Binnie 7bbcbccbd3
Remove check job and perform check on each build (#2478)
* Remove check job and perform check on each build

* Missed one

* Fix windows check
2022-12-16 14:21:46 -05:00
Devin Binnie 29f10f1467
Fixed some unit tests and add test step to run on Windows/Mac builds (#2466)
* Fixed some unit tests and add test step to run on Windows/Mac builds

* Update failing test

* Fix backlash

* Fix windows run

* Fix Windows again

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-14 17:10:20 -04:00
Claudio Costa e63a293b28
Fix main window disappering on call join (#2472) 2022-12-14 14:23:34 -06:00
Tasos Boulis a1c39d954b
Replace deprecated "gpu-process-crashed" with "child-process-gone" (#2471) 2022-12-14 10:49:12 +02:00
Kaya Zeren 19ad7843d0 Translated using Weblate (Turkish)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2022-12-13 09:57:59 -04:00
MArtin Johnson 751246b81c Translated using Weblate (Swedish)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/sv/
2022-12-13 09:57:59 -04:00
Matthew Williams 46cfa2bb51 Translated using Weblate (English (Australia))
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/en_AU/
2022-12-13 09:57:59 -04:00
Tom De Moor 6a3d3fcf32 Translated using Weblate (Dutch)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/
2022-12-13 09:57:59 -04:00
master7 9a563d911f Translated using Weblate (Polish)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/
2022-12-13 09:57:59 -04:00
master7 39be52e339 Translated using Weblate (Polish)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/
2022-12-13 09:57:59 -04:00
Amy Blais f11660acf1
Update feature_request.md (#2459) 2022-12-07 11:02:58 -04:00
cs4p cc1a1ab622
Corrected grammar for unresponsive.dialog.message (#2457) 2022-12-07 14:38:24 +02:00
Tasos Boulis de65cfca4e
Escape server name when used inside regex (#2449)
* Escape server name when used inside regex

* Move util under common and add test
2022-12-06 17:29:02 +02:00
Devin Binnie 865fd2522f
Fixed some E2E tests that broke on v5.2 (#2453)
* Fixing some E2E tests

* Fixed a couple flaky ones

* Fixed some issues on Windows
2022-12-06 14:40:56 +02:00
Konstantin c37d1ba308 Translated using Weblate (Russian)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ru/
2022-12-05 12:04:12 -04:00
Kaya Zeren 6281a1d76c Translated using Weblate (Turkish)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2022-12-05 12:04:12 -04:00
kaakaa 362469e5e6 Translated using Weblate (Japanese)
Currently translated at 99.6% (262 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/
2022-12-05 12:04:12 -04:00
jprusch ab3309c634 Translated using Weblate (German)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2022-12-05 12:04:12 -04:00
MArtin Johnson c9a3572858 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/
2022-12-05 12:04:12 -04:00
Tasos Boulis e8754df3c0
Check if url is a plugin url when calculating the window bounds (#2446) 2022-12-05 12:33:40 +02:00
Tasos Boulis 161ae99e94
[MM-47202] - Desktop diagnostics (#2439)
* Add custom assertion to match object in array (#2358)

* Add custom assertion to match object in array

* Remove test that is not implemented yet

* [MM-48213] Add "Run diagnostics" menu item under Help (#2359)

* Add submenu item that runs diagnostics

* Add custom assertion to match object in array

* Remove test that is not implemented yet

* Add tests

* Add translation

* [MM-47206] Diagnostics steps setup (#2361)

* Add baseline code for diagnostics and their steps

* Fix failing test

* [MM-47206] [MM-48155] Obfuscate logs (#2369)

* Add logging hooks to mask sensitive data

* Add hook that truncates long strings in diagnostics logs

* Add template file for creating steps

* Add readme inside diagnostics

* [MM-48145] Diagnostics step 2 - internet connectivity (#2372)

* Add diagnostics step 2 - internet connectivity check

* Update tests

* [MM-48144] Diagnostics Step - Configure logger (#2390)

* Configure logger

* Move configure logger into step1

* Add file extension to fileName variable

* Diagnostics Step 2: Validate configuration (#2391)

* Resolve conflicts with base branch

* Update test and implement Code review suggestion

* Fix failing test

* [MM-48147]Diagnostics step 3 - server connectivity (#2397)

* Add step3: Check server connectivity by using the /api/v4/system/ping endpoint

* Fix failing tests

* Add better obfuscator functions that mask all types of data (#2399)

* Add better obfuscator functions that mask all types of data(string, array, objects)

* Update tests

* [MM-48148] Add Diagnostics step 4 - session validation (#2398)

* Add diagnostics step 4 - session data validation

* Fix failing tests

* [MM-48152] Add diagnostics step 5 - BrowserWindows checks (#2404)

* Add diagnostics step 5 - browserwindow checks for main window

* Add tests

* [MM-48151] Diagnostics step 6 - Permissions (#2409)

* Add diagnostics step 6 - Permissions check

* Check permissions for microphone ond screen onn mac, windows

* Update tests count in tests

* [MM-48551] Diagnostics step 7 - Performance & Memory (#2410)

* Add diagnostics step 6 - Permissions check

* Check permissions for microphone ond screen onn mac, windows

* Update tests count in tests

* Add diagnostics step 7 - performance and memory

* Fix failing tests

* [MM-48153] Add diagnostics step 8 - Log heuristics (#2418)

* Add diagnostics step 8 - Log heuristics

* Add diagnostics step 9 - config (#2422)

* [MM-48556] Diagnostics Step 10 - Crash reports (#2423)

* Add diagnostics step 9 - config

* Add diagnostics step 10 - include crash reports

* Update tests

* Add diagnostics step 11 - cookies report (#2427)

* [MM-48157] Diagnostics report (#2432)

* Add better logging and pretty print report

* Update last step

* Update log message

* Move log after hooks so that path is masked

* Use correct directory for diagnostics files
2022-12-02 16:33:42 +02:00
Devin Binnie 567b48516b
Reduced package size by moving most depedencies to devDependencies (#2436) 2022-12-01 16:17:53 -04:00
Tasos Boulis 08e94b9f55
[MM-48574] Fixed issue on windows where in some cases window resize does not work (#2441)
* Fixed issue on windows where in some cases window resize does not work

* Use silly instead of debug for window resizing functions
2022-12-01 19:44:47 +02:00
Tasos Boulis cf82058738
Fix debugger for main process (#2440) 2022-12-01 15:31:16 +02:00