Commit graph

1307 commits

Author SHA1 Message Date
Devin Binnie d9ae410761
[MM-23663] Fixed z-index ordering of webview vs. error page (#1252) 2020-04-27 10:30:34 -04:00
Guillermo Vayá cc78da7d2c
[MM-23215] prevent mouse event to go through and click on window (#1269) 2020-04-22 19:08:54 +02:00
Guillermo Vayá 26af87362f
[MM-23195] fix logic to detect if windows is outside of display boundaries (#1249)
* [MM-23195] fix logic to detect if windows is outside of display boundaries

* wip removal

* fix stuck halfway through screens

* don't jump to another display
2020-04-13 15:50:53 +02:00
Guillermo Vayá f1baa03a8f
[MM-22229] migrate some operations to promises (#1223)
* [MM-22229] convert download dialog into promises

* use callback

* [MM-22231] switch clearcache to promises

* [MM-22232] migrate flush cookies to promises
2020-04-08 14:56:25 +02:00
Devin Binnie 9b5f53a294
[MM-22720] Assume maximize setting when AppleActionOnDoubleClick isn't explicitly set (#1214)
* [MM-22720] Assume maximize setting when AppleActionOnDoubleClick isn't explicitly set

* Forced for macOS only and made same changes to SettingsPage

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-04-07 14:52:33 -04:00
Brian Ledbetter 93f7ae9b47
[MM-23082] Fixes whitescreen issue on app upgrade / GPO / whitelabeled app deployments (#1246)
* Fixes whitescreen issue on app upgrade / GPO push / whitelabeled app deployments.  If sort order was not present in buildConfig.js (or previous configuration), we will assume reasonable defaults

* Fixing eslint bugs - with my apologies

* Removing order flag from sample configuration, but leaving it in the documentation.
BUGFIX: Accidentally left my custom enableServerManagement flag in place.  Reverted to default

* Making a more educated guess as to the user's desired sort order.

* Update src/common/config/index.js

Use forEach's index instead of an external one.

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

* Update src/common/config/index.js

Let me test this, I'm not sure I understand how this logic works.  :)

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

* Removed optional field

* Fixed broken lint:js with my apologies

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-04-07 15:49:49 +02:00
Devin Binnie b573e773d8
[MM-23784] Removed unnecessary code for focusing the mattermost view (#1258) 2020-04-07 09:11:31 -04:00
Guillermo Vayá adaeea2082
[MM-23057] add different useragent for popup windows (#1247) 2020-04-02 17:39:29 +02:00
Guillermo Vayá faeab18a0e
[MM-22434] update joi, convert to json before validating (#1240)
* [MM-22434] update joi, convert to json before validating

* fix cr comments
2020-04-02 16:12:29 +02:00
Guillermo Vayá 0f171a2597
[MM-22552] Remove permission request everytime a notification needs to be shown (#1226)
* only ask for permission if we never asked before

* try to get permissions on win on dev mode

* revert appusermodelid

* fix eslint

* refactor to match 'master' state
2020-04-02 15:59:32 +02:00
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
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á 3c35767df5
[MM-22150] Add default accelerators (#1183) 2020-02-10 12:35:13 -08: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
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á 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
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
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á 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
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
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
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
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
Dean Whillier e4044f533d
re-focus renderer (#1064)
- using the menu hotkeys was causing the renderer to somehow loose focus, preventing further hotkeys from working
2019-10-11 09:17:51 -04:00
Dean Whillier da4ae94c8b
allow trusted urls to open new windows (#1062) 2019-10-09 09:45:02 -04:00
Dean Whillier e1f64f0ba0
[MM-19266] User activity monitor updates (#1061)
* user activity monitor updates

- re-work of the mechanism for determining user activity status and triggering updates that are passed to the server via the webapp
- removing system events (login/out screensaveer on/of etc.) to be re-considered for a future release

* add missing descriptions

* review tweaks

* update tests
2019-10-09 09:00:15 -04:00
Devin Binnie 695d246a67 [MM-19187] Focus the webview on server selection (#1058) 2019-10-08 17:25:51 -04:00
Dean Whillier ac4ed39761 include team bar in mention counts (#1059) 2019-10-08 22:31:48 +02:00
Dean Whillier 00de500906 change mechanism for showing/hiding tabs (#1057)
- allow hidden tabs to still receive unread/mention updates
2019-10-08 22:25:03 +02:00
Dean Whillier 2591656610
MM-19096 – simplify custom login process (#1053)
* simplify custom login process

- remove need for temporarily trusting 3rd party hostname

* code review tweaks

* fix reducer

* review tweaks

* removing requirement for /login as start
2019-10-06 18:28:38 -04:00
Dean Whillier 24fdd05860
Change help menu shortcut on Windows (#1048) 2019-10-03 12:19:11 -04:00
Dean Whillier 5edc665978
stop cursor bug fix from running in inactive tabs (#1054) 2019-10-03 09:06:40 -04:00
Michael Kochell 593ded98f6
[MM-18936] Guard against bad server url so app doesn't crash (#1049)
* guard against invalid server url so app doesn't crash

* move if statement and add try/catch
2019-10-01 12:17:08 -06:00
Devin Binnie 4d7f5ab417 [MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041) 2019-09-26 13:51:24 -04:00
Dean Whillier 761ef8d0e6
[MM-18152] Desktop notifications (#1040)
* temp

* add in html5 notification tests

* strip out custom permissions handling

* disable middle click

* validate as URI instead of URL

allow’s custom protocol’s to pass through

* add context isolation to new window requests

* add new permissions handling

* prevent setting user to away from quit/shutdown

* dispatch desktop notifications from renderer

* remove test code

* log desktop notification errors

* should deny as a last resort

* only trigger callback once
2019-09-23 14:59:12 -04:00
dependabot[bot] 175eaad6f6 Bump bootstrap from 3.3.7 to 3.4.1 in /src (#1021)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 3.3.7 to 3.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v3.3.7...v3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-20 16:33:01 +02:00
Dean Whillier 171e4a03a7
[MM 17255] Fix OneLogin and other OAUTH/SAML custom login attempts (#1025)
* allow custom login activity (oath, saml)

* fix electron missing cursor bug

* change variable name

* tweaks to custom login process
2019-09-16 16:02:37 -04:00
Dean Whillier 99fae82514
[MM-18551] Remove (auto)updater from v4.3 (#1035)
* remove (auto)updater from v4.3
2019-09-16 13:08:45 -04: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
Dean Whillier f12f9da798
switch to ‘postMessage’ for webapp communication (#1026) 2019-09-09 12:33:14 -04:00
Dean Whillier 2d173e6f70
Enable context isolation (#999) 2019-09-09 12:30:25 -04:00
Peter Dave Hello 310fc63132 Optimize png image with zopflipng lossless compression (#981) 2019-07-09 21:29:02 -04:00
steevsachs e6acdf387c [MM-11896] Do not use minimize shortcut on win32 (#971) 2019-07-02 15:09:39 +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 2cfc735d6d
[MM 7970] Maintain online status while the Desktop App is in the background ... and other things. (#993)
* monitor os-level user activity

* disable eslint warnings

* add tests for UserActivityMonitor

* couple more tests

* udpate headers of new files
2019-06-25 10:11:03 -04:00
Dean Whillier 2cf0acc38c
center badge text and nomention dot (#995)
- also add padding and updated border radius to be a bit more consistent with badges in webapp
2019-06-21 17:39:43 -04:00
Dean Whillier 694e6554e0 reference menion counts from LHS only (#990) 2019-06-17 15:21:57 +05:30
Jesús Espino 241fe8db62 MM-13690: Centering the dot correctly on nomentions badge (#978) 2019-05-24 12:59:30 -04:00
MikeNicholls 9aca5c6651 Fix inability to authenticate against a server protected with HTTP Basic Auth
Remove use of refs for login dialog username and password, shift values into instance properties instead (#966)
2019-05-11 22:02:14 +02:00
Dean Whillier d662b5c863 [MM-14740] Address potential race condition and cleanup main.js (#968)
A potential race condition between loading registry data in Windows and the electron app becoming ready is fixed with Promise.all() to make sure they are both loaded before finishing initialization that relies on both. Code has been reorganized to support this.
2019-05-11 19:27:51 +02:00
Dean Whillier 25b920f412
[MM-14740] Integrate GPO functionality (#961)
* integrate gpo functionality

* support multiple windows registry ‘hives’

* correct some copy paste errors

* registry config progress

* tweaks
2019-04-18 13:19:04 -04:00
Dean Whillier 4137d0ea23 [MM-14740] Consolidate configuration to support integration of MSI/GPO (#959)
* config logic consolidation

* filter out duplicate servers

* build default teams and GPO teams are not editable

* tweaks

* tweak config architecture to support tests

- config needs to load in each process (main and renderer) and then synchronize with each other
- finished saving ui functionality

* add esdoc comments to new config module

* remove old config-related files

* revert eslint comment

* don’t filter teams, duplicates are allowed

* some code review tweaks

* Remove unecessary deepCopy

* tweak for tests

* Skip test for now

Can’t seem to get this test to work, even though what is being tested works fine in the actual app.

* fix for failing test

click of ‘light’ option wasn’t triggering an update as it is selected by default, so flipped the order to first select ‘dark’ and then ‘light’
2019-04-11 13:58:30 +02:00
Dean Whillier f175e21c03
Merge pull request #956 from mattermost/MM-13349
open certain internal paths in default browser
2019-03-26 10:14:10 -04:00
Dean Whillier 28bf5ce08d
Merge pull request #954 from mattermost/MM-14176
[MM-14176] Fix restart after quitting in full screen
2019-03-26 09:56:45 -04:00
Dean Whillier f3204443f9 open certain internal paths in default browser 2019-03-25 22:23:23 -04:00
Dean Whillier feda6e6c02 don’t save window.fullscreen to app state 2019-03-21 11:44:48 -04:00
Dean Whillier c17fdc23a4 fix black screen when closing window in fullscreen 2019-03-20 16:43:27 -04:00
Jesse Hallam 79e020ba43 MM-14446: consider subpath when evaluating if url is internal (#946)
* MM-14446: consider subpath when evaluating if url is internal

When clicking on an URL with `target=_blank`, the webview decides if it should launch an external browser or a new window within the Electron application. Update this logic to consider the application's configured subpath so as to treat links outside the subpath but on the same domain as external.

* fix licensing on new file

* fix .eslintrc.json indentation

* tweak header eslint rules for specific files
2019-03-15 20:20:41 +01:00
Yuya Ochiai 6d6d586b3b Add eslint-plugin-eslint-comments 2019-03-12 23:31:45 +09:00
Sven Huester 16f86c7cc8 update package-lock.json for spellchecker 2019-02-27 16:50:11 +01:00
Sven Huester a9dd0ffda8 update simple-spellchecker for new dict files 2019-02-27 16:30:02 +01:00
William Gathoye 876899404a
Merge pull request #926 from manland/MM-13827
add a menu to open dev tools for current webview
2019-02-20 20:50:39 +01:00
Aswath K 57939e21f2 Fix #538: makes the app not to restart in full screen mode 2019-02-11 22:37:00 +05:30
Romain Maneschi 1ef2108756 add a menu to open dev tools for current webview 2019-02-07 00:23:25 +01:00
Yuya Ochiai 596f3a8721 Fix failing tests
Setting filename to window.location is no longer working.
2019-02-05 00:08:03 +09:00
Asaad Mahmood f1df174b79 MM-13487 - Updating mention badge in tab bar 2019-01-23 22:38:48 +05:00
Christopher Speller 5abe83b1e6
Merge pull request #906 from yuya-oc/upgrade-dependencies
Upgrade dependencies
2019-01-11 07:50:12 -08:00
Yuya Ochiai 5e29537be2
Merge pull request #900 from mattermost/verious-fixes
MM-13145 Some improvments to navigation and messaging.
2019-01-08 00:05:59 +09:00
Yuya Ochiai ea0b28deb7 Switch back from yarn to npm 2019-01-07 23:32:01 +09:00
Christopher Speller 753ad3dfdc
Remove context isolation. 2019-01-02 08:09:29 -08:00
Yuya Ochiai 01276ee1fe Upgrade electron-builder for Mac 2018-12-25 23:38:19 +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
Sven Hüster e47061fd7b
Merge branch 'master' into fix-typos 2018-12-10 22:20:18 +01:00
Jesse Hallam 51dd371894
Wording fixes.
Co-Authored-By: crspeller <crspeller@gmail.com>
2018-12-07 08:11:27 -08: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
Sven Huester fa961654f3 fixes several typos 2018-12-02 14:55:24 +01:00
Christopher Speller 6b09eec4c5
Some improvments to navigation and messaging. 2018-11-29 12:10:55 -08: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 40257cf93e Migrate to new makeSingleInstance method 2018-11-13 22:51:01 +09:00
Yuya Ochiai ed67da7357 Update auto-updater config for release 2018-11-11 23:26:25 +09:00
Yuya Ochiai e80236710d
Merge pull request #875 from mattermost/jasonblais-patch-1
Add en-GB and es-MX to spellchecker
2018-11-01 23:48:25 +09:00
Yuya Ochiai 849800a80f
Merge branch 'master' into auto-updater 2018-10-29 23:50:04 +09:00
Harrison Healey c861827d32 MM-12800 Remove partial ability to use file:// links 2018-10-25 13:41:06 -04:00
Yuya Ochiai 10d1bb7d0a Tweak updater modal appearance 2018-10-18 01:03:30 +09:00
Yuya Ochiai 48f165c44f Add cancel button to updater 2018-10-18 00:59:18 +09:00
Yuya Ochiai c4240bd87f Add storybook file for UpdaterPage 2018-10-17 22:10:53 +09:00
Jason Blais 2314f8b594
Add en-GB and es-MX to spellchecker 2018-10-16 16:46:40 -04:00
Yuya Ochiai 76e94cca38 Make 0% visible in auto-updater progress bar 2018-10-17 00:05:34 +09:00
Yuya Ochiai ccdfbae3b2 Merge remote-tracking branch 'mattermost/master' into auto-updater 2018-10-16 00:28:47 +09:00
Yuya Ochiai 5ed701736e
Merge pull request #869 from torlenor/MM-562
Preserve case of first letter in spell check, fixes #562
2018-10-15 23:51:16 +09:00
Jesse Hallam 037c5c4333
increment mentionCount for linux instead 2018-10-12 08:45:12 -04:00
Hans-Peter Schadler 6f6e80bdac Preserve case of first letter in spell check, fixes #562 2018-10-06 10:21:56 +02:00
Jesse Hallam cbe7889f20
MM-12275: detect an expired session and show badging 2018-09-24 18:26:45 -04:00
Yuya Ochiai 69c48a529a
Merge pull request #861 from yuya-oc/no-find-dom-node
Remove findDOMNode() from components
2018-09-19 23:04:23 +09:00
Yuya Ochiai e5427ca274 Merge remote-tracking branch 'mattermost/master' into startup-via-config-json 2018-09-12 23:03:17 +09:00
Yuya Ochiai 5091f59786 Remove findDOMNode() from components 2018-09-06 00:30:17 +09:00
Yuya Ochiai 23ca8bbe5a Use ES6 class for React components 2018-09-03 23:43:09 +09:00
Yuya Ochiai d73f98825e Apply no-var eslint rule 2018-09-03 21:41:04 +09:00
Yuya Ochiai 32a6012647
Merge pull request #853 from yuya-oc/startup-as-hidden
Hide the main window on Mac auto-start
2018-09-03 21:02:35 +09:00
Jason Blais 0160894e56
Update SettingsPage.jsx 2018-08-31 07:57:39 -04:00
Jason Blais 1d7b937193
Update contextMenu.js 2018-08-31 07:56:47 -04:00
Yuya Ochiai 9f9f5de5dd Hide the main window on Mac auto-start 2018-08-28 22:38:26 +09:00
Yuya Ochiai ac8c692c45 Set "app start on login" preference to default on 2018-08-10 21:40:53 +09:00
Yuya Ochiai 15bc264fd5 Keep autostart config in sync with config.json 2018-08-07 23:51:54 +09:00
Yuya Ochiai a5311e7f72 Tweak the first timing to check for updates 2018-08-02 22:09:09 +09:00
Yuya Ochiai 79f2faadba Fix timing to call quitAndInstall() 2018-08-02 22:09:09 +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 b45fc6545c Set flag to quit on auto-update 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 4e1b02bb1c Set interval to 5 minutes for auto-updater test 2018-08-02 22:09:09 +09:00
Yuya Ochiai 1573363132 Add logger to auto-updater 2018-08-02 22:09:09 +09:00
Yuya Ochiai 749beb0263 White label updater dialog 2018-08-02 22:09:09 +09:00
Yuya Ochiai 6595f5fe19 Fix wrong import 2018-08-02 22:09:09 +09:00
Yuya Ochiai 681572c512 Fix ESLint error 2018-08-02 22:09:09 +09:00
Yuya Ochiai 32ea776ed3 Show progress bar while downloading update 2018-08-02 22:09:09 +09:00
Yuya Ochiai ca97a819f9 Prevent auto download of upgrade 2018-08-02 22:09:09 +09:00
Yuya Ochiai fbcb08fa6e Fix Remind Me Later not working 2018-08-02 22:09:09 +09:00
Yuya Ochiai 0bec4ab5a3 Add enableAutoUpdater to buildConfig 2018-08-02 22:09:09 +09:00
Yuya Ochiai e6105938ea Remove unnecessary prototyping 2018-08-02 22:09:09 +09:00
Yuya Ochiai 79c445c500 Add notifyOnly auto-updater 2018-08-02 22:09:09 +09:00
Yuya Ochiai f7926241ea Show auto-updater dialog as a modal 2018-08-02 22:09:09 +09:00
Yuya Ochiai 7f54d0f01d Add dev-app-update.yml 2018-08-02 22:09:09 +09:00
Yuya Ochiai fb47c287d9 Tweak auto-updater flow 2018-08-02 22:09:09 +09:00
Yuya Ochiai a63ed61154 Fix comparison of release date 2018-08-02 22:09:09 +09:00
Yuya Ochiai bccb8d26a6 Add "Check for Updates..." menu item 2018-08-02 22:09:09 +09:00
Yuya Ochiai d65bf81bd0 Implement auto updater 2018-08-02 22:09:06 +09:00
Yuya Ochiai 7e99059fba Prototype updater window 2018-08-02 22:08:16 +09:00
Yuya Ochiai 7cc74737fe Stop using Squirrel for Windows 2018-08-02 22:07:14 +09:00
Yuya Ochiai 02f7cb95f9 Prototype auto-updater 2018-08-02 22:07:14 +09:00
Yuya Ochiai 8c40f5df09
Merge pull request #836 from mattermost/MM-10322
MM-10322 Add CTRL+F shortcut to work as browser search
2018-08-01 23:52:23 +09:00
sudheer 579f99a800 Change to explicit close function for closing finder 2018-08-01 19:35:49 +05:30
rodrigo f2d6cd383c Add pt-BR spell checker 2018-07-30 13:28:53 -03:00
sudheer 6b235afbd1 Fix styling for finder 2018-07-26 13:26:38 +05:30
sudheer 945918e6c0 Change toggle to always open for cntrl/cmd+F 2018-07-26 13:25:22 +05:30
sudheer 6baa034197 Fix review comments 2018-07-09 18:12:51 +05:30
sudheer e95c8cc3c5 Add CTRL+F shortcut to work as browser search
* Add new finder for each webview contents
2018-07-06 12:21:06 +05:30
Yuya Ochiai 4ba708b2b6 Apply new versioning scheme 2018-06-15 00:06:44 +09:00
Yuya Ochiai 337a806d35 Remove unnecessary deprecated event handler 2018-06-04 23:24:54 +09:00
Yuya Ochiai 5a236753f2 Upgrade dependencies 2018-06-04 23:24:41 +09:00
Yuya Ochiai 2a584c393b Change ESLint error to warning 2018-05-31 00:37:15 +09:00
Yuya Ochiai 37b71476d2 Fix ESLint header/header error 2018-05-31 00:30:24 +09:00
Yuya Ochiai b733c3e18b Update version to 4.1.2 2018-05-24 00:33:28 +09:00
Yuya Ochiai e3b9cc43fd Fix authentication dialog not working 2018-05-23 23:49:07 +09:00
Jason Blais a06667f71c
Update package.json 2018-05-17 08:03:17 -04:00
Yuya Ochiai ef282863d7
Enable GPU hardware acceleration by default 2018-05-15 12:13:06 +09:00
Yuya Ochiai e899113f1f Fix MattermostView.focusOnWebview() if statement 2018-05-08 21:11:36 +09:00
Yuya Ochiai 08611f271c Make sure that cookies are saved to disk when closing the app 2018-05-05 00:20:06 +09:00
Yuya Ochiai 2df19c4dd7 Fix an error where the main page gets blank when adding a server 2018-05-03 21:20:21 +09:00
Yuya Ochiai 5b89bffe00
Merge pull request #785 from yuya-oc/workaround-deeplinking-error
Add workaround for permissionRequestHandler error on deep linking
2018-05-03 00:32:59 +09:00
Yuya Ochiai 09c30046ce Update loading animation gif 2018-05-01 23:48:55 +09:00
Yuya Ochiai abe3fa2d19 Add workaround for permissionRequestHandler error on deep linking 2018-05-01 23:23:11 +09:00
Eric Newport 007a64525b Improve error messages on add new server dialog
Closes #438

Note: this solution is different than what @jasonblais suggested.
@jasonblais suggested not highlighting the field that hasn't been
filled out yet, but I think it's a better UX to continue to highlight
them all as it currently does, but to clarify the error messages. Also
notably, as far as I can tell, the react-bootstrap [forms
API](https://react-bootstrap.github.io/components/forms/) does not
appear to support selectively highlighting some fields in the form but
not others anyway.
2018-05-01 09:03:40 -04:00
Yuya Ochiai 7379ad21d2
Merge pull request #777 from mattermost/revert-mm9922
Revert "Merge pull request #745 from mattermost/mm9922"
2018-05-01 21:35:30 +09:00
Yuya Ochiai ed21f23275
Merge pull request #778 from kethinov/issue-717
Tab bar outline improvements
2018-05-01 21:22:59 +09:00
Eric Newport cf49d21322 Tab bar outline improvements
Closes #717
2018-04-30 12:31:06 -04:00
Yuya Ochiai 46d10e9f74
Merge branch 'release-4.1' into issue-780 2018-04-30 21:32:30 +09:00
Troy Coutu d4bd8e588c fix linting 2018-04-30 20:36:03 +09:00
Troy Coutu a278421887 pin electron-context-menu to version 0.9.0 (#707) 2018-04-30 20:35:48 +09:00
Eric Newport e8444a6ef3 Fix for being unable to type in the form fields on the add server dialog when launched from the tab bar
Closes #780
2018-04-27 20:16:54 -04:00
Harrison Healey 846f05fac2 Revert "Merge pull request #745 from mattermost/mm9922"
This reverts commit b5ff04256b, reversing
changes made to 800f85bb1f.
2018-04-26 09:25:53 -04:00
Yuya Ochiai e8997231d7 Update version to 4.1.0 2018-04-24 21:56:48 +09:00
Yuya Ochiai 0c0cdb756b Apply new loading animation 2018-04-22 00:50:28 +09:00
Yuya Ochiai 958c45c2f6
Merge pull request #760 from kethinov/truncate-long-names
Truncate long server names in server tabs
2018-04-18 00:29:01 +09:00
Eric Newport 8c431ff061 Truncate long server names in server tabs
- Should resolve https://github.com/mattermost/desktop/issues/518
- Shows server name in a `title` attribute so that you can still see the full name on hover.
- Rename teamTabItem-label to teamTabItem-unread.
2018-04-17 08:40:42 -04:00
Yuya Ochiai 738829dbb5 Make sure the app correctly quits in the initial set up 2018-04-17 20:08:13 +09:00
Yuya Ochiai 945d67c169 Add Button.stories.jsx 2018-04-12 21:33:04 +09:00
Yuya Ochiai df2a449123 Add Storybook config 2018-04-11 21:56:13 +09:00
Yuya Ochiai 60e6058869 Use ES6 import/export for modules 2018-04-10 22:00:30 +09:00
Yuya Ochiai 0e6c123b00 Make tabs undraggable 2018-04-06 00:54:53 +09:00
Yuya Ochiai b5ff04256b
Merge pull request #745 from mattermost/mm9922
MM-9922 Don't show hovered URL for internal links
2018-04-03 21:30:27 +09:00
Jason Blais 400f5c7405
Update setting text for GPU acceleration setting 2018-04-02 10:04:13 -04:00
Jason Blais 0648953317
Update defaultPreferences.js 2018-04-02 10:01:13 -04:00
Jason Blais 963f497fbc
Update SettingsPage.jsx 2018-04-02 10:00:53 -04:00
Yuya Ochiai 7008ee318e Remove unnecessary code that disabled Certificate Transparency verification 2018-04-02 20:38:43 +09:00
Yuya Ochiai 7379d025e4
Merge pull request #746 from yuya-oc/clear-memory-cache
Clear webFrame cache at a certain interval
2018-04-02 20:32:13 +09:00
Yuya Ochiai afccab3d9f
Merge pull request #704 from yuya-oc/docs-build-config
Create configuration guides
2018-03-30 00:27:46 +09:00
Yuya Ochiai e63404664e Merge branch 'release-4.0' 2018-03-30 00:19:40 +09:00
Harrison Healey 71dcec33a4 MM-9922 Fixed CSS transition when mousing onto internal link 2018-03-29 09:41:23 -04:00
Yuya Ochiai 4ff72cdcff Tweak interval 2018-03-28 21:57:40 +09:00
Yuya Ochiai e6fef85128 Clear webFrame cache at a certain interval
mattermost-webapp is SPA. So cache is not cleared due to no navigation.
We needed to manually clear cache to free memory in long-term-use.
2018-03-27 21:57:57 +09:00
Harrison Healey d1b70863b5 MM-9922 Don't show hovered URL for internal links 2018-03-26 17:06:20 -04:00
Yuya Ochiai f725b4a330
Merge pull request #733 from yuya-oc/ignore-u2f-error
Ignore did-fail-load event when trying to use U2F devices
2018-03-26 23:46:38 +09:00
Yuya Ochiai f31c4b6332 Disable Certificate Transparency verification 2018-03-26 22:37:36 +09:00
Yuya Ochiai 7599eab2cd Update package version to 4.0.1 2018-03-26 20:11:03 +09:00
Yuya Ochiai b737e63f68 Add "Enable GPU hardware acceleration" option 2018-03-21 00:02:13 +09:00
Yuya Ochiai d5ff7c7a98 Ignore did-fail-load event when trying to use U2F devices 2018-03-16 22:12:38 +09:00
Yuya Ochiai bacf11e681 Fix correct spellchecker locale not selected for non en-US locales
app.getLocale() should be called after app.on('init') event.
spellCheckerLocale is removed from defaultPreferences.js
2018-03-14 23:54:21 +09:00
David Meza 011b84e2f4 Whitelabel: Downloads link opens in Mattermost branded window. 2018-03-07 20:11:29 -05:00
Yuya Ochiai 6749152d7c Fix crashing when tray icon visibility and theme are changed on Mac and Linux 2018-02-27 20:00:49 +09:00
Yuya Ochiai c25de6e8ad
Merge pull request #719 from yuya-oc/upgrade-src-dependencies
Upgrade src dependencies
2018-02-26 21:54:18 +09:00
Yuya Ochiai 7718cf046a
Merge pull request #712 from lip-d/file_protocol
Fixed an issue where clicking on a file:// protocol path does not open windows explorer since version 3.5.0. #579
2018-02-26 21:29:12 +09:00
lip-d 267b8780cf Fixed an issue where clicking on a file:// protocol path does not open windows explorer since version 3.5.0. 2018-02-25 10:51:45 +09:00
Yuya Ochiai 95e81bf5a8 Refer to the documentation for configuration guides 2018-02-23 20:15:43 +09:00
Yuya Ochiai 7a39f54d47 Upgrade React-Bootstrap 2018-02-23 00:46:17 +09:00
Yuya Ochiai e80aae20d0 Migrate to react-transition-group v2
https://github.com/reactjs/react-transition-group/blob/v2.2.1/Migration.md
2018-02-23 00:46:16 +09:00
Yuya Ochiai bd087540f0 Upgrade React 2018-02-23 00:46:16 +09:00
Yuya Ochiai e37276f718 Upgrade src dependencies 2018-02-23 00:46:16 +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
lip-d dcc7819dea implemented all the review comments 2018-02-21 19:57:15 +09:00
lip-d d4060d0d59 Fixed issue: clicking on a file:// protocol path does not open windows explorer since version 3.5.0 #579 2018-02-17 18:15:14 +09:00
Yuya Ochiai 92f56ce2d3 Fix tests which use AutoSaveIndicator 2018-02-07 21:33:50 +09:00
Yuya Ochiai 30d052c241
Merge pull request #685 from amyblais/patch-1
Update src/package.json to 4.0
2018-01-22 12:45:50 +09:00
Yuya Ochiai f14df27409
Merge pull request #680 from yuya-oc/fix-mac-deeplink
Fix deep linking not working when the app is not already opened
2018-01-22 12:43:47 +09:00
Yuya Ochiai 72332989e7 Try to open deeplink many times when app is ready 2018-01-20 00:38:42 +09:00
amyblais 477ba83c81
Update package.json 2018-01-18 12:51:59 -05:00
amyblais 8b93b53c05
Update package.json 2018-01-18 12:43:26 -05:00
Yuya Ochiai 92489aea30 Allow deep-linking protocol when opening a link 2018-01-19 00:24:08 +09:00
Jason Blais 1b9c53118b
Merge pull request #683 from mattermost/jasonblais-patch-2
Tweak setting help text for Dock icon bounce setting
2018-01-18 09:38:22 -05:00
Yuya Ochiai 71989b9c37 Use will-finish-launching event to set open-url event listener 2018-01-18 22:55:32 +09:00
Jason Blais 8dda44f023
Tweak setting help text for Dock icon bounce setting 2018-01-18 08:17:47 -05:00
Yuya Ochiai 4caf906ad6 Fix cache-purging not working 2018-01-18 00:32:19 +09:00
Yuya Ochiai 78ffa6466f Fix deep linking not working when the app is not already opened 2018-01-16 22:12:43 +09:00
Yuya Ochiai a96664c7b1 Replace loading animation 2017-12-15 00:04:26 +09:00
Yuya Ochiai 5eafe2e7fb Show permissions dialog only for untrusted origins 2017-12-05 00:59:54 +09:00
David Meza 4bf7069ea8 White label ErrorView.jsx 2017-11-27 14:24:56 -05:00
David Meza 8f91ea5b77 White label new setting message on SettingsPage.jsx 2017-11-27 12:40:16 -05:00
Yuya Ochiai a28176a6d7 Add the case where the user is not logged in webapp 2017-11-27 23:47:41 +09:00
Yuya Ochiai aabf18c6a0 Support React 16 of webapp for loading icon
data-reactroot is no longer used in React 16
https://stackoverflow.com/questions/47203183/missing-data-reactroot-attirbute-in-react-16
2017-11-24 00:55:41 +09:00
Yuya Ochiai aa003c7207
Merge pull request #655 from yuya-oc/fix-permission-dialog-lag
Fix permission dialog lag
2017-11-24 00:02:43 +09:00
Jason Blais 48701bf730
Update buildConfig.js 2017-11-17 10:13:55 -05:00
Yuya Ochiai f78dac4542 Remove findDOMNode 2017-11-17 00:31:40 +09:00
Yuya Ochiai ff7c783a3a Fix lag for PermissionRequestDialog 2017-11-17 00:28:22 +09:00
Jason Blais c315323545
Update SettingsPage.jsx 2017-11-15 10:07:56 -05:00
Wesley van der Sanden f970fda2e3 Select 'Once' option by default
Also fixes a small typo in an unrelated part of the code.

GH-514
2017-11-14 22:19:43 +01:00
Wesley van der Sanden 5cf940b314 Change default setting from 0 to false
GH-514
2017-11-13 23:22:44 +01:00
Wesley van der Sanden 53ba79294b Implement Mac bounce feature
Closes #514
2017-11-09 15:01:47 +01:00
Yuya Ochiai 5ccbeb080c
Merge pull request #647 from yuya-oc/ignore-gpu-process-crashed
Ignore "gpu-process-crashed" event then output the log to console
2017-11-09 01:41:15 +09:00
Yuya Ochiai 3a865f3d24
Merge pull request #633 from yuya-oc/simplify-two-config
Simplify and split config.json into defaultPreferences and buildConfig
2017-11-09 00:49:09 +09:00
Yuya Ochiai fdf0d51442 Update error message for buildConfig 2017-11-09 00:37:35 +09:00
Yuya Ochiai 45963a9eb1 Revert "Show error dialog when wrong buildConfig is used"
This reverts commit fa578fb37c.
2017-11-09 00:35:05 +09:00
Yuya Ochiai 09f24131fa Ignore "gpu-process-crashed" event then output the log to console 2017-11-08 23:23:25 +09:00
Yuya Ochiai 08b1058694 Add PermissionRequestDialog for when the app doesn't show the TabBar 2017-11-08 01:37:39 +09:00
Yuya Ochiai 4137df4098 Ignore JSON.parse expections on PermissionManager constructor
https://github.com/mattermost/desktop/pull/633#issuecomment-342508014
2017-11-08 00:44:36 +09:00
Yuya Ochiai 30da348e6e Remove unnecessary white space from the dialog message 2017-11-08 00:39:23 +09:00
Yuya Ochiai fa578fb37c Show error dialog when wrong buildConfig is used 2017-11-07 22:32:23 +09:00
Yuya Ochiai 878b5c1a42 Restrict adding a server even when the number of servers is zero 2017-11-07 22:20:33 +09:00
Yuya Ochiai 4abd72856f Move enableServerManagement key from defaultPreferences to buildConfig 2017-11-07 22:06:47 +09:00
Yuya Ochiai 51e6d5f039 Remove deepmerge 2017-11-07 21:44:00 +09:00
Yuya Ochiai baf0022892 Add test for splitted config files 2017-11-07 21:42:05 +09:00
Yuya Ochiai 3613f70a72 Simplify and split config.json into defaultPreferences and buildConfig 2017-11-07 21:42:05 +09:00
Yuya Ochiai f47a1af385 Fix eslint error 2017-11-07 21:16:41 +09:00
Yuya Ochiai 77427ad75a Implement asynchronous permission requests 2017-11-07 21:16:41 +09:00
Yuya Ochiai d83e7fecd7 Append PermissionRequestDialog to TabBar 2017-11-07 21:16:01 +09:00
Yuya Ochiai 22a0f41f66 Implement PermissionRequestDialog 2017-11-07 21:03:36 +09:00
Yuya Ochiai ef43ec6e3e Add test for PermissionManager 2017-11-07 21:03:36 +09:00
Yuya Ochiai c957857a08 Implement permission request handler 2017-11-07 21:03:36 +09:00
Yuya Ochiai 8003c49bde
Merge pull request #600 from csduarte/BASH-18
BASH-18 Add configs to show/hide server management and multiteam settings
2017-11-07 20:57:11 +09:00
Yuya Ochiai 869e673ae6 Show the loading icon until React app is actually rendered 2017-11-07 20:48:16 +09:00
Yuya Ochiai f83b305d99 Set opacity to the icon 2017-11-07 20:48:16 +09:00
Yuya Ochiai 1524d2f4d0 Locate the loading icon at the center of the screen 2017-11-07 20:48:16 +09:00
Yuya Ochiai 322869ff5c Add loading.gif 2017-11-07 20:48:15 +09:00
Yuya Ochiai 04f5d0340c Open validated URL of loading error in the default browser 2017-11-07 20:48:15 +09:00
Yuya Ochiai 616465748b Use a Mattermost animation icon when loading a page in the app 2017-11-07 20:48:15 +09:00
Yuya Ochiai e14ff7bc2a
Merge pull request #626 from yuya-oc/show-internal-error
Show uncaughtException as an internal error and quit the app
2017-11-07 01:10:41 +09:00
Yuya Ochiai f9cb2370ac Relaunch the app by Reopen button and tweak for macOS 2017-11-06 23:16:15 +09:00
Yuya Ochiai f794ac729e Remove fs.writeFileSync(2) to avoid crashing on Windows 2017-11-05 21:02:15 +09:00
Yuya Ochiai af97696462 Apply minor level upgrading for src dependencies 2017-11-03 21:20:56 +09:00
Chris Duarte 8c82685d46 add server management and multiteam settings 2017-11-01 12:45:33 -05:00
Yuya Ochiai 19ced85bc8 Use app.exit() instead of app.quit() in makeSingleInstance 2017-11-02 00:59:08 +09:00
Yuya Ochiai 0e1e4228f0 Update error dialog style 2017-11-02 00:59:08 +09:00
Yuya Ochiai 00b7a806ad Open the error report in detached process 2017-11-02 00:59:08 +09:00
Yuya Ochiai 02c63395b5 Fix error case where tray icon is already destroyed 2017-11-02 00:59:08 +09:00
Yuya Ochiai a9af3c2dcb Show uncaughtException as an internal error and quit the app 2017-11-02 00:59:07 +09:00
Yuya Ochiai 26bb64b8b7
Merge pull request #635 from yuya-oc/fix-zoom-issue
Keep MainWindow's zoom level to zero excepting webview
2017-11-01 02:23:13 +09:00
Yuya Ochiai 4aafe2e28a
Merge pull request #613 from wvds/GH-500
Change "Saved" indicator
2017-10-30 22:58:10 +09:00
Yuya Ochiai f7add8370f Keep MainWindow's zoom level to zero excepting webview 2017-10-27 21:40:04 +09:00
Yuya Ochiai 594f1d47ed Use constants for AutoSaveIndicator savingState 2017-10-27 00:18:01 +09:00
Yuya Ochiai 7aa673a079 Manage AutoSaveInficator state for each of servers and appOptions 2017-10-27 00:18:01 +09:00
Yuya Ochiai d2c4aa0546 Revert "Remove a global variable, deeplinkingUrl"
This reverts commit ea746bad29.
2017-10-25 21:05:17 +09:00
Yuya Ochiai e24cddcf5a Disable deeplinking when the app is running in development mode
In that case, electron.exe is registered as the protocol client.
The app would not work because app dir is not set when launching.
2017-10-24 21:28:08 +09:00
Yuya Ochiai ea746bad29 Remove a global variable, deeplinkingUrl 2017-10-24 21:09:06 +09:00
David Meza ce08b73617 Fix problem with deeplinkingUrl still being set when preferences window closes. 2017-10-23 18:55:28 -05:00
David Meza c624a9a009 Refactorings to make code cleaner. Fixes to not execute anything when windows squirrel installer. 2017-10-23 18:55:28 -05:00
David Meza 7a3552dfdc Logic to take value of protocol from electron-builder.json to be able to whitelabel in an easy manner. 2017-10-23 18:55:28 -05:00
David Meza 150b829a67 Logic for deep linking to go to the right tab and channel based on domain 2017-10-23 18:55:28 -05:00
David Meza 4aa33a127d Make deepliking work on windows 2017-10-23 18:55:28 -05:00
David Meza 40892e0430 Protocol handler for deep linking in desktop app 2017-10-23 18:55:28 -05:00
Wesley van der Sanden 3883aba9fb Implement separate state for server and app settings 2017-10-21 21:31:01 +02:00
Yuya Ochiai ab3bd97a52 Fix an issue where the combination of deepmerge and webpack breaks tests 2017-10-17 00:05:02 +09:00
Yuya Ochiai e46920ee9e Merge pull request #594 from csduarte/bash-14
BASH-14 Set default server/team in settings
2017-10-14 21:38:45 +09:00
Yuya Ochiai 55c9104bd0 Merge pull request #612 from wvds/GH-512
Add Ctrl(+Shift)+Tab as alternative to switch between servers
2017-10-12 23:08:20 +09:00
Wesley van der Sanden 19d6772c2b Move keyboard shortcuts to mainWindow
Closes #512
2017-10-11 20:39:08 +02:00
Jarred Witt b1200f45ad Add default team to config 2017-10-11 12:06:44 -05:00
David Meza 4f8af91f4d Hide help link if empty. 2017-10-11 11:53:49 -05:00
Jarred Witt 53014d48d2 Open help link from config 2017-10-11 11:53:49 -05:00
Yuya Ochiai eacd611f96 Update yarn.lock 2017-10-11 22:12:39 +09:00
Yuya Ochiai b3322dcfab Introduce Yarn 2017-10-11 22:12:38 +09:00
Yuya Ochiai 38fcdf6d6e Merge pull request #586 from csduarte/bash-20
(#1) BASH-20 Add base and override config
2017-10-11 21:45:27 +09:00
Wesley van der Sanden 6dc396dec4 Change switch server implementation
Now uses the before-input-event instead of a globalShortcut.

GH-512
2017-10-09 23:06:54 +02:00
Wesley van der Sanden 2f9b14615a Implement settings close button hover
Closes #439
2017-10-08 00:16:45 +02:00
Wesley van der Sanden fc28f4e02b Change 'Saved' indicator
The change indicator will show up next to the section title where the setting has been changed.

Closes #500
2017-10-07 23:13:23 +02:00
Wesley van der Sanden 0a333a0ff5 Fix error when spellcheck disabled 2017-10-07 23:05:49 +02:00
Wesley van der Sanden eb5b760f70 Add Ctrl(+Shift)+Tab as alternative to switch between servers
Closes #512
2017-10-07 17:12:03 +02:00
Wesley van der Sanden b5bc340f32 Move removing focus to TeamList.jsx
Closes #446
2017-10-07 14:35:20 +02:00
Wesley van der Sanden 9acaa36d8d Remove focus after cancelling modal
Closes #446
2017-10-01 22:21:21 +02:00
David Meza 76ced43a68 Changes to have settings tests pass. test/specs/settings_test.js 2017-09-29 11:14:01 -05:00
Jarred Witt 0efe676a8e Add base and override config 2017-09-28 12:28:01 -05:00
Yuya Ochiai eb4b9a5529 Fix wrong require for main process 2017-09-15 21:22:44 +09:00
David Meza 82c29dd848 Replace app.productName with app.getName() 2017-09-12 12:27:01 -05:00
Jarred Witt 06b5714bd0 Remove trailing space 2017-09-12 12:26:43 -05:00
Chris Duarte c3f7542c9e remove hardcoded mm references 2017-09-12 12:26:43 -05:00
Yuya Ochiai cb37f323cf Merge branch 'release-3.7' into merge-release-3.7 2017-09-06 00:55:09 +09:00
Yuya Ochiai 2399235fce Fix eslint error 2017-09-04 23:31:47 +09:00
Yuya Ochiai fccab551e2 Fix eslint error 2017-09-04 21:54:16 +09:00
Yuya Ochiai 3f898f4927 Update version to 3.7.1 2017-08-28 22:14:02 +09:00
Yuya Ochiai 631191c0fd Merge pull request #577 from yuya-oc/upgrade-electron-security
Upgrade Electron dependancy
2017-08-28 21:19:51 +09:00
Yuya Ochiai 2b15012358 Update Electron to 1.6.10
- Desktop notification for Windows 7
- Per-monitor DPI awareness
2017-08-25 00:56:36 +09:00
Yuya Ochiai dcabc9b50d Use setTimeout instead of setInterval to get unread count 2017-08-25 00:36:10 +09:00
Yuya Ochiai 39f88b3513 Cancel automatic reloading when an error page is manually reloaded 2017-08-24 21:14:27 +09:00
Yuya Ochiai 6d0e1f7fc0 Merge pull request #571 from mattermost/fix-hidden-flag
Fix --hidden not working on Linux
2017-08-19 00:08:02 +09:00
Yuya Ochiai d5d912cbdb Fix --hidden not working on Linux 2017-08-09 22:09:41 +09:00
Yuya Ochiai de29dfab46 Use setTimeout instead of setInterval to get unread count 2017-07-21 00:09:35 +09:00
Yuya Ochiai ab5e5590a4 Fix Windows uninstaller not removing files correctly
Multiple async tasks were not performed completely when running uninstaller.
So rearranged tasks with sequential order.
i.e. take care startup registry, finally call electron-squirrel-startup.
2017-07-11 21:33:40 +09:00
Yuya Ochiai 3fefb813f0 Change app author to Mattermost 2017-07-10 22:19:37 +09:00
Yuya Ochiai 1f86fbc18a Fix close button not working when the number of teams is not zero 2017-07-01 23:46:45 +09:00
Yuya Ochiai 63497009ec Merge branch 'master' into blur-webview-on-deactivation 2017-06-06 23:16:50 +09:00
Yuya Ochiai bf21836c44 Fix desktop notifications not working when the window is minimized
Blur webview when the main window loses its focus.
2017-06-05 23:33:50 +09:00
Yuya Ochiai dbd963fbf0 Use sheet-end event to handle focus when closing macOS file upload dialog 2017-06-02 23:55:58 +09:00
Yuya Ochiai 854ed8a7d9 Update Electron to 1.6.10
- Desktop notification for Windows 7
- Per-monitor DPI awareness
2017-06-01 00:39:20 +09:00
Yuya Ochiai 0839e71d0d Merge branch 'refactoring-notifications' 2017-05-31 23:07:13 +09:00
Yuya Ochiai 2307b3ca6a Fix alignment for 'Add new server' button 2017-05-31 20:33:12 +09:00
Yuya Ochiai 7be7f8dcc2 Use css to style UI 2017-05-24 21:52:57 +09:00
Yuya Ochiai f540777eea Refactor enhanced notification 2017-05-22 22:51:31 +09:00
Yuya Ochiai cd50abfe47 Update react-bootstrap 2017-05-16 01:27:19 +09:00
Yuya Ochiai 2e310dc1ee Follow up react's deprecation 2017-05-12 00:17:13 +09:00
Yuya Ochiai f6ef409cb0 Update app dependencies 2017-05-11 23:50:18 +09:00
Yuya Ochiai c333f7b87b Enable spellchecker as default setting
The language should be determined by user's locale.
If it's not available in spellchecker, en-US is used.
2017-05-03 20:53:33 +09:00
Yuya Ochiai 13172570c0 Reset misspelled state after changing spelling language 2017-05-02 23:00:40 +09:00
Yuya Ochiai 91aca931e7 Update version to 3.7.0 2017-04-28 21:36:09 +09:00
Yuya Ochiai 8d4b2624ca Merge pull request #519 from yuya-oc/download-public-file
Don't show an extra window when clicking public file link
2017-04-28 21:16:42 +09:00
Yuya Ochiai 67a33692b9 Merge pull request #277 from yuya-oc/simple-spellchecker
Add spellchecker

Close #225
2017-04-27 23:43:32 +09:00
Yuya Ochiai 4c30d23ce9 Show error message box when failed to save file
For #390
2017-04-27 23:33:23 +09:00
Yuya Ochiai 95c574eadc Show only save file dialog when clicking public file link
For #390
2017-04-27 22:45:32 +09:00
Yuya Ochiai 2d35946f56 Add "No Suggestions" menu when there are no suggestions in spellchecker 2017-04-27 20:31:03 +09:00
Yuya Ochiai 256e317402 Add context menu to select spelling language 2017-04-27 20:26:37 +09:00
Jonas Schwabe 584b24ebfe Add display-metrics-changed handler to place window on screen on display matrics change 2017-04-26 15:32:35 +02:00
Yuya Ochiai 7be0254840 Change order of options and add Spanish spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 84d0ec432a Implement simple spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 002da9f1f6 Fix error page not properly layouted 2017-04-25 01:00:49 +09:00
Yuya Ochiai 8c8f67889e Fix view position for new tab height 2017-04-18 23:52:03 +09:00
Yuya Ochiai 7c9dd50477 Hide webview with the recommended approach
https://electron.atom.io/docs/api/webview-tag/#css-styling-notes
2017-04-18 23:52:03 +09:00
Jason Blais a94566c2c6 Change "team" references to "server" 2017-04-13 11:31:08 -04:00
Yuya Ochiai 2f40b517cf Merge pull request #489 from yuya-oc/reduce-tab-height
Reduce tab bar height
2017-04-06 20:59:17 +09:00
Yuya Ochiai 62c198edb7 Remove unnecessary codes
Related to #416
2017-04-03 22:50:38 +09:00
Yuya Ochiai 2fa618c9c9 Add support for sound notifications on Windows 7 and 8
ding.mp3 is derived from /platform repository.
2017-04-01 21:37:25 +09:00
Yuya Ochiai 14b23d24d3 Reduce tab bar height 2017-03-25 21:32:48 +09:00
Yuya Ochiai d42a4ff16c Removed Japanese fonts support
Now Electron chooses proper fonts. So the feature is no longer necessary.
2017-03-23 01:04:25 +09:00
Yuya Ochiai 0a2415bdf7 Merge pull request #470 from yuya-oc/create-main-window
Refactor main window code
2017-03-22 00:55:46 +09:00
Yuya Ochiai 153bf7ad5f Refactor main window code 2017-03-19 00:11:08 +09:00
Yuya Ochiai f08db8c72b Remove "Display secure content only" option
allowDisplayingInsecureContent is removed in Electron 1.6.
And it's no longer necessary to show http contents in https server.
2017-03-18 21:33:51 +09:00
Yuya Ochiai b1d586e9da Remove nodeIntegration warning of webview in BrowserWindow
nodeintegration attribute is ignored in React because it's unknown.
So fortunately the integration is not working.
New 'will-attach-webview' allows us to set nodeIntegration = false.
2017-03-18 20:58:32 +09:00
Yuya Ochiai 67c58ac074 Merge pull request #466 from jnugh/addServerButtonAlignment
Align add server button in the tab bar vertically, fixes #460
2017-03-17 00:50:16 +09:00
Yuya Ochiai b70541517d Merge pull request #442 from jnugh/newServerModalWarnings
New server modal warnings
2017-03-17 00:25:12 +09:00
Yuya Ochiai 9836eaf468 Merge pull request #465 from yuya-oc/fix-tray-theme-save
Fix the setting not saved when changing tray icon theme
2017-03-16 20:19:29 +09:00
Jonas Schwabe 015993c9e2 Align add server button in the tab bar vertically, fixes #460 2017-03-15 20:31:01 +01:00
Jonas Schwabe eb76688009 Fix select handler for main tab bar handled a click on the add server button (and failed) 2017-03-15 20:22:21 +01:00
Jonas Schwabe a8effb0084 Fix warning due to using style properies named after css properties in react 2017-03-15 20:04:43 +01:00
Jonas Schwabe 1c786635a7 Fix React warning by correctly wrapping the new team modal trigger button into a NavItem 2017-03-15 20:04:43 +01:00
Jonas Schwabe 48ab30e652 Fix multiple React warnings due to invalid propTypes and bsStyle 2017-03-15 20:04:43 +01:00
Yuya Ochiai 7e9bd4b7c9 Remove unnecessary codes 2017-03-15 21:57:58 +09:00
Yuya Ochiai 538a622480 Fix an issue where tray icon theme is not auto-saved 2017-03-15 20:35:28 +09:00
Yuya Ochiai e8375f756d Set focus to the next top-level window when close the main window 2017-03-11 23:55:23 +09:00
Yuya Ochiai 79d8e21e3c Merge branch 'better-dev-mode' 2017-03-08 20:17:51 +09:00
Yuya Ochiai 60429a9622 Disable dev mode in npm start 2017-03-06 23:43:28 +09:00
Yuya Ochiai 1ab0859ac1 Stop using __dirname to avoid confusing 2017-03-06 23:43:27 +09:00
Yuya Ochiai 3b4a1dfca9 Add React Developer Tools 2017-03-06 23:29:56 +09:00
Yuya Ochiai 8c851f0896 Use http:// links when dev mode 2017-03-06 22:00:28 +09:00
Yuya Ochiai d8abb4b9c7 Fix tests 2017-03-06 21:31:17 +09:00
Yuya Ochiai 82bcd44f8f Remove old live-reload mechanism 2017-03-05 01:02:01 +09:00
Yuya Ochiai 6f4010edf2 Use webpack-dev-server 2017-03-05 00:27:40 +09:00
Yuya Ochiai 1188a2d9f7 Fix blur in HiDPI environment of Windows
This reverts #384 (f60d1fe0e4).
Blur was a known side effect of #384 though,
the original problem looks fixed in electron v1.6.1.
2017-03-04 00:24:05 +09:00
Yuya Ochiai ae1c079b95 Stop using dist directory to build 2017-03-03 23:07:06 +09:00
Yuya Ochiai d037568ebc Update react 2017-03-01 23:42:17 +09:00
Yuya Ochiai e3722292e4 Use "Dock" instead of "taskbar" on macOS 2017-02-24 23:35:55 +09:00
Yuya Ochiai 72a41e21d3 Merge pull request #453 from yuya-oc/fix-window-open
Fix window.open() looks not working
2017-02-23 01:08:44 +09:00
Yuya Ochiai 579e966e19 Tweak options style of window.open 2017-02-23 01:06:50 +09:00
Jason Blais 8ef371c1b5 Fix grammar error 2017-02-22 10:46:28 -05:00
Yuya Ochiai 1ff8ec5120 Fix window.open() looks not working
Intorduced by f8fadcb844
because {show:false} option was inherited from the main window.

https://github.com/electron/electron/blob/v1.4.13/docs/api/window-open.md

Close #450
2017-02-23 00:37:44 +09:00
Jason Blais a1db6d521c Update SettingsPage.jsx 2017-02-22 10:24:19 -05:00
Yuya Ochiai 53ba253c14 Fix an issue where server select menu was not working in settings page
Close #443
2017-02-21 20:08:10 +09:00
Yuya Ochiai a48f87d13a Update version to 3.6.0 2017-02-18 18:07:14 +09:00
Yuya Ochiai 9f55055cb3 Fix the timing to apply new config 2017-02-18 00:22:16 +09:00
Yuya Ochiai f234f1bc95 Merge pull request #425 from yuya-oc/issue400-part2
Open the corresponding tab when a server is clicked in settings page
2017-02-18 00:15:11 +09:00
Yuya Ochiai 10213ad2c8 Fix an issue where application menu is not updated when config is saved 2017-02-17 23:31:49 +09:00
Yuya Ochiai 0e32a2299c Make animation cancelable for auto-save indicator 2017-02-17 22:24:55 +09:00
Yuya Ochiai 831d758f2f Remove unnecessary handler 2017-02-17 21:04:23 +09:00
Yuya Ochiai 8acd7b99e7 Show "Saving..." for 0.5 seconds and show error if it occurred 2017-02-17 20:55:43 +09:00
Yuya Ochiai 949db4ffae Fix an issue where the indicator appears after canceling server updates 2017-02-17 20:50:50 +09:00
Yuya Ochiai a9e860a98e Tweak the layout for auto-save indicator 2017-02-17 20:50:50 +09:00
Yuya Ochiai ce455d2b0c Fix eslint error 2017-02-17 20:50:50 +09:00
Yuya Ochiai f2e26ec276 Fix tests for auto-saving 2017-02-17 20:50:50 +09:00
Yuya Ochiai 3447d49cbd Implement auto-saving 2017-02-17 20:50:49 +09:00
Yuya Ochiai 90623bcf84 Fix eslint error 2017-02-17 20:41:56 +09:00
Yuya Ochiai 5388ce08ba Tweak for clickable area and hover in server list 2017-02-17 20:41:56 +09:00
Yuya Ochiai 66f76c1ad8 Save settings when a server is clicked in settigns page 2017-02-17 20:40:54 +09:00
Yuya Ochiai e3ba17570e Fix warning for bind 2017-02-17 20:40:54 +09:00
Yuya Ochiai 803366872a Open the corresponding tab when a server is clicked in settings page 2017-02-17 20:39:18 +09:00
Yuya Ochiai e4d1ab2938 Merge pull request #428 from yuya-oc/app-options
Improve messages and options in "App Options" section
2017-02-17 19:52:14 +09:00
Yuya Ochiai e1a2175bcd Extend clickable area of checkbox 2017-02-17 00:09:45 +09:00
Yuya Ochiai 3bc7d389b0 Merge pull request #436 from asaadmahmood/ui-improvements
PLT-5448 - Updating styling of server tabs
2017-02-16 23:39:57 +09:00