Commit graph

2137 commits

Author SHA1 Message Date
Guillermo Vayá 3182a9d0b1
[MM-27332] show window at autolaunch (#1379) 2020-10-05 09:10:34 +02:00
Guillermo Vayá 1979721ac9
[MM-28620] allow navigating links to admin_console (#1374)
* [MM-28620] allow navigating links to admin_console

* Fix when there is not a server associated
2020-10-05 08:47:29 +02:00
Eugeny Fomin f06a498134
add Russian language in the list available for spellcheck (#1375) 2020-10-02 00:34:42 +02:00
Nev Angelova 34af973316
[MM-25789] - Update default settings for new installations (#1376)
* [MM-25789] - Update default settings for new installations

* Update src/main.js

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>

* Update src/main.js

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>

* Fix linter

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2020-09-29 16:31:54 +02:00
Guillermo Vayá 34e1a030b9
[MM-28595] Open team links within the app (#1373) 2020-09-11 22:18:30 +02:00
Juho Nurminen 3810a23d91
Clean caches on depcheck failure (#1369)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-08 12:56:09 +03:00
Rodrigo Villablanca a2b2b3367f
[MM-467] Notification sounds (#1351)
* Custom sounds

* Trying new version

* Trying new version

* Some fixes

* Rollback version change

* Allow native sound

* Increase version

* Playing custom sounds :)

* Fix var name

* Fix

* Update src/browser/js/notification.js

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Update src/browser/js/notification.js

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Update src/browser/js/notification.js

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Several suggestions

* Update src/browser/js/notification.js

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Restore of version

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-09-02 12:39:47 +02:00
dependabot[bot] 1833dcb6d3
Bump lodash from 4.17.15 to 4.17.19 (#1349)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 09:30:25 +02:00
Md_ZubairAhmed 1b87636818
Fixes MM-22411 : Have the same default protocols as the server in the autolink plugin #1273 (#1338)
* added missing protocols

* push for rerunning ci
2020-07-30 10:51:50 +02:00
Guillermo Vayá 96597332a0
only show the picker if there is more than 1 cert (#1354) 2020-07-30 10:50:25 +02:00
Venhaus a47feb6b61
Fix typo in SettingsPage.jsx (#1339)
Co-authored-by: Paul Venhaus <paul.venhaus@thoughtworks.com>
2020-07-24 17:13:27 -04:00
Guillermo Vayá 487c9d265e
[MM-26832] don't show the window until it is ready (#1345)
* [MM-26832] don't show the window until it is ready

* [MM-26832] allow the app to still paint itself while initially hidden

* fix tests, ensure it appears if not using silent mode
2020-07-15 22:13:15 +02:00
Juho Nurminen af509dc1ee
Replace npm install with npm ci on CircleCI (#1344) 2020-07-10 16:39:23 +02:00
Dean Whillier 555b359f2d
Bump electron to v7.3.2 (#1341) 2020-07-08 10:40:59 -04:00
Guillermo Vayá d183cbc149
[MM-26665] fix security issues from dependabot (#1335) 2020-07-03 23:08:14 +02:00
Guillermo Vayá a30233f913
[MM-26017] add menu to all windows (#1327)
* [MM-26017] add menu to all windows

* fix suggestions

* fix internal images
2020-06-26 21:20:21 +02:00
Dušan Panić a5ce5700cc
[MM-25748]Allow access to managed resources (#1311)
* init of a branch

* Add more descriptive comment

* fix for linter errors

* Refactor of popup code
Remove isTrustedPopupWindow check in setPermissionRequestHandler
Check which UA needs to be sent depending on a url

* Update src/utils/util.js

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Remove commented code:

* Revert package.json and package-lock.json to original ones

* Implement buildConfig support for multiple trusted resources

* Fix for a typo

* add comments

* code cleanup

Co-authored-by: Dusan Panic <dusan@salestrekker.com>
Co-authored-by: dpanic <dpanic@0point.co>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-06-19 15:32:14 +02:00
Devin Binnie 81522a3b2d
[MM-22751] Removed Windows 10 style border for non-Windows 10 clients (#1322)
* [MM-22751] Removed Windows 10 style border for non-Windows 10 clients

* Lint fix
2020-06-17 20:54:42 +02:00
Guillermo Vayá d49e8dd501
[MM-25980] no menu for popups (#1323)
* [MM-25980] remove menu for win and linux

* [MM-25980] fix focus error

* revert menu visibility on popup
2020-06-17 10:42:28 +02:00
dependabot[bot] a500bf70da Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-09 08:47:18 +02:00
Guillermo Vayá 877f81d430
[MM-22230] fix promises, reenable trust protocols, reenable capturing unhandled exceptions (#1315)
* [MM-22230] migrate dialogs to promises if needed

* object response, actually capture and show the screen

* make app close if user chooses ok
2020-06-08 10:03:21 +02:00
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