Commit graph

2457 commits

Author SHA1 Message Date
Guillermo Vayá 4a72948baa
[MM-31626] bypass gitlab browser-check for oauth login (#1439)
* MM-31626 make User Agent configurable by user

* add info

* remove chrome from UA for gitlab.com

* remove previous solution

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-01-22 12:11:25 +01:00
Rohitesh Gupta 342f3f00ec
Created codeql analysis (#1441)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-01-20 09:55:51 -05:00
Guillermo Vayá 33f250c32d
[MM-31987] Allow camera use for jitsi (#1443)
* [MM-31987] allow camera use for jitsi

* update message for access
2021-01-18 22:43:13 +01:00
Guillermo Vayá 413519e927
fix missing key on apt-get (#1440)
see https://github.com/electron-userland/electron-builder/issues/5485#issuecomment-749244332
2021-01-12 16:32:01 +01:00
dependabot[bot] bbacdc4cc2
Bump ini from 1.3.5 to 1.3.7 (#1427)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 10:56:51 +01:00
dependabot[bot] 8496943e00
Bump highlight.js from 9.18.1 to 9.18.5 (#1421)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 15:26:34 +01:00
Nev Angelova b3fbf2462b
[MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
2020-11-25 14:15:34 +01:00
Dean Whillier 83bae0c2b8
[MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation

* add prop back in

* adjust z-index for tests

* tweaks to pass tests

* address offline feedback

- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen

* add missing css variable

* no need to remove loading icon

* Apply suggestions from code review

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

* Move LoadingScreen.jsx to file-only component

* Rename prop for better clarity

* Default prop to none and check when needed

* Update import paths

* Add ESDocs and remove unecessary conditional

* Forgot to remove the eslint override

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2020-11-17 15:13:03 +01:00
William Gathoye 6a24d46dee Ensure nodejs deps are met before running script argument directly 2020-11-08 13:43:40 +01:00
William Gathoye fc196837aa Merge Powershell files together and remove AppVeyor related code 2020-11-08 13:43:40 +01:00
FalseHonesty 5d0a937bb9
[MM-21835] Use URL instead of the url library (#1384)
Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.

Issue MM-21835
Fixes #1206
2020-11-04 20:59:07 +01:00
Nev Angelova ad1871ad95
[MM-22013] - Allow users to specify default download locations (#1383)
* [MM-22013] - Allow users to specify default download locations

* PR comments

* Add proper config prop

* Update src/browser/components/SettingsPage.jsx

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

* Remove string ref

* Fix styling

* Update styling

* Disable input

* Add variable for windows

* Prevent dialog from opening twice

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box>
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-11-03 12:25:48 +01:00
Amy Blais 98c7aed105
Update release-process.md (#1394) 2020-10-28 12:22:59 +01:00
Guillermo Vayá 732427a3fe
[MM-29921] fix custom sound not playing when receiving a notification (#1396)
* [MM-29921] fix sound notification

* remove logs
2020-10-24 00:07:34 +02:00
Guillermo Vayá 427c16b701
fix soundname not existing (#1390) 2020-10-15 14:42:35 +02:00
Guillermo Vayá 9ceb38402a
[MM-29677] fix download complete notification not appearing (#1388) 2020-10-14 22:42:08 +02:00
Dmitriy Danilov 67179c0b31
feat(spellcheck): add Ukrainian language for spellcheck (#1382) 2020-10-14 17:08:02 +02:00
Nathan Bolender 2198244a65
[MM-9922] Hide tooltip for internal links (channels, timestamps, etc.) (#1386)
* Hide tooltip for internal links (channels, timestamps, etc.)

* Only hide tooltip for internal links on the *current* team
2020-10-14 17:06:11 +02:00
Amy Blais a57340cda0
Update NOTICE.txt (#1385)
* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* convert to markdown

* md linting

* Update NOTICE.md

* Revert "Update NOTICE.md"

This reverts commit 9381fca895c0677bcad1cf1c1071ca88afd6f486.

* Revert "md linting"

This reverts commit e7a68f120109d47b9849cf816d4fef79483ad22f.

* Revert "convert to markdown"

This reverts commit 1e7ed8a67c9c98cd0d0f3ff6cdc70782effb143d.

* add missing licenses to joi and jq

* Remove devDependencies

Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
2020-10-08 17:02:33 +02:00
Guillermo Vaya 210589b6bc Bump to version 4.7.0-develop 2020-10-05 09:17:13 +02:00
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