Commit graph

93 commits

Author SHA1 Message Date
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á 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
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
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
Guillermo Vayá 69af5a1f96 [MM-20659] Fixing msi upgrade process (#1115) 2019-12-15 23:16:43 +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
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
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
Guillermo Vayá 990f405a61
[MM-19515] Sign electron builder executable (#1076)
* signing electronbuilder exe

* remove testing branch
2019-10-17 17:11:41 +02:00
Dean Whillier 31f68b975c Rename Mattermost Desktop to Mattermost in MSI (#1066)
For consistency with other app versions (and mobile apps), it has been decided to refer to simply "Mattermost" as app name instead of Mattermost Desktop.
2019-10-12 14:46:39 +02: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
Yuya Ochiai 6d6d586b3b Add eslint-plugin-eslint-comments 2019-03-12 23:31:45 +09:00
Yuya Ochiai 45be2f5fc7 Tweak cp_artifacts.sh 2018-12-26 00:00:09 +09:00
Yuya Ochiai b9897961b7 Tweak cp_artifacts.sh 2018-12-19 23:55:40 +09:00
Yuya Ochiai 85495ef77a Merge branch 'master' into auto-updater 2018-12-19 23:21:01 +09:00
Yuya Ochiai b5228f8779 Tweak artifact name for release 2018-11-26 23:49:59 +09:00
Yuya Ochiai 98974e4bb3 Tweak release markdown 2018-11-22 02:23:16 +09:00
Yuya Ochiai 849800a80f
Merge branch 'master' into auto-updater 2018-10-29 23:50:04 +09:00
Yuya Ochiai 9f5ca839a3 Collect AppImage as CircleCI artifacts 2018-10-23 00:09:21 +09:00
Yuya Ochiai 86743fea43 Tweak package and artifact name 2018-08-02 22:09:09 +09:00
Yuya Ochiai 1a2c1fb8f6 Fix manipulate_windows_zip.js 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 dab874a8f8 Fix cp_artifacts.sh 2018-08-02 22:09:09 +09:00
Yuya Ochiai d94741b223 Tweak artifact name 2018-06-06 22:26:21 +09:00
Yuya Ochiai 37b71476d2 Fix ESLint header/header error 2018-05-31 00:30:24 +09:00
Yuya Ochiai 60e6058869 Use ES6 import/export for modules 2018-04-10 22:00:30 +09:00
Yuya Ochiai 3000854452 Use zip target for macOS package 2018-04-03 21:39:45 +09:00
Yuya Ochiai 7b8058610f Fix cp_artifacts.sh 2018-04-02 22:53:44 +09:00
Yuya Ochiai ab6020973e Add checksum for release template 2018-03-24 00:52:20 +09:00
Yuya Ochiai 91273be3f8 Add script to generate download links for release 2018-03-24 00:52:20 +09:00
Yuya Ochiai 197b172a59 Fix eslint errors 2018-02-23 00:37:24 +09:00
Jesse Hallam 620c5484e3
invoke yarn fix:js to adopt the updated eslint rules. No other changes are included. 2018-02-21 14:21:16 -05:00
Yuya Ochiai fdf0d51442 Update error message for buildConfig 2017-11-09 00:37:35 +09:00
Yuya Ochiai f7a9f50764 Check buildConfig before packaging the application 2017-11-08 01:09:42 +09:00
Chris Duarte bd56b6662a make dynamic zip scripts 2017-09-11 17:08:19 -05:00
Yuya Ochiai 7f9e922c2b Fix artifact path 2017-05-11 23:37:17 +09:00
Yuya Ochiai ed6a929f28 Fix extract script for dictionary files
On Windows, previous script didn't make sense.
2017-04-28 00:09:42 +09:00
Yuya Ochiai 84d0ec432a Implement simple spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 83b84f9fbd Watch main.js sources 2017-03-05 00:58:26 +09:00
Yuya Ochiai d620ebbd44 Update Electron and tools 2016-12-21 23:46:23 +09:00
Yuya Ochiai 46d0c41e60 Fix package name 2016-10-19 22:57:06 +09:00
Yuya Ochiai e5c5ca9d9a Use 7zip to manipulate windows zip archives 2016-10-08 17:05:37 +09:00
Yuya Ochiai 0af78afd14 Update circle.yml for electron-builder 2016-10-08 17:04:12 +09:00