Claudio Costa
b7c9d3527d
Hide menu bar in calls popout window ( #2475 )
2023-01-27 09:32:25 -06:00
Devin Binnie
cf6611cc87
[MM-50011] Disable popping the dialog box for uncaught exceptions ( #2519 )
2023-01-27 09:05:32 -05:00
Devin Binnie
a68e3ffacf
Fixed an issue where opening the app with a deeplink may cause the app not to redirect to the correct URL ( #2514 )
2023-01-23 12:28:04 -05:00
kevfocke
f23bbb9272
minimize on click ( #2508 )
2023-01-22 02:29:36 -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
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
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
Devin Binnie
a089d51d0e
Fix flaky unit test ( #2479 )
2022-12-16 16:18:16 -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
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
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
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
Devin Binnie
0a32030985
[MM-48682] Stop user from opening the servers menu when no servers are configured ( #2434 )
2022-11-30 11:08:24 -05:00
Pantelis Vratsalis
84ab14eabf
[MM-48685] Fix failing downloads dropdown items tests ( #2431 )
...
* [MM-48685] Fix failing downloads dropdown items tests
* Remove unused styles for Thumbnail
2022-11-30 17:43:55 +02:00
Devin Binnie
45e7ec95b7
[MM-48079] Fix race condition related to registry loading vs. the welcome screen popup ( #2408 )
2022-11-22 09:35:46 -05:00
Tasos Boulis
b4e21b5c5e
Remove invalid files from downloads list on startup ( #2401 )
2022-11-18 18:58:32 +02:00
Devin Binnie
791c141aee
[MM-47706] Remove exposure of the ipcRenderer methods in the desktop app and only expose specific endpoints ( #2387 )
2022-11-16 09:40:18 -05:00
Tasos Boulis
216674a673
Fix issue with windows-focus-assist returning truthy value on older windows versions ( #2385 )
2022-11-16 11:50:53 +02:00
Tasos Boulis
e1f5250c0c
[MM-48080] Update tray icon instantly when the settings change ( #2376 )
...
* Update wording and update tray icon instantly when the settings change
* Add tests
* Include new file
2022-11-14 21:40:18 +02:00
Devin Binnie
0ec3da40ba
[MM-48167] Only grab the last extension from a filename during Save As ( #2357 )
2022-11-07 09:49:27 -05:00
Claudio Costa
47edeea601
[MM-46993] Implement CallsWidgetWindow ( #2265 )
...
* Initial implementation of CallsWidgetWindow
* Refactor + implement widget resizing logic
* Add tests
* Enable screen sharing
* Channel link
* Add more tests
* Move constants to common file
* Extract boundsDiff into util
* Set background color on initialization
* Fix channel link
* Support installations under a subpath
* Fix path, caching issues and pass title
* [MM-48142] Fix remaining call state issues in main window (#2349 )
* Update widget URL to new format
* Slightly bump widget dimensions to account for border
* Fix call state on parent window
2022-11-07 09:40:13 +01:00
Tasos Boulis
c319038704
[MM-48184] Disallow edit/remove server if it is imported from GPO ( #2353 )
...
* Disallow edit/remove server if it is imported from GPO
* Fix width issue of team dropdown
2022-11-04 17:58:21 +02:00
Tasos Boulis
935cf3a0cc
[MM-48079] Dont show server login when GPO has preconfigured servers ( #2346 )
...
* Show onboarding server screen only when teams.length is 0
* Add tests
* Add more tests
* Fix issue where callback would not re-evaluate variables
2022-11-04 16:11:56 +02:00
Devin Binnie
6ae055728d
Downloads fixes ( #2331 )
...
* Add file extension when necessary
* [MM-48017] Set the bounds for the dropdowns on finished resize
2022-10-28 16:19:59 -04:00
Tasos Boulis
ca62814ce6
[MM-47970] + [MM-47754] Downloads fixes ( #2326 )
...
* 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
2022-10-27 13:00:28 -04:00
Devin Binnie
635a41f998
[MM-47801][MM-45980] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed ( #2315 )
...
* First pass
* [MM-47801] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed
2022-10-25 15:02:00 +03:00
Tasos Boulis
0f51a628f0
[MM-47776] Reverse order of input fields in server welcome screen ( #2309 )
...
* 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
2022-10-24 10:59:09 -04:00
Tasos Boulis
33da0afce5
[MM-47842] Make "save as" in context menu show the save dialog ( #2311 )
...
* Make "save as" in context menu show the save dialog
* Update tests
2022-10-24 10:08:04 -04:00
Devin Binnie
dc49003d38
[MM-47779] Prevent crash when either URL view or main window was destroyed first ( #2300 )
2022-10-21 09:19:33 -04:00
Tasos Boulis
f7f38102d8
Reposition 3-dot menu only when it is open ( #2304 )
2022-10-21 16:16:39 +03:00
Devin Binnie
179eacb582
[MM-47778] Remove Sign into another Server menu item when no servers exist ( #2301 )
2022-10-21 09:14:02 -04:00
Tasos Boulis
167f7d832a
[MM-47754] Remove update from downloads when "Restart and Upgrade" is clicked ( #2299 )
...
* Remove update from downloads when "Restart and Upgrade" is clicked
* Fix failing test
* Mock downloadsManager in autoUpdater tests
2022-10-21 13:27:24 +03:00
Tasos Boulis
aa28948800
Fix color issues in Downloads dropdown ( #2298 )
...
* Fix color issues in Downloads dropdown
* More styling changes
2022-10-21 12:52:52 +03:00
Tasos Boulis
1f5f5ef71d
[MM-47756] Close Downloads when clicking in tabBar (Windows) ( #2293 )
...
* 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 >
2022-10-20 16:47:53 +03:00
Tasos Boulis
bbf162e7d0
Disabled Clear All button when downloads include only the application update and when they also include files, clear only the files ( #2294 )
2022-10-20 16:20:51 +03:00
Tasos Boulis
cf647ce3e9
[MM-36456] Add support for Gnome's do-not-disturb ( #2278 )
...
* Add support for gnome do-not-disturb mode
* Add tests
* Invert condition
2022-10-17 16:37:42 +03:00
Tasos Boulis
d5cf3e76e1
Fix issue where update progress was not displayed ( #2286 )
2022-10-14 11:17:51 -04:00
Tasos Boulis
9f7a96e794
Fix 3-dot menu not losing focus after clicking outside (Windows). Related to MM-46424 ( #2242 )
2022-10-12 18:04:15 +03:00
Devin Binnie
0ac53605c0
[MM-47279] Upgrade to Electron v21 ( #2270 )
...
* WIP
* Fixed robotjs on windows
2022-10-11 14:02:54 -04:00
Tasos Boulis
a5dac0f4b2
Fix issue with downloads position after window (un)maximize ( #2273 )
2022-10-07 10:14:17 -04:00