Commit graph

2333 commits

Author SHA1 Message Date
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
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