Giter VIP home page Giter VIP logo

mattermost / mattermost Goto Github PK

View Code? Open in Web Editor NEW
28.0K 544.0 6.8K 725.05 MB

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..

Home Page: https://mattermost.com

License: Other

Makefile 0.13% Go 32.41% HTML 11.39% Shell 0.10% Dockerfile 0.01% JavaScript 9.30% Rich Text Format 0.01% CSS 0.02% PLpgSQL 0.01% TypeScript 43.91% SCSS 2.73% Handlebars 0.01%
collaboration mattermost golang react-native hacktoberfest monorepo react

mattermost's Introduction

Mattermost logo

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle. This repo is the primary source for core development on the Mattermost platform; it's written in Go and React and runs as a single Linux binary with MySQL or PostgreSQL. A new compiled version is released under an MIT license every month on the 16th.

Deploy Mattermost on-premises, or try it for free in the cloud.

mattermost user interface

Learn more about the following use cases with Mattermost:

Other useful resources:

Table of contents

Install Mattermost

Other install guides:

Native mobile and desktop apps

In addition to the web interface, you can also download Mattermost clients for Android, iOS, Windows PC, macOS, and Linux.

Get Mattermost on Google Play Get Mattermost on the App Store Get Mattermost on Windows PC Get Mattermost on Mac OSX Get Mattermost on Linux

Get security bulletins

Receive notifications of critical security updates. The sophistication of online attackers is perpetually increasing. If you're deploying Mattermost it's highly recommended you subscribe to the Mattermost Security Bulletin mailing list for updates on critical security releases.

Subscribe here

Get involved

Learn more

License

See the LICENSE file for license rights and limitations.

Get the latest news

Contributing

Small Image

Please see CONTRIBUTING.md. Join the Mattermost Contributors server to join community discussions about contributions, development, and more.

mattermost's People

Contributors

agmeteor avatar agnivade avatar asaadmahmood avatar ccbrown avatar conormacpherson avatar coreyhulen avatar cpanato avatar crspeller avatar davidlu1997 avatar enahum avatar florianorben avatar grundleborg avatar hanzei avatar hmhealey avatar isacikgoz avatar it33 avatar jasonblais avatar jespino avatar jwilander avatar lieut-data avatar mgdelacroix avatar reflog avatar rgarmsen2295 avatar rvillablanca avatar saturninoabril avatar sbishel avatar sig1nt avatar streamer45 avatar weblate avatar wiggin77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mattermost's Issues

Can not create default profile image

{"message":"Could not create default profile image font","detailed_error":"read /go/src/github.com/mattermost/platform/web/static/fonts/: is a directory","request_id":"i1kkow5z5ffy3ne6oduc8uptwy","status_code":500}

Image is broken on new user creation

Editing code for mattermost

Hello,

I am new to mattermost , but i am really liking it. I want to make some code changes in configurations to enable s3 bucket for file sharing.

Can you please you provide me some detailes instructions as to how to edit the files. I am not understanding how to edit the files on the fly here using docker and mattermost/platform:helium image maybe

NOTE: I am running docker on my windows7 machine.
Here is what i am following :

1.docker run -d --name=mattermost-tmp mattermost/platform:helium
2.docker cp mattermost-tmp:/go/src/github.com/mattermost/platform/config/config_docker.json .
3.docker rm -f mattermost-tmp
4..... edit config file in host using vim config_docker.json
5. Put necessary aws s3 details and save file
6.docker run --name mattermost-dev -d --publish 8065:80 -v $(pwd)/config_docker.json:/go/src/github.com/mattermost/platform/config/config_docker.json mattermost/platform:helium

but now i am getting below error after step 6
invalid value "c:\Users\t_kadum\config_docker.json;C:\Program Files (x86)\G
it\go\src\github.com\mattermost\platform\config\config_docker.json" for f
lag -v: \Users\t_kadum\config_docker.json;C:\Program Files (x86)\Git\go\src\gith
ub.com\mattermost\platform\config\config_docker.json is not an absolute path
See 'c:\Program Files\Boot2Docker for Windows\docker.exe run --help'.

Please suggest how to resolve this .

Thanks

Domain should not have '.' restrictions

There seems to be very hard restrictions how many '.' are allowed in the domain which will always cause problems.

for testing I setup a instance:
dev.example.com, with www.dev.example.com and some other aliases.

when creating the team, the url is configured as
[INPUT] .dev.example

Also the redirect is then to the cut domain. Some TLD only allow second level domains. example.co.uk, also causing problem when running the service as a subdomain.

Installer cannot complete without internet access

Expected behavior: Since Mattermost targets on-premise installs, expectation is that it should be able to install on a closed network after downloading

Observed behavior: Error logs show install fails on network without access to specific internet sites, see logs at
#84 (comment)

Feature Request: Add support for high availability

Does Mattermost support more than one instance of the API server? It looks like as of 246d12a Redis is no longer used, and fan-out was switched to in-process fan-out using Go channels. Is this assessment correct? Are there any plans to support multiple redundant/stateless server instances?

How do I run mattermost with rethinkdb instead of mysql?

What's the best way to get rid of the mysql dependancy in the dockerfile and rely solely on rethinkdb for storage and changes()?
I can see that most of the structures in go are already using json to describe objects.
In general, I would expect rethinkdb to be able to take over for mysql's storage and using redis to broadcast changes by using using @dancannon's gorethink Go bindings to access rethinkdb's changes() api.

I'm not all that familiar with Go's syntax, but I could take a stab at an ugly PR if nobody else wants to.

Port 25 blocking

If your ISP blocks port 25 then you may install locally but email will not be sent.

How does one continue the sign up process if this happens?

Wrong signup redirection on ubuntu 14.04 VPS

Hi, I installed the beta version of Mattermost on a ubuntu 14.04 VPS with public IP. I followed the intallation tutorial for ubuntu in your readme.md, but when I try to signup, I'm redirected to www.xx.xx.xx with Xs being my incomplete public IP.

This is what the html tag look like with first IP numer missing :

<a href="http://www.xxx.xx.xx" class="signup-team-login" data-reactid=".0.1.9.0.2">Sign up now</a>

Wrong routing ?

API Specification

I see that the code appears to be logically organised around a clean-looking API; I can go and read through the Go source and get to understand it, but it'd be better if there were a specification of that API clearly written somewhere for reference. As this is a developing project, it'd especially be useful to know what parts of the API are considered "stable".

Lets-Chat have an API spec which was invaluable to me in writing a Python API wrapper and I'd love to do the same for MatterMost. :)

Failed to start mattermost web after restart

Hi all,

this is my first time installing mattermost so please tell me if I missed something(I did try reading through the docs).

I've setup mattermost from source and it is running on PostgreSQL. I am starting it with /go/bin/godep go run mattermost.go and all was running correctly on the first start. However, once I've stopped go web and started it again I can no longer get mattermost to run:

07/28/15 13:35:04] [CRIT] Failed to create index pq: relation "idx_teams_name" already exists
panic: Failed to create index pq: relation "idx_teams_name" already exists

goroutine 1 [running]:
github.com/mattermost/platform/store.SqlStore.createIndexIfNotExists(0xc208040780, 0xc208038048, 0x1, 0x1, 0x7f72e92d5bf0, 0xc208038060, 0x7f72e92d5c40, 0xc2080380e0, 0x7f72e92d5cf0, 0xc208038130, ...)
    /go/src/github.com/mattermost/platform/store/sql_store.go:244 +0x543
github.com/mattermost/platform/store.SqlStore.CreateIndexIfNotExists(0xc208040780, 0xc208038048, 0x1, 0x1, 0x7f72e92d5bf0, 0xc208038060, 0x7f72e92d5c40, 0xc2080380e0, 0x7f72e92d5cf0, 0xc208038130, ...)
    /go/src/github.com/mattermost/platform/store/sql_store.go:217 +0xa6
github.com/mattermost/platform/store.SqlTeamStore.CreateIndexesIfNotExists(0xc20807a180)
    /go/src/github.com/mattermost/platform/store/sql_team_store.go:44 +0x8c
github.com/mattermost/platform/store.NewSqlStore(0x0, 0x0)
    /go/src/github.com/mattermost/platform/store/sql_store.go:67 +0x678
github.com/mattermost/platform/api.NewServer()
    /go/src/github.com/mattermost/platform/api/server.go:30 +0x15a
main.main()
    /go/src/github.com/mattermost/platform/mattermost.go:27 +0x1bd

goroutine 5 [syscall]:
os/signal.loop()
    /usr/src/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init路1
    /usr/src/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 10 [chan receive]:
database/sql.(*DB).connectionOpener(0xc2080437c0)
    /usr/src/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
    /usr/src/go/src/database/sql/sql.go:452 +0x31c

goroutine 7 [chan receive]:
code.google.com/p/log4go.ConsoleLogWriter.run(0xc2080402a0, 0x7f72e92d3ff0, 0xc208038008)
    /go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/termlog.go:27 +0x7a
created by code.google.com/p/log4go.NewConsoleLogWriter
    /go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/termlog.go:19 +0x6b

goroutine 8 [select]:
code.google.com/p/log4go.func路002()
    /go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/filelog.go:84 +0xa53
created by code.google.com/p/log4go.NewFileLogWriter
    /go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/filelog.go:116 +0x3da

goroutine 9 [chan receive]:
database/sql.(*DB).connectionOpener(0xc208043680)
    /usr/src/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
    /usr/src/go/src/database/sql/sql.go:452 +0x31c
exit status 2
godep: go exit status 1

What am I doing wrong?

make failure

I did a
go get github.com/mattermost/platform

Doing a make -f Makefile gives me this error. Am i missing something ?

building for travis
rm -Rf dist

github.com/mattermost/platform/api

api/server.go:29: undefined: manners.NewServer
api/server.go:42: too many arguments in call to Srv.Server.ListenAndServe
api/server.go:55: Srv.Server.Shutdown undefined (type manners.GracefulServer has no field or method Shutdown)
api/team.go:221: undefined: "github.com/awslabs/aws-sdk-go/aws".Creds
api/team.go:222: cannot use "github.com/awslabs/aws-sdk-go/aws".DefaultConfig.Merge(&"github.com/awslabs/aws-sdk-go/aws".Config literal) (type *"github.com/awslabs/aws-sdk-go/aws".Config) as type *"github.com/aws/aws-sdk-go/aws".Config in argument to route53.New
api/team.go:251: undefined: "github.com/awslabs/aws-sdk-go/aws".Creds
api/team.go:252: cannot use "github.com/awslabs/aws-sdk-go/aws".DefaultConfig.Merge(&"github.com/awslabs/aws-sdk-go/aws".Config literal) (type *"github.com/awslabs/aws-sdk-go/aws".Config) as type *"github.com/aws/aws-sdk-go/aws".Config in argument to route53.New
make: *
* [travis] Error 2

Regards

-jaijiv

Restrict team creation

I just enabled GitLab Mattermost, but I don't see a way to restrict team creation so that only specific people can do this. I scanned the config.json but didn't see anything obvious. Is there a way to do this?

Delay after writing

Actual

After writing something into the chat input and pressing enter there is a brief delay before anything happens.

Expected

After writing something into the chat input and pressing enter, there is instant activity (either loading/spinner etc).

On Linux/Firefox 39.0 the delay is rather significant.
On Linux/Version 43.0.2357.130 (64-bit) is a bit shorter.

From my point of view this issue devalues the whole user experience highly and should be prioritized.
You could try to add the entered text directly to the post-list and show it as still sending.

Unable to start and run application on ubuntu

Hello All,

I have followed all the instructions:
1.
Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summary below.

sudo apt-get update
sudo apt-get install wget
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker
sudo service docker start
newgrp docker

Run docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium

3.When docker is done fetching the image, open http://localhost:8065/ in your browser

and trying to access the application from my local machine using http://xx.xx.xxx.xxx:8065/ but nothing is working. hello-world image is running fine on my machine.
NOTE: xx.xx.xxx.xxx is ip of my ubuntu vritual machine.

Please let me know if i am missing anything. I just followed the simple instructions and expected it to be working

Thank you

Creating team ?

Hi,

I deployed the docker on a machine on my local network.

When I go to http://dockerhost.my.network.com:8065 (example url), everything looks fine, and I get to the "Enter your team's domain" page.

But then, since I did not have created any team yet, I try to click the "Sign up now" button, which redirects me to http://www.my.network.com:8065/ (according to the example url).

Let me know if you need some additional info.

BMP image does not properly load

Repro: Upload a BMP image as an attachment in a message

Expected: BMP thumbnail loads
Observed: BMP upload animation plays endlessly

Dockerless installation

I'd like to test mattermost, but I do not want to install it with docker. Could you please provide an installation method that does not need docker? Or can I just clone and run it?

We encounted an error finding the channel

Did not had time to investigate, but last upgrade this message is always display 馃憤
We encounted an error finding the channel

In the logs :

/api/v1/channels/mqwh9sh18ffify68sf69y634pc/:SqlChannelStore.Get code=500 rid=5uyjesspbjfw9eix3kf33o5oby uid=t896iku65f8hppm9s9s3zm991h ip=192.168.51.12 We encounted an error finding the channel [details: id=mqwh9sh18ffify68sf69y634pc, pq: column "creatorid" does not exist]

Hope this will help

Enable local server storage as alternative to setting up S3

Hi
I've just tested out docker image on ubuntu 14.04 and I am unable to upload any files.
Unable to upload file. Amazon S3 not configured. k6n481j5fbggzmdie8qh6p6poy501

How/where can this be configured? I am sorry if I missed it, but If it's not yet implemented it would be completely ok to use local server storage instead of s3 :)

Invalid error message when email is not verified

When a user try to log in and email is not verified, the error message displayed is

Mattermost needs your help:
We couldn't find the existing team

It should be in fact something like, your account is not verifed .....

"A team with that domain already exists"

When trying to set up a team on a fresh install of Mattermost I am running into an issue on the last page of the signup process where I input my password, it is telling me that "A team with that domain already exists". This is obviously in error as it is a fresh setup / install. The only thing I can think of is that I used the same domain name (a testing domain name I own) and such for testing because Mattermost currently does not support sub domains, but this was used on a separate server, network, and was an offline setup (though the server and client did have internet access). Does this app "phone home" in anyway? I believe I read something about Google Analytics...does the app report in to the parent companies Google Analytics and then does the app check that that domain is unique? That would be not cool in my opinion....I am all about you guys collecting data on your free open source software but not if it breaks it :(

Let me know if this is something stupid im doing wrong or if there is anything i can do to help. I will continue you investigate the issue and update it here

Creating Accounts

Hello, I am trying to access mattermost from mattermost.ourdomain.com and it works but I cannot sign up from that page. When I click "Sign up Now", it redirects me to ourdomain.com. Furthermore, if I access the page from loclhost:8065, I can sign up and log in but I cannot go back to mattermost.ourdomain.com using the same credentials to login. I noticed this is a current issue so I followed the recommended fixes and the lines of code are already changed but still not working. How do I check which version of mattermost I am running and how do I update mattermost? Thank you

what can I do with google js and css?

I am a Chinese, I can access google. so I need download those statics files on my server. I use your platform with docker, I do not know how to change your source file? I need rebuild docker image ???

I think you can add those static files.....

I need some help, thank you

support for .jpeg extensions

Hi,

Noticed when doing a docker install of Mattermost that inserting a URL with .png and .jpg file extensions it renders a visible image in a channel, but when the extension is .jpeg, it does not.

Probably/hopefully a simple thing to fix.

Enable option to replace [TEAM_NAME].[DOMAIN] with [IP ADDRESS]/[TEAM_NAME] for local installs

hi team,

I am running mattermost on my local centos , I had not config the domain by using the IP address directly, such as below :

http://1.1.1.1:8065/

There are an input box on home page told me that " Enter your team's domain. " .

When I click the " Sign up " button , the browser redirect to : http://www.1.1.1:8065 , which of course can not visit .

What my question is , how can I "Sign up" my own test domain for login ?

thanks

3rd Party Includes should be vendorized

Upon loading the application, numerous resource inclusions are made referencing external domains:

  • ajax.googleapis.com
  • cloudfront.loggly.com
  • fb.me
  • fbcdn-dragon-a.akamaihd.net
  • fonts.googleapis.com
  • maxcdn.bootstrapcdn.com
  • www.google-analytics.com

This application is intended to be self-hosted and used for small collaborations. This makes it an appealing option to teams concerned about private data leaking to cloud services. For organizations with strong privacy policies, this is concern is even more important.

When the above resources are included, the requests they make are easily tracked by those third parties. Moreover, any javascript include from a third party can modify page contents and exfiltrate data. And for several of the resources included (boostrap, react, jquery) there's no reason they need to be included externally - they can be either vendorized or added to a bower.json file for local inclusion. For the analytics services, there are also self-hosted options like https://github.com/piwik/piwik that should be an option to use, instead of google analytics and loggly.

Let's give deployment teams the option to use Mattermost when privacy is a concern or a requirement for their organization, and provide configuration options for self-hosting necessary resources.

Hardcoded port 8443 when using secure websocket?

In web/react/stores/socket_store.jsx, the server port is hard-coded to 8443 when the page is detected to have been loaded over a secure connection. However, I am not running on port 8443, and I assume that many other people aren't either. Instead of being hard-coded, I would think that this should be the same as the port that the site itself was loaded from, in the same way as when it is loaded over a non-secure connection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.