Commit graph

2840 commits

Author SHA1 Message Date
Pascal Widdershoven 325d1996c6 Add default Mac application menu
All Mac apps generally have this menu, allows to hide the app with the
default shortcut.
2016-02-15 19:54:41 +01:00
Yuya Ochiai 5783cbbad9 Install npm 3.3.12 manually in CircleCI
Now CircleCI doesn't contain npm 3.x
https://discuss.circleci.com/t/wrong-npm-version-with-node-5-0-5-1/827
2016-02-16 00:37:13 +09:00
Yuya Ochiai 605ed90cf3 Add verify-test for CircleCI 2016-02-16 00:17:08 +09:00
Yuya Ochiai 3a7a794afb Verify codes are formatted 2016-02-16 00:17:08 +09:00
Yuya Ochiai da5dca6f5d Don't prettify dist directory 2016-02-14 23:00:19 +09:00
Yuya Ochiai 631415280e Fix window state restoration not working 2016-02-14 20:03:25 +09:00
Yuya Ochiai d2e5c7e118 Cache src/node_modules in CircleCI 2016-02-13 21:25:36 +09:00
Yuya Ochiai 35fe559161 Merge branch 'master' into dev 2016-02-13 21:16:22 +09:00
Yuya Ochiai cec4962fcb Merge branch 'docker-hub' into dev 2016-02-13 21:05:57 +09:00
Yuya Ochiai 427b6e7ca5 Update version to 1.0.5 2016-02-13 20:23:37 +09:00
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 c6f0682667 Fix webpack tasks for mattermost.js
Failed to load because common/osVersion.js is missing in dist/ .
Notification is not overrided.
2016-02-13 20:15:11 +09:00
Yuya Ochiai 87efd4e48a Mux webview console messages into main window 2016-02-13 19:30:37 +09:00
Yuya Ochiai d81f000d9b Fix image tag to pull 2016-02-13 00:48:56 +09:00
Yuya Ochiai 59ec82f62f Use Docker Hub to build docker image
docker-build may fail due to fail apt-get
2016-02-13 00:42:02 +09:00
Yuya Ochiai 3b6dfcaabe Update Electron to 0.36.7 2016-02-13 00:35:24 +09:00
Yuya Ochiai e6d1a19fc4 Merge branch 'circleci-cache' into dev 2016-02-13 00:14:00 +09:00
Yuya Ochiai 459d696651 Merge branch 'master' into dev 2016-02-12 23:56:06 +09:00
Yuya Ochiai f66e64f008 Update version to 1.0.4 2016-02-12 23:54:56 +09:00
Yuya Ochiai 4d4471c3fd Merge branch 'dev' 2016-02-12 23:53:31 +09:00
Yuya Ochiai d763926eee Cache electron-packager in CircleCI 2016-02-12 23:42:40 +09:00
Yuya Ochiai cec2b0f5dc Fix prettify-task 2016-02-12 01:13:03 +09:00
Yuya Ochiai 3043d44d28 Merge branch 'numerical-badge' into dev 2016-02-12 01:11:15 +09:00
Yuya Ochiai 528bd02414 Use numerical badge on Windows taskbar icon 2016-02-12 01:10:01 +09:00
Yuya Ochiai 174988a4ef Merge branch 'webpack' into dev 2016-02-09 22:49:09 +09:00
Yuya Ochiai f3bca44218 Fix watch-task for webpack 2016-02-09 20:59:52 +09:00
Yuya Ochiai ee273a9441 Copy src/browser/webview/mattermost.js into dist/ 2016-02-09 20:56:59 +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 99dc2983e8 Remove TODO.md 2016-02-03 22:40:24 +09:00
Yuya Ochiai 3d5515f4da Merge pull request #22 from ttyniwa/feature/fix_sharp_12_and_18_merge_bug
Manually no-ff merged

Finally:
* Highlighted posts in the active channel is counted as mentions
* Badge-notify on navbar-toggle is counted as mentions(mention and DM)
* For other unread channels, '•' is used for "there are new messages"
* In active channel, counts are cleared when the tab is activated.
2016-02-02 22:47:35 +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 1fdc7691d7 Add CONTRIBUTING.md 2016-01-23 23:16:52 +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
Yuya Ochiai e500272f48 Merge pull request #18 from ttyniwa/feature/mention_and_unread_badge
Show mention count badge and unread * badge.
2016-01-22 12:48:26 +09: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