generated from mattermost/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add status change confirmation #73
Merged
mickmister
merged 29 commits into
mattermost:master
from
larkox:GH60StatusChangeConfirmation
May 4, 2020
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6c76941
Add status change confirmation
larkox 3089056
Improve error handling and messages
larkox 6e12f49
Improve detection of meetings by checking the start time
larkox 4fbe800
Add event information to status change notification
larkox 585eb4b
Merge branch 'master' into GH60StatusChangeConfirmation
levb 18d40cc
Change start and end times types to pointers and be more clear with h…
larkox d151b09
Merge branch 'GH60StatusChangeConfirmation' of /~https://github.com/lar…
larkox a3ae95c
Merge branch 'master' into GH60StatusChangeConfirmation
levb 4ba8776
Merge branch 'master' into GH60StatusChangeConfirmation
mickmister b2f4f5c
Use GetCalendarView to determine user's current status
mickmister 189be08
Merge branch 'master' into GH60StatusChangeConfirmation
mickmister 3b40dc1
Test status sync job
mickmister f92f794
treat bot as admin
mickmister e91f44b
Merge branch 'master' into GH60StatusChangeConfirmation
larkox 0607f52
Use pretty statuses on slack action response
larkox a9c482b
Take in mind cancelled events for notifications and status change
larkox 5528545
Merge branch 'master' into GH60StatusChangeConfirmation
larkox 18d48bd
Use GetSchedule for status and GetCalendarView for reminders
mickmister dfbd7e0
Revert "Use GetSchedule for status and GetCalendarView for reminders"
larkox d67c0e3
Merge branch 'master' into GH60StatusChangeConfirmation
larkox 7ead072
Fix panic due to error handling and change check to include events am…
larkox cd3cc6d
Add GetReminder setting and fix issue where a user that decided not t…
larkox fd5c45d
short circuit when no users want status, same with reminders. fix tests
mickmister 78d13e9
Improve error testing
mickmister e268fcf
Name changes refactoring, and changes on how upcoming events and cale…
larkox fd149c7
Fix test
larkox 5a698c8
Remove unneeded botUser references
larkox 6db9aee
Merge branch 'master' into GH60StatusChangeConfirmation
mickmister 7b2a6fe
Handle mistaken string when the availability handles an ongoing event…
larkox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: can you change this to match the type assertion strategy above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, forgot about that.