Devin Binnie
0f94b7d510
Fixed Snap issue with resizing on Windows 11 ( #2686 )
...
* Fixed Snap issue with resizing on Windows 11
* Run on focus/blur as well
* Whoops, left my logging changes
* Fix tests
2023-04-21 18:09:20 -04:00
Devin Binnie
73edb2fe48
Fixed bad mention counts in the dropdown menu ( #2687 )
2023-04-21 16:57:44 -04:00
Devin Binnie
f4f4511cc7
Remove WindowManager, separate functionality into smaller modules ( #2682 )
...
* Move sendToRenderer to respective singletons
* Move to using ViewManager call for getting view by webContentsId
* Move show and create logic to main window, handle deep linking seperately
* Move resizing logic and event handing to mainWindow
* Move server switching logic to main/app
* Move tab switching logic to main/app, rely on showById for most usage
* Migrate remaining functions, remove windowManager objects, set up imports for self-contained singletons
* Fix E2E tests
* Update src/main/app/servers.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-04-19 11:04:26 -04:00
Devin Binnie
a141d3cde4
Migrate downloads dropdown menus to singletons ( #2680 )
2023-04-18 09:14:18 -04:00
Devin Binnie
b71322a682
Migrate teamDropdownView to singleton ( #2677 )
2023-04-14 12:14:11 -04:00
Devin Binnie
1428ba694b
Clean up appState module, move to common, simplify events ( #2676 )
...
* Refactor appState into class, simplify events
* Move appState to common module, make case for object consistent
* Naming change
* Update name
2023-04-14 12:09:33 -04:00
Devin Binnie
c0dddd88ee
Update eslint-plugin-mattermost version ( #2678 )
2023-04-13 07:14:56 -04:00
Devin Binnie
686b4ac9f1
[MM-50485] Migrate app to ServerManager, remove view names and replace with IDs ( #2672 )
...
* Migrate app to ServerManager, remove view names and replace with IDs
* Fixed a test
* Fixed a bug when adding the initial server
* Merge'd
* Bug fixes and PR feedback
2023-04-12 12:52:34 -04:00
Mattermod
d87097b1eb
Update Licences at Notice.txt to reflect dependency changes. ( #2675 )
2023-04-12 10:50:47 -04:00
Felipe Nogueira
93789cb27f
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 48.8% (129 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pt_BR/
2023-04-12 08:15:05 -04:00
Devin Binnie
661099dd28
[MM-51961] Migrate calls widget to singleton ( #2667 )
...
* Migrate callsWidgetWindow to singleton
* REVERT ME: removed references to ServerManager
2023-04-12 07:50:34 -04:00
Devin Binnie
741087cb55
Refactor config, move ipc calls to app module, some cleanup ( #2669 )
2023-04-06 11:24:57 -04:00
Devin Binnie
88eb2e2c70
[MM-51964] Clean up MattermostView, remove tuple in preparation for id ( #2668 )
...
undefined
2023-04-06 11:17:33 -04:00
Devin Binnie
53fb8c8fd3
[MM-50485] Implement ServerManager, introduce id concept for identifying servers/views ( #2654 )
...
* Implement ServerManager, introduce id concept for identifying servers/views
* REVERT ME (eventually): Move back to old logging
* PR feedback
* PR feedback
* Revert "REVERT ME (eventually): Move back to old logging"
This reverts commit 46954a5bbed4dd29e89ca9d5217bb75af2837bb3.
* Merge'd
* Use the correct method for Logger in ServerManager
2023-04-05 16:30:50 -04:00
Devin Binnie
862287edff
Migrate viewManager to singleton ( #2656 )
2023-04-05 13:01:09 -04:00
Devin Binnie
245215c678
[MM-51873] Create central logging module for adding prefixes to differentiate logs between modules ( #2652 )
...
* Create central logging module for adding prefixes to differentiate logs between modules
* Turn logger into class
* Merge'd
* Rework to use class more intelligently
* Fix modalView
* Fix webContentEvents
* Update src/main/app/intercom.ts
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Shorten prefixes on object creation
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2023-04-05 12:09:56 -04:00
Devin Binnie
865b00625e
Allow multiple MAS pre-finals to be created using the release script ( #2664 )
2023-04-05 09:30:43 -04:00
Devin Binnie
39150137b6
[MM-51874] Migrate loading screen to singleton ( #2655 )
...
* Migrate loadingScreen to singleton
* REVERT ME when MainWindow singleton changes are merged
* Revert "REVERT ME when MainWindow singleton changes are merged"
This reverts commit 2de5520117b9aefb8eeb161d493de7cb275f7a5b.
2023-04-04 11:49:40 -04:00
Devin Binnie
22ec280945
[MM-51871] Migrate mainWindow and settingsWindow to singletons ( #2650 )
...
* Migrate mainWindow to singleton
* Migrate settingsWindow to singleton
* PR feedback
* Missed a couple unwrapping cases
2023-04-04 10:01:40 -04:00
Devin Binnie
c682cf5dd2
Fix final release pipeline ( #2663 )
2023-04-04 08:29:09 -04:00
Devin Binnie
112a591796
Move Validator to common module ( #2651 )
2023-04-04 08:05:40 -04:00
Devin Binnie
e0a9527318
Fixed a typo in MAS workflow ( #2662 )
2023-04-03 14:50:23 -04:00
Devin Binnie
beb7ad327a
Remove unneeded entitlements ( #2659 )
2023-04-03 10:17:17 -04:00
Devin Binnie
44c5e6ec9f
For MAS pre-release, only release to MAS (and not actual production) ( #2660 )
2023-04-03 10:10:40 -04:00
Pantelis Vratsalis
212b2406e7
Change default devServer port to 9065 ( #2657 )
2023-04-03 09:06:17 -04:00
Felipe Nogueira
3291667c19
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 48.8% (129 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pt_BR/
2023-04-03 09:02:27 -04:00
Ji-Hyeon Gim
81d783a5ee
Translated using Weblate (Korean)
...
Currently translated at 100.0% (264 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-04-03 09:02:27 -04:00
Christopher Poile
4fe66b298d
MM-51850 - Calls: Fix for crash after closing popout ( #2647 )
2023-03-31 11:46:27 -04:00
Devin Binnie
a6f153b55a
Add .mas tag for releases ( #2644 )
2023-03-30 11:27:09 -04:00
Devin Binnie
c5a5fa4da7
Add a checkbox asking users to reproduce on the latest version of the Desktop App ( #2642 )
...
* Add a checkbox asking users to reproduce on the latest version of the Desktop App
* Fixed the wording to include prerelease versions
2023-03-29 10:13:57 -04:00
Christopher Poile
d18e3e2251
MM-51535 - Calls: Fix unrestricted redirect from calls widget ( #2635 )
...
* add will-redirect handler to prevent unrestricted redirect
* import ordering
* simplify onWillRedirect handler; tests
* Adding punctuation to force tests to run again.
2023-03-28 09:53:30 -04:00
Claudio Costa
cc706f7a97
Escape regexp input in isCallsPopOutURL ( #2629 )
2023-03-23 10:56:47 -06:00
Claudio Costa
9570e030e7
Allow starting a call from existing thread ( #2630 )
2023-03-21 14:01:41 -04:00
Devin Binnie
c85a4497b6
Fix the issue where we sometimes need to wait for GPO teams properly ( #2621 )
2023-03-20 16:24:07 -04:00
Kaya Zeren
a4444bda1e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (264 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2023-03-20 09:16:33 -04:00
Devin Binnie
4ed2eccddd
Add MAS approval step to the release script ( #2624 )
2023-03-16 11:24:41 -04:00
Antonis Stamatiou
9111e45fbc
hotfix nightly workflow name ( #2623 )
2023-03-16 12:42:44 +02:00
Antonis Stamatiou
5eefa8c575
Separate artifact names since we merged the nightly builds for consistency ( #2618 )
...
* Separate artifact names since we merged the nightly builds for consistency
* renaming builds/artifacts
2023-03-15 18:06:44 +02:00
Devin Binnie
cf8aa6499c
[MM-51406] Update node-abi, fix some server modal bugs ( #2617 )
...
* Update node-abi so tests can run
* [MM-51392] Fix modal ping bugs
2023-03-15 09:12:53 -04:00
Jon Seager
69831bbe13
fix: use XDG_DOWNLOAD_DIR as default download dir ( #2615 )
...
On Linux machines that are using a desktop env which conforms to
the FreeDesktop spec, users should have the XDG_DOWNLOAD_DIR
variable set to specify their default download directory.
This patch ensures that this directory is used if the variable is
present.
Hoping this will fix the following issue in the Mattermost snap:
https://github.com/snapcrafters/mattermost-desktop/issues/65
2023-03-15 09:12:16 -04:00
Devin Binnie
37e7fb1100
[MM-51406] Check for other server URLs when trying to navigate ( #2616 )
2023-03-15 09:08:33 -04:00
Devin Binnie
dc2cacecd4
Add MM_WIN_INSTALLERS to release pipeline ( #2613 )
2023-03-14 10:06:00 -04:00
Antonis Stamatiou
eaf75c257b
fix secret inheritance and naming convention for consistency ( #2612 )
2023-03-14 15:25:34 +02:00
Antonis Stamatiou
08c4535308
Replace release creation with gh CLI ( #2608 )
...
* replace release creation with gh CLI
* Create nightly builds abstraction with tag creation
* Enable also workflow dispatch for main nighlty build
2023-03-13 18:16:29 +02:00
Devin Binnie
19330bab65
Disable creation of blank issues ( #2610 )
2023-03-13 09:54:29 -04:00
Michael Kim
8aee1e2b66
Translated using Weblate (Korean)
...
Currently translated at 99.2% (262 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-03-13 09:27:25 -04:00
Tasy218
7ef8758b7e
Translated using Weblate (Arabic)
...
Currently translated at 45.8% (121 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ar/
2023-03-13 09:27:25 -04:00
Tasy218
66aa944db9
Translated using Weblate (Arabic)
...
Currently translated at 43.1% (114 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ar/
2023-03-13 09:27:25 -04:00
Isaac Be
13621df893
Translated using Weblate (Arabic)
...
Currently translated at 42.0% (111 of 264 strings)
Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ar/
2023-03-13 09:27:25 -04:00
Antonis Stamatiou
94a548427d
Add missing checkout/patch . Fixed folder name ( #2607 )
2023-03-13 11:32:29 +02:00