Commit graph

2066 commits

Author SHA1 Message Date
Devin Binnie 1a217853d7
[MM-24587] Added margin at top of draggable tab bar to facilitate resizing (#1312) 2020-06-05 13:12:42 -04:00
Nev Angelova 9eca54daf4
[MM-24154] - Fix copy/paste mismatch by upgrading electron context menu (#1313)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP.fritz.box>
2020-06-05 16:51:57 +02:00
Guillermo Vayá 643aed2ba6
[MM-25671] fix invalid urls (#1309) 2020-06-03 10:42:40 +02:00
Guillermo Vayá a377ac2a12
[MM-25429]/[MM-25433] fix finder focus, align buttons, keep state consistent (#1301)
* [MM-25429] fix finder focus, align buttons, keep state consistent

* wip

* actually fix the problem

* remove logs

* move finder class with the rest of the classes, back to top

* address ux comments
2020-06-03 10:42:09 +02:00
Guillermo Vayá a6e6f149e1
[MM-25681] fix reload (#1308) 2020-06-02 11:42:27 +02:00
Ben Schumacher a59c553465
Fix typo in release message (#1307)
* Fix typo in release message

* Update .circleci/config.yml
2020-06-02 08:59:46 +02:00
Devin Binnie 4ce0ede8b7
[MM-25522] Revert unnecessary fix for bad UX causing focus to not be restored correctly (#1303) 2020-05-28 11:28:42 -07:00
Devin Binnie 0725ed9b51
[MM-25526] Removed fix for flaky test causing visual issues with Add New Server flow (#1302) 2020-05-28 10:35:17 -04:00
Devin Binnie 16ea9df188
[MM-24702] Fixed unintentional re-ordering of teams in config file (#1300)
* [MM-24702] Fixed unintentional re-ordering of teams in config file

* Lint fix
2020-05-28 10:34:34 -04:00
Guillermo Vayá 36c6106cad
[MM-22648] basic auth external sites (#1295)
* fix not using babel

* wip

* added tests, moved to map, polifill-like to convert between object and map

* basic structure setup

* working, found new bug

* change buttons

* fix login issue

* remove logging code

* address CR comments

* remove custom function in favor of airbnb shim

* fix linting

* fix PM requested changes

* [MM-25323] fix basic auth cancelling

* fix crash when multiple request were made

* address UX comments, added external link for user
convenience
2020-05-28 10:53:57 +02:00
Guillermo Vayá 53f1f40774 [MM-25295] upgrade yargs, electron-log deps, reorganized args (#1299) 2020-05-27 10:24:27 +02:00
Juho Nurminen f0c5c09e99
Integrate Dependency-Check into CircleCI (#1281) 2020-05-26 10:59:44 +03:00
William Gathoye 929b62874a Fix tests 2020-05-15 01:42:27 +02:00
Guillermo Vaya b043a42a06 Add message notifications to releases 2020-05-15 01:42:27 +02:00
Guillermo Vaya 6e1d8b9c46 [MM-22495] change position of option to its proper place 2020-05-15 01:42:27 +02:00
dependabot[bot] b447d20b84
Bump acorn from 5.7.3 to 5.7.4 (#1260)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-13 13:08:44 +02:00
Guillermo Vayá 593700e280
fix branch releasing (#1289) 2020-05-12 12:19:53 +02:00
Guillermo Vaya 5c8b7d3c37 Bump to version 4.6.0-develop 2020-05-09 01:11:13 +02:00
Guillermo Vaya a65f08e3de fix version for release 2020-05-09 01:10:52 +02:00
Guillermo Vayá c2102bb257
[MM-22102] upgrade to electron 7 (#1268)
* fix errors

* upgrade to electron 7

* getsavepath is deprecated

* fix typo

* disable messaging from 'null'

* replace getname to its property

* deprecated zoomlevel

* deprecated setbadgecount

* isdarkmode deprecated

* it's a property, not a function

* fix error message

* fix test

* fix test on linux
2020-05-09 00:29:02 +02:00
Amy Blais 61095a2fcd
Update release-process.md (#1283) 2020-05-08 09:34:54 +02:00
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