scottleedavis / mattermost-plugin-remind Goto Github PK
View Code? Open in Web Editor NEWa mattermost plugin that sets reminders for users and channels.
License: Apache License 2.0
a mattermost plugin that sets reminders for users and channels.
License: Apache License 2.0
/remind me test every monday, tuesday at 2pm
/remind me to do things every monday and wednesday at noon
/remind me Remember the children's birthdays every 1/30 and 9/30 at noon
/remind me test tomorrow at 4pm
Sometimes a snoozed reminder does not appear in the list.
Snooze buttons on reminders inside the list do not appear to function.
on Mondays
on Tuesdays
on Wednesdays
on Thursdays
on Fridays
on Saturdays
on Sundays
for example,
scheduling at 4:51pm for something at 5pm, should schedule it at the same day, not tomorrow.
/remind me foo every 5/5 at 7
parsed as
I will remind you "foo" at 3:00AM every 5/5.
(Cause: Not quotes used. How can we address this? Slack seems to be able to detect it even when quotes aren't used. It's not likely that users will enter quotes when using the command so we should try to think through this.)
Channel reminders do not display occurrence information
Channel reminders do not display 'complete' information.
I'd love to use this plugin (even though it's WIP), but it says recently that it requires MM 5.10. We run 5.9 currently, and I guess I can wait, but if there's no actual 5.10 features, maybe we could roll it back to 5.9?
More configurable then remind list, but similar
or at least only enable it for a dev testing capacity
Hi, we have this set up correctly and everyone is able to add/list/clear a reminder. Unfortunately, nobody has been able to receive a reminder or notification.
Do you have any ideas what could be causing this or where to check first?
As a side note, the logs are showing the time as:
2018-08-29T17:03:53.945+0100 debug app/plugin_api.go:303 existing [{## user## me 1 16:35 [] 0001-01-01 00:00:00 +0000 UTC} {##$
Note that the time isn't correct - could this be the cause?
Thanks
Duplicate reminders shouldn't be allowed to exist in the list. I would expect that the bot accepts the input, just doesn't display the same reminder more than once in the "/remind list"
/remind me to schedule annual reviews every January 25
/remind me a test at 3pm every day
when "me" is inside a message it gets stripped out.
in the atEN unit tests
/remind me on June 1st to wish Linda happy birthday
Cannot find the config.json file.
Is readme outdated?
Where do i set exactly the site url?
plugin API for key-value pairs like KVSet, KVGet, KVDelete, maybe give it a try and see if it works for you.
Yes, on your custom API, you'll be able to get the user ID and get the profile from it, like:
func (p *Plugin) customAPI(w http.ResponseWriter, r *http.Request) {
userID := r.Header.Get("Mattermost-User-ID")
user, err := p.API.GetUser(userID)
// handle error
// do something with user object or user.Timezone
}
Yes, *model.CommandArgs includes UserId where you can use to get the user object from it, like:
func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError) {
user, err := p.API.GetUser(args.UserId)
// handle error
// do something with user object
}
Maybe look at the built-in /echo command although it's in memory. I'm guessing, the same can be applied to /remind.
Yes, there's a persistent KV store. Look at the KVGet, KVStore and KVDelete APIs: https://developers.mattermost.com/extend/plugins/server/reference/#API.KVSet
pinged @esethna on community.mattermost.com about editing https://github.com/scottleedavis/mattermost-plugin-remind/blob/master/server/i18n/en.json to follow mattermost voice guidelines.
/remind me foo on april 9 2020 at 11am
/remind me what doin everyday at 3:23am
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.