Commit graph

2056 commits

Author SHA1 Message Date
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
Guillermo Vayá b98e6a451d [MM-21195] add file extension on download (#1149)
* [MM-21195] select extension

* win fixes

* cleanup
2020-01-17 13:13:58 -05:00
Raoul Scarazzini f9b5d64993 Add it-IT spell checker (#1139) 2020-01-16 22:20:15 -05:00
Guillermo Vayá 33e24030d1 [MM-21192] allow for certificate selection (#1148)
* wip

* first working version

* kinda show the cert

* fix lint

* wip

* wip

* css fixes, cleanup

* fix lint

* get back to normal op

* get back cert name

* wip, added cert info screen

* queue cert requests, move user to cert request team

* certifications queued

* remove unneded import

* remove log

* remove commented code

* cleanup

* remove trust certificate dialog for showing it

* fix CR comments
2020-01-16 20:37:25 -05:00
Dean Whillier 9f2c1b6f86
Upgrade to Electron 6 (#1152)
- includes update to electron-builder 22
- includes deprication update to powerMonitor
2020-01-16 17:47:13 -05:00
Devin Binnie 5a237d8d88
[MM-20822] Added cut/paste/zoom events to other pages and added exceptions for dev tools and new server modal (#1133)
* [MM-20822] Added cut/paste/zoom events to other pages and added exceptions for dev tools and new server modal

* Using getFocusedWebContents

* Fixed an issue where the webcontents aren't found if you're on a login page

* Potential fix for mojave pasting on new team modal
2020-01-13 12:28:00 -05:00
Devin Binnie 8f45afa080 [MM-20350] Block Basic auth for non trusted URLs (#1125) 2020-01-09 12:37:57 -05:00
Xalkan 867380c1d4 [MM-20795] Added auto focus on Server Display Name input field (#1135) 2020-01-09 11:30:48 -05:00
Juho Nurminen df95af58ce
MM-20627: Create SECURITY.md (#1145)
* Create SECURITY.md

* Add missing updates section to SECURITY.md

* Fix typo in SECURITY.md

* Update wording in SECURITY.md
2020-01-09 11:41:25 +02:00
Devin Binnie 932ddafdb0
[MM-10586] Desktop App Window/Tabs Update (#1056)
* [MM-19054] Added new server tab look and feel, still missing proper hover states and session expired icon

* [MM-19055] Added window controls and removed border for macOS

* [MM-19055] Add dark mode for macOS

* [MM-19054] Added session expired icon

* Test windows titlebar

* Fixed the menu issue and added non-macOS dark mode

* Blank commit

* Fixed a lint issue

* Fixed more lint issues

* Fixed more issues

* New tray icons

* [MM-19603] Drag and drop tabs

* Fixed some assets and fixed build output to include missing assets

* Fixed a couple small issues

* Only show tabs for only 1 server on Mac

* Fixed some more tests

* Fixed another test

* Revert "Fixed another test"

This reverts commit 36040294a71a68663d06996d71eecc5ed23d7014.

* Fixed another test

* Trial and error!

* A bunch of additional fixes

* Fixed a lint issue

* Fixed restore focus on add server tab causing bad UX

* Trial and error on flaky test again

* Fixed some bugs based on PR feedback.

* blank commit to push tests

* Revert "Test windows titlebar"

This reverts commit 9cd46b71b1427b75942434ac49185870d2437b85.

* Remove the rest of the old new titlebar and fixes

* Added three-dot link

* New menu

* Rest of new windows menu and other fixes

* Fixed lint errors

* Added windows 10 style title bar buttons for non mac OS

* Lint fixes and enabled the tab bar regardless of number of servers

* Missed one

* Fixed unicode characters

* Commenting out test that should no longer be applicable

* Removed Windows 10 style titlebar icons and used material design instead

* Fixed a lint issue

* Some small UX fixes

* blank commit

* Fixed an issue where dropping the first tab moves it too far over before snapping into place

* Additional style fixes

* Another small issue fix

* Back to Windows 10 style

* Lint fixes

* Accessible three dot menu

* Lint fixes

* Shrinking tabs when window is too small

* Gradient between tabs and title bar buttons when window is too small

* Add drag to gradient

* Replaced icons, drag and drop cursor sticking fix, slight tab change

* Lint and some mac fixes

* Light theme fix to three dot menu

* Hack for tab sticking to cursor on macOS

* Fixes for the find utility

* Fix for Catalina dark mode

* Revert "Fix for Catalina dark mode"

This reverts commit 45da05dd0f17f46efd1c53fafb92e9c1fd9dd8d9.

* Fixed a couple issues Dean found

* More fixes

* Three dot hover effect to circle

* PR feedback

* Test fixes

* Test and config fixes

* Disable dragging when there are GPO servers

* [MM-20757] Fixed dark mode on debug when running macOS Catalina

* Allow future config versions to use v2 config if launching this version of the app

* Oops

* New titlebar icons, blur for titlebar on inactive

* Lint fix

* Set unfocused opacity to 0.4

* Final FINAL icons

* Fixed closing menu not returning focus to the app

* Lint fix

* Update src/browser/components/TabBar.jsx

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

* Update src/main/Validator.js

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

* Lint fixes

* Moved react-smooth-dnd fork to MM org and fixed another merge issue

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-01-03 12:00:43 -05:00
Allen Lai 2a426ebe09 MM-18754: Desktop: Convert binding functions to arrow functions (#1123)
* change to using arrow function

* conform to lint
2019-12-30 11:08:27 +01:00
Devin Binnie 52da23fafe [MM-20796] Removed visibility: hidden from MM view when error page was showing (#1127) 2019-12-27 10:48:08 +01:00
Guillermo Vayá 81a9e5e028
set white background for OSs which have turned off subpixel aliasing (#1129) 2019-12-27 10:47:12 +01:00
Devin Binnie e95b7aad02 [MM-19223] Created reduced size notification icon to fix pixelation (#1136) 2019-12-27 10:44:43 +01:00
Devin Binnie 009b473077
[MM-19205] Allow the use of v2 configs by v1 config desktop apps (#1126) 2019-12-16 15:19:46 -05:00
Guillermo Vayá 75b47a95b7
[MM-20794] change suggestion on spellchecker locale change (#1132)
* [MM-20794] change suggestions if locale is changed

* prevent crash on spellchecker load
2019-12-16 15:59:47 +01:00
Guillermo Vayá 69af5a1f96 [MM-20659] Fixing msi upgrade process (#1115) 2019-12-15 23:16:43 +01:00
Guillermo Vayá 2d8c7af089
[MM-14135] allow negative window app positions (#1124)
* [MM-14135] allow negative positions to enable having the app on a monitor on the left of primary

* remove logging
2019-12-13 17:13:03 +01:00
Guillermo Vayá efd56d7ac3
[MM-21075] Prevent known teams to open in a new app window (#1130)
* [MM-21075] prevent known teams to open a new
window

* improve naming

* allow anything that is not a team to open a window
2019-12-13 16:20:10 +01:00
Devin Binnie a46e3f4342
[MM-20156] Added '99+' message badge for Windows when over 99 mentions are included (#1113) 2019-12-11 09:30:20 -05:00
Carlos Tadeu Panato Junior f6aec188ce update context (#1120) 2019-12-04 15:42:52 +01:00
Devin Binnie f1a6dfc455
[MM-20348] Fixed DMG background (#1114) 2019-11-29 09:56:10 -05:00
Guillermo Vayá 1dd8145943 [MM-20645] fix spellchecker (#1111) 2019-11-27 21:24:16 -05:00
Dean Whillier 4a54b58e65
[MM-19266] Manually exit html fullscreen on macOS when in fullscreen (#1097)
* manually exit html fullscreen on mac in fullscreen

* Ensure the element that is fullscreen is an iframe

* remove unused import
2019-11-23 02:31:18 -05:00
Dean Whillier d23c8cf48a [MM 19649] Fix blank window when auto-starting the app on login (#1106)
* Windows: fix hidden/shown/maximized window on start

* allow for some overlap with the top/left edge of the screen before resetting

* support maximizing directly from app tray icon after initial startup

* inline comments

* alternative to prevent minimize effect on startup

* default hideOnStartup to false

* update comment
2019-11-19 23:02:49 +01:00
Guillermo Vayá 395cbf9c9e
[MM-19963] set working directory on start (#1105)
* [MM-19963] set current working directory for the app

* prevent failing if env variables are not setup

* [MM-19963] cwd if not in dev mode and only if necessary, log it if it happens

* fix remove path if no cert is present

* address CR suggestions
2019-11-19 11:31:32 +01:00
Devin Binnie 90963e8381 Fixed email links being rejected by will-navigate (#1093) 2019-11-14 10:48:14 +01:00
Amy Blais 020c7b8220 Revising desktop release process (#1060)
* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update CHANGELOG.md

* Update docs/release-process.md

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

* Update docs/release-process.md

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

* Update release-process.md
2019-10-29 23:41:46 -04:00
Dean Whillier 81c32c2d8c
Manually handle misbehaving keyboard shortcuts (#1092)
* manually handle misbehaving keyboard shortcuts

MM-19198
MM-19032

includes zooming, redo/undo & copy/cut/paste for good measure

* manually handle misbehaving menu items

* bump electron minor version

* remove temp log import

* update context menu package version
2019-10-28 11:27:59 -04:00
Guillermo Vayá d017a68d2f
[MM-19051] [MM-14180] [MM-19330] Release helpers, push to github and aws, fix weird name on msi at UAC (#1063)
* [MM-19051] release helpers

* [MM-14180] release to github

[MM-18330] more release helpers

* [MM-19330] add proper name during uac

* [MM-19051] address CR comments

* add this branch fo testing

* missing commits, remove trap to prevent ugly output

* Run shellcheck against Bash scripts to fix issues

* Try to fix build - attempt 1

* Add patch option to release script

* add setup exe installer to generate_release script
2019-10-28 12:05:05 +01:00
Amy Blais 94273b8f69 Update CHANGELOG.md (#1089) 2019-10-24 00:12:02 +02:00
Eric Newport a78878fb6d Update add new server icon on the settings page (#1083)
Closes https://github.com/mattermost/desktop/issues/1071

Closes https://mattermost.atlassian.net/browse/MM-19368
2019-10-23 12:59:24 +02:00
Guillermo Vayá 714980c8c6 [MM-19569] add notarization to osx app (#1086)
* [MM-19569] add notarization to release

also added signing verification on release
added electron-notarize to dev deps

* [MM-19569] fix semicolon

* [MM-19569] check that we are running on osx to notarize
2019-10-22 09:48:00 +03:00
Eric Sethna b731ffcd75 Update CHANGELOG.md to clarify known issues (#1079)
* Update CHANGELOG.md

* Update CHANGELOG.md
2019-10-18 11:36:04 -04:00
Guillermo Vayá 990f405a61
[MM-19515] Sign electron builder executable (#1076)
* signing electronbuilder exe

* remove testing branch
2019-10-17 17:11:41 +02:00
Amy Blais df56e372ff v4.3 Changelog draft (#1031)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-10-16 20:43:03 -04:00
JtheBAB 1d1a7e0301 Update GPO DefaultServerList Description (#1073) 2019-10-16 20:20:35 +02:00
JtheBAB 5e333cd362 Disable AutoUpdate GPO (#1072)
* Disable AutoUpdate GPO

* Disable AutoUpdate
2019-10-16 14:16:39 -04:00
dependabot[bot] b27e7b64ee Bump lodash from 4.17.11 to 4.17.14 (#1002)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-15 23:46:02 +02:00
Dean Whillier ef9ad68f05
[MM 19369] Add controlled support for popup windows. (#1065)
* Allow all navigation for trusted popup windows

* slight cleanup

* change log type

* add log of blocked popup windows

* remove allways on top

* additional logging
2019-10-15 14:48:22 -04:00