We didn't use to handle the error returned from the Enqueue
method. We fix that.
Additionally, we add a verbosity flag that can allow us to
look into verbose logs from the rudder client. This can
help us to debug issues regarding telemetry not being sent.
https://mattermost.atlassian.net/browse/MM-48651
```release-note
NONE
```
* set global drafts feature flag to true
* Don't return error on deleteDraft when draft doesn't exist in server
* undo accidental feature flag change
* address comments
* change log level to debug
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add upcominginvoice field to Subscription type
* Add support for fetching upcoming invoices
* Put back upcominginvoice
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* app/channels: use pluginslock while accessing plugins environment
* when using RunMultiHook we don't need to do a nil check on plugin env
* trigger ci
* Revert license checks for sso integrations
- Revert license check changes for open-id connect options
- Add option to integrate openid-connect for all cloud offerings
* Move enterprise SSO features back to enterprise repository
* Add MessageAttachment field to postdata while rendering batched email notifications
* Add test for SlackAttachments body generator
* Add context to changes
* Add license text to new test file
* Use app/email/notification_email.go as single source for attachment generation
* created selfhosted endpoint
* make autogenerated mocks
* add test
* add user id
* remove user id requirement
* add tests
* send user id with request
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Separate leave_team events for associated user and team
* Remove unnecessary change of sending mode
* Remove redundant get, set of message.broadcast
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* MM-48614: saves priority for drafts
Adds a new column in the drafts table, "priority".
This way we can save post's priority in the draft.
Fixes OmitConnectionId, which when you published a ws event for a user
was getting bypassed.
Fixes Get for drafts returns deleted ones as well, which is needed for
upsert.
* Adds test case for the OmitConnectionId
* Addresses review comments, removes DeleteAt
* Vets
* Adds missing translation
* Re-instates DeleteAt column
* Adds separate case to get draft including deleted
* Fixes Update Draft
* Empty
* Honor the ShowEmailAddress setting for the `/api/v4/teams/[teamid]/regenerate_invite_id` and `/api/v4/users/me/teams` API paths. Fixes MM-47982 and MM-47983
* Fix linter error in test code
* MM-48186: Add a new API endpoint to add a user to their default GroupChannels and GroupTeams. (#21591)
* MM-48186: Add a new API endpoint to add a user to their default GroupChannels and GroupTeams.
* MM-48186: Removed unrelated lint fixes.
* MM-48186: Removed variable from previous iteration.
* MM-48186: Adds translation.
* MM-48186: Not upgrading golang.org/x/text in this pr.
* MM-48186: Validate user ID and auth service.
* MM-48186: Use user id from struct.
* MM-48186: Added basic client test.
* MM-48186: Adds empty translation.
* MM-48186: Added translations.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-47384] Make OpenID Connect free for all (#21556)
* wip: make OpenID Connect free-for-all
* Deprecation note: GoogleOAuth, Office365OAuth
* Improve deprecation comments
Co-authored-by: Martin Kraft <martin@upspin.org>
* Lint fix
* Add model/oauthproviders, move google, openid, office365 from enterprise
* Vet fixes
* Remove redundant log
Co-authored-by: Martin Kraft <martin@upspin.org>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Martin Kraft <martin@upspin.org>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Shivashis Padhi <shivashispadhi@gmail.com>