juanfran / mattermost-gather-users Goto Github PK
View Code? Open in Web Editor NEWMattermost plugin to pair two user to chat
License: Apache License 2.0
Mattermost plugin to pair two user to chat
License: Apache License 2.0
I would suggest changing the set_meetings command info from:
/gather-plugin set_meetings [{"user1": ["bruce", "martha"]}] - Set the meetings that have are already happened.
to
/gather-plugin set_meetings [{"user1": ["bruce", "martha"]}, {"user2":["alice","bob"]}, ...] - Set the meetings that have are already happened.
Note that "user1" is ignored, and is just used as a reference.
I believe that note is correct, from my understanding of the code - I don't understand Go well.
For the past year or two we've gotten occasional reports of people not being included in meetings after a while. Pausing, adding or removing does not affect it, and the users that are ignored appear in the user lists just fine.
I have tried to debug this issue but have had no luck so far, especially as it pops up every few months and I myself haven't been matched in a long time. Any idea what might be going on? I checked the source once or twice but found no obvious errors.
First of all thanks for creating this extension. It makes it easier for our colleagues to keep in touch while working from home. It's simple and easy to use, which is why we chose it over a few alternatives.
One problem we have is that after restarting Mattermost users need to re-enable the plugin by typing /gather-plugin on
. It would be nice if the state would instead persist across restarts.
What it says on the tin. We've instantiated the gather-users plugin several times. Many users have had many meetings, but the plugin has only matched me once this whole time. Here is the output of /gather-plugin meetings
with usernames obfuscated:
{"user1":["user21","user22","user7","user19","user17","user8","user11","user13","user10","user6","user18","user15","user20"],
"user2":[],
"user3":["user6","user12","user10","user15","user13","user17","user18","user19","user14","user7","user20"],
"user4":[],
"user5":[],
"user6":["user21","user7","user22","user10","user18","user8","user20","user1","user14","user9","user15"],
"user7":["user6","user8","user1","user9","user12","user14","user21","user19","user13","user15","user11"],
"user8":["user9","user19","user7","user12","user14","user18","user1","user6","user22","user13","user17"],
"user9":["user8","user17","user18","user7","user21","user13","user20","user19","user12","user6","user10"],
"user10":["user13","user14","user12","user6","user22","user18","user1","user20","user19","user21","user9"],
"user11":["user15","user1","user21","user14","user13","user17","user7","user22"],
"user12":["user20","user18","user22","user8","user10","user7","user17","user15","user21","user9","user14","user25","user19"],
"user13":["user15","user19","user10","user17","user20","user9","user1","user7","user11","user8","user22","user14"],
"user14":["user18","user15","user10","user20","user8","user7","user19","user22","user11","user6","user12","user13"],
"user15":["user13","user22","user14","user19","user17","user18","user11","user20","user12","user7","user21","user1","user6"],
"user16":["user19"],
"user17":["user22","user20","user9","user13","user15","user1","user12","user18","user11","user8","user21"],
"user18":["user14","user12","user20","user9","user21","user15","user8","user6","user10","user17","user22","user1","user19","user25"],
"user19":["user13","user8","user15","user1","user20","user21","user14","user7","user9","user10","user18","user12"],
"user20":["user12","user17","user18","user21","user14","user13","user19","user15","user9","user6","user10","user22","user1"],
"user21":["user1","user6","user20","user18","user22","user9","user19","user7","user11","user12","user15","user10","user17"],
"user22":["user17","user15","user1","user12","user6","user21","user10","user14","user8","user18","user20","user13","user11"],
"user23":["user10","user7"],
"user24":["user7","user1","user6","user19","user13","user9","user8","user10","user15","user17"]}
Two of my users have reported unsubscribing from the gather-users plugin using /gather-plugin off
, I have confirmed this with each of them using /gather-plugin info
, which showed that they were no longer on the list.
However, when monday rolled around, we found that these two users had again been matched with someone for a meeting, and appeared as subscribed in the /gather-plugin info
dialogue.
We have Mattermost 5.0.4 installed, along with gather-users 2.4.0.
It seems that once a user is paused, they can't unpause themselves. I tested this several times myself, by typing /gather-users pause. This gave the message "Gather plugin unpaused" (never saying paused because it was still trying to unpause me), but each time when I checked ./gather-users info, I still showed up as paused.
Interestingly, if I then /gather-users off and /gather-users on, it will instantly match me up for a meeting, but /gather-users info will still show me as paused (and I imagine won't sign me up for a meeting the next week).
Afraid I don't know much about the process that this plugin uses to save data, but happy to help with troubleshooting.
I've now reminded users to re-sign up, and have set at least two meetings to have already happened. I will update this issue with more information if the information is lost again.
Is it possible that mattermost destroyed the plugin database?
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.