opentracing

package
v5.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: AGPL-3.0, Apache-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenTracingAppLayer

type OpenTracingAppLayer struct {
	// contains filtered or unexported fields
}

func NewOpenTracingAppLayer

func NewOpenTracingAppLayer(childApp app.AppIface, ctx context.Context) *OpenTracingAppLayer

func (*OpenTracingAppLayer) AcceptLanguage

func (a *OpenTracingAppLayer) AcceptLanguage() string

func (*OpenTracingAppLayer) AccountMigration

func (*OpenTracingAppLayer) ActivateMfa

func (a *OpenTracingAppLayer) ActivateMfa(userId string, token string) *model.AppError

func (*OpenTracingAppLayer) AddChannelMember

func (a *OpenTracingAppLayer) AddChannelMember(userId string, channel *model.Channel, userRequestorId string, postRootId string) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) AddConfigListener

func (a *OpenTracingAppLayer) AddConfigListener(listener func(*model.Config, *model.Config)) string

func (*OpenTracingAppLayer) AddCursorIdsForPostList

func (a *OpenTracingAppLayer) AddCursorIdsForPostList(originalList *model.PostList, afterPost string, beforePost string, since int64, page int, perPage int)

func (*OpenTracingAppLayer) AddDirectChannels

func (a *OpenTracingAppLayer) AddDirectChannels(teamId string, user *model.User) *model.AppError

func (*OpenTracingAppLayer) AddLdapPrivateCertificate added in v5.28.0

func (a *OpenTracingAppLayer) AddLdapPrivateCertificate(fileData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) AddLdapPublicCertificate added in v5.28.0

func (a *OpenTracingAppLayer) AddLdapPublicCertificate(fileData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) AddPublicKey

func (a *OpenTracingAppLayer) AddPublicKey(name string, key io.Reader) *model.AppError

func (*OpenTracingAppLayer) AddSamlIdpCertificate

func (a *OpenTracingAppLayer) AddSamlIdpCertificate(fileData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) AddSamlPrivateCertificate

func (a *OpenTracingAppLayer) AddSamlPrivateCertificate(fileData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) AddSamlPublicCertificate

func (a *OpenTracingAppLayer) AddSamlPublicCertificate(fileData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) AddSessionToCache

func (a *OpenTracingAppLayer) AddSessionToCache(session *model.Session)

func (*OpenTracingAppLayer) AddStatusCache

func (a *OpenTracingAppLayer) AddStatusCache(status *model.Status)

func (*OpenTracingAppLayer) AddStatusCacheSkipClusterSend

func (a *OpenTracingAppLayer) AddStatusCacheSkipClusterSend(status *model.Status)

func (*OpenTracingAppLayer) AddTeamMember

func (a *OpenTracingAppLayer) AddTeamMember(teamId string, userId string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMemberByInviteId

func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(inviteId string, userId string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMemberByToken

func (a *OpenTracingAppLayer) AddTeamMemberByToken(userId string, tokenId string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMembers

func (a *OpenTracingAppLayer) AddTeamMembers(teamId string, userIds []string, userRequestorId string, graceful bool) ([]*model.TeamMemberWithError, *model.AppError)

func (*OpenTracingAppLayer) AddUserToChannel

func (a *OpenTracingAppLayer) AddUserToChannel(user *model.User, channel *model.Channel) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) AddUserToTeam

func (a *OpenTracingAppLayer) AddUserToTeam(teamId string, userId string, userRequestorId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) AddUserToTeamByInviteId

func (a *OpenTracingAppLayer) AddUserToTeamByInviteId(inviteId string, userId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) AddUserToTeamByTeamId

func (a *OpenTracingAppLayer) AddUserToTeamByTeamId(teamId string, user *model.User) *model.AppError

func (*OpenTracingAppLayer) AddUserToTeamByToken

func (a *OpenTracingAppLayer) AddUserToTeamByToken(userId string, tokenId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) AdjustImage

func (a *OpenTracingAppLayer) AdjustImage(file io.Reader) (*bytes.Buffer, *model.AppError)

func (*OpenTracingAppLayer) AllowOAuthAppAccessToUser

func (a *OpenTracingAppLayer) AllowOAuthAppAccessToUser(userId string, authRequest *model.AuthorizeRequest) (string, *model.AppError)

func (*OpenTracingAppLayer) AppendFile added in v5.28.0

func (a *OpenTracingAppLayer) AppendFile(fr io.Reader, path string) (int64, *model.AppError)

func (*OpenTracingAppLayer) AsymmetricSigningKey

func (a *OpenTracingAppLayer) AsymmetricSigningKey() *ecdsa.PrivateKey

func (*OpenTracingAppLayer) AttachDeviceId

func (a *OpenTracingAppLayer) AttachDeviceId(sessionId string, deviceId string, expiresAt int64) *model.AppError

func (*OpenTracingAppLayer) AttachSessionCookies

func (a *OpenTracingAppLayer) AttachSessionCookies(w http.ResponseWriter, r *http.Request)

func (*OpenTracingAppLayer) AuthenticateUserForLogin

func (a *OpenTracingAppLayer) AuthenticateUserForLogin(id string, loginId string, password string, mfaToken string, cwsToken string, ldapOnly bool) (user *model.User, err *model.AppError)

func (*OpenTracingAppLayer) AuthorizeOAuthUser

func (a *OpenTracingAppLayer) AuthorizeOAuthUser(w http.ResponseWriter, r *http.Request, service string, code string, state string, redirectUri string) (io.ReadCloser, string, map[string]string, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteChannels

func (a *OpenTracingAppLayer) AutocompleteChannels(teamId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteChannelsForSearch

func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamId string, userId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteUsersInChannel

func (a *OpenTracingAppLayer) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteUsersInTeam

func (a *OpenTracingAppLayer) AutocompleteUsersInTeam(teamId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInTeam, *model.AppError)

func (*OpenTracingAppLayer) BroadcastStatus

func (a *OpenTracingAppLayer) BroadcastStatus(status *model.Status)

func (*OpenTracingAppLayer) BuildPostReactions

func (a *OpenTracingAppLayer) BuildPostReactions(postId string) (*[]app.ReactionImportData, *model.AppError)

func (*OpenTracingAppLayer) BuildPushNotificationMessage

func (a *OpenTracingAppLayer) BuildPushNotificationMessage(contentsConfig string, post *model.Post, user *model.User, channel *model.Channel, channelName string, senderName string, explicitMention bool, channelWideMention bool, replyToThreadType string) (*model.PushNotification, *model.AppError)

func (*OpenTracingAppLayer) BuildSamlMetadataObject

func (a *OpenTracingAppLayer) BuildSamlMetadataObject(idpMetadata []byte) (*model.SamlMetadataResponse, *model.AppError)

func (*OpenTracingAppLayer) BulkExport

func (a *OpenTracingAppLayer) BulkExport(writer io.Writer, file string, pathToEmojiDir string, dirNameToExportEmoji string) *model.AppError

func (*OpenTracingAppLayer) BulkImport

func (a *OpenTracingAppLayer) BulkImport(fileReader io.Reader, dryRun bool, workers int) (*model.AppError, int)

func (*OpenTracingAppLayer) CancelJob

func (a *OpenTracingAppLayer) CancelJob(jobId string) *model.AppError

func (*OpenTracingAppLayer) ChannelMembersMinusGroupMembers

func (a *OpenTracingAppLayer) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)

func (*OpenTracingAppLayer) ChannelMembersToAdd

func (a *OpenTracingAppLayer) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)

func (*OpenTracingAppLayer) ChannelMembersToRemove

func (a *OpenTracingAppLayer) ChannelMembersToRemove(teamID *string) ([]*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails added in v5.30.0

func (a *OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails() *model.AppError

func (*OpenTracingAppLayer) CheckForClientSideCert

func (a *OpenTracingAppLayer) CheckForClientSideCert(r *http.Request) (string, string, string)

func (*OpenTracingAppLayer) CheckPasswordAndAllCriteria

func (a *OpenTracingAppLayer) CheckPasswordAndAllCriteria(user *model.User, password string, mfaToken string) *model.AppError

func (*OpenTracingAppLayer) CheckRolesExist

func (a *OpenTracingAppLayer) CheckRolesExist(roleNames []string) *model.AppError

func (*OpenTracingAppLayer) CheckUserAllAuthenticationCriteria

func (a *OpenTracingAppLayer) CheckUserAllAuthenticationCriteria(user *model.User, mfaToken string) *model.AppError

func (*OpenTracingAppLayer) CheckUserMfa

func (a *OpenTracingAppLayer) CheckUserMfa(user *model.User, token string) *model.AppError

func (*OpenTracingAppLayer) CheckUserPostflightAuthenticationCriteria

func (a *OpenTracingAppLayer) CheckUserPostflightAuthenticationCriteria(user *model.User) *model.AppError

func (*OpenTracingAppLayer) CheckUserPreflightAuthenticationCriteria

func (a *OpenTracingAppLayer) CheckUserPreflightAuthenticationCriteria(user *model.User, mfaToken string) *model.AppError

func (*OpenTracingAppLayer) CheckValidDomains

func (a *OpenTracingAppLayer) CheckValidDomains(team *model.Team) *model.AppError

func (*OpenTracingAppLayer) ClearChannelMembersCache

func (a *OpenTracingAppLayer) ClearChannelMembersCache(channelID string)

func (*OpenTracingAppLayer) ClearSessionCacheForAllUsers

func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsers()

func (*OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend

func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend()

func (*OpenTracingAppLayer) ClearSessionCacheForUser

func (a *OpenTracingAppLayer) ClearSessionCacheForUser(userId string)

func (*OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend

func (a *OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend(userId string)

func (*OpenTracingAppLayer) ClearTeamMembersCache

func (a *OpenTracingAppLayer) ClearTeamMembersCache(teamID string)

func (*OpenTracingAppLayer) ClientConfig

func (a *OpenTracingAppLayer) ClientConfig() map[string]string

func (*OpenTracingAppLayer) ClientConfigHash

func (a *OpenTracingAppLayer) ClientConfigHash() string

func (*OpenTracingAppLayer) ClientConfigWithComputed

func (a *OpenTracingAppLayer) ClientConfigWithComputed() map[string]string

func (*OpenTracingAppLayer) Cloud added in v5.30.0

func (*OpenTracingAppLayer) Cluster

func (*OpenTracingAppLayer) CompareAndDeletePluginKey

func (a *OpenTracingAppLayer) CompareAndDeletePluginKey(pluginId string, key string, oldValue []byte) (bool, *model.AppError)

func (*OpenTracingAppLayer) CompareAndSetPluginKey

func (a *OpenTracingAppLayer) CompareAndSetPluginKey(pluginId string, key string, oldValue []byte, newValue []byte) (bool, *model.AppError)

func (*OpenTracingAppLayer) CompleteOAuth

func (a *OpenTracingAppLayer) CompleteOAuth(service string, body io.ReadCloser, teamId string, props map[string]string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CompleteSwitchWithOAuth

func (a *OpenTracingAppLayer) CompleteSwitchWithOAuth(service string, userData io.Reader, email string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) Compliance

func (*OpenTracingAppLayer) Config

func (a *OpenTracingAppLayer) Config() *model.Config

func (*OpenTracingAppLayer) Context

func (a *OpenTracingAppLayer) Context() context.Context

func (*OpenTracingAppLayer) ConvertBotToUser

func (a *OpenTracingAppLayer) ConvertBotToUser(bot *model.Bot, userPatch *model.UserPatch, sysadmin bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) ConvertUserToBot

func (a *OpenTracingAppLayer) ConvertUserToBot(user *model.User) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) CopyFileInfos

func (a *OpenTracingAppLayer) CopyFileInfos(userId string, fileIds []string) ([]string, *model.AppError)

func (*OpenTracingAppLayer) CreateBot

func (a *OpenTracingAppLayer) CreateBot(bot *model.Bot) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) CreateChannel

func (a *OpenTracingAppLayer) CreateChannel(channel *model.Channel, addMember bool) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) CreateChannelScheme

func (a *OpenTracingAppLayer) CreateChannelScheme(channel *model.Channel) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) CreateChannelWithUser

func (a *OpenTracingAppLayer) CreateChannelWithUser(channel *model.Channel, userId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) CreateCommand

func (a *OpenTracingAppLayer) CreateCommand(cmd *model.Command) (*model.Command, *model.AppError)

func (*OpenTracingAppLayer) CreateCommandPost

func (a *OpenTracingAppLayer) CreateCommandPost(post *model.Post, teamId string, response *model.CommandResponse, skipSlackParsing bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) CreateCommandWebhook

func (a *OpenTracingAppLayer) CreateCommandWebhook(commandId string, args *model.CommandArgs) (*model.CommandWebhook, *model.AppError)

func (*OpenTracingAppLayer) CreateDefaultChannels

func (a *OpenTracingAppLayer) CreateDefaultChannels(teamID string) ([]*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) CreateDefaultMemberships

func (a *OpenTracingAppLayer) CreateDefaultMemberships(since int64) error

func (*OpenTracingAppLayer) CreateEmoji

func (a *OpenTracingAppLayer) CreateEmoji(sessionUserId string, emoji *model.Emoji, multiPartImageData *multipart.Form) (*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) CreateGroup

func (a *OpenTracingAppLayer) CreateGroup(group *model.Group) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) CreateGroupChannel

func (a *OpenTracingAppLayer) CreateGroupChannel(userIds []string, creatorId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) CreateGuest

func (a *OpenTracingAppLayer) CreateGuest(user *model.User) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateIncomingWebhookForChannel

func (a *OpenTracingAppLayer) CreateIncomingWebhookForChannel(creatorId string, channel *model.Channel, hook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) CreateJob

func (a *OpenTracingAppLayer) CreateJob(job *model.Job) (*model.Job, *model.AppError)

func (*OpenTracingAppLayer) CreateOAuthApp

func (a *OpenTracingAppLayer) CreateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) CreateOAuthStateToken

func (a *OpenTracingAppLayer) CreateOAuthStateToken(extra string) (*model.Token, *model.AppError)

func (*OpenTracingAppLayer) CreateOAuthUser

func (a *OpenTracingAppLayer) CreateOAuthUser(service string, userData io.Reader, teamId string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateOutgoingWebhook

func (a *OpenTracingAppLayer) CreateOutgoingWebhook(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) CreatePasswordRecoveryToken

func (a *OpenTracingAppLayer) CreatePasswordRecoveryToken(userId string, email string) (*model.Token, *model.AppError)

func (*OpenTracingAppLayer) CreatePost

func (a *OpenTracingAppLayer) CreatePost(post *model.Post, channel *model.Channel, triggerWebhooks bool, setOnline bool) (savedPost *model.Post, err *model.AppError)

func (*OpenTracingAppLayer) CreatePostAsUser

func (a *OpenTracingAppLayer) CreatePostAsUser(post *model.Post, currentSessionId string, setOnline bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) CreatePostMissingChannel

func (a *OpenTracingAppLayer) CreatePostMissingChannel(post *model.Post, triggerWebhooks bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) CreateRole

func (a *OpenTracingAppLayer) CreateRole(role *model.Role) (*model.Role, *model.AppError)

func (*OpenTracingAppLayer) CreateScheme

func (a *OpenTracingAppLayer) CreateScheme(scheme *model.Scheme) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) CreateSession

func (a *OpenTracingAppLayer) CreateSession(session *model.Session) (*model.Session, *model.AppError)

func (*OpenTracingAppLayer) CreateSidebarCategory

func (a *OpenTracingAppLayer) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)

func (*OpenTracingAppLayer) CreateTeam

func (a *OpenTracingAppLayer) CreateTeam(team *model.Team) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) CreateTeamWithUser

func (a *OpenTracingAppLayer) CreateTeamWithUser(team *model.Team, userId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) CreateTermsOfService

func (a *OpenTracingAppLayer) CreateTermsOfService(text string, userId string) (*model.TermsOfService, *model.AppError)

func (*OpenTracingAppLayer) CreateUploadSession added in v5.28.0

func (a *OpenTracingAppLayer) CreateUploadSession(us *model.UploadSession) (*model.UploadSession, *model.AppError)

func (*OpenTracingAppLayer) CreateUser

func (a *OpenTracingAppLayer) CreateUser(user *model.User) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateUserAccessToken

func (a *OpenTracingAppLayer) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)

func (*OpenTracingAppLayer) CreateUserAsAdmin

func (a *OpenTracingAppLayer) CreateUserAsAdmin(user *model.User, redirect string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateUserFromSignup

func (a *OpenTracingAppLayer) CreateUserFromSignup(user *model.User, redirect string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateUserWithInviteId

func (a *OpenTracingAppLayer) CreateUserWithInviteId(user *model.User, inviteId string, redirect string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateUserWithToken

func (a *OpenTracingAppLayer) CreateUserWithToken(user *model.User, token *model.Token) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateWebhookPost

func (a *OpenTracingAppLayer) CreateWebhookPost(userId string, channel *model.Channel, text string, overrideUsername string, overrideIconUrl string, overrideIconEmoji string, props model.StringInterface, postType string, postRootId string) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) DBHealthCheckDelete added in v5.30.0

func (a *OpenTracingAppLayer) DBHealthCheckDelete() error

func (*OpenTracingAppLayer) DBHealthCheckWrite added in v5.30.0

func (a *OpenTracingAppLayer) DBHealthCheckWrite() error

func (*OpenTracingAppLayer) DataRetention

func (*OpenTracingAppLayer) DeactivateGuests

func (a *OpenTracingAppLayer) DeactivateGuests() *model.AppError

func (*OpenTracingAppLayer) DeactivateMfa

func (a *OpenTracingAppLayer) DeactivateMfa(userId string) *model.AppError

func (*OpenTracingAppLayer) DeauthorizeOAuthAppForUser

func (a *OpenTracingAppLayer) DeauthorizeOAuthAppForUser(userId string, appId string) *model.AppError

func (*OpenTracingAppLayer) DefaultChannelNames

func (a *OpenTracingAppLayer) DefaultChannelNames() []string

func (*OpenTracingAppLayer) DeleteAllExpiredPluginKeys

func (a *OpenTracingAppLayer) DeleteAllExpiredPluginKeys() *model.AppError

func (*OpenTracingAppLayer) DeleteAllKeysForPlugin

func (a *OpenTracingAppLayer) DeleteAllKeysForPlugin(pluginId string) *model.AppError

func (*OpenTracingAppLayer) DeleteBotIconImage

func (a *OpenTracingAppLayer) DeleteBotIconImage(botUserId string) *model.AppError

func (*OpenTracingAppLayer) DeleteBrandImage

func (a *OpenTracingAppLayer) DeleteBrandImage() *model.AppError

func (*OpenTracingAppLayer) DeleteChannel

func (a *OpenTracingAppLayer) DeleteChannel(channel *model.Channel, userId string) *model.AppError

func (*OpenTracingAppLayer) DeleteChannelScheme

func (a *OpenTracingAppLayer) DeleteChannelScheme(channel *model.Channel) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) DeleteCommand

func (a *OpenTracingAppLayer) DeleteCommand(commandId string) *model.AppError

func (*OpenTracingAppLayer) DeleteEmoji

func (a *OpenTracingAppLayer) DeleteEmoji(emoji *model.Emoji) *model.AppError

func (*OpenTracingAppLayer) DeleteEphemeralPost

func (a *OpenTracingAppLayer) DeleteEphemeralPost(userId string, postId string)

func (*OpenTracingAppLayer) DeleteFlaggedPosts

func (a *OpenTracingAppLayer) DeleteFlaggedPosts(postId string)

func (*OpenTracingAppLayer) DeleteGroup

func (a *OpenTracingAppLayer) DeleteGroup(groupID string) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) DeleteGroupConstrainedMemberships

func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships() error

func (*OpenTracingAppLayer) DeleteGroupMember

func (a *OpenTracingAppLayer) DeleteGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)

func (*OpenTracingAppLayer) DeleteGroupSyncable

func (a *OpenTracingAppLayer) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)

func (*OpenTracingAppLayer) DeleteIncomingWebhook

func (a *OpenTracingAppLayer) DeleteIncomingWebhook(hookId string) *model.AppError

func (*OpenTracingAppLayer) DeleteOAuthApp

func (a *OpenTracingAppLayer) DeleteOAuthApp(appId string) *model.AppError

func (*OpenTracingAppLayer) DeleteOutgoingWebhook

func (a *OpenTracingAppLayer) DeleteOutgoingWebhook(hookId string) *model.AppError

func (*OpenTracingAppLayer) DeletePluginKey

func (a *OpenTracingAppLayer) DeletePluginKey(pluginId string, key string) *model.AppError

func (*OpenTracingAppLayer) DeletePost

func (a *OpenTracingAppLayer) DeletePost(postId string, deleteByID string) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) DeletePostFiles

func (a *OpenTracingAppLayer) DeletePostFiles(post *model.Post)

func (*OpenTracingAppLayer) DeletePreferences

func (a *OpenTracingAppLayer) DeletePreferences(userId string, preferences model.Preferences) *model.AppError

func (*OpenTracingAppLayer) DeletePublicKey

func (a *OpenTracingAppLayer) DeletePublicKey(name string) *model.AppError

func (*OpenTracingAppLayer) DeleteReactionForPost

func (a *OpenTracingAppLayer) DeleteReactionForPost(reaction *model.Reaction) *model.AppError

func (*OpenTracingAppLayer) DeleteScheme

func (a *OpenTracingAppLayer) DeleteScheme(schemeId string) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) DeleteSidebarCategory

func (a *OpenTracingAppLayer) DeleteSidebarCategory(userId string, teamId string, categoryId string) *model.AppError

func (*OpenTracingAppLayer) DeleteToken

func (a *OpenTracingAppLayer) DeleteToken(token *model.Token) *model.AppError

func (*OpenTracingAppLayer) DemoteUserToGuest

func (a *OpenTracingAppLayer) DemoteUserToGuest(user *model.User) *model.AppError

func (*OpenTracingAppLayer) DisableAutoResponder

func (a *OpenTracingAppLayer) DisableAutoResponder(userId string, asAdmin bool) *model.AppError

func (*OpenTracingAppLayer) DisablePlugin

func (a *OpenTracingAppLayer) DisablePlugin(id string) *model.AppError

func (*OpenTracingAppLayer) DisableUserAccessToken

func (a *OpenTracingAppLayer) DisableUserAccessToken(token *model.UserAccessToken) *model.AppError

func (*OpenTracingAppLayer) DoActionRequest

func (a *OpenTracingAppLayer) DoActionRequest(rawURL string, body []byte) (*http.Response, *model.AppError)

func (*OpenTracingAppLayer) DoAdvancedPermissionsMigration

func (a *OpenTracingAppLayer) DoAdvancedPermissionsMigration()

func (*OpenTracingAppLayer) DoAppMigrations

func (a *OpenTracingAppLayer) DoAppMigrations()

func (*OpenTracingAppLayer) DoCommandRequest added in v5.28.0

func (*OpenTracingAppLayer) DoEmojisPermissionsMigration

func (a *OpenTracingAppLayer) DoEmojisPermissionsMigration()

func (*OpenTracingAppLayer) DoGuestRolesCreationMigration

func (a *OpenTracingAppLayer) DoGuestRolesCreationMigration()

func (*OpenTracingAppLayer) DoLocalRequest

func (a *OpenTracingAppLayer) DoLocalRequest(rawURL string, body []byte) (*http.Response, *model.AppError)

func (*OpenTracingAppLayer) DoLogin

func (a *OpenTracingAppLayer) DoLogin(w http.ResponseWriter, r *http.Request, user *model.User, deviceId string, isMobile bool, isOAuthUser bool, isSaml bool) *model.AppError

func (*OpenTracingAppLayer) DoPermissionsMigrations

func (a *OpenTracingAppLayer) DoPermissionsMigrations() error

func (*OpenTracingAppLayer) DoPostAction

func (a *OpenTracingAppLayer) DoPostAction(postId string, actionId string, userId string, selectedOption string) (string, *model.AppError)

func (*OpenTracingAppLayer) DoPostActionWithCookie

func (a *OpenTracingAppLayer) DoPostActionWithCookie(postId string, actionId string, userId string, selectedOption string, cookie *model.PostActionCookie) (string, *model.AppError)

func (*OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration added in v5.28.0

func (a *OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration()

func (*OpenTracingAppLayer) DoUploadFile

func (a *OpenTracingAppLayer) DoUploadFile(now time.Time, rawTeamId string, rawChannelId string, rawUserId string, rawFilename string, data []byte) (*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) DoUploadFileExpectModification

func (a *OpenTracingAppLayer) DoUploadFileExpectModification(now time.Time, rawTeamId string, rawChannelId string, rawUserId string, rawFilename string, data []byte) (*model.FileInfo, []byte, *model.AppError)

func (*OpenTracingAppLayer) DoubleCheckPassword

func (a *OpenTracingAppLayer) DoubleCheckPassword(user *model.User, password string) *model.AppError

func (*OpenTracingAppLayer) DownloadFromURL

func (a *OpenTracingAppLayer) DownloadFromURL(downloadURL string) ([]byte, error)

func (*OpenTracingAppLayer) EnablePlugin

func (a *OpenTracingAppLayer) EnablePlugin(id string) *model.AppError

func (*OpenTracingAppLayer) EnableUserAccessToken

func (a *OpenTracingAppLayer) EnableUserAccessToken(token *model.UserAccessToken) *model.AppError

func (*OpenTracingAppLayer) EnvironmentConfig

func (a *OpenTracingAppLayer) EnvironmentConfig() map[string]interface{}

func (*OpenTracingAppLayer) ExecuteCommand

func (*OpenTracingAppLayer) ExportPermissions

func (a *OpenTracingAppLayer) ExportPermissions(w io.Writer) error

func (*OpenTracingAppLayer) ExtendSessionExpiryIfNeeded

func (a *OpenTracingAppLayer) ExtendSessionExpiryIfNeeded(session *model.Session) bool

func (*OpenTracingAppLayer) FetchSamlMetadataFromIdp

func (a *OpenTracingAppLayer) FetchSamlMetadataFromIdp(url string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) FileBackend

func (*OpenTracingAppLayer) FileExists

func (a *OpenTracingAppLayer) FileExists(path string) (bool, *model.AppError)

func (*OpenTracingAppLayer) FileReader

func (*OpenTracingAppLayer) FillInChannelProps

func (a *OpenTracingAppLayer) FillInChannelProps(channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) FillInChannelsProps

func (a *OpenTracingAppLayer) FillInChannelsProps(channelList *model.ChannelList) *model.AppError

func (*OpenTracingAppLayer) FillInPostProps

func (a *OpenTracingAppLayer) FillInPostProps(post *model.Post, channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) FilterNonGroupChannelMembers

func (a *OpenTracingAppLayer) FilterNonGroupChannelMembers(userIds []string, channel *model.Channel) ([]string, error)

func (*OpenTracingAppLayer) FilterNonGroupTeamMembers

func (a *OpenTracingAppLayer) FilterNonGroupTeamMembers(userIds []string, team *model.Team) ([]string, error)

func (*OpenTracingAppLayer) FilterUsersByVisible

func (a *OpenTracingAppLayer) FilterUsersByVisible(viewer *model.User, otherUsers []*model.User) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) FindTeamByName

func (a *OpenTracingAppLayer) FindTeamByName(name string) bool

func (*OpenTracingAppLayer) GenerateMfaSecret

func (a *OpenTracingAppLayer) GenerateMfaSecret(userId string) (*model.MfaSecret, *model.AppError)
func (a *OpenTracingAppLayer) GeneratePublicLink(siteURL string, info *model.FileInfo) string

func (*OpenTracingAppLayer) GetActivePluginManifests

func (a *OpenTracingAppLayer) GetActivePluginManifests() ([]*model.Manifest, *model.AppError)

func (*OpenTracingAppLayer) GetAllChannels

func (a *OpenTracingAppLayer) GetAllChannels(page int, perPage int, opts model.ChannelSearchOpts) (*model.ChannelListWithTeamData, *model.AppError)

func (*OpenTracingAppLayer) GetAllChannelsCount

func (a *OpenTracingAppLayer) GetAllChannelsCount(opts model.ChannelSearchOpts) (int64, *model.AppError)

func (*OpenTracingAppLayer) GetAllLdapGroupsPage

func (a *OpenTracingAppLayer) GetAllLdapGroupsPage(page int, perPage int, opts model.LdapGroupSearchOpts) ([]*model.Group, int, *model.AppError)

func (*OpenTracingAppLayer) GetAllPrivateTeams

func (a *OpenTracingAppLayer) GetAllPrivateTeams() ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllPrivateTeamsPage

func (a *OpenTracingAppLayer) GetAllPrivateTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllPrivateTeamsPageWithCount

func (a *OpenTracingAppLayer) GetAllPrivateTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)

func (*OpenTracingAppLayer) GetAllPublicTeams

func (a *OpenTracingAppLayer) GetAllPublicTeams() ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllPublicTeamsPage

func (a *OpenTracingAppLayer) GetAllPublicTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllPublicTeamsPageWithCount

func (a *OpenTracingAppLayer) GetAllPublicTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)

func (*OpenTracingAppLayer) GetAllRoles

func (a *OpenTracingAppLayer) GetAllRoles() ([]*model.Role, *model.AppError)

func (*OpenTracingAppLayer) GetAllStatuses

func (a *OpenTracingAppLayer) GetAllStatuses() map[string]*model.Status

func (*OpenTracingAppLayer) GetAllTeams

func (a *OpenTracingAppLayer) GetAllTeams() ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllTeamsPage

func (a *OpenTracingAppLayer) GetAllTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllTeamsPageWithCount

func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)

func (*OpenTracingAppLayer) GetAnalytics

func (a *OpenTracingAppLayer) GetAnalytics(name string, teamId string) (model.AnalyticsRows, *model.AppError)

func (*OpenTracingAppLayer) GetAudits

func (a *OpenTracingAppLayer) GetAudits(userId string, limit int) (model.Audits, *model.AppError)

func (*OpenTracingAppLayer) GetAuditsPage

func (a *OpenTracingAppLayer) GetAuditsPage(userId string, page int, perPage int) (model.Audits, *model.AppError)

func (*OpenTracingAppLayer) GetAuthorizationCode

func (a *OpenTracingAppLayer) GetAuthorizationCode(w http.ResponseWriter, r *http.Request, service string, props map[string]string, loginHint string) (string, *model.AppError)

func (*OpenTracingAppLayer) GetAuthorizedAppsForUser

func (a *OpenTracingAppLayer) GetAuthorizedAppsForUser(userId string, page int, perPage int) ([]*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) GetBot

func (a *OpenTracingAppLayer) GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) GetBotIconImage

func (a *OpenTracingAppLayer) GetBotIconImage(botUserId string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetBots

func (*OpenTracingAppLayer) GetBrandImage

func (a *OpenTracingAppLayer) GetBrandImage() ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetBulkReactionsForPosts

func (a *OpenTracingAppLayer) GetBulkReactionsForPosts(postIds []string) (map[string][]*model.Reaction, *model.AppError)

func (*OpenTracingAppLayer) GetChannel

func (a *OpenTracingAppLayer) GetChannel(channelId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetChannelByName

func (a *OpenTracingAppLayer) GetChannelByName(channelName string, teamId string, includeDeleted bool) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetChannelByNameForTeamName

func (a *OpenTracingAppLayer) GetChannelByNameForTeamName(channelName string, teamName string, includeDeleted bool) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetChannelCounts

func (a *OpenTracingAppLayer) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, *model.AppError)

func (*OpenTracingAppLayer) GetChannelGroupUsers

func (a *OpenTracingAppLayer) GetChannelGroupUsers(channelID string) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetChannelGuestCount

func (a *OpenTracingAppLayer) GetChannelGuestCount(channelId string) (int64, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMember

func (a *OpenTracingAppLayer) GetChannelMember(channelId string, userId string) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMemberCount

func (a *OpenTracingAppLayer) GetChannelMemberCount(channelId string) (int64, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMembersByIds

func (a *OpenTracingAppLayer) GetChannelMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMembersForUser

func (a *OpenTracingAppLayer) GetChannelMembersForUser(teamId string, userId string) (*model.ChannelMembers, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMembersForUserWithPagination

func (a *OpenTracingAppLayer) GetChannelMembersForUserWithPagination(teamId string, userId string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMembersPage

func (a *OpenTracingAppLayer) GetChannelMembersPage(channelId string, page int, perPage int) (*model.ChannelMembers, *model.AppError)

func (*OpenTracingAppLayer) GetChannelMembersTimezones

func (a *OpenTracingAppLayer) GetChannelMembersTimezones(channelId string) ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetChannelModerationsForChannel

func (a *OpenTracingAppLayer) GetChannelModerationsForChannel(channel *model.Channel) ([]*model.ChannelModeration, *model.AppError)

func (*OpenTracingAppLayer) GetChannelPinnedPostCount

func (a *OpenTracingAppLayer) GetChannelPinnedPostCount(channelId string) (int64, *model.AppError)

func (*OpenTracingAppLayer) GetChannelUnread

func (a *OpenTracingAppLayer) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsByNames

func (a *OpenTracingAppLayer) GetChannelsByNames(channelNames []string, teamId string) ([]*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsForScheme

func (a *OpenTracingAppLayer) GetChannelsForScheme(scheme *model.Scheme, offset int, limit int) (model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsForSchemePage

func (a *OpenTracingAppLayer) GetChannelsForSchemePage(scheme *model.Scheme, page int, perPage int) (model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsForUser

func (a *OpenTracingAppLayer) GetChannelsForUser(teamId string, userId string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsUserNotIn

func (a *OpenTracingAppLayer) GetChannelsUserNotIn(teamId string, userId string, offset int, limit int) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetClusterId

func (a *OpenTracingAppLayer) GetClusterId() string

func (*OpenTracingAppLayer) GetClusterPluginStatuses

func (a *OpenTracingAppLayer) GetClusterPluginStatuses() (model.PluginStatuses, *model.AppError)

func (*OpenTracingAppLayer) GetClusterStatus

func (a *OpenTracingAppLayer) GetClusterStatus() []*model.ClusterInfo

func (*OpenTracingAppLayer) GetCommand

func (a *OpenTracingAppLayer) GetCommand(commandId string) (*model.Command, *model.AppError)

func (*OpenTracingAppLayer) GetComplianceFile

func (a *OpenTracingAppLayer) GetComplianceFile(job *model.Compliance) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetComplianceReport

func (a *OpenTracingAppLayer) GetComplianceReport(reportId string) (*model.Compliance, *model.AppError)

func (*OpenTracingAppLayer) GetComplianceReports

func (a *OpenTracingAppLayer) GetComplianceReports(page int, perPage int) (model.Compliances, *model.AppError)

func (*OpenTracingAppLayer) GetConfigFile

func (a *OpenTracingAppLayer) GetConfigFile(name string) ([]byte, error)

func (*OpenTracingAppLayer) GetCookieDomain

func (a *OpenTracingAppLayer) GetCookieDomain() string

func (*OpenTracingAppLayer) GetDataRetentionPolicy

func (a *OpenTracingAppLayer) GetDataRetentionPolicy() (*model.DataRetentionPolicy, *model.AppError)

func (*OpenTracingAppLayer) GetDefaultProfileImage

func (a *OpenTracingAppLayer) GetDefaultProfileImage(user *model.User) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetDeletedChannels

func (a *OpenTracingAppLayer) GetDeletedChannels(teamId string, offset int, limit int, userId string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetEmoji

func (a *OpenTracingAppLayer) GetEmoji(emojiId string) (*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) GetEmojiByName

func (a *OpenTracingAppLayer) GetEmojiByName(emojiName string) (*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) GetEmojiImage

func (a *OpenTracingAppLayer) GetEmojiImage(emojiId string) ([]byte, string, *model.AppError)

func (*OpenTracingAppLayer) GetEmojiList

func (a *OpenTracingAppLayer) GetEmojiList(page int, perPage int, sort string) ([]*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) GetEmojiStaticUrl

func (a *OpenTracingAppLayer) GetEmojiStaticUrl(emojiName string) (string, *model.AppError)

func (*OpenTracingAppLayer) GetEnvironmentConfig

func (a *OpenTracingAppLayer) GetEnvironmentConfig() map[string]interface{}

func (*OpenTracingAppLayer) GetErrorListForEmailsOverLimit added in v5.28.0

func (a *OpenTracingAppLayer) GetErrorListForEmailsOverLimit(emailList []string, cloudUserLimit int64) ([]string, []*model.EmailInviteWithError, *model.AppError)

func (*OpenTracingAppLayer) GetFile

func (a *OpenTracingAppLayer) GetFile(fileId string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetFileInfo

func (a *OpenTracingAppLayer) GetFileInfo(fileId string) (*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) GetFileInfos

func (a *OpenTracingAppLayer) GetFileInfos(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) GetFileInfosForPost

func (a *OpenTracingAppLayer) GetFileInfosForPost(postId string, fromMaster bool) ([]*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) GetFileInfosForPostWithMigration

func (a *OpenTracingAppLayer) GetFileInfosForPostWithMigration(postId string) ([]*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) GetFilteredUsersStats

func (a *OpenTracingAppLayer) GetFilteredUsersStats(options *model.UserCountOptions) (*model.UsersStats, *model.AppError)

func (*OpenTracingAppLayer) GetFlaggedPosts

func (a *OpenTracingAppLayer) GetFlaggedPosts(userId string, offset int, limit int) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetFlaggedPostsForChannel

func (a *OpenTracingAppLayer) GetFlaggedPostsForChannel(userId string, channelId string, offset int, limit int) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetFlaggedPostsForTeam

func (a *OpenTracingAppLayer) GetFlaggedPostsForTeam(userId string, teamId string, offset int, limit int) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetGroup

func (a *OpenTracingAppLayer) GetGroup(id string) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupByName

func (a *OpenTracingAppLayer) GetGroupByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupByRemoteID

func (a *OpenTracingAppLayer) GetGroupByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupChannel

func (a *OpenTracingAppLayer) GetGroupChannel(userIds []string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetGroupMemberCount

func (a *OpenTracingAppLayer) GetGroupMemberCount(groupID string) (int64, *model.AppError)

func (*OpenTracingAppLayer) GetGroupMemberUsers

func (a *OpenTracingAppLayer) GetGroupMemberUsers(groupID string) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetGroupMemberUsersPage

func (a *OpenTracingAppLayer) GetGroupMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, int, *model.AppError)

func (*OpenTracingAppLayer) GetGroupSyncable

func (a *OpenTracingAppLayer) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)

func (*OpenTracingAppLayer) GetGroupSyncables

func (a *OpenTracingAppLayer) GetGroupSyncables(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)

func (*OpenTracingAppLayer) GetGroups

func (a *OpenTracingAppLayer) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsAssociatedToChannelsByTeam

func (a *OpenTracingAppLayer) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsByChannel

func (a *OpenTracingAppLayer) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, int, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsByIDs

func (a *OpenTracingAppLayer) GetGroupsByIDs(groupIDs []string) ([]*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsBySource

func (a *OpenTracingAppLayer) GetGroupsBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsByTeam

func (a *OpenTracingAppLayer) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, int, *model.AppError)

func (*OpenTracingAppLayer) GetGroupsByUserId

func (a *OpenTracingAppLayer) GetGroupsByUserId(userId string) ([]*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetHubForUserId

func (a *OpenTracingAppLayer) GetHubForUserId(userId string) *app.Hub

func (*OpenTracingAppLayer) GetIncomingWebhook

func (a *OpenTracingAppLayer) GetIncomingWebhook(hookId string) (*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetIncomingWebhooksForTeamPage

func (a *OpenTracingAppLayer) GetIncomingWebhooksForTeamPage(teamId string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetIncomingWebhooksForTeamPageByUser

func (a *OpenTracingAppLayer) GetIncomingWebhooksForTeamPageByUser(teamId string, userId string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetIncomingWebhooksPage

func (a *OpenTracingAppLayer) GetIncomingWebhooksPage(page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetIncomingWebhooksPageByUser

func (a *OpenTracingAppLayer) GetIncomingWebhooksPageByUser(userId string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetJob

func (a *OpenTracingAppLayer) GetJob(id string) (*model.Job, *model.AppError)

func (*OpenTracingAppLayer) GetJobs

func (a *OpenTracingAppLayer) GetJobs(offset int, limit int) ([]*model.Job, *model.AppError)

func (*OpenTracingAppLayer) GetJobsByType

func (a *OpenTracingAppLayer) GetJobsByType(jobType string, offset int, limit int) ([]*model.Job, *model.AppError)

func (*OpenTracingAppLayer) GetJobsByTypePage

func (a *OpenTracingAppLayer) GetJobsByTypePage(jobType string, page int, perPage int) ([]*model.Job, *model.AppError)

func (*OpenTracingAppLayer) GetJobsPage

func (a *OpenTracingAppLayer) GetJobsPage(page int, perPage int) ([]*model.Job, *model.AppError)

func (*OpenTracingAppLayer) GetKnownUsers

func (a *OpenTracingAppLayer) GetKnownUsers(userID string) ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetLatestTermsOfService

func (a *OpenTracingAppLayer) GetLatestTermsOfService() (*model.TermsOfService, *model.AppError)

func (*OpenTracingAppLayer) GetLdapGroup

func (a *OpenTracingAppLayer) GetLdapGroup(ldapGroupID string) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) GetLogs

func (a *OpenTracingAppLayer) GetLogs(page int, perPage int) ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetLogsSkipSend

func (a *OpenTracingAppLayer) GetLogsSkipSend(page int, perPage int) ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetMarketplacePlugins

func (a *OpenTracingAppLayer) GetMarketplacePlugins(filter *model.MarketplacePluginFilter) ([]*model.MarketplacePlugin, *model.AppError)

func (*OpenTracingAppLayer) GetMemberCountsByGroup added in v5.30.0

func (a *OpenTracingAppLayer) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)

func (*OpenTracingAppLayer) GetMessageForNotification

func (a *OpenTracingAppLayer) GetMessageForNotification(post *model.Post, translateFunc i18n.TranslateFunc) string

func (*OpenTracingAppLayer) GetMultipleEmojiByName

func (a *OpenTracingAppLayer) GetMultipleEmojiByName(names []string) ([]*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) GetNewUsersForTeamPage

func (a *OpenTracingAppLayer) GetNewUsersForTeamPage(teamId string, page int, perPage int, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetNextPostIdFromPostList

func (a *OpenTracingAppLayer) GetNextPostIdFromPostList(postList *model.PostList) string

func (*OpenTracingAppLayer) GetNotificationNameFormat

func (a *OpenTracingAppLayer) GetNotificationNameFormat(user *model.User) string

func (*OpenTracingAppLayer) GetNumberOfChannelsOnTeam

func (a *OpenTracingAppLayer) GetNumberOfChannelsOnTeam(teamId string) (int, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthAccessTokenForCodeFlow

func (a *OpenTracingAppLayer) GetOAuthAccessTokenForCodeFlow(clientId string, grantType string, redirectUri string, code string, secret string, refreshToken string) (*model.AccessResponse, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthAccessTokenForImplicitFlow

func (a *OpenTracingAppLayer) GetOAuthAccessTokenForImplicitFlow(userId string, authRequest *model.AuthorizeRequest) (*model.Session, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthApp

func (a *OpenTracingAppLayer) GetOAuthApp(appId string) (*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthApps

func (a *OpenTracingAppLayer) GetOAuthApps(page int, perPage int) ([]*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthAppsByCreator

func (a *OpenTracingAppLayer) GetOAuthAppsByCreator(userId string, page int, perPage int) ([]*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthCodeRedirect

func (a *OpenTracingAppLayer) GetOAuthCodeRedirect(userId string, authRequest *model.AuthorizeRequest) (string, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthImplicitRedirect

func (a *OpenTracingAppLayer) GetOAuthImplicitRedirect(userId string, authRequest *model.AuthorizeRequest) (string, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthLoginEndpoint

func (a *OpenTracingAppLayer) GetOAuthLoginEndpoint(w http.ResponseWriter, r *http.Request, service string, teamId string, action string, redirectTo string, loginHint string, isMobile bool) (string, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthSignupEndpoint

func (a *OpenTracingAppLayer) GetOAuthSignupEndpoint(w http.ResponseWriter, r *http.Request, service string, teamId string) (string, *model.AppError)

func (*OpenTracingAppLayer) GetOAuthStateToken

func (a *OpenTracingAppLayer) GetOAuthStateToken(token string) (*model.Token, *model.AppError)

func (*OpenTracingAppLayer) GetOpenGraphMetadata

func (a *OpenTracingAppLayer) GetOpenGraphMetadata(requestURL string) *opengraph.OpenGraph

func (*OpenTracingAppLayer) GetOrCreateDirectChannel

func (a *OpenTracingAppLayer) GetOrCreateDirectChannel(userId string, otherUserId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhook

func (a *OpenTracingAppLayer) GetOutgoingWebhook(hookId string) (*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhooksForChannelPageByUser

func (a *OpenTracingAppLayer) GetOutgoingWebhooksForChannelPageByUser(channelId string, userId string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhooksForTeamPage

func (a *OpenTracingAppLayer) GetOutgoingWebhooksForTeamPage(teamId string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhooksForTeamPageByUser

func (a *OpenTracingAppLayer) GetOutgoingWebhooksForTeamPageByUser(teamId string, userId string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhooksPage

func (a *OpenTracingAppLayer) GetOutgoingWebhooksPage(page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetOutgoingWebhooksPageByUser

func (a *OpenTracingAppLayer) GetOutgoingWebhooksPageByUser(userId string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) GetPasswordRecoveryToken

func (a *OpenTracingAppLayer) GetPasswordRecoveryToken(token string) (*model.Token, *model.AppError)

func (*OpenTracingAppLayer) GetPermalinkPost

func (a *OpenTracingAppLayer) GetPermalinkPost(postId string, userId string) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPinnedPosts

func (a *OpenTracingAppLayer) GetPinnedPosts(channelId string) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPluginKey

func (a *OpenTracingAppLayer) GetPluginKey(pluginId string, key string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetPluginPublicKeyFiles

func (a *OpenTracingAppLayer) GetPluginPublicKeyFiles() ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetPluginStatus

func (a *OpenTracingAppLayer) GetPluginStatus(id string) (*model.PluginStatus, *model.AppError)

func (*OpenTracingAppLayer) GetPluginStatuses

func (a *OpenTracingAppLayer) GetPluginStatuses() (model.PluginStatuses, *model.AppError)

func (*OpenTracingAppLayer) GetPlugins

func (*OpenTracingAppLayer) GetPluginsEnvironment

func (a *OpenTracingAppLayer) GetPluginsEnvironment() *plugin.Environment

func (*OpenTracingAppLayer) GetPostAfterTime

func (a *OpenTracingAppLayer) GetPostAfterTime(channelId string, time int64) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) GetPostIdAfterTime

func (a *OpenTracingAppLayer) GetPostIdAfterTime(channelId string, time int64) (string, *model.AppError)

func (*OpenTracingAppLayer) GetPostIdBeforeTime

func (a *OpenTracingAppLayer) GetPostIdBeforeTime(channelId string, time int64) (string, *model.AppError)

func (*OpenTracingAppLayer) GetPostThread

func (a *OpenTracingAppLayer) GetPostThread(postId string, skipFetchThreads bool) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPosts

func (a *OpenTracingAppLayer) GetPosts(channelId string, offset int, limit int) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsAfterPost

func (a *OpenTracingAppLayer) GetPostsAfterPost(options model.GetPostsOptions) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsAroundPost

func (a *OpenTracingAppLayer) GetPostsAroundPost(before bool, options model.GetPostsOptions) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsBeforePost

func (a *OpenTracingAppLayer) GetPostsBeforePost(options model.GetPostsOptions) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsEtag

func (a *OpenTracingAppLayer) GetPostsEtag(channelId string) string

func (*OpenTracingAppLayer) GetPostsForChannelAroundLastUnread

func (a *OpenTracingAppLayer) GetPostsForChannelAroundLastUnread(channelId string, userId string, limitBefore int, limitAfter int, skipFetchThreads bool) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsPage

func (a *OpenTracingAppLayer) GetPostsPage(options model.GetPostsOptions) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) GetPostsSince

func (*OpenTracingAppLayer) GetPreferenceByCategoryAndNameForUser

func (a *OpenTracingAppLayer) GetPreferenceByCategoryAndNameForUser(userId string, category string, preferenceName string) (*model.Preference, *model.AppError)

func (*OpenTracingAppLayer) GetPreferenceByCategoryForUser

func (a *OpenTracingAppLayer) GetPreferenceByCategoryForUser(userId string, category string) (model.Preferences, *model.AppError)

func (*OpenTracingAppLayer) GetPreferencesForUser

func (a *OpenTracingAppLayer) GetPreferencesForUser(userId string) (model.Preferences, *model.AppError)

func (*OpenTracingAppLayer) GetPrevPostIdFromPostList

func (a *OpenTracingAppLayer) GetPrevPostIdFromPostList(postList *model.PostList) string

func (*OpenTracingAppLayer) GetPrivateChannelsForTeam

func (a *OpenTracingAppLayer) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetProductNotices added in v5.28.0

func (a *OpenTracingAppLayer) GetProductNotices(userId string, teamId string, client model.NoticeClientType, clientVersion string, locale string) (model.NoticeMessages, *model.AppError)

func (*OpenTracingAppLayer) GetProfileImage

func (a *OpenTracingAppLayer) GetProfileImage(user *model.User) ([]byte, bool, *model.AppError)

func (*OpenTracingAppLayer) GetPublicChannelsByIdsForTeam

func (a *OpenTracingAppLayer) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetPublicChannelsForTeam

func (a *OpenTracingAppLayer) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetPublicKey

func (a *OpenTracingAppLayer) GetPublicKey(name string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetReactionsForPost

func (a *OpenTracingAppLayer) GetReactionsForPost(postId string) ([]*model.Reaction, *model.AppError)

func (*OpenTracingAppLayer) GetRecentlyActiveUsersForTeam

func (a *OpenTracingAppLayer) GetRecentlyActiveUsersForTeam(teamId string) (map[string]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetRecentlyActiveUsersForTeamPage

func (a *OpenTracingAppLayer) GetRecentlyActiveUsersForTeamPage(teamId string, page int, perPage int, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetRole

func (a *OpenTracingAppLayer) GetRole(id string) (*model.Role, *model.AppError)

func (*OpenTracingAppLayer) GetRoleByName

func (a *OpenTracingAppLayer) GetRoleByName(name string) (*model.Role, *model.AppError)

func (*OpenTracingAppLayer) GetRolesByNames

func (a *OpenTracingAppLayer) GetRolesByNames(names []string) ([]*model.Role, *model.AppError)

func (*OpenTracingAppLayer) GetSamlCertificateStatus

func (a *OpenTracingAppLayer) GetSamlCertificateStatus() *model.SamlCertificateStatus

func (*OpenTracingAppLayer) GetSamlMetadata

func (a *OpenTracingAppLayer) GetSamlMetadata() (string, *model.AppError)

func (*OpenTracingAppLayer) GetSamlMetadataFromIdp

func (a *OpenTracingAppLayer) GetSamlMetadataFromIdp(idpMetadataUrl string) (*model.SamlMetadataResponse, *model.AppError)

func (*OpenTracingAppLayer) GetSanitizeOptions

func (a *OpenTracingAppLayer) GetSanitizeOptions(asAdmin bool) map[string]bool

func (*OpenTracingAppLayer) GetSanitizedConfig

func (a *OpenTracingAppLayer) GetSanitizedConfig() *model.Config

func (*OpenTracingAppLayer) GetScheme

func (a *OpenTracingAppLayer) GetScheme(id string) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) GetSchemeByName

func (a *OpenTracingAppLayer) GetSchemeByName(name string) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) GetSchemeRolesForChannel

func (a *OpenTracingAppLayer) GetSchemeRolesForChannel(channelId string) (guestRoleName string, userRoleName string, adminRoleName string, err *model.AppError)

func (*OpenTracingAppLayer) GetSchemeRolesForTeam

func (a *OpenTracingAppLayer) GetSchemeRolesForTeam(teamId string) (string, string, string, *model.AppError)

func (*OpenTracingAppLayer) GetSchemes

func (a *OpenTracingAppLayer) GetSchemes(scope string, offset int, limit int) ([]*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) GetSchemesPage

func (a *OpenTracingAppLayer) GetSchemesPage(scope string, page int, perPage int) ([]*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) GetSession

func (a *OpenTracingAppLayer) GetSession(token string) (*model.Session, *model.AppError)

func (*OpenTracingAppLayer) GetSessionById

func (a *OpenTracingAppLayer) GetSessionById(sessionId string) (*model.Session, *model.AppError)

func (*OpenTracingAppLayer) GetSessionLengthInMillis

func (a *OpenTracingAppLayer) GetSessionLengthInMillis(session *model.Session) int64

func (*OpenTracingAppLayer) GetSessions

func (a *OpenTracingAppLayer) GetSessions(userId string) ([]*model.Session, *model.AppError)

func (*OpenTracingAppLayer) GetSidebarCategories

func (a *OpenTracingAppLayer) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, *model.AppError)

func (*OpenTracingAppLayer) GetSidebarCategory

func (a *OpenTracingAppLayer) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)

func (*OpenTracingAppLayer) GetSidebarCategoryOrder

func (a *OpenTracingAppLayer) GetSidebarCategoryOrder(userId string, teamId string) ([]string, *model.AppError)

func (*OpenTracingAppLayer) GetSinglePost

func (a *OpenTracingAppLayer) GetSinglePost(postId string) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) GetSiteURL

func (a *OpenTracingAppLayer) GetSiteURL() string

func (*OpenTracingAppLayer) GetStatus

func (a *OpenTracingAppLayer) GetStatus(userId string) (*model.Status, *model.AppError)

func (*OpenTracingAppLayer) GetStatusFromCache

func (a *OpenTracingAppLayer) GetStatusFromCache(userId string) *model.Status

func (*OpenTracingAppLayer) GetStatusesByIds

func (a *OpenTracingAppLayer) GetStatusesByIds(userIds []string) (map[string]interface{}, *model.AppError)

func (*OpenTracingAppLayer) GetSuggestions

func (a *OpenTracingAppLayer) GetSuggestions(commandArgs *model.CommandArgs, commands []*model.Command, roleID string) []model.AutocompleteSuggestion

func (*OpenTracingAppLayer) GetT

func (*OpenTracingAppLayer) GetTeam

func (a *OpenTracingAppLayer) GetTeam(teamId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamByInviteId

func (a *OpenTracingAppLayer) GetTeamByInviteId(inviteId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamByName

func (a *OpenTracingAppLayer) GetTeamByName(name string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamGroupUsers

func (a *OpenTracingAppLayer) GetTeamGroupUsers(teamID string) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetTeamIcon

func (a *OpenTracingAppLayer) GetTeamIcon(team *model.Team) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) GetTeamIdFromQuery

func (a *OpenTracingAppLayer) GetTeamIdFromQuery(query url.Values) (string, *model.AppError)

func (*OpenTracingAppLayer) GetTeamMember

func (a *OpenTracingAppLayer) GetTeamMember(teamId string, userId string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) GetTeamMembers

func (a *OpenTracingAppLayer) GetTeamMembers(teamId string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) GetTeamMembersByIds

func (a *OpenTracingAppLayer) GetTeamMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) GetTeamMembersForUser

func (a *OpenTracingAppLayer) GetTeamMembersForUser(userId string) ([]*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) GetTeamMembersForUserWithPagination

func (a *OpenTracingAppLayer) GetTeamMembersForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) GetTeamSchemeChannelRoles

func (a *OpenTracingAppLayer) GetTeamSchemeChannelRoles(teamId string) (guestRoleName string, userRoleName string, adminRoleName string, err *model.AppError)

func (*OpenTracingAppLayer) GetTeamStats

func (a *OpenTracingAppLayer) GetTeamStats(teamId string, restrictions *model.ViewUsersRestrictions) (*model.TeamStats, *model.AppError)

func (*OpenTracingAppLayer) GetTeamUnread

func (a *OpenTracingAppLayer) GetTeamUnread(teamId string, userId string) (*model.TeamUnread, *model.AppError)

func (*OpenTracingAppLayer) GetTeamsForScheme

func (a *OpenTracingAppLayer) GetTeamsForScheme(scheme *model.Scheme, offset int, limit int) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamsForSchemePage

func (a *OpenTracingAppLayer) GetTeamsForSchemePage(scheme *model.Scheme, page int, perPage int) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamsForUser

func (a *OpenTracingAppLayer) GetTeamsForUser(userId string) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetTeamsUnreadForUser

func (a *OpenTracingAppLayer) GetTeamsUnreadForUser(excludeTeamId string, userId string) ([]*model.TeamUnread, *model.AppError)

func (*OpenTracingAppLayer) GetTermsOfService

func (a *OpenTracingAppLayer) GetTermsOfService(id string) (*model.TermsOfService, *model.AppError)

func (*OpenTracingAppLayer) GetThreadMembershipsForUser added in v5.29.0

func (a *OpenTracingAppLayer) GetThreadMembershipsForUser(userId string) ([]*model.ThreadMembership, error)

func (*OpenTracingAppLayer) GetThreadsForUser added in v5.30.0

func (a *OpenTracingAppLayer) GetThreadsForUser(userId string, options model.GetUserThreadsOpts) (*model.Threads, *model.AppError)

func (*OpenTracingAppLayer) GetTotalUsersStats

func (a *OpenTracingAppLayer) GetTotalUsersStats(viewRestrictions *model.ViewUsersRestrictions) (*model.UsersStats, *model.AppError)

func (*OpenTracingAppLayer) GetUploadSession added in v5.28.0

func (a *OpenTracingAppLayer) GetUploadSession(uploadId string) (*model.UploadSession, *model.AppError)

func (*OpenTracingAppLayer) GetUploadSessionsForUser added in v5.28.0

func (a *OpenTracingAppLayer) GetUploadSessionsForUser(userId string) ([]*model.UploadSession, *model.AppError)

func (*OpenTracingAppLayer) GetUser

func (a *OpenTracingAppLayer) GetUser(userId string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUserAccessToken

func (a *OpenTracingAppLayer) GetUserAccessToken(tokenId string, sanitize bool) (*model.UserAccessToken, *model.AppError)

func (*OpenTracingAppLayer) GetUserAccessTokens

func (a *OpenTracingAppLayer) GetUserAccessTokens(page int, perPage int) ([]*model.UserAccessToken, *model.AppError)

func (*OpenTracingAppLayer) GetUserAccessTokensForUser

func (a *OpenTracingAppLayer) GetUserAccessTokensForUser(userId string, page int, perPage int) ([]*model.UserAccessToken, *model.AppError)

func (*OpenTracingAppLayer) GetUserByAuth

func (a *OpenTracingAppLayer) GetUserByAuth(authData *string, authService string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUserByEmail

func (a *OpenTracingAppLayer) GetUserByEmail(email string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUserByUsername

func (a *OpenTracingAppLayer) GetUserByUsername(username string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUserForLogin

func (a *OpenTracingAppLayer) GetUserForLogin(id string, loginId string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUserStatusesByIds

func (a *OpenTracingAppLayer) GetUserStatusesByIds(userIds []string) ([]*model.Status, *model.AppError)

func (*OpenTracingAppLayer) GetUserTermsOfService

func (a *OpenTracingAppLayer) GetUserTermsOfService(userId string) (*model.UserTermsOfService, *model.AppError)

func (*OpenTracingAppLayer) GetUsers

func (a *OpenTracingAppLayer) GetUsers(options *model.UserGetOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersByGroupChannelIds

func (a *OpenTracingAppLayer) GetUsersByGroupChannelIds(channelIds []string, asAdmin bool) (map[string][]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersByIds

func (a *OpenTracingAppLayer) GetUsersByIds(userIds []string, options *store.UserGetByIdsOpts) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersByUsernames

func (a *OpenTracingAppLayer) GetUsersByUsernames(usernames []string, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersEtag

func (a *OpenTracingAppLayer) GetUsersEtag(restrictionsHash string) string

func (*OpenTracingAppLayer) GetUsersInChannel

func (a *OpenTracingAppLayer) GetUsersInChannel(options *model.UserGetOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInChannelByStatus

func (a *OpenTracingAppLayer) GetUsersInChannelByStatus(options *model.UserGetOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInChannelMap

func (a *OpenTracingAppLayer) GetUsersInChannelMap(options *model.UserGetOptions, asAdmin bool) (map[string]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInChannelPage

func (a *OpenTracingAppLayer) GetUsersInChannelPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInChannelPageByStatus

func (a *OpenTracingAppLayer) GetUsersInChannelPageByStatus(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInTeam

func (a *OpenTracingAppLayer) GetUsersInTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersInTeamEtag

func (a *OpenTracingAppLayer) GetUsersInTeamEtag(teamId string, restrictionsHash string) string

func (*OpenTracingAppLayer) GetUsersInTeamPage

func (a *OpenTracingAppLayer) GetUsersInTeamPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersNotInChannel

func (a *OpenTracingAppLayer) GetUsersNotInChannel(teamId string, channelId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersNotInChannelMap

func (a *OpenTracingAppLayer) GetUsersNotInChannelMap(teamId string, channelId string, groupConstrained bool, offset int, limit int, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) (map[string]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersNotInChannelPage

func (a *OpenTracingAppLayer) GetUsersNotInChannelPage(teamId string, channelId string, groupConstrained bool, page int, perPage int, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersNotInTeam

func (a *OpenTracingAppLayer) GetUsersNotInTeam(teamId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersNotInTeamEtag

func (a *OpenTracingAppLayer) GetUsersNotInTeamEtag(teamId string, restrictionsHash string) string

func (*OpenTracingAppLayer) GetUsersNotInTeamPage

func (a *OpenTracingAppLayer) GetUsersNotInTeamPage(teamId string, groupConstrained bool, page int, perPage int, asAdmin bool, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersPage

func (a *OpenTracingAppLayer) GetUsersPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersWithoutTeam

func (a *OpenTracingAppLayer) GetUsersWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetUsersWithoutTeamPage

func (a *OpenTracingAppLayer) GetUsersWithoutTeamPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) GetVerifyEmailToken

func (a *OpenTracingAppLayer) GetVerifyEmailToken(token string) (*model.Token, *model.AppError)

func (*OpenTracingAppLayer) GetViewUsersRestrictions

func (a *OpenTracingAppLayer) GetViewUsersRestrictions(userId string) (*model.ViewUsersRestrictions, *model.AppError)

func (*OpenTracingAppLayer) GetWarnMetricsStatus

func (a *OpenTracingAppLayer) GetWarnMetricsStatus() (map[string]*model.WarnMetricStatus, *model.AppError)

func (*OpenTracingAppLayer) HTTPService

func (a *OpenTracingAppLayer) HTTPService() httpservice.HTTPService

func (*OpenTracingAppLayer) Handle404

func (a *OpenTracingAppLayer) Handle404(w http.ResponseWriter, r *http.Request)

func (*OpenTracingAppLayer) HandleCommandResponse

func (a *OpenTracingAppLayer) HandleCommandResponse(command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.CommandResponse, *model.AppError)

func (*OpenTracingAppLayer) HandleCommandResponsePost

func (a *OpenTracingAppLayer) HandleCommandResponsePost(command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) HandleCommandWebhook

func (a *OpenTracingAppLayer) HandleCommandWebhook(hookId string, response *model.CommandResponse) *model.AppError

func (*OpenTracingAppLayer) HandleImages

func (a *OpenTracingAppLayer) HandleImages(previewPathList []string, thumbnailPathList []string, fileData [][]byte)

func (*OpenTracingAppLayer) HandleIncomingWebhook

func (a *OpenTracingAppLayer) HandleIncomingWebhook(hookId string, req *model.IncomingWebhookRequest) *model.AppError

func (*OpenTracingAppLayer) HandleMessageExportConfig

func (a *OpenTracingAppLayer) HandleMessageExportConfig(cfg *model.Config, appCfg *model.Config)

func (*OpenTracingAppLayer) HasPermissionTo

func (a *OpenTracingAppLayer) HasPermissionTo(askingUserId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) HasPermissionToChannel

func (a *OpenTracingAppLayer) HasPermissionToChannel(askingUserId string, channelId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) HasPermissionToChannelByPost

func (a *OpenTracingAppLayer) HasPermissionToChannelByPost(askingUserId string, postId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) HasPermissionToTeam

func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) HasPermissionToUser

func (a *OpenTracingAppLayer) HasPermissionToUser(askingUserId string, userId string) bool

func (*OpenTracingAppLayer) HubRegister

func (a *OpenTracingAppLayer) HubRegister(webConn *app.WebConn)

func (*OpenTracingAppLayer) HubStart

func (a *OpenTracingAppLayer) HubStart()

func (*OpenTracingAppLayer) HubStop

func (a *OpenTracingAppLayer) HubStop()

func (*OpenTracingAppLayer) HubUnregister

func (a *OpenTracingAppLayer) HubUnregister(webConn *app.WebConn)

func (*OpenTracingAppLayer) ImageProxy

func (a *OpenTracingAppLayer) ImageProxy() *imageproxy.ImageProxy

func (*OpenTracingAppLayer) ImageProxyAdder

func (a *OpenTracingAppLayer) ImageProxyAdder() func(string) string

func (*OpenTracingAppLayer) ImageProxyRemover

func (a *OpenTracingAppLayer) ImageProxyRemover() (f func(string) string)

func (*OpenTracingAppLayer) ImportPermissions

func (a *OpenTracingAppLayer) ImportPermissions(jsonl io.Reader) error

func (*OpenTracingAppLayer) InitPlugins

func (a *OpenTracingAppLayer) InitPlugins(pluginDir string, webappPluginDir string)

func (*OpenTracingAppLayer) InitPostMetadata

func (a *OpenTracingAppLayer) InitPostMetadata()

func (*OpenTracingAppLayer) InitServer

func (a *OpenTracingAppLayer) InitServer()

func (*OpenTracingAppLayer) InstallMarketplacePlugin

func (a *OpenTracingAppLayer) InstallMarketplacePlugin(request *model.InstallMarketplacePluginRequest) (*model.Manifest, *model.AppError)

func (*OpenTracingAppLayer) InstallPlugin

func (a *OpenTracingAppLayer) InstallPlugin(pluginFile io.ReadSeeker, replace bool) (*model.Manifest, *model.AppError)

func (*OpenTracingAppLayer) InstallPluginFromData

func (a *OpenTracingAppLayer) InstallPluginFromData(data model.PluginEventData)

func (*OpenTracingAppLayer) InstallPluginWithSignature

func (a *OpenTracingAppLayer) InstallPluginWithSignature(pluginFile io.ReadSeeker, signature io.ReadSeeker) (*model.Manifest, *model.AppError)

func (*OpenTracingAppLayer) InvalidateAllEmailInvites

func (a *OpenTracingAppLayer) InvalidateAllEmailInvites() *model.AppError

func (*OpenTracingAppLayer) InvalidateCacheForUser

func (a *OpenTracingAppLayer) InvalidateCacheForUser(userId string)

func (*OpenTracingAppLayer) InvalidateWebConnSessionCacheForUser

func (a *OpenTracingAppLayer) InvalidateWebConnSessionCacheForUser(userId string)

func (*OpenTracingAppLayer) InviteGuestsToChannels

func (a *OpenTracingAppLayer) InviteGuestsToChannels(teamId string, guestsInvite *model.GuestsInvite, senderId string) *model.AppError

func (*OpenTracingAppLayer) InviteGuestsToChannelsGracefully

func (a *OpenTracingAppLayer) InviteGuestsToChannelsGracefully(teamId string, guestsInvite *model.GuestsInvite, senderId string) ([]*model.EmailInviteWithError, *model.AppError)

func (*OpenTracingAppLayer) InviteNewUsersToTeam

func (a *OpenTracingAppLayer) InviteNewUsersToTeam(emailList []string, teamId string, senderId string) *model.AppError

func (*OpenTracingAppLayer) InviteNewUsersToTeamGracefully

func (a *OpenTracingAppLayer) InviteNewUsersToTeamGracefully(emailList []string, teamId string, senderId string) ([]*model.EmailInviteWithError, *model.AppError)

func (*OpenTracingAppLayer) IpAddress

func (a *OpenTracingAppLayer) IpAddress() string

func (*OpenTracingAppLayer) IsFirstUserAccount

func (a *OpenTracingAppLayer) IsFirstUserAccount() bool

func (*OpenTracingAppLayer) IsLeader

func (a *OpenTracingAppLayer) IsLeader() bool

func (*OpenTracingAppLayer) IsPasswordValid

func (a *OpenTracingAppLayer) IsPasswordValid(password string) *model.AppError

func (*OpenTracingAppLayer) IsPhase2MigrationCompleted

func (a *OpenTracingAppLayer) IsPhase2MigrationCompleted() *model.AppError

func (*OpenTracingAppLayer) IsUserAway

func (a *OpenTracingAppLayer) IsUserAway(lastActivityAt int64) bool

func (*OpenTracingAppLayer) IsUserSignUpAllowed

func (a *OpenTracingAppLayer) IsUserSignUpAllowed() *model.AppError

func (*OpenTracingAppLayer) IsUsernameTaken

func (a *OpenTracingAppLayer) IsUsernameTaken(name string) bool

func (*OpenTracingAppLayer) JoinChannel

func (a *OpenTracingAppLayer) JoinChannel(channel *model.Channel, userId string) *model.AppError

func (*OpenTracingAppLayer) JoinDefaultChannels

func (a *OpenTracingAppLayer) JoinDefaultChannels(teamId string, user *model.User, shouldBeAdmin bool, userRequestorId string) *model.AppError

func (*OpenTracingAppLayer) JoinUserToTeam

func (a *OpenTracingAppLayer) JoinUserToTeam(team *model.Team, user *model.User, userRequestorId string) *model.AppError

func (*OpenTracingAppLayer) Ldap

func (*OpenTracingAppLayer) LeaveChannel

func (a *OpenTracingAppLayer) LeaveChannel(channelId string, userId string) *model.AppError

func (*OpenTracingAppLayer) LeaveTeam

func (a *OpenTracingAppLayer) LeaveTeam(team *model.Team, user *model.User, requestorId string) *model.AppError

func (*OpenTracingAppLayer) LimitedClientConfig

func (a *OpenTracingAppLayer) LimitedClientConfig() map[string]string

func (*OpenTracingAppLayer) LimitedClientConfigWithComputed

func (a *OpenTracingAppLayer) LimitedClientConfigWithComputed() map[string]string

func (*OpenTracingAppLayer) ListAllCommands

func (a *OpenTracingAppLayer) ListAllCommands(teamId string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)

func (*OpenTracingAppLayer) ListAutocompleteCommands

func (a *OpenTracingAppLayer) ListAutocompleteCommands(teamId string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)

func (*OpenTracingAppLayer) ListDirectory

func (a *OpenTracingAppLayer) ListDirectory(path string) ([]string, *model.AppError)

func (*OpenTracingAppLayer) ListPluginKeys

func (a *OpenTracingAppLayer) ListPluginKeys(pluginId string, page int, perPage int) ([]string, *model.AppError)

func (*OpenTracingAppLayer) ListTeamCommands

func (a *OpenTracingAppLayer) ListTeamCommands(teamId string) ([]*model.Command, *model.AppError)

func (*OpenTracingAppLayer) Log

func (a *OpenTracingAppLayer) Log() *mlog.Logger

func (*OpenTracingAppLayer) LogAuditRec

func (a *OpenTracingAppLayer) LogAuditRec(rec *audit.Record, err error)

func (*OpenTracingAppLayer) LogAuditRecWithLevel

func (a *OpenTracingAppLayer) LogAuditRecWithLevel(rec *audit.Record, level mlog.LogLevel, err error)

func (*OpenTracingAppLayer) LoginByOAuth

func (a *OpenTracingAppLayer) LoginByOAuth(service string, userData io.Reader, teamId string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) MakeAuditRecord

func (a *OpenTracingAppLayer) MakeAuditRecord(event string, initialStatus string) *audit.Record

func (*OpenTracingAppLayer) MakePermissionError

func (a *OpenTracingAppLayer) MakePermissionError(permissions []*model.Permission) *model.AppError

func (*OpenTracingAppLayer) MarkChannelAsUnreadFromPost

func (a *OpenTracingAppLayer) MarkChannelAsUnreadFromPost(postID string, userID string) (*model.ChannelUnreadAt, *model.AppError)

func (*OpenTracingAppLayer) MarkChannelsAsViewed

func (a *OpenTracingAppLayer) MarkChannelsAsViewed(channelIds []string, userId string, currentSessionId string) (map[string]int64, *model.AppError)

func (*OpenTracingAppLayer) MaxPostSize

func (a *OpenTracingAppLayer) MaxPostSize() int

func (*OpenTracingAppLayer) MentionsToPublicChannels added in v5.28.0

func (a *OpenTracingAppLayer) MentionsToPublicChannels(message string, teamId string) model.ChannelMentionMap

func (*OpenTracingAppLayer) MentionsToTeamMembers added in v5.28.0

func (a *OpenTracingAppLayer) MentionsToTeamMembers(message string, teamId string) model.UserMentionMap

func (*OpenTracingAppLayer) MessageExport

func (*OpenTracingAppLayer) Metrics

func (*OpenTracingAppLayer) MigrateFilenamesToFileInfos

func (a *OpenTracingAppLayer) MigrateFilenamesToFileInfos(post *model.Post) []*model.FileInfo

func (*OpenTracingAppLayer) MigrateIdLDAP

func (a *OpenTracingAppLayer) MigrateIdLDAP(toAttribute string) *model.AppError

func (*OpenTracingAppLayer) MoveChannel

func (a *OpenTracingAppLayer) MoveChannel(team *model.Team, channel *model.Channel, user *model.User) *model.AppError

func (*OpenTracingAppLayer) MoveCommand

func (a *OpenTracingAppLayer) MoveCommand(team *model.Team, command *model.Command) *model.AppError

func (*OpenTracingAppLayer) MoveFile

func (a *OpenTracingAppLayer) MoveFile(oldPath string, newPath string) *model.AppError

func (*OpenTracingAppLayer) NewClusterDiscoveryService

func (a *OpenTracingAppLayer) NewClusterDiscoveryService() *app.ClusterDiscoveryService

func (*OpenTracingAppLayer) NewPluginAPI

func (a *OpenTracingAppLayer) NewPluginAPI(manifest *model.Manifest) plugin.API

func (*OpenTracingAppLayer) NewWebConn

func (a *OpenTracingAppLayer) NewWebConn(ws *websocket.Conn, session model.Session, t goi18n.TranslateFunc, locale string) *app.WebConn

func (*OpenTracingAppLayer) NewWebHub

func (a *OpenTracingAppLayer) NewWebHub() *app.Hub

func (*OpenTracingAppLayer) Notification

func (*OpenTracingAppLayer) NotificationsLog

func (a *OpenTracingAppLayer) NotificationsLog() *mlog.Logger

func (*OpenTracingAppLayer) NotifyAndSetWarnMetricAck

func (a *OpenTracingAppLayer) NotifyAndSetWarnMetricAck(warnMetricId string, sender *model.User, forceAck bool, isBot bool) *model.AppError

func (*OpenTracingAppLayer) NotifySessionsExpired

func (a *OpenTracingAppLayer) NotifySessionsExpired() *model.AppError

func (*OpenTracingAppLayer) OpenInteractiveDialog

func (a *OpenTracingAppLayer) OpenInteractiveDialog(request model.OpenDialogRequest) *model.AppError

func (*OpenTracingAppLayer) OriginChecker

func (a *OpenTracingAppLayer) OriginChecker() func(*http.Request) bool

func (*OpenTracingAppLayer) OverrideIconURLIfEmoji

func (a *OpenTracingAppLayer) OverrideIconURLIfEmoji(post *model.Post)

func (*OpenTracingAppLayer) PatchBot

func (a *OpenTracingAppLayer) PatchBot(botUserId string, botPatch *model.BotPatch) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) PatchChannel

func (a *OpenTracingAppLayer) PatchChannel(channel *model.Channel, patch *model.ChannelPatch, userId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) PatchChannelModerationsForChannel

func (a *OpenTracingAppLayer) PatchChannelModerationsForChannel(channel *model.Channel, channelModerationsPatch []*model.ChannelModerationPatch) ([]*model.ChannelModeration, *model.AppError)

func (*OpenTracingAppLayer) PatchPost

func (a *OpenTracingAppLayer) PatchPost(postId string, patch *model.PostPatch) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) PatchRole

func (a *OpenTracingAppLayer) PatchRole(role *model.Role, patch *model.RolePatch) (*model.Role, *model.AppError)

func (*OpenTracingAppLayer) PatchScheme

func (a *OpenTracingAppLayer) PatchScheme(scheme *model.Scheme, patch *model.SchemePatch) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) PatchTeam

func (a *OpenTracingAppLayer) PatchTeam(teamId string, patch *model.TeamPatch) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) PatchUser

func (a *OpenTracingAppLayer) PatchUser(userId string, patch *model.UserPatch, asAdmin bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) Path

func (a *OpenTracingAppLayer) Path() string

func (*OpenTracingAppLayer) PermanentDeleteAllUsers

func (a *OpenTracingAppLayer) PermanentDeleteAllUsers() *model.AppError

func (*OpenTracingAppLayer) PermanentDeleteBot

func (a *OpenTracingAppLayer) PermanentDeleteBot(botUserId string) *model.AppError

func (*OpenTracingAppLayer) PermanentDeleteChannel

func (a *OpenTracingAppLayer) PermanentDeleteChannel(channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) PermanentDeleteTeam

func (a *OpenTracingAppLayer) PermanentDeleteTeam(team *model.Team) *model.AppError

func (*OpenTracingAppLayer) PermanentDeleteTeamId

func (a *OpenTracingAppLayer) PermanentDeleteTeamId(teamId string) *model.AppError

func (*OpenTracingAppLayer) PermanentDeleteUser

func (a *OpenTracingAppLayer) PermanentDeleteUser(user *model.User) *model.AppError

func (*OpenTracingAppLayer) PluginCommandsForTeam

func (a *OpenTracingAppLayer) PluginCommandsForTeam(teamId string) []*model.Command

func (*OpenTracingAppLayer) PluginContext

func (a *OpenTracingAppLayer) PluginContext() *plugin.Context

func (*OpenTracingAppLayer) PostActionCookieSecret

func (a *OpenTracingAppLayer) PostActionCookieSecret() []byte

func (*OpenTracingAppLayer) PostAddToChannelMessage

func (a *OpenTracingAppLayer) PostAddToChannelMessage(user *model.User, addedUser *model.User, channel *model.Channel, postRootId string) *model.AppError

func (*OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs

func (a *OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs(patch *model.PostPatch) *model.PostPatch

func (*OpenTracingAppLayer) PostUpdateChannelDisplayNameMessage

func (a *OpenTracingAppLayer) PostUpdateChannelDisplayNameMessage(userId string, channel *model.Channel, oldChannelDisplayName string, newChannelDisplayName string) *model.AppError

func (*OpenTracingAppLayer) PostUpdateChannelHeaderMessage

func (a *OpenTracingAppLayer) PostUpdateChannelHeaderMessage(userId string, channel *model.Channel, oldChannelHeader string, newChannelHeader string) *model.AppError

func (*OpenTracingAppLayer) PostUpdateChannelPurposeMessage

func (a *OpenTracingAppLayer) PostUpdateChannelPurposeMessage(userId string, channel *model.Channel, oldChannelPurpose string, newChannelPurpose string) *model.AppError

func (*OpenTracingAppLayer) PostWithProxyAddedToImageURLs

func (a *OpenTracingAppLayer) PostWithProxyAddedToImageURLs(post *model.Post) *model.Post

func (*OpenTracingAppLayer) PostWithProxyRemovedFromImageURLs

func (a *OpenTracingAppLayer) PostWithProxyRemovedFromImageURLs(post *model.Post) *model.Post

func (*OpenTracingAppLayer) PreparePostForClient

func (a *OpenTracingAppLayer) PreparePostForClient(originalPost *model.Post, isNewPost bool, isEditPost bool) *model.Post

func (*OpenTracingAppLayer) PreparePostListForClient

func (a *OpenTracingAppLayer) PreparePostListForClient(originalList *model.PostList) *model.PostList

func (*OpenTracingAppLayer) ProcessSlackAttachments

func (a *OpenTracingAppLayer) ProcessSlackAttachments(attachments []*model.SlackAttachment) []*model.SlackAttachment

func (*OpenTracingAppLayer) ProcessSlackText

func (a *OpenTracingAppLayer) ProcessSlackText(text string) string

func (*OpenTracingAppLayer) PromoteGuestToUser

func (a *OpenTracingAppLayer) PromoteGuestToUser(user *model.User, requestorId string) *model.AppError

func (*OpenTracingAppLayer) Publish

func (a *OpenTracingAppLayer) Publish(message *model.WebSocketEvent)

func (*OpenTracingAppLayer) PublishSkipClusterSend

func (a *OpenTracingAppLayer) PublishSkipClusterSend(message *model.WebSocketEvent)

func (*OpenTracingAppLayer) PublishUserTyping

func (a *OpenTracingAppLayer) PublishUserTyping(userId string, channelId string, parentId string) *model.AppError

func (*OpenTracingAppLayer) PurgeBleveIndexes

func (a *OpenTracingAppLayer) PurgeBleveIndexes() *model.AppError

func (*OpenTracingAppLayer) PurgeElasticsearchIndexes

func (a *OpenTracingAppLayer) PurgeElasticsearchIndexes() *model.AppError

func (*OpenTracingAppLayer) ReadFile

func (a *OpenTracingAppLayer) ReadFile(path string) ([]byte, *model.AppError)

func (*OpenTracingAppLayer) RecycleDatabaseConnection

func (a *OpenTracingAppLayer) RecycleDatabaseConnection()

func (*OpenTracingAppLayer) RegenCommandToken

func (a *OpenTracingAppLayer) RegenCommandToken(cmd *model.Command) (*model.Command, *model.AppError)

func (*OpenTracingAppLayer) RegenOutgoingWebhookToken

func (a *OpenTracingAppLayer) RegenOutgoingWebhookToken(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) RegenerateOAuthAppSecret

func (a *OpenTracingAppLayer) RegenerateOAuthAppSecret(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) RegenerateTeamInviteId

func (a *OpenTracingAppLayer) RegenerateTeamInviteId(teamId string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) RegisterPluginCommand

func (a *OpenTracingAppLayer) RegisterPluginCommand(pluginId string, command *model.Command) error

func (*OpenTracingAppLayer) ReloadConfig

func (a *OpenTracingAppLayer) ReloadConfig() error

func (*OpenTracingAppLayer) RemoveAllDeactivatedMembersFromChannel

func (a *OpenTracingAppLayer) RemoveAllDeactivatedMembersFromChannel(channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) RemoveConfigListener

func (a *OpenTracingAppLayer) RemoveConfigListener(id string)

func (*OpenTracingAppLayer) RemoveFile

func (a *OpenTracingAppLayer) RemoveFile(path string) *model.AppError

func (*OpenTracingAppLayer) RemoveLdapPrivateCertificate added in v5.28.0

func (a *OpenTracingAppLayer) RemoveLdapPrivateCertificate() *model.AppError

func (*OpenTracingAppLayer) RemoveLdapPublicCertificate added in v5.28.0

func (a *OpenTracingAppLayer) RemoveLdapPublicCertificate() *model.AppError

func (*OpenTracingAppLayer) RemovePlugin

func (a *OpenTracingAppLayer) RemovePlugin(id string) *model.AppError

func (*OpenTracingAppLayer) RemovePluginFromData

func (a *OpenTracingAppLayer) RemovePluginFromData(data model.PluginEventData)

func (*OpenTracingAppLayer) RemoveSamlIdpCertificate

func (a *OpenTracingAppLayer) RemoveSamlIdpCertificate() *model.AppError

func (*OpenTracingAppLayer) RemoveSamlPrivateCertificate

func (a *OpenTracingAppLayer) RemoveSamlPrivateCertificate() *model.AppError

func (*OpenTracingAppLayer) RemoveSamlPublicCertificate

func (a *OpenTracingAppLayer) RemoveSamlPublicCertificate() *model.AppError

func (*OpenTracingAppLayer) RemoveTeamIcon

func (a *OpenTracingAppLayer) RemoveTeamIcon(teamId string) *model.AppError

func (*OpenTracingAppLayer) RemoveTeamMemberFromTeam

func (a *OpenTracingAppLayer) RemoveTeamMemberFromTeam(teamMember *model.TeamMember, requestorId string) *model.AppError

func (*OpenTracingAppLayer) RemoveUserFromChannel

func (a *OpenTracingAppLayer) RemoveUserFromChannel(userIdToRemove string, removerUserId string, channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) RemoveUserFromTeam

func (a *OpenTracingAppLayer) RemoveUserFromTeam(teamId string, userId string, requestorId string) *model.AppError

func (*OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam

func (a *OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam(remover *model.User, channel *model.Channel, team *model.Team) *model.AppError

func (*OpenTracingAppLayer) RenameChannel

func (a *OpenTracingAppLayer) RenameChannel(channel *model.Channel, newChannelName string, newDisplayName string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) RenameTeam

func (a *OpenTracingAppLayer) RenameTeam(team *model.Team, newTeamName string, newDisplayName string) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) RequestId

func (a *OpenTracingAppLayer) RequestId() string

func (*OpenTracingAppLayer) RequestLicenseAndAckWarnMetric added in v5.28.0

func (a *OpenTracingAppLayer) RequestLicenseAndAckWarnMetric(warnMetricId string, isBot bool) *model.AppError

func (*OpenTracingAppLayer) ResetPasswordFromToken

func (a *OpenTracingAppLayer) ResetPasswordFromToken(userSuppliedTokenString string, newPassword string) *model.AppError

func (*OpenTracingAppLayer) ResetPermissionsSystem

func (a *OpenTracingAppLayer) ResetPermissionsSystem() *model.AppError

func (*OpenTracingAppLayer) RestoreChannel

func (a *OpenTracingAppLayer) RestoreChannel(channel *model.Channel, userId string) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) RestoreTeam

func (a *OpenTracingAppLayer) RestoreTeam(teamId string) *model.AppError

func (*OpenTracingAppLayer) RestrictUsersGetByPermissions

func (a *OpenTracingAppLayer) RestrictUsersGetByPermissions(userId string, options *model.UserGetOptions) (*model.UserGetOptions, *model.AppError)

func (*OpenTracingAppLayer) RestrictUsersSearchByPermissions

func (a *OpenTracingAppLayer) RestrictUsersSearchByPermissions(userId string, options *model.UserSearchOptions) (*model.UserSearchOptions, *model.AppError)

func (*OpenTracingAppLayer) RevokeAccessToken

func (a *OpenTracingAppLayer) RevokeAccessToken(token string) *model.AppError

func (*OpenTracingAppLayer) RevokeAllSessions

func (a *OpenTracingAppLayer) RevokeAllSessions(userId string) *model.AppError

func (*OpenTracingAppLayer) RevokeSession

func (a *OpenTracingAppLayer) RevokeSession(session *model.Session) *model.AppError

func (*OpenTracingAppLayer) RevokeSessionById

func (a *OpenTracingAppLayer) RevokeSessionById(sessionId string) *model.AppError

func (*OpenTracingAppLayer) RevokeSessionsForDeviceId

func (a *OpenTracingAppLayer) RevokeSessionsForDeviceId(userId string, deviceId string, currentSessionId string) *model.AppError

func (*OpenTracingAppLayer) RevokeSessionsFromAllUsers

func (a *OpenTracingAppLayer) RevokeSessionsFromAllUsers() *model.AppError

func (*OpenTracingAppLayer) RevokeUserAccessToken

func (a *OpenTracingAppLayer) RevokeUserAccessToken(token *model.UserAccessToken) *model.AppError

func (*OpenTracingAppLayer) RolesGrantPermission

func (a *OpenTracingAppLayer) RolesGrantPermission(roleNames []string, permissionId string) bool

func (*OpenTracingAppLayer) Saml

func (*OpenTracingAppLayer) SanitizeProfile

func (a *OpenTracingAppLayer) SanitizeProfile(user *model.User, asAdmin bool)

func (*OpenTracingAppLayer) SanitizeTeam

func (a *OpenTracingAppLayer) SanitizeTeam(session model.Session, team *model.Team) *model.Team

func (*OpenTracingAppLayer) SanitizeTeams

func (a *OpenTracingAppLayer) SanitizeTeams(session model.Session, teams []*model.Team) []*model.Team

func (*OpenTracingAppLayer) SaveAndBroadcastStatus

func (a *OpenTracingAppLayer) SaveAndBroadcastStatus(status *model.Status)

func (*OpenTracingAppLayer) SaveBrandImage

func (a *OpenTracingAppLayer) SaveBrandImage(imageData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) SaveComplianceReport

func (a *OpenTracingAppLayer) SaveComplianceReport(job *model.Compliance) (*model.Compliance, *model.AppError)

func (*OpenTracingAppLayer) SaveConfig

func (a *OpenTracingAppLayer) SaveConfig(newCfg *model.Config, sendConfigChangeClusterMessage bool) *model.AppError

func (*OpenTracingAppLayer) SaveReactionForPost

func (a *OpenTracingAppLayer) SaveReactionForPost(reaction *model.Reaction) (*model.Reaction, *model.AppError)

func (*OpenTracingAppLayer) SaveUserTermsOfService

func (a *OpenTracingAppLayer) SaveUserTermsOfService(userId string, termsOfServiceId string, accepted bool) *model.AppError

func (*OpenTracingAppLayer) SchemesIterator

func (a *OpenTracingAppLayer) SchemesIterator(scope string, batchSize int) func() []*model.Scheme

func (*OpenTracingAppLayer) SearchAllChannels

func (*OpenTracingAppLayer) SearchAllTeams

func (a *OpenTracingAppLayer) SearchAllTeams(searchOpts *model.TeamSearch) ([]*model.Team, int64, *model.AppError)

func (*OpenTracingAppLayer) SearchArchivedChannels

func (a *OpenTracingAppLayer) SearchArchivedChannels(teamId string, term string, userId string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) SearchChannels

func (a *OpenTracingAppLayer) SearchChannels(teamId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) SearchChannelsForUser

func (a *OpenTracingAppLayer) SearchChannelsForUser(userId string, teamId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) SearchChannelsUserNotIn

func (a *OpenTracingAppLayer) SearchChannelsUserNotIn(teamId string, userId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) SearchEmoji

func (a *OpenTracingAppLayer) SearchEmoji(name string, prefixOnly bool, limit int) ([]*model.Emoji, *model.AppError)

func (*OpenTracingAppLayer) SearchEngine

func (a *OpenTracingAppLayer) SearchEngine() *searchengine.Broker

func (*OpenTracingAppLayer) SearchGroupChannels

func (a *OpenTracingAppLayer) SearchGroupChannels(userId string, term string) (*model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) SearchPostsInTeam

func (a *OpenTracingAppLayer) SearchPostsInTeam(teamId string, paramsList []*model.SearchParams) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) SearchPostsInTeamForUser

func (a *OpenTracingAppLayer) SearchPostsInTeamForUser(terms string, userId string, teamId string, isOrSearch bool, includeDeletedChannels bool, timeZoneOffset int, page int, perPage int) (*model.PostSearchResults, *model.AppError)

func (*OpenTracingAppLayer) SearchPrivateTeams

func (a *OpenTracingAppLayer) SearchPrivateTeams(term string) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) SearchPublicTeams

func (a *OpenTracingAppLayer) SearchPublicTeams(term string) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) SearchUserAccessTokens

func (a *OpenTracingAppLayer) SearchUserAccessTokens(term string) ([]*model.UserAccessToken, *model.AppError)

func (*OpenTracingAppLayer) SearchUsers

func (a *OpenTracingAppLayer) SearchUsers(props *model.UserSearch, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersInChannel

func (a *OpenTracingAppLayer) SearchUsersInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersInGroup

func (a *OpenTracingAppLayer) SearchUsersInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersInTeam

func (a *OpenTracingAppLayer) SearchUsersInTeam(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersNotInChannel

func (a *OpenTracingAppLayer) SearchUsersNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersNotInTeam

func (a *OpenTracingAppLayer) SearchUsersNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SearchUsersWithoutTeam

func (a *OpenTracingAppLayer) SearchUsersWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)

func (*OpenTracingAppLayer) SendAckToPushProxy

func (a *OpenTracingAppLayer) SendAckToPushProxy(ack *model.PushNotificationAck) error

func (*OpenTracingAppLayer) SendAutoResponse

func (a *OpenTracingAppLayer) SendAutoResponse(channel *model.Channel, receiver *model.User, post *model.Post) (bool, *model.AppError)

func (*OpenTracingAppLayer) SendAutoResponseIfNecessary

func (a *OpenTracingAppLayer) SendAutoResponseIfNecessary(channel *model.Channel, sender *model.User, post *model.Post) (bool, *model.AppError)

func (*OpenTracingAppLayer) SendEmailVerification

func (a *OpenTracingAppLayer) SendEmailVerification(user *model.User, newEmail string, redirect string) *model.AppError

func (*OpenTracingAppLayer) SendEphemeralPost

func (a *OpenTracingAppLayer) SendEphemeralPost(userId string, post *model.Post) *model.Post

func (*OpenTracingAppLayer) SendNotifications

func (a *OpenTracingAppLayer) SendNotifications(post *model.Post, team *model.Team, channel *model.Channel, sender *model.User, parentPostList *model.PostList, setOnline bool) ([]string, error)

func (*OpenTracingAppLayer) SendPasswordReset

func (a *OpenTracingAppLayer) SendPasswordReset(email string, siteURL string) (bool, *model.AppError)

func (*OpenTracingAppLayer) ServeInterPluginRequest

func (a *OpenTracingAppLayer) ServeInterPluginRequest(w http.ResponseWriter, r *http.Request, sourcePluginId string, destinationPluginId string)

func (*OpenTracingAppLayer) ServePluginPublicRequest

func (a *OpenTracingAppLayer) ServePluginPublicRequest(w http.ResponseWriter, r *http.Request)

func (*OpenTracingAppLayer) ServePluginRequest

func (a *OpenTracingAppLayer) ServePluginRequest(w http.ResponseWriter, r *http.Request)

func (*OpenTracingAppLayer) ServerBusyStateChanged

func (a *OpenTracingAppLayer) ServerBusyStateChanged(sbs *model.ServerBusyState)

func (*OpenTracingAppLayer) Session

func (a *OpenTracingAppLayer) Session() *model.Session

func (*OpenTracingAppLayer) SessionCacheLength

func (a *OpenTracingAppLayer) SessionCacheLength() int

func (*OpenTracingAppLayer) SessionHasPermissionTo

func (a *OpenTracingAppLayer) SessionHasPermissionTo(session model.Session, permission *model.Permission) bool

func (*OpenTracingAppLayer) SessionHasPermissionToAny added in v5.28.0

func (a *OpenTracingAppLayer) SessionHasPermissionToAny(session model.Session, permissions []*model.Permission) bool

func (*OpenTracingAppLayer) SessionHasPermissionToCategory

func (a *OpenTracingAppLayer) SessionHasPermissionToCategory(session model.Session, userId string, teamId string, categoryId string) bool

func (*OpenTracingAppLayer) SessionHasPermissionToChannel

func (a *OpenTracingAppLayer) SessionHasPermissionToChannel(session model.Session, channelId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) SessionHasPermissionToChannelByPost

func (a *OpenTracingAppLayer) SessionHasPermissionToChannelByPost(session model.Session, postId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) SessionHasPermissionToManageBot

func (a *OpenTracingAppLayer) SessionHasPermissionToManageBot(session model.Session, botUserId string) *model.AppError

func (*OpenTracingAppLayer) SessionHasPermissionToTeam

func (a *OpenTracingAppLayer) SessionHasPermissionToTeam(session model.Session, teamId string, permission *model.Permission) bool

func (*OpenTracingAppLayer) SessionHasPermissionToUser

func (a *OpenTracingAppLayer) SessionHasPermissionToUser(session model.Session, userId string) bool

func (*OpenTracingAppLayer) SessionHasPermissionToUserOrBot

func (a *OpenTracingAppLayer) SessionHasPermissionToUserOrBot(session model.Session, userId string) bool

func (*OpenTracingAppLayer) SessionIsRegistered

func (a *OpenTracingAppLayer) SessionIsRegistered(session model.Session) bool

func (*OpenTracingAppLayer) SetAcceptLanguage

func (a *OpenTracingAppLayer) SetAcceptLanguage(str string)

func (*OpenTracingAppLayer) SetActiveChannel

func (a *OpenTracingAppLayer) SetActiveChannel(userId string, channelId string) *model.AppError

func (*OpenTracingAppLayer) SetAutoResponderStatus

func (a *OpenTracingAppLayer) SetAutoResponderStatus(user *model.User, oldNotifyProps model.StringMap)

func (*OpenTracingAppLayer) SetBotIconImage

func (a *OpenTracingAppLayer) SetBotIconImage(botUserId string, file io.ReadSeeker) *model.AppError

func (*OpenTracingAppLayer) SetBotIconImageFromMultiPartFile

func (a *OpenTracingAppLayer) SetBotIconImageFromMultiPartFile(botUserId string, imageData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) SetContext

func (a *OpenTracingAppLayer) SetContext(c context.Context)

func (*OpenTracingAppLayer) SetDefaultProfileImage

func (a *OpenTracingAppLayer) SetDefaultProfileImage(user *model.User) *model.AppError

func (*OpenTracingAppLayer) SetIpAddress

func (a *OpenTracingAppLayer) SetIpAddress(str string)

func (*OpenTracingAppLayer) SetPath

func (a *OpenTracingAppLayer) SetPath(str string)

func (*OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus

func (a *OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus(isComplete bool) error

func (*OpenTracingAppLayer) SetPluginKey

func (a *OpenTracingAppLayer) SetPluginKey(pluginId string, key string, value []byte) *model.AppError

func (*OpenTracingAppLayer) SetPluginKeyWithExpiry

func (a *OpenTracingAppLayer) SetPluginKeyWithExpiry(pluginId string, key string, value []byte, expireInSeconds int64) *model.AppError

func (*OpenTracingAppLayer) SetPluginKeyWithOptions

func (a *OpenTracingAppLayer) SetPluginKeyWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)

func (*OpenTracingAppLayer) SetPluginsEnvironment

func (a *OpenTracingAppLayer) SetPluginsEnvironment(pluginsEnvironment *plugin.Environment)

func (*OpenTracingAppLayer) SetProfileImage

func (a *OpenTracingAppLayer) SetProfileImage(userId string, imageData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) SetProfileImageFromFile

func (a *OpenTracingAppLayer) SetProfileImageFromFile(userId string, file io.Reader) *model.AppError

func (*OpenTracingAppLayer) SetProfileImageFromMultiPartFile

func (a *OpenTracingAppLayer) SetProfileImageFromMultiPartFile(userId string, file multipart.File) *model.AppError

func (*OpenTracingAppLayer) SetRequestId

func (a *OpenTracingAppLayer) SetRequestId(str string)

func (*OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata

func (a *OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata(data []byte) *model.AppError

func (*OpenTracingAppLayer) SetSearchEngine

func (a *OpenTracingAppLayer) SetSearchEngine(se *searchengine.Broker)

func (*OpenTracingAppLayer) SetServer

func (a *OpenTracingAppLayer) SetServer(srv *app.Server)

func (*OpenTracingAppLayer) SetSession

func (a *OpenTracingAppLayer) SetSession(sess *model.Session)

func (*OpenTracingAppLayer) SetSessionExpireInDays added in v5.26.1

func (a *OpenTracingAppLayer) SetSessionExpireInDays(session *model.Session, days int)

func (*OpenTracingAppLayer) SetStatusAwayIfNeeded

func (a *OpenTracingAppLayer) SetStatusAwayIfNeeded(userId string, manual bool)

func (*OpenTracingAppLayer) SetStatusDoNotDisturb

func (a *OpenTracingAppLayer) SetStatusDoNotDisturb(userId string)

func (*OpenTracingAppLayer) SetStatusLastActivityAt

func (a *OpenTracingAppLayer) SetStatusLastActivityAt(userId string, activityAt int64)

func (*OpenTracingAppLayer) SetStatusOffline

func (a *OpenTracingAppLayer) SetStatusOffline(userId string, manual bool)

func (*OpenTracingAppLayer) SetStatusOnline

func (a *OpenTracingAppLayer) SetStatusOnline(userId string, manual bool)

func (*OpenTracingAppLayer) SetStatusOutOfOffice

func (a *OpenTracingAppLayer) SetStatusOutOfOffice(userId string)

func (*OpenTracingAppLayer) SetT

func (*OpenTracingAppLayer) SetTeamIcon

func (a *OpenTracingAppLayer) SetTeamIcon(teamId string, imageData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) SetTeamIconFromFile

func (a *OpenTracingAppLayer) SetTeamIconFromFile(team *model.Team, file io.Reader) *model.AppError

func (*OpenTracingAppLayer) SetTeamIconFromMultiPartFile

func (a *OpenTracingAppLayer) SetTeamIconFromMultiPartFile(teamId string, file multipart.File) *model.AppError

func (*OpenTracingAppLayer) SetUserAgent

func (a *OpenTracingAppLayer) SetUserAgent(str string)

func (*OpenTracingAppLayer) SlackImport

func (a *OpenTracingAppLayer) SlackImport(fileData multipart.File, fileSize int64, teamID string) (*model.AppError, *bytes.Buffer)

func (*OpenTracingAppLayer) SoftDeleteTeam

func (a *OpenTracingAppLayer) SoftDeleteTeam(teamId string) *model.AppError

func (*OpenTracingAppLayer) Srv

func (a *OpenTracingAppLayer) Srv() *app.Server

func (*OpenTracingAppLayer) SubmitInteractiveDialog

func (a *OpenTracingAppLayer) SubmitInteractiveDialog(request model.SubmitDialogRequest) (*model.SubmitDialogResponse, *model.AppError)

func (*OpenTracingAppLayer) SwitchEmailToLdap

func (a *OpenTracingAppLayer) SwitchEmailToLdap(email string, password string, code string, ldapLoginId string, ldapPassword string) (string, *model.AppError)

func (*OpenTracingAppLayer) SwitchEmailToOAuth

func (a *OpenTracingAppLayer) SwitchEmailToOAuth(w http.ResponseWriter, r *http.Request, email string, password string, code string, service string) (string, *model.AppError)

func (*OpenTracingAppLayer) SwitchLdapToEmail

func (a *OpenTracingAppLayer) SwitchLdapToEmail(ldapPassword string, code string, email string, newPassword string) (string, *model.AppError)

func (*OpenTracingAppLayer) SwitchOAuthToEmail

func (a *OpenTracingAppLayer) SwitchOAuthToEmail(email string, password string, requesterId string) (string, *model.AppError)

func (*OpenTracingAppLayer) SyncLdap

func (a *OpenTracingAppLayer) SyncLdap()

func (*OpenTracingAppLayer) SyncPlugins

func (a *OpenTracingAppLayer) SyncPlugins() *model.AppError

func (*OpenTracingAppLayer) SyncPluginsActiveState

func (a *OpenTracingAppLayer) SyncPluginsActiveState()

func (*OpenTracingAppLayer) SyncRolesAndMembership

func (a *OpenTracingAppLayer) SyncRolesAndMembership(syncableID string, syncableType model.GroupSyncableType)

func (*OpenTracingAppLayer) SyncSyncableRoles

func (a *OpenTracingAppLayer) SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError

func (*OpenTracingAppLayer) T

func (a *OpenTracingAppLayer) T(translationID string, args ...interface{}) string

func (*OpenTracingAppLayer) TeamMembersMinusGroupMembers

func (a *OpenTracingAppLayer) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)

func (*OpenTracingAppLayer) TeamMembersToAdd

func (a *OpenTracingAppLayer) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)

func (*OpenTracingAppLayer) TeamMembersToRemove

func (a *OpenTracingAppLayer) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) TelemetryId added in v5.28.0

func (a *OpenTracingAppLayer) TelemetryId() string

func (*OpenTracingAppLayer) TestElasticsearch

func (a *OpenTracingAppLayer) TestElasticsearch(cfg *model.Config) *model.AppError

func (*OpenTracingAppLayer) TestEmail

func (a *OpenTracingAppLayer) TestEmail(userId string, cfg *model.Config) *model.AppError

func (*OpenTracingAppLayer) TestLdap

func (a *OpenTracingAppLayer) TestLdap() *model.AppError

func (*OpenTracingAppLayer) TestSiteURL

func (a *OpenTracingAppLayer) TestSiteURL(siteURL string) *model.AppError

func (*OpenTracingAppLayer) Timezones

func (a *OpenTracingAppLayer) Timezones() *timezones.Timezones

func (*OpenTracingAppLayer) ToggleMuteChannel

func (a *OpenTracingAppLayer) ToggleMuteChannel(channelId string, userId string) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) TotalWebsocketConnections

func (a *OpenTracingAppLayer) TotalWebsocketConnections() int

func (*OpenTracingAppLayer) TriggerWebhook

func (a *OpenTracingAppLayer) TriggerWebhook(payload *model.OutgoingWebhookPayload, hook *model.OutgoingWebhook, post *model.Post, channel *model.Channel)

func (*OpenTracingAppLayer) UnregisterPluginCommand

func (a *OpenTracingAppLayer) UnregisterPluginCommand(pluginId string, teamId string, trigger string)

func (*OpenTracingAppLayer) UnregisterPluginCommands

func (a *OpenTracingAppLayer) UnregisterPluginCommands(pluginId string)

func (*OpenTracingAppLayer) UpdateActive

func (a *OpenTracingAppLayer) UpdateActive(user *model.User, active bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateBotActive

func (a *OpenTracingAppLayer) UpdateBotActive(botUserId string, active bool) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) UpdateBotOwner

func (a *OpenTracingAppLayer) UpdateBotOwner(botUserId string, newOwnerId string) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannel

func (a *OpenTracingAppLayer) UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannelLastViewedAt

func (a *OpenTracingAppLayer) UpdateChannelLastViewedAt(channelIds []string, userId string) *model.AppError

func (*OpenTracingAppLayer) UpdateChannelMemberNotifyProps

func (a *OpenTracingAppLayer) UpdateChannelMemberNotifyProps(data map[string]string, channelId string, userId string) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannelMemberRoles

func (a *OpenTracingAppLayer) UpdateChannelMemberRoles(channelId string, userId string, newRoles string) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannelMemberSchemeRoles

func (a *OpenTracingAppLayer) UpdateChannelMemberSchemeRoles(channelId string, userId string, isSchemeGuest bool, isSchemeUser bool, isSchemeAdmin bool) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannelPrivacy

func (a *OpenTracingAppLayer) UpdateChannelPrivacy(oldChannel *model.Channel, user *model.User) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) UpdateChannelScheme

func (a *OpenTracingAppLayer) UpdateChannelScheme(channel *model.Channel) (*model.Channel, *model.AppError)

func (*OpenTracingAppLayer) UpdateCommand

func (a *OpenTracingAppLayer) UpdateCommand(oldCmd *model.Command, updatedCmd *model.Command) (*model.Command, *model.AppError)

func (*OpenTracingAppLayer) UpdateConfig

func (a *OpenTracingAppLayer) UpdateConfig(f func(*model.Config))

func (*OpenTracingAppLayer) UpdateEphemeralPost

func (a *OpenTracingAppLayer) UpdateEphemeralPost(userId string, post *model.Post) *model.Post

func (*OpenTracingAppLayer) UpdateGroup

func (a *OpenTracingAppLayer) UpdateGroup(group *model.Group) (*model.Group, *model.AppError)

func (*OpenTracingAppLayer) UpdateGroupSyncable

func (a *OpenTracingAppLayer) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)

func (*OpenTracingAppLayer) UpdateHashedPassword added in v5.28.0

func (a *OpenTracingAppLayer) UpdateHashedPassword(user *model.User, newHashedPassword string) *model.AppError

func (*OpenTracingAppLayer) UpdateHashedPasswordByUserId added in v5.28.0

func (a *OpenTracingAppLayer) UpdateHashedPasswordByUserId(userId string, newHashedPassword string) *model.AppError

func (*OpenTracingAppLayer) UpdateIncomingWebhook

func (a *OpenTracingAppLayer) UpdateIncomingWebhook(oldHook *model.IncomingWebhook, updatedHook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)

func (*OpenTracingAppLayer) UpdateLastActivityAtIfNeeded

func (a *OpenTracingAppLayer) UpdateLastActivityAtIfNeeded(session model.Session)

func (*OpenTracingAppLayer) UpdateMfa

func (a *OpenTracingAppLayer) UpdateMfa(activate bool, userId string, token string) *model.AppError

func (*OpenTracingAppLayer) UpdateMobileAppBadge

func (a *OpenTracingAppLayer) UpdateMobileAppBadge(userId string)

func (*OpenTracingAppLayer) UpdateOAuthUserAttrs

func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OauthProvider, service string) *model.AppError

func (*OpenTracingAppLayer) UpdateOauthApp

func (a *OpenTracingAppLayer) UpdateOauthApp(oldApp *model.OAuthApp, updatedApp *model.OAuthApp) (*model.OAuthApp, *model.AppError)

func (*OpenTracingAppLayer) UpdateOutgoingWebhook

func (a *OpenTracingAppLayer) UpdateOutgoingWebhook(oldHook *model.OutgoingWebhook, updatedHook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)

func (*OpenTracingAppLayer) UpdatePassword

func (a *OpenTracingAppLayer) UpdatePassword(user *model.User, newPassword string) *model.AppError

func (*OpenTracingAppLayer) UpdatePasswordAsUser

func (a *OpenTracingAppLayer) UpdatePasswordAsUser(userId string, currentPassword string, newPassword string) *model.AppError

func (*OpenTracingAppLayer) UpdatePasswordByUserIdSendEmail

func (a *OpenTracingAppLayer) UpdatePasswordByUserIdSendEmail(userId string, newPassword string, method string) *model.AppError

func (*OpenTracingAppLayer) UpdatePasswordSendEmail

func (a *OpenTracingAppLayer) UpdatePasswordSendEmail(user *model.User, newPassword string, method string) *model.AppError

func (*OpenTracingAppLayer) UpdatePost

func (a *OpenTracingAppLayer) UpdatePost(post *model.Post, safeUpdate bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) UpdatePreferences

func (a *OpenTracingAppLayer) UpdatePreferences(userId string, preferences model.Preferences) *model.AppError

func (*OpenTracingAppLayer) UpdateProductNotices added in v5.28.0

func (a *OpenTracingAppLayer) UpdateProductNotices() *model.AppError

func (*OpenTracingAppLayer) UpdateRole

func (a *OpenTracingAppLayer) UpdateRole(role *model.Role) (*model.Role, *model.AppError)

func (*OpenTracingAppLayer) UpdateScheme

func (a *OpenTracingAppLayer) UpdateScheme(scheme *model.Scheme) (*model.Scheme, *model.AppError)

func (*OpenTracingAppLayer) UpdateSessionsIsGuest

func (a *OpenTracingAppLayer) UpdateSessionsIsGuest(userId string, isGuest bool)

func (*OpenTracingAppLayer) UpdateSidebarCategories

func (a *OpenTracingAppLayer) UpdateSidebarCategories(userId string, teamId string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)

func (*OpenTracingAppLayer) UpdateSidebarCategoryOrder

func (a *OpenTracingAppLayer) UpdateSidebarCategoryOrder(userId string, teamId string, categoryOrder []string) *model.AppError

func (*OpenTracingAppLayer) UpdateTeam

func (a *OpenTracingAppLayer) UpdateTeam(team *model.Team) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) UpdateTeamMemberRoles

func (a *OpenTracingAppLayer) UpdateTeamMemberRoles(teamId string, userId string, newRoles string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) UpdateTeamMemberSchemeRoles

func (a *OpenTracingAppLayer) UpdateTeamMemberSchemeRoles(teamId string, userId string, isSchemeGuest bool, isSchemeUser bool, isSchemeAdmin bool) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) UpdateTeamPrivacy

func (a *OpenTracingAppLayer) UpdateTeamPrivacy(teamId string, teamType string, allowOpenInvite bool) *model.AppError

func (*OpenTracingAppLayer) UpdateTeamScheme

func (a *OpenTracingAppLayer) UpdateTeamScheme(team *model.Team) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) UpdateThreadFollowForUser added in v5.30.0

func (a *OpenTracingAppLayer) UpdateThreadFollowForUser(userId string, threadId string, state bool) *model.AppError

func (*OpenTracingAppLayer) UpdateThreadReadForUser added in v5.30.0

func (a *OpenTracingAppLayer) UpdateThreadReadForUser(userId string, threadId string, timestamp int64) *model.AppError

func (*OpenTracingAppLayer) UpdateThreadsReadForUser added in v5.30.0

func (a *OpenTracingAppLayer) UpdateThreadsReadForUser(userId string, timestamp int64) *model.AppError

func (*OpenTracingAppLayer) UpdateUser

func (a *OpenTracingAppLayer) UpdateUser(user *model.User, sendNotifications bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateUserActive

func (a *OpenTracingAppLayer) UpdateUserActive(userId string, active bool) *model.AppError

func (*OpenTracingAppLayer) UpdateUserAsUser

func (a *OpenTracingAppLayer) UpdateUserAsUser(user *model.User, asAdmin bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateUserAuth

func (a *OpenTracingAppLayer) UpdateUserAuth(userId string, userAuth *model.UserAuth) (*model.UserAuth, *model.AppError)

func (*OpenTracingAppLayer) UpdateUserNotifyProps

func (a *OpenTracingAppLayer) UpdateUserNotifyProps(userId string, props map[string]string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateUserRoles

func (a *OpenTracingAppLayer) UpdateUserRoles(userId string, newRoles string, sendWebSocketEvent bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateViewedProductNotices added in v5.28.0

func (a *OpenTracingAppLayer) UpdateViewedProductNotices(userId string, noticeIds []string) *model.AppError

func (*OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser added in v5.28.0

func (a *OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser(userId string)

func (*OpenTracingAppLayer) UpdateWebConnUserActivity

func (a *OpenTracingAppLayer) UpdateWebConnUserActivity(session model.Session, activityAt int64)

func (*OpenTracingAppLayer) UploadData added in v5.28.0

func (*OpenTracingAppLayer) UploadEmojiImage

func (a *OpenTracingAppLayer) UploadEmojiImage(id string, imageData *multipart.FileHeader) *model.AppError

func (*OpenTracingAppLayer) UploadFile

func (a *OpenTracingAppLayer) UploadFile(data []byte, channelId string, filename string) (*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) UploadFileX

func (a *OpenTracingAppLayer) UploadFileX(channelId string, name string, input io.Reader, opts ...func(*app.UploadFileTask)) (*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) UploadFiles

func (a *OpenTracingAppLayer) UploadFiles(teamId string, channelId string, userId string, files []io.ReadCloser, filenames []string, clientIds []string, now time.Time) (*model.FileUploadResponse, *model.AppError)

func (*OpenTracingAppLayer) UploadMultipartFiles

func (a *OpenTracingAppLayer) UploadMultipartFiles(teamId string, channelId string, userId string, fileHeaders []*multipart.FileHeader, clientIds []string, now time.Time) (*model.FileUploadResponse, *model.AppError)

func (*OpenTracingAppLayer) UpsertGroupMember

func (a *OpenTracingAppLayer) UpsertGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)

func (*OpenTracingAppLayer) UpsertGroupSyncable

func (a *OpenTracingAppLayer) UpsertGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)

func (*OpenTracingAppLayer) UserAgent

func (a *OpenTracingAppLayer) UserAgent() string

func (*OpenTracingAppLayer) UserCanSeeOtherUser

func (a *OpenTracingAppLayer) UserCanSeeOtherUser(userId string, otherUserId string) (bool, *model.AppError)

func (*OpenTracingAppLayer) UserIsInAdminRoleGroup

func (a *OpenTracingAppLayer) UserIsInAdminRoleGroup(userID string, syncableID string, syncableType model.GroupSyncableType) (bool, *model.AppError)

func (*OpenTracingAppLayer) VerifyEmailFromToken

func (a *OpenTracingAppLayer) VerifyEmailFromToken(userSuppliedTokenString string) *model.AppError

func (*OpenTracingAppLayer) VerifyPlugin

func (a *OpenTracingAppLayer) VerifyPlugin(plugin io.ReadSeeker, signature io.ReadSeeker) *model.AppError

func (*OpenTracingAppLayer) VerifyUserEmail

func (a *OpenTracingAppLayer) VerifyUserEmail(userId string, email string) *model.AppError

func (*OpenTracingAppLayer) ViewChannel

func (a *OpenTracingAppLayer) ViewChannel(view *model.ChannelView, userId string, currentSessionId string) (map[string]int64, *model.AppError)

func (*OpenTracingAppLayer) WaitForChannelMembership

func (a *OpenTracingAppLayer) WaitForChannelMembership(channelId string, userId string)

func (*OpenTracingAppLayer) WriteFile

func (a *OpenTracingAppLayer) WriteFile(fr io.Reader, path string) (int64, *model.AppError)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL