Commit graph

242 commits

Author SHA1 Message Date
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
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á 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
William Gathoye a5368a9587
Add msi, gpo, new CI and runtime/sandbox hardening
* Add msi installer via Wixtoolset
* Add PowerShell Makefile
* [MM-18135] merge lint and test step, use -quiet, clarify changing debugging port
* [MM-18135] use no sandbox, separate linting, circle 2.1
* [MM-18137] Add MSI installer job
* [MM-18137] Add windows signing
* [MM-18152] Desktop notifications (#1040)
* [MM-18345] use non-dangerous wix version
* [MM-18348] add code signing to windows build (#1044)
* [MM-18348] fix review comments
* [MM-18851] runtime/sandbox hardening (#1042)
* [MM-18906] remove GPU acceleration option from GPO settings (#1047)
* Other minor refinements
2019-10-01 14:10:25 +02:00
Dean Whillier e12d47ea62
Mm 16694 master validate urls (#1000)
* validate urls before deeplink or link click

* tests for isValidURL utility function

* review change - invert condition

* add validation for loaded files

bounds-info.json, app-state.json, config.json

* further validation and tweaks

certificate.json, permission.json

* add 2 more files for validation

* parse and validate deeplinks

- includes fix for windows deeplink when app is open

* disable auto-updator when in dev

* Squirrel is not used anymore

* fix validating allowedProtocols

* discard any args following a deeplink url

* tweaks

* update test

* support scheme’s with and without slashes

* stop after finding the first occurance of a deep link

* test updates

* updates to run tests successfully

* port updates to validation from 4.2

* url validation updates

changed validation package to better support internal domains and punycode domains
2019-09-09 12:38:31 -04:00
Guillermo Vayá 304d26cece
[MM-18135] use no sandbox, separate linting, circle 2.1 (#1029)
* [MM-18135] use no sandbox, separate linting, circle 2.1

* [MM-18135] merge lint and test step, use -quiet, clarify changing debugging port
2019-09-06 22:44:52 +02:00
Yuya Ochiai 04c03c3baf Upgrade dependencies (#996)
* Upgrade Electron to 5.0.4

* Fix spellcheck provider

* npm audit fix
2019-06-26 15:46:13 -04:00
Dean Whillier b3d1b977fd
upgrade electron (#989) 2019-06-17 09:56:06 -04:00
Yuya Ochiai 6d6d586b3b Add eslint-plugin-eslint-comments 2019-03-12 23:31:45 +09:00
Yuya Ochiai e62f16aa1c Upgrade webpack-dev-server 2019-01-07 23:32:01 +09:00
Yuya Ochiai 17a0e9bddd Upgrade Electron to 4.0.0 2018-12-26 00:04:31 +09:00
Yuya Ochiai 24540ad46c Remove electron-builder-squirrel-windows 2018-12-25 23:58:32 +09:00
Yuya Ochiai 3bfb9d685e Update webapp eslint config
https://github.com/mattermost/mattermost-webapp/blob/v5.6.0-rc1/.eslintrc.json
2018-12-25 23:31:14 +09:00
Yuya Ochiai 2eb95422e9 Upgrade dependencies 2018-12-25 23:30:18 +09:00
Yuya Ochiai 85495ef77a Merge branch 'master' into auto-updater 2018-12-19 23:21:01 +09:00
Yuya Ochiai fa272ed92f Upgrade babel, webpack and storybook stack 2018-12-04 23:35:14 +09:00
Christopher Speller d9c66ff5b5
Merge pull request #892 from yuya-oc/upgrade-electron-v3
Upgrade to Electron v3
2018-12-03 16:23:05 -08:00
Yuya Ochiai 9c6fdbd898 Change version restriction for Electron 2018-12-04 00:36:53 +09:00
Yuya Ochiai af569e172c Start v4.3.0-develop 2018-11-27 22:27:09 +09:00
Yuya Ochiai e99af55f60 Version 4.2.0 2018-11-27 00:47:30 +09:00
Yuya Ochiai 54fec853c9 Version 4.2.0-rc1 2018-11-21 21:31:12 +09:00
Yuya Ochiai 4593cf38b3 Set notifyOnly:true on Windows builds 2018-11-20 00:34:22 +09:00
Yuya Ochiai dee1865e59 Upgrade Electron to 3.0.9 2018-11-13 22:50:55 +09:00
Yuya Ochiai 1b315ffc0c Upgrade Electron to 2.0.12 2018-10-28 23:12:54 +09:00
Yuya Ochiai ccdfbae3b2 Merge remote-tracking branch 'mattermost/master' into auto-updater 2018-10-16 00:28:47 +09:00
Yuya Ochiai cd06b3b709 Upgrade Electron to 2.0.8 2018-08-23 23:49:42 +09:00
Yuya Ochiai b8b64cf520 Revert "Version 9.9 for test"
This reverts commit a8a63189cc31ea5fb56db6ee087953ba0748535c.
2018-08-02 22:09:09 +09:00
Yuya Ochiai 4d11ea0c21 Version 9.9 for test 2018-08-02 22:09:09 +09:00
Yuya Ochiai 86743fea43 Tweak package and artifact name 2018-08-02 22:09:09 +09:00
Yuya Ochiai 0ba3ea1ab0 Add extra app-updater-config.json into Windows zip 2018-08-02 22:09:09 +09:00
Yuya Ochiai 4ba708b2b6 Apply new versioning scheme 2018-06-15 00:06:44 +09:00
Yuya Ochiai d94741b223 Tweak artifact name 2018-06-06 22:26:21 +09:00
Yuya Ochiai 5a236753f2 Upgrade dependencies 2018-06-04 23:24:41 +09:00
Yuya Ochiai ba31b50404 Update .eslintrc-webapp.json with webapp-v4.10.0 2018-05-30 00:29:39 +09:00
Yuya Ochiai 521891ef0b Upgrade devDependencies 2018-05-30 00:25:06 +09:00
Yuya Ochiai 37c8c73528 Run spectron tests with production build 2018-05-29 22:19:09 +09:00
Yuya Ochiai 4f308f7d40 Migrate to webpack 4 2018-05-26 00:23:28 +09:00
Yuya Ochiai 74b49e7d2d Upgrade babel and webpack stack 2018-05-25 23:05:10 +09:00
Yuya Ochiai 55975ec74d Upgrade electron-builder stack 2018-05-25 21:53:38 +09:00
Yuya Ochiai 6269569c56 Upgrade Electron to 2.0.2 2018-05-25 21:10:16 +09:00
Yuya Ochiai 551c63e2a6 Upgrade Electron to 2.0.1 2018-05-25 21:10:16 +09:00
Yuya Ochiai b733c3e18b Update version to 4.1.2 2018-05-24 00:33:28 +09:00
Jason Blais 91ac9aabf3
Update package.json 2018-05-17 08:03:06 -04:00
Yuya Ochiai e8997231d7 Update version to 4.1.0 2018-04-24 21:56:48 +09:00
Yuya Ochiai f1f9dd67c1 Fix package.json to use correct package name 2018-04-16 21:38:34 +09:00
Yuya Ochiai 6fa479f24f Use Storybook to preview React components 2018-04-11 21:55:29 +09:00
Yuya Ochiai 3dfb9144f1 Use babel-register to execute tests 2018-04-10 22:00:30 +09:00
Yuya Ochiai 4d664ac23a Use install-app-deps as subcommand 2018-04-02 20:46:29 +09:00
Yuya Ochiai 1b96df9556 Fix electron-builder options 2018-04-02 20:46:29 +09:00
Yuya Ochiai 624b874fab Upgrade electron-builder 2018-04-02 20:46:28 +09:00