Commit graph

750 commits

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