Commit graph

693 commits

Author SHA1 Message Date
Yuya Ochiai 75bfb119e6 Add check for null/length 2016-02-13 20:20:56 +09:00
Yuya Ochiai fea44a09c2 Switch log levels for muxed logs 2016-02-13 20:17:16 +09:00
Yuya Ochiai 87efd4e48a Mux webview console messages into main window 2016-02-13 19:30:37 +09:00
Yuya Ochiai f66e64f008 Update version to 1.0.4 2016-02-12 23:54:56 +09:00
Yuya Ochiai cec2b0f5dc Fix prettify-task 2016-02-12 01:13:03 +09:00
Yuya Ochiai 528bd02414 Use numerical badge on Windows taskbar icon 2016-02-12 01:10:01 +09:00
Yuya Ochiai 0704cf544a Use webpack to build 2016-02-09 20:31:37 +09:00
Yuya Ochiai 5a836c9573 Revert mention count with ignoring 'badge-notify'
'badge-notify' counts also unread channels.
2016-02-03 23:53:34 +09:00
Yuya Ochiai 67c14d7b96 Update version to 1.0.3 2016-02-03 22:41:06 +09:00
Yuya Ochiai 929e5e6f88 Fix mention count becomes twice or unexpected string
1. 'badge-notify' exists on navbar-toggle in mobile layout.
   It has also 'badge' class, so the mention count became twice.
2. [] accessor was missing in counting.
2016-02-02 01:11:42 +09:00
Tatsuya Niwa fc0459ee29 fix mention count bug. 2016-02-01 23:58:59 +09:00
Tatsuya Niwa 49ef1d42e6 refactoring. 2016-01-27 21:20:55 +09:00
Tatsuya Niwa f69f1f6016 * refactoring
* bugfix: Post to active channel/DM with mention when window isn't focused, I expect count badge appear but unread badge appear.
2016-01-26 00:35:59 +09:00
Tatsuya Niwa 95f393dc63 fix 2 bugs. see #12 and #18.
bug1.
  Mention count does not disappear on active CHANNEL.

bug2.
  Mention count and Unread badge does not appear on active DM.
2016-01-24 14:31:56 +09:00
Yuya Ochiai 4b4ebeb59a Auto-merge default config 2016-01-23 22:58:44 +09:00
Yuya Ochiai 56e8b4fe9a Show "Hide menubar" option on Linux 2016-01-23 21:33:50 +09:00
Yuya Ochiai f279c0c91d Merge pull request #21 from alerque/linux-hide-menubar
Allow hiding menu bar on Linux
2016-01-23 21:28:13 +09:00
Yuya Ochiai 2e4a330b2d Merge pull request #12 from mid0111/topic-active-channel-badge
Count for active channel only when window is not focused.

Manually merged.
2016-01-23 21:12:15 +09:00
Caleb Maclennan 64a5cb5605 Allow hiding menu bar on Linux
The UI feature to auto-hide the menu bar works on Linux as well as
Windows. Don't ignore it if the config value is set.
2016-01-23 12:59:40 +02:00
Tatsuya Niwa a847a0ad80 fix Badge * mark at tab. 2016-01-22 00:56:17 +09:00
Tatsuya Niwa dc10546596 fix Badge * mark 2016-01-21 22:05:34 +09:00
mid0111 ec9c8ad2cd Fixed bug due to refactoring. 2016-01-19 13:15:24 +09:00
mid0111 9438358817 Changed to count unread count of active channel from the desktop notification event. 2016-01-19 12:43:32 +09:00
mid0111 306d383994 Merge branch 'master' of https://github.com/yuya-oc/electron-mattermost into topic-active-channel-badge 2016-01-19 12:36:33 +09:00
Tatsuya Niwa d4cc42299c delete debug code. 2016-01-19 11:20:06 +09:00
Tatsuya Niwa 611c205d23 Show mention count badge and unread * badge. 2016-01-19 10:53:17 +09:00
Yuya Ochiai 147800ff71 Update version to 1.0.2 2016-01-16 17:33:10 +09:00
mid0111 930bce9a14 Remove unnecessary class name. 2016-01-15 06:50:31 +09:00
Yuya Ochiai ea33fc5c58 Avoid hide-menubar functions when saving config except on Windows 2016-01-15 00:20:17 +09:00
Yuya Ochiai 54f7eb3657 Fix some error cases when the number of teams is zero
* There is no config.json
* config.teams.length === 0
2016-01-14 23:27:37 +09:00
Yuya Ochiai 267d0e3ded Show menubar in default setttings on Windows, and add the option to hide 2016-01-14 22:50:12 +09:00
mid0111 c5f9ca19ce Count for active channel only when window is not focused. 2016-01-14 22:31:03 +09:00
Yuya Ochiai d6afda37f2 Remove 'focus' event listener when leaving from index.html 2016-01-14 21:51:06 +09:00
Yuya Ochiai 1cc68197d2 Hide tabs when the number of teams is 1 2016-01-13 22:34:51 +09:00
Yuya Ochiai 48f63b6bcb Restore maximized/fullscreen state on startup
Please refer to #4
2016-01-12 22:08:31 +09:00
Yuya Ochiai f2209aa9dd Keep focus on webview after switching to main window
When switching window focus, webview lost its focus. Please refer to #10
2016-01-12 21:37:34 +09:00
Yuya Ochiai e53a43d17a Use primitive and promise-style test cases
On OS X, tests for multiple elements often failed (#5). So I replaced them with primitive way.
2016-01-10 00:54:32 +09:00
Yuya Ochiai 0b2ad75712 Update version to 1.0.1 2016-01-06 22:17:37 +09:00
Yuya Ochiai 3e300c78d6 Show badges when active channels have new messages 2016-01-06 22:15:35 +09:00
Yuya Ochiai b49f230060 Add menu "Clear Cache and Reload" 2016-01-06 21:32:43 +09:00
Yuya Ochiai 777aab9b11 Fix jp_fonts for mattermost 2015-12-27 17:06:14 +09:00
Yuya Ochiai 3d8d39562f Add simple tests for settings.html 2015-12-27 16:12:20 +09:00
Yuya Ochiai 799584a494 Update README.md and version 2015-12-26 00:02:19 +09:00
Yuya Ochiai 6316df3c20 Improve development files 2015-12-24 23:41:42 +09:00
Yuya Ochiai f3d668f4a0 Remove old codes 2015-12-24 00:29:42 +09:00
Yuya Ochiai 7fb2dc9cb6 Add tests for tabs 2015-12-23 20:53:54 +09:00
Yuya Ochiai 62b6e4c51b Fix for failed tests 2015-12-23 19:25:14 +09:00
Yuya Ochiai d010d09ef4 Add context menu for cut, copy, paste, select all 2015-12-23 17:55:39 +09:00
Yuya Ochiai f57e2a94ef Just focus mainWindow when notification is clicked on Windows
BrowserWindow.show() breaks Aero Snap state.
2015-12-23 17:42:59 +09:00
Yuya Ochiai 69a1c177a1 Switch to the team when notification is clicked 2015-12-23 17:16:53 +09:00
Yuya Ochiai 762c4dbbac Show unread badge on application icon 2015-12-23 17:06:17 +09:00
Yuya Ochiai 390c67a7fd Show unread count badge for each tabs 2015-12-23 16:21:33 +09:00
Yuya Ochiai c016c03741 Port core features from index.js (Open link, Unread count, Font) 2015-12-23 15:53:34 +09:00
Yuya Ochiai 7f8ba9fd56 Use config file to show multiple teams 2015-12-23 01:37:28 +09:00
Yuya Ochiai e381a89cd5 Adapt to rearranged directories 2015-12-22 23:35:22 +09:00
Yuya Ochiai 1be5077ebe Rearrange directories 2015-12-22 23:29:33 +09:00
Yuya Ochiai e7d48d6d0d Use React on main page 2015-12-22 21:12:04 +09:00
Yuya Ochiai 8c24475c68 Style settings UI with React-Bootstrap 2015-12-22 00:58:41 +09:00
Yuya Ochiai f3984982d1 Add missing packages 2015-12-20 20:00:42 +09:00
Yuya Ochiai 6cae54bb13 Apply esformatter-jsx 2015-12-20 00:39:51 +09:00
Yuya Ochiai 283e311095 Settings UI for multiple teams with React 2015-12-19 23:51:19 +09:00
Yuya Ochiai dc9794b1f5 Read/Write/Upgrade config.json with settings module 2015-12-13 22:58:22 +09:00
Yuya Ochiai 49392a984b Add --config-file=FILE option for testing 2015-12-12 20:32:06 +09:00
Yuya Ochiai 92d938dd7e Update version to 0.5.1 2015-12-12 15:19:23 +09:00
Yuya Ochiai eabd485209 Edit comment 2015-12-12 15:14:00 +09:00
Yuya Ochiai 94748d2996 Use 'Meiryo UI' and 'MS Gothic' to prevent CJK fonts on Windows(JP) 2015-12-09 00:19:58 +09:00
Yuya Ochiai 37462b530d Remove unnecessary console.log() 2015-12-08 21:58:43 +09:00
Yuya Ochiai 67603585d8 Update version to 0.5.0 2015-12-06 17:16:26 +09:00
Yuya Ochiai b3bcc89a4d Save window position and size when exiting usually 2015-12-05 19:32:24 +09:00
Yuya Ochiai f8f38ba0de Restore window position and size on startup 2015-12-05 15:41:33 +09:00
Yuya Ochiai 47ac5f102d Use balloon notification on Windows from 7 to 8.1 2015-11-28 14:30:25 +09:00
Yuya Ochiai 6f18b921b2 Set Application User Model ID and use Electron's notification 2015-11-24 00:12:48 +09:00
Yuya Ochiai 62fe875056 Use electron notification 2015-11-20 19:15:15 +09:00
Yuya Ochiai bcf578a4e2 Use electron module 2015-11-20 18:56:37 +09:00
Yuya Ochiai 07f42063e6 Stop using deprecated Electron API 2015-11-20 18:56:36 +09:00
Yuya Ochiai 184f415e95 Show window even if it is hidden when notification is clicked 2015-11-14 20:53:56 +09:00
Yuya Ochiai 6af69ff808 Minimize main window intead of closing it in Linux 2015-11-10 22:18:14 +09:00
Yuya Ochiai 97b6c437cc Set app icon in Windows notification 2015-11-10 22:04:53 +09:00
Yuya Ochiai d6f081918a Set app icon on all platforms 2015-11-10 21:59:10 +09:00
Yuya Ochiai 506891bb66 Rearrange directory 2015-11-10 21:53:46 +09:00
Yuya Ochiai 0ff77c47d0 Fix settings app menu 2015-11-08 14:13:34 +09:00
Yuya Ochiai 517175d13c Focus to main window when tray icon is clicked 2015-11-06 23:39:44 +09:00
Yuya Ochiai 8b680ae988 Quit app from context menu on tray icon 2015-11-06 23:38:26 +09:00
Yuya Ochiai 759362f0c6 バージョン番号を更新 2015-11-03 21:59:13 +09:00
Yuya Ochiai 95376adebe バルーン通知をクリックした場合にメイン画面にフォーカスを移す 2015-11-03 19:15:24 +09:00
Yuya Ochiai c2ae7cffb8 Windows用パッケージにアイコンを設定する 2015-11-02 01:46:51 +09:00
Yuya Ochiai 35353b6ace Windowsでデスクトップ通知をする 2015-10-30 22:41:06 +09:00
Yuya Ochiai 249121e5d6 バージョン番号を更新 2015-10-24 22:09:57 +09:00
Yuya Ochiai 9fa770954f 説明を更新 2015-10-24 21:53:17 +09:00
Yuya Ochiai 7364ef36e2 Aboutを表示する 2015-10-24 20:12:22 +09:00
Yuya Ochiai f07c9c9097 右クリックメニューを追加 2015-10-24 19:48:50 +09:00
Yuya Ochiai 3cd4dd1341 electron-connectを使用したLiveReload 2015-10-24 18:47:37 +09:00
Yuya Ochiai 154b07739b electron-packagerを導入 2015-10-24 17:46:06 +09:00