Commit Graph

1945 Commits

Author SHA1 Message Date
Guillermo Vayá
ec8f509385 Improve release (#1287)
* fix rc release

* add rc to patch
2020-05-07 17:04:45 +02:00
Nev Angelova
162a5a7fa4 [MM-24286] - Fix save image functionality of context menu (#1277)
Automatic Merge
2020-05-02 05:14:29 -07:00
Devin Binnie
d9ae410761 [MM-23663] Fixed z-index ordering of webview vs. error page (#1252) 2020-04-27 10:30:34 -04:00
Guillermo Vayá
cc78da7d2c [MM-23215] prevent mouse event to go through and click on window (#1269) 2020-04-22 19:08:54 +02:00
Guillermo Vayá
26af87362f [MM-23195] fix logic to detect if windows is outside of display boundaries (#1249)
* [MM-23195] fix logic to detect if windows is outside of display boundaries

* wip removal

* fix stuck halfway through screens

* don't jump to another display
2020-04-13 15:50:53 +02:00
Guillermo Vayá
f1baa03a8f [MM-22229] migrate some operations to promises (#1223)
* [MM-22229] convert download dialog into promises

* use callback

* [MM-22231] switch clearcache to promises

* [MM-22232] migrate flush cookies to promises
2020-04-08 14:56:25 +02:00
Devin Binnie
9b5f53a294 [MM-22720] Assume maximize setting when AppleActionOnDoubleClick isn't explicitly set (#1214)
* [MM-22720] Assume maximize setting when AppleActionOnDoubleClick isn't explicitly set

* Forced for macOS only and made same changes to SettingsPage

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-04-07 14:52:33 -04:00
Brian Ledbetter
93f7ae9b47 [MM-23082] Fixes whitescreen issue on app upgrade / GPO / whitelabeled app deployments (#1246)
* Fixes whitescreen issue on app upgrade / GPO push / whitelabeled app deployments.  If sort order was not present in buildConfig.js (or previous configuration), we will assume reasonable defaults

* Fixing eslint bugs - with my apologies

* Removing order flag from sample configuration, but leaving it in the documentation.
BUGFIX: Accidentally left my custom enableServerManagement flag in place.  Reverted to default

* Making a more educated guess as to the user's desired sort order.

* Update src/common/config/index.js

Use forEach's index instead of an external one.

Co-Authored-By: Guillermo Vayá <guivaya@gmail.com>

* Update src/common/config/index.js

Let me test this, I'm not sure I understand how this logic works.  :)

Co-Authored-By: Guillermo Vayá <guivaya@gmail.com>

* Removed optional field

* Fixed broken lint:js with my apologies

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-04-07 15:49:49 +02:00
Devin Binnie
b573e773d8 [MM-23784] Removed unnecessary code for focusing the mattermost view (#1258) 2020-04-07 09:11:31 -04:00
Guillermo Vayá
adaeea2082 [MM-23057] add different useragent for popup windows (#1247) 2020-04-02 17:39:29 +02:00
Guillermo Vayá
faeab18a0e [MM-22434] update joi, convert to json before validating (#1240)
* [MM-22434] update joi, convert to json before validating

* fix cr comments
2020-04-02 16:12:29 +02:00
Guillermo Vayá
0f171a2597 [MM-22552] Remove permission request everytime a notification needs to be shown (#1226)
* only ask for permission if we never asked before

* try to get permissions on win on dev mode

* revert appusermodelid

* fix eslint

* refactor to match 'master' state
2020-04-02 15:59:32 +02:00
Devin Binnie
63f0ee0a03 [MM-22004] Add dragability to the title bar buttons area for macOS (#1216) 2020-04-02 09:56:22 -04:00
Guillermo Vayá
c24354f367 [MM022677] fix focus on new server modal (#1242) 2020-04-02 14:50:23 +02:00
Devin Binnie
4f104c93c5 [MM-23153] Fixed the issue where back/forward navigation not in the main window causes the app to crash (#1248)
* [MM-23153] Force the back/forward buttons to only work with the main window

* Revert "[MM-23153] Force the back/forward buttons to only work with the main window"

This reverts commit 9db159dbb9c6b08887492f44f5d1a7bd0df55517.

* Just fix the bug
2020-04-01 14:08:00 -04:00
Nev Angelova
3d188030a4 [MM-22363] - Add desktop notification on download complete (#1213)
* [MM-22363] - Add desktop notification on download complete

* Fix notifications on windows

* Add missing shell import

* Add missing log1

* Solve file location bug

* remove console.log

* Resolve PR comments1

* transform server origin to server name

* please linter

* remove redundant parameters from download notification

* refactor the notification click handling to use a callback

Co-authored-by: Nevyana <nevyana@Nevyanas-MacBook-Pro.local>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP.fritz.box>
Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-04-01 16:29:33 +02:00
Devin Binnie
cb6244832a [MM-22479] Added aria-label to 3-dot menu on Windows (#1244) 2020-03-26 14:24:08 -04:00
Guillermo Vayá
339fe445a8 [MM-22653] make upload to github to not run in pararel with s3 upload (#1237) 2020-03-26 18:07:07 +01:00
Devin Binnie
a24d21e819 [MM-20742] Null checking on URL pathname when deep linking (#1243)
* [MM-20742] Null checking on URL pathname when deep linking

* Switched to using '/' instead of blank string
2020-03-25 12:41:57 -04:00
Guillermo Vayá
cfd65d62c6 [MM-19856] Add back button when navigating outside of MM server (#1179) 2020-03-19 21:51:26 +01:00
Guillermo Vayá
176fd19aa2 [MM-23332] fix eslint (#1238)
* fix eslint packages

* fix eslint rules

* more eslint fixes
2020-03-17 21:34:38 +01:00
Nev Angelova
9f6147e120 [MM-22082] - Add focus to server name field in new server modal (#1208)
* [MM-22082] - Add focus to server name field in new server modal

* Add focus for multiple initialisations

* Fix focus issues

Co-authored-by: Nevyana <nevyana@Nevyanas-MacBook-Pro.local>
2020-03-13 23:46:30 +01:00
Nev Angelova
097e6180c8 [MM-22361] - Set default preferences to flash app window (#1218)
Co-authored-by: Nevyana <nevyana@Nevyanas-MacBook-Pro.local>
2020-03-06 11:56:53 +02:00
Dean Whillier
18d3ebdb53 force wrap long server urls (#1197) 2020-02-18 17:18:40 -05:00
Dean Whillier
20b555631d Clickin on setting team links to proper tab (#1196)
- takes manual ordering into account
2020-02-18 09:50:51 -05:00
Dean Whillier
ab78111a98 fix 3rd party login detection (#1199) 2020-02-18 09:50:36 -05:00
Dean Whillier
e00f803fd3 [MM-22618] Reorder tab menu items to match tab order (#1198)
* reorder tab menu items to match tab order

* now reorder menu items on tray icon
2020-02-18 09:49:21 -05:00
Guillermo Vayá
59bc03d6ab [MM-22558] fix loginurls on subpath and server's with team in the url (#1192)
* fix loginurls on subpath and server's with team in the url

* remove console logs

* support both subpath and teamurls

* improve readability
2020-02-14 22:08:15 +01:00
Devin Binnie
4f7782fb88 [MM-22494] Fixed misuse of config.set (#1191) 2020-02-14 15:21:09 -05:00
Devin Binnie
c895535449 [MM-22585] Ctrl/Cmd+<num> now switches to tabs based on order (#1193)
* [MM-22585] Ctrl/Cmd+<num> now switches to tabs based on order

* Added fix for hotkeying from SettingsPage
2020-02-14 13:45:06 -05:00
Dean Whillier
eb66b789ba Use ‘isTrustedURL’ function to validate url (#1190) 2020-02-12 12:48:44 -05:00
Guillermo Vayá
217947b906 [MM-19636] make file names consistent (#1186)
* added jq

* add verbose message

* add another option for getting the path of npm

* use package.json to get desktop version

* add componentdownload property as dinamic

* fix innertext

* add namespace to element

* remove v from version
2020-02-11 11:06:43 +01:00
Guillermo Vayá
3c35767df5 [MM-22150] Add default accelerators (#1183) 2020-02-10 12:35:13 -08:00
Guillermo Vayá
07e177e693 [MM-21400] Enable setuid on linux packaging (#1156)
* Fix chrome-sandbox permissions for Appimages and .debs.
* NOTE: Patch not working for tar.gz due to the way 7za is called which isn't preserving permissions. Need to create manual tar.gz target in future patch.
2020-02-07 18:04:45 +01:00
Guillermo Vayá
ac3ac24c42 [MM-20832] prevent dialog stacking, move to promises (#1169)
* [MM-20832] fix dialog stacking, move to promises

* put line in the right place

* Fix linting

* fix lint x2

* show details

* don't store the whole URL, just the server

* fix CR comments
2020-02-06 12:41:37 +01:00
Devin Binnie
33c869edae [MM-22193] Workaround for app hang on Windows 10 dark mode (#1180) 2020-02-06 06:19:20 -05:00
Amy Blais
0e7654fbaa Update release-process.md (#1177) 2020-02-05 23:04:45 -05:00
Guillermo Vayá
a39c16a523 [MM-21974] improve CSS for client certificate screens (#1164)
* [MM-21974]make certificate selection look better

* fix console errors

* wip

* first css iteration

* css fixes

* use single quotes

* suggested tweaks

* some extra tweaks

* remove console.log

* Fix CR comments

Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
2020-02-03 10:15:03 +01:00
Devin Binnie
6551483db7 [MM-20796] Un-reverted the Ctrl+Tab fix and also made sure the tabs go in the right order (#1173)
* [MM-20796] Un-reverted the Ctrl+Tab fix and also made sure the tabs go in the right order

* Style fixes

* Update src/browser/components/MainPage.jsx

Co-Authored-By: Guillermo Vayá <guivaya@gmail.com>

* Different logic

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-01-29 18:02:19 -05:00
Devin Binnie
59f2a02c36 [MM-22073] Added new titlebar to Settings page (#1171) 2020-01-29 22:28:32 +01:00
Guillermo Vayá
120082e88a [MM-22006] fix name mapping (#1170) 2020-01-29 13:12:43 -05:00
Guillermo Vayá
58092e284d [MM-22007] Fix MSI download from S3, don't run when not an RC/release (#1167)
* test halt step

* fix

* [MM-22007] fix msi name

* remove test branch and apply to s3 too
2020-01-27 10:25:46 +01:00
Guillermo Vayá
e247b5c155 [MM-21934] don't do anything on cancel (#1168) 2020-01-27 10:22:30 +01:00
Devin Binnie
81555eafba [MM-21341] Changed keyboard shortcut logic to pull focused web contents if an explicitly focused tab is not found (#1151) 2020-01-24 10:07:28 +01:00
Devin Binnie
31cc745748 [MM-19919] Allow links to other servers to go directly to that server in the app (#1165)
* [MM-19919] Allow links to other servers to go directly to that server in the app

* Added index to getSerrver() and used that for handling inter team links
2020-01-23 10:46:17 -05:00
Hunter Lester
cf097e624f [MM-18007] macOS app reopens closed window on Cmd+Tab (#1110) 2020-01-23 12:09:22 +01:00
Guillermo Vayá
458c3b2797 [MM-21869] handle downloading in a new way to adapt to electron v6 (#1159) 2020-01-23 11:56:29 +01:00
JtheBAB
f6129c8253 Add pl-PL as spellchecker (#1155)
* Update contextMenu.js

* Update SpellChecker.js

* Update spellchecker_test.js

* Update test/specs/spellchecker_test.js

Co-Authored-By: Dean Whillier <deanwhillier@users.noreply.github.com>

Co-authored-by: Dean Whillier <deanwhillier@users.noreply.github.com>
2020-01-21 09:08:50 -05:00
Dean Whillier
4804f12535 CircleCI config tweaks (#1116)
* update ci files

* remove redundant build step

- npm run package:* also builds

* fix path to temp aws files

* include exe in windows build

* add release notes reference

* tweak ghr draft tag name

* remove test filtering

* ignore tags for build_linux

* don't try to use the tag

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-01-21 09:07:10 -05:00
Guillermo Vayá
58cf6d5b28 [MM-20363] prevent using api to navigate within the app's window (#1137)
* prevent using api to navigate within the app's window

* api calls handled differently

* add aliases to ease development

* small refactor of url navigation

* hardcode http/s protocol being allowed

* add protocols specified on electron-builder
2020-01-17 13:52:05 -05:00