mattermost / desktop Goto Github PK
View Code? Open in Web Editor NEWMattermost Desktop application for Windows, Mac and Linux
License: Apache License 2.0
Mattermost Desktop application for Windows, Mac and Linux
License: Apache License 2.0
Currently, electron-mattermost counts a number of .unread-title
on sidebar. However, the active channel doesn't have .unread-title
. So the app can't know whether there are new messages.
I have no effective solution now.
If the App is minimized a click on the desktop notification does not raising the focus and showing the app. Wit a open window this seems to work.
Version: 0.4.0 on Mac
Should show a tray icon on the bar, and show the number of unread new messages on the tray icon when new messages arrived. That will help a lot when we set the OS X Dock to auto-hide. Hope to see this new feature in the next version.
Any Distro Repos (or Ubuntu PPAs) for this? Just curious if any of the existing devs have put any time into this.
Build (under Ubuntu/wine) seems okay:
> [email protected] package:windows /home/user/electron-mattermost
> gulp package:windows
[23:01:59] Using gulpfile ~/electron-mattermost/gulpfile.js
[23:01:59] Starting 'sync-meta'...
[23:01:59] Finished 'sync-meta' after 2.94 ms
[23:01:59] Starting 'build:jsx'...
[23:02:00] Finished 'build:jsx' after 1.7 s
[23:02:00] Starting 'build'...
[23:02:00] Finished 'build' after 14 μs
[23:02:00] Starting 'package:windows'...
Packaging app for platform win32 ia32 using electron v0.36.3
Packaging app for platform win32 x64 using electron v0.36.3
[23:02:24] Finished 'package:windows' after 24 s
Starting electron-mattermost.exe leads to
Uncaught exception, Cannot find module yargs
(see http://imgur.com/IFbIZaw)
It would be great to have an option to configure the small red circle icon, that appears in the system tray when someone posts into MatterMost.
It would be better if it could appear only if someone mentions you. Now it seems to appear every time there is an activity in any of your channels.
So you would see the channels with unread messages in bold just as now, but the red circle would only appear if someone mentions you.
Hi all,
This app when loaded to a windows box will place the cursor in the message box upon selection of a Channel or DM, same as Mattermost's web client - but OS X 10.11.3 does not.
Using electron v1.0.2
Thanks,
Matt
When program is started, windows spawn off-screen and are not movable/clickable. Off-screen position is assumed from animation when minimizing/restoring the window via the Windows taskbar.
Electron supports it, as in electron/electron#3250
I added this configuration to app/main.js and it worked, but I'd love having a default with a popup window. Keeping my password unencrypted on hdd is no fun.
Is that even possible with electron?
Hello,
I cannot seem to find a setting to increase font size, could you add this feature in the future?
We currently play around with Mattermost to evaluate if it is suitable as internal chat system for our company. So we try a lot of clients and integration to make it as comfortable for our (sometimes not that "technically adept") co-workers.
In our test phase, we use electron-mattermost
as Mac client, and often trash the MM server (try stable/dev versions, install SSL, using Docker/non-Docker) etc. so it happend that the URI switched from http://mattermost.intern.company.de:8065
to https://mattermost.intern.company.de
(proper HTTPS port) but electron didn't notice that the server is not reachable anymore and just responded with a blank page.
People then needed manually to go into the Settings and replace the non-exisiting MM server with the replacement one.
I think, that if there is a not reachable server, electron-mattermost
should simply redirect the user to the settings view and perhaps with a simple warning message to let the users know what happened.
What do you think?
Hello,
Desktop notifications does not work with a slack account on OS X 10.11.3. I click on enable desktop notifications on slack settings. This alert shows up "huh allowed:false permission_level:undefined".
Jira ticket: https://mattermost.atlassian.net/browse/MM-14110
For now, there is no way to know the newer release in daily use. User have to check the latest release on one's own.
Electron has autoUpdater
API to integrate Squirrel. However it requires codesign
and server support. I think these are too much. So I will implement to check simply the newer release.
An image that appears in a browser based mattermost client doesn't appear in the client (reproductible on Mac, Linux & Window)
how to set locale/language other than english for the app?
Is it configurable somewhere in the app or some config file?
The repository is tranfered to mattermost, so I think CircleCI can't pull new commits.
This should be enabled to run tests.
Windows and Ubuntu(CircleCI) are OK. Console shows an error: RuntimeError: Couldn't connect to selenium server
.
However, the test succeeds sometimes.
electron-mattermost
✓ should show settings.html when there is no config file (1298ms)
✓ should show index.html when there is config file (965ms)
✓ should upgrade v0 config file (1004ms)
index.html
✓ should set src of webview from config file (1260ms)
✓ should set name of tab from config file (1174ms)
RuntimeError: Couldn't connect to selenium server
at elementIdDisplayed("0.5625486401841044-2") - isVisible.js:56:5
1) should show only the selected team
settings.html
✓ should show index.thml when Cancel button is clicked (2591ms)
✓ should show index.thml when Save button is clicked (2592ms)
settings.js
✓ should upgrade v0 config file
8 passing (22s)
1 failing
1) electron-mattermost index.html should show only the selected team:
Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.
First time I open the application it shows a form to add teams. I mistakedly clicked on save without adding any teams and it went blank. I have closed the application and opened it several times and it shows a blank page every time.
There should be a way to disable sound on receive message. At least, disable it if conversation has focus
In circle.yml, docker build
is used in order to build the app for all platforms.
However, it may fail depending on the status of debian.org or other networking reason.
(e.g. apt-get -y install zip
failed in https://circleci.com/gh/yuya-oc/electron-mattermost/113)
I have to use a proxy to connect to my mattermost server. Is there a way to configure a proxy? If not, could you please add that feature?
Hi,
try this
then the focus is gone from the input box.
happens on Mac OS X and Windows.
I have been considering to rename this project in future release. The candidate name is "ElectroMatter".
Points are following:
When running Mattermost in Safari, it's easy to change font size with Cmd+ and Cmd-, but when running it in Electron those shortcuts don't work. Seeing as Mattermost itself doesn't support setting font sizes, only font families, this would be a welcome addition.
Would be also nice to use CMD + W to close the current window of electron-mattermost
.
Steps to reproduce:
electron-mattermost
on OS XWould be nice if CMD + N would redraw the window on the screen :)
Looking at the 43Mb Windows download, it appears that a full node_modules directory is zipped in, rather than just the files necessary for running the code. This makes the download much, much bigger than it needs to be. Especially if people already have Node installed on their machine, it feels like these dependencies could be left out and downloaded as needed, instead.
After upgrading to Mattermost 1.3.0 I've been experiencing formatting issues with this app. The elements for the username and timestamp for every post are showing up as ul > li elements and comments to existing posts are not being abbreviated correctly.
I've overwritten the 0.4 version of the app with the 1.0 version but the issue persists. I do not have this issue when accessing in the browser.
in windows 10 when the program is start doesn't show UI for add and manage teams.
No errors reported in console.
Is there any way to this or how we could hack it?
I have been testing the server/client on a small scale (about 15 members).
Since only a handful are programmer/scriptors, many find it hard to input emoji
using the markdown language directly....
Is there anyway we can improve this by providing some sort of GUI for such users.
e.g. connection error
Windows 7 pro 64 bits. electron-mattermost release 1.0.1 64 bits.
Clicking the close button minimizes the window. There's no quit button. Logging out in the app doesn't close the app. Multiple electron-mattermost.exe processes exist and all must be killed to quit.
In skype, when a message is received and it doesn't have the focus, the icon on the taskbar will "blink" until the user goes to the app. I think the same behavior should be implemented (and configurable, so some people could enable it while others disable it)
I tried the prebuilt versions, both 32bit, 64bit on 4 machines and the desktop notifications does not work.
Did i miss some information? Do i need to setup anything for it to work?
Server is running v2.0 mattermost. Desktop notifications work for chrome browser.
Is there any info I can provide to help debug this?
When attempting to leave a message while not connected to the network, those messages go into a permanent "sending" state without any way to remove them.
That bottom message was sent while off the network (unknowingly by me at the time), but now I cannot get rid of it. Any new messages get sent immediately as expected.
I see the following error in mattermosts log file since I started to use electron-mattermost (1.3)
[2016/02/14 10:04:41 CET] [EROR] /api/v1/admin/log_client:client code=500 rid=... uid=... ip=... msg: Uncaught TypeError: Cannot read property 'nextSibling' of undefined row: 53 col: 23 stack: TypeError: Cannot read property 'nextSibling' of undefined url: /Applications/electron-mattermost.app/Contents/Resources/app/browser/webview/mattermost.js [details: ]
I just setup SSL, and now any image embeds originated from direct urls which are using HTTP are blocked by Chromium:
index.js:350 [Technik] Mixed Content:
The page at 'https://mattermost.intern.company.de/technik/channels/7zr8hxa1zbgo9ght7js5cdwwha__pfku14xknirumqoihqwfd7wsch' was loaded over HTTPS,
but requested an insecure image 'http://i.imgur.com/sX4aEQl.gif'. This request has been blocked; the content must be served over HTTPS.
I did a quick Google search and found out that this is easily fixable by passing allow_running_insecure_content
to the Chromium engine (via electron/electron#971 (comment)). However, I have no idea where I can find the the Chromium settings in specific.
Can you point me into the right direction?
Hi,
the badges in the Mac OS X dock (didn't try windows) don't disappear when i click on the chat which has new messages, only when i leave this chat (switch to another room)
If app is open and in focus, a notification should not be displayed.
Selecting View -> Toggle Fullscreen or pressing the key combo does nothing at all. It is not possible to make it a fullscreen space using Mission Command either, it simply launches a new desktop space with the window in it.
Using 1.0.6 on Yosemite 10.11.3
Sorry for sounding noob..
I cannot seem to figure out how to build the binaries for windows. Here is the steps and log I get.
LOG:
> [email protected] package:windows /home/user/electron-mattermost
> gulp package:windows
[17:56:50] Using gulpfile ~/electron-mattermost/gulpfile.js
[17:56:50] Starting 'sync-meta'...
[17:56:50] Finished 'sync-meta' after 1.25 ms
[17:56:50] Starting 'webpack:main'...
[17:56:50] Starting 'webpack:browser'...
[17:56:50] Starting 'webpack:webview'...
[17:56:50] Starting 'copy:resources'...
[17:56:50] Starting 'copy:html/css'...
[17:56:50] Starting 'copy:modules'...
[17:56:50] Version: webpack 1.12.13
Asset Size Chunks Chunk Names
mattermost.js 6.93 kB 0 [emitted] mattermost
[17:56:51] Finished 'copy:resources' after 1.21 s
[17:56:51] Finished 'webpack:webview' after 1.22 s
[17:56:51] Finished 'copy:html/css' after 1.32 s
[17:56:54] Version: webpack 1.12.13
Asset Size Chunks Chunk Names
main.js 757 kB 0 [emitted] main
WARNING in ./src/main.js
Critical dependencies:
117:21-46 the request of a dependency is an expression
@ ./src/main.js 117:21-46
WARNING in ./src ^\.\/.*$
Module not found: Error: a dependency to an entry point is not allowed
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: a dependency to an entry point is not allowed
@ ./src ^\.\/.*$
WARNING in ./src/~/yargs/lib/parser.js
Critical dependencies:
359:21-48 the request of a dependency is an expression
@ ./src/~/yargs/lib/parser.js 359:21-48
WARNING in ./src/browser/css/jp_fonts.css
Module parse failed: /home/edward/electron-mattermost/src/browser/css/jp_fonts.css Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| @font-face {
| font-family: sans-serif;
| src: local('Meiryo UI');
@ ./src ^\.\/.*$
WARNING in ./src/browser/index.html
Module parse failed: /home/edward/electron-mattermost/src/browser/index.html Line 1: Unexpected token <
You may need an appropriate loader to handle this file type.
| <!DOCTYPE html>
| <html>
|
@ ./src ^\.\/.*$
WARNING in ./src/browser/index.jsx
Module parse failed: /home/edward/electron-mattermost/src/browser/index.jsx Line 131: Unexpected token <
You may need an appropriate loader to handle this file type.
| if (this.props.teams.length > 1) {
| tabs_row = (
| <Row>
| <TabBar id="tabBar" teams={ this.props.teams } unreadCounts={ this.state.unreadCounts } mentionCounts={ this.state.mentionCounts } unreadAtActive={ this.state.unreadAtActive } mentionAtActiveCounts={ this.state.mentionAtActiveCounts }
| activeKey={ this.state.key } onSelect={ this.handleSelect }></TabBar>
@ ./src ^\.\/.*$
WARNING in ./src/browser/settings.html
Module parse failed: /home/edward/electron-mattermost/src/browser/settings.html Line 1: Unexpected token <
You may need an appropriate loader to handle this file type.
| <!DOCTYPE html>
| <html>
|
@ ./src ^\.\/.*$
WARNING in ./src/browser/settings.jsx
Module parse failed: /home/edward/electron-mattermost/src/browser/settings.jsx Line 65: Unexpected token <
You may need an appropriate loader to handle this file type.
| render: function() {
| var teams_row = (
| <Row>
| <Col md={ 12 }>
| <h2>Teams</h2>
@ ./src ^\.\/.*$
WARNING in ./src/resources/appicon.png
Module parse failed: /home/edward/electron-mattermost/src/resources/appicon.png Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src ^\.\/.*$
WARNING in ./src/resources/tray.png
Module parse failed: /home/edward/electron-mattermost/src/resources/tray.png Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./src ^\.\/.*$
WARNING in ./src/~/ws/lib/BufferUtil.js
Module not found: Error: Cannot resolve module 'bufferutil' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/~/ws/lib/BufferUtil.js 10:19-40
WARNING in ./src/~/ws/lib/Validation.js
Module not found: Error: Cannot resolve module 'utf-8-validate' in /home/edward/electron-mattermost/src/node_modules/ws/lib
@ ./src/~/ws/lib/Validation.js 10:19-44
WARNING in ./src/~/spawn-sync/lib/spawn-sync.js
Module not found: Error: Cannot resolve module 'try-thread-sleep' in /home/edward/electron-mattermost/src/node_modules/spawn-sync/lib
@ ./src/~/spawn-sync/lib/spawn-sync.js 10:10-37
Currently using Mattermost 1.3, it is showing a horizontal scrollbar on the bottom which is unnecessary.
Tested with Windows and Mac OS X
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.