Direct Message channel API
Where do I find a list of mattermost plugins?
Hi @wmq,
A response from a community member:
The file in question should be in mattermost/plugins/com.github.moussetc.mattermost.plugin.diceroller
. (And, they believe that no nginx configuration change should be required.)
Where do I find a list of mattermost plugins?
Here’s what nginx says about the query for the icon.png (which is located in the proper place in the plugin directory):
me/61.0.3163.100 Electron/2.0.12 Safari/537.36" “-” “[removed IP]:8065” “200”
10.232.253.64 - - [15/Mar/2019:17:36:59 -0500] “GET /api/v4/image?url=%2Fplugins%2Fcom.github.moussetc.mattermost.plugin.diceroller%2Ficon.png HTTP/1.1” -> 500 <- NOT FOUND REPORT FROM MATTERMOST SERVER 260 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Mattermost/4.2.0 Chrome/61.0.3163.100 Electron/2.0.12 Safari/537.36” “-” “[Removed IP]:8065” “500”
Mattermost log shows:
{“level”:“error”,“ts”:1552689411.2189186,“caller”:“log/log.go:289”,“msg”:“error fetching remote image: Get https://[removed IP]/icon.png#0x0: Get https://[removed IP]/icon.png: address forbidden, you may need to set AllowedUntrustedInternalConnections to allow an integration access to your internal network”,“source”:“stdlog”}
Mattermost config section:
“EnableInsecureOutgoingConnections”: false,
“AllowedUntrustedInternalConnections”: “1”,
“EnableMultifactorAuthentication”: false,
(I had a “true” in there, the server upon load apparently converted it to “1”).
I get the same results with the meme maker - the mattermost server refuses to deliver the images.
Suggestions?
If I can get this to work adding plugins like this will be an easy matter, and creating them will be just as easy.
Direct MESSAGES
Looks like no help regarding that huh!
How I can remove Preview Mode banner?
Thanks Eric! What to do if I’m logged in as admin and it says that “not enabled by system admin”? https://i.imgur.com/gi79HaI.png
How I can remove Preview Mode banner?
Hi @CrewNew_com,
You can enable email notifications via System Console or config.json: https://docs.mattermost.com/administration/config-settings.html#email
Blank screen on web after editing 2.5857b4ac8d7ce7f837f4.js
Hey folks! I wanted to change a little the first welcome tutorial text that appears just after the first login and after that, on the web, I just see a blank page. I changed back to original but that didn’t help. I also rebooted the server and also that didn’t help. So right now I can only use Windows and Android apps. Probably other apps except for the web also work. Not sure what to do…
Thanks in advance.
Direct MESSAGES
Hi, @vibhi
Pardon me for the radio silence as I was away for the last couple of days. I am double checking with the team to see if there is any of achieving this nevertheless.
I came across the following suggestion that discusses the need to disable direct messaging, which could also be applied in your scenario.
However, another scenario needs to be taken into consideration where users create private channels as another alternative as mentioned here:
So, a lot of things to take into consideration here.
Direct Message channel API
@amy.blais you also link the usage of that algorithm?
Direct MESSAGES
Hello again, @vibhi
I received confirmation from the team on the following:
More-or-less the answer is ‘no’. However, this is in our roadmap via a feature called “ethical boundaries” which prevents one group of users from communicating with another group of users.
That said, there is a plugin that allows one to disable DMs via this plugin https://github.com/Brightscout/mattermost-plugin-disable-dm
You can find some early design/requirements documentation of the feature in the channel header here https://community.mattermost.com/core/channels/ee-ethical-boundaries
Perhaps you can give the plugin a try and let me know if it helps to cater to the requirement that you have for now. Additionally, I would recommend you to join the channel for more visibility on the planned feature.
Blank screen on web after editing 2.5857b4ac8d7ce7f837f4.js
What happen if you go with the private mode of your browser to your Mattermost website?
Api error on create user ruby
Hi @amy.blais.
Firstly thanks for your reply . I actually managed to find another solution. I just had to add a .to_json to the body to convert the body into json (not sure why i had to though since it should allready have done so).
Also if your solution works the docs should be updated since the api docs cleary show the username in dictionaries.
Blank screen on web after editing 2.5857b4ac8d7ce7f837f4.js
Weird. Thanks a lot. So if I make a changes to JS files to edit some texts then I need to reload the site once in Incognito and then again it will work also everywhere without incognito mode?
Blank screen on web after editing 2.5857b4ac8d7ce7f837f4.js
no, the issue was that on the system where you had the error there was still something in your local cache. if you had tried a browser which did not have your mattermost in cache it would have worked there as well.
Where do I find a list of mattermost plugins?
Hi @wmq,
What Mattermost version are you on? If it includes the image proxy: is the image proxy turned on? If so, could you please try to turn it off? (Also, re HTTP status codes: 500 is not 404.)
How to set helm chart to deploy team edition?
@cpanato Is this something you could help take a look at?
Where do I find a list of mattermost plugins?
Ok - turning off the “local” image proxy made the image appear properly!
A different error showed up in the mattermost log, but the picture loaded:
{“level”:“warn”,“ts”:1552911463.354878,“caller”:“app/post_metadata.go:204”,“msg”:“Failed to get dimensions of an image in a post”,“post_id”:“6oseaisxwfgdxbs1ecx4x9b3ra”,“image_url”:"/plugins/com.github.moussetc.mattermost.plugin.diceroller/icon.png",“err”:“Get https://[redacted ip]/plugins/com.github.moussetc.mattermost.plugin.diceroller/icon.png: address forbidden, you may need to set AllowedUntrustedInternalConnections to allow an integration access to your internal network”}
Where do I find a list of mattermost plugins?
Hi @wmq,
Also wanted to mention that we made some fixes around image proxy in 5.8.1 and 5.9 releases - see more details in important upgrade notes: https://docs.mattermost.com/administration/important-upgrade-notes.html.
How to set helm chart to deploy team edition?
I used that alternative docker container I linked, and now it shows as enterprise enabled false and loads Team Edition as expected. Maybe you guys can put the changes from the unsupported container into your builds going forward to force Team Edition like he has?
About AGPL License
Hi. I am writing because I am curious about mattermost server license
I am considering using the matermost open source.
But I saw the policy that if I modify the mattermost server source, I have to make public the source because of AGPL.
Here’s what I’d like to revise.
- When user sign in, I’m going to add my company’s groupware api to mattermost sign in source.
- And when user sign up, I’m going to authenticate with groupware API.
In this case, it’s inevitable to modify the mattermost server source.
if so, does the AGPL license apply? Or is a MIT license enough?