mattermost / mattermost-server Goto Github PK
View Code? Open in Web Editor NEWMattermost is an open source platform for secure collaboration across the entire software development lifecycle..
Home Page: https://mattermost.com
License: Other
Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
Home Page: https://mattermost.com
License: Other
Is there some way to set the Mattermost config when starting the Docker container?
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 ?
{"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
I want to use Sourcegraph for platform code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/mattermost/platform. (It should only take 30 seconds.)
Thank you!
It would be great to have LDAP intergration
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
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?
Is it bug or feature?
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
After writing something into the chat input and pressing enter there is a brief delay before anything happens.
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.
I want to use Sourcegraph for platform code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/mattermost/platform. (It should only take 30 seconds.)
Thank you!
https://github.com/mattermost/platform/blob/master/Dockerfile installs Postfix, MySQL, and Redis into the app container. This largely nullifies the advantages of containerization (having your cluster components independent and able to span any server topology); the only thing inside the container should be the application server, with the overall service structure specified through a mechanism like Docker Compose or Kubernetes pods.
If mattermost does support it, it should be advertized in a more prominent way...
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
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?
Any particular reason we're using Oracle's MySQL over better/nicer alternatives, like MariaDB?
I want to run mattermost not locally, but on Heroku. What should be on the procfile?
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 .....
I want to use Sourcegraph for platform code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/mattermost/platform. (It should only take 30 seconds.)
Thank you!
Then I tried a SSL supported server, and it works.
I've seen some comments in util/mail.go like: go doesn't support plain auth
. Does it have any relation with the problem?
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 :
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
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?
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.
Related to #355
Transparency will help everyone.
The internal Mattermost issue tracker is currently shared with our video games business and it'll take some time to port into a public workflow. We just need to carve out time to do it.
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.
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)
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?
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.
Repro: Upload a BMP image as an attachment in a message
Expected: BMP thumbnail loads
Observed: BMP upload animation plays endlessly
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
This is a feature request: can you please add support for emoji. This is an extensive list of emojis and supported sites.
馃槂
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
Note: This is a front page bug, not a platform bug, but I couldn't find separate instructions for those.
In the navigation of mattermost.org, the current "Feature list" link in the section "About mattermost" leads to a 404. The URL http://www.mattermost.org/70-2/ should get replaced by http://www.mattermost.org/features/.
Hi, my local Mattermost instance is reachable via a domain like http://sub.domain.com but currently the subdomain sub
gets removed and replaced against www
i.e. www.domain.com which causes that the user gets redirected to a none existing page when clicking the Sign up now
button, see utils.jsx.
Hi everyone,
By looking at the Dockerfile, everything is installed in a single container. Is it on purpose?
Wouldn't it be better to separate those app and use docker-compose to run them?
A good example would be https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml
What do you think?
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.
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
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
How could this be integrated with Hubot?
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?
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.
Steps to reproduce:
Upon loading the application, numerous resource inclusions are made referencing external domains:
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.
there is link in https://github.com/mattermost/platform/blob/master/STYLE-GUIDE.md#react-jsx to airbnb style guide jsx components and it proposes to use dobule quotes for jsx attributes of components and single quotes for all other JS https://github.com/airbnb/javascript/tree/master/react#quotes. But currently all PR's changes dobule to single quotes in thouse attributes
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
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 :)
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. :)
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.