opentracing

package
v6.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: AGPL-3.0, Apache-2.0 Imports: 28 Imported by: 0

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) AccountMigration

func (*OpenTracingAppLayer) ActivateMfa

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

func (*OpenTracingAppLayer) AddChannelMember

func (a *OpenTracingAppLayer) AddChannelMember(c *request.Context, userID string, channel *model.Channel, opts app.ChannelMemberOpts) (*model.ChannelMember, *model.AppError)

func (*OpenTracingAppLayer) AddChannelsToRetentionPolicy

func (a *OpenTracingAppLayer) AddChannelsToRetentionPolicy(policyID string, channelIDs []string) *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, collapsedThreads bool)

func (*OpenTracingAppLayer) AddDirectChannels

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

func (*OpenTracingAppLayer) AddLdapPrivateCertificate

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

func (*OpenTracingAppLayer) AddLdapPublicCertificate

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) AddRemoteCluster

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(c *request.Context, teamID string, userID string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMemberByInviteId

func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(c *request.Context, inviteId string, userID string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMemberByToken

func (a *OpenTracingAppLayer) AddTeamMemberByToken(c *request.Context, userID string, tokenID string) (*model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddTeamMembers

func (a *OpenTracingAppLayer) AddTeamMembers(c *request.Context, teamID string, userIDs []string, userRequestorId string, graceful bool) ([]*model.TeamMemberWithError, *model.AppError)

func (*OpenTracingAppLayer) AddTeamsToRetentionPolicy

func (a *OpenTracingAppLayer) AddTeamsToRetentionPolicy(policyID string, teamIDs []string) *model.AppError

func (*OpenTracingAppLayer) AddUserToChannel

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

func (*OpenTracingAppLayer) AddUserToTeam

func (a *OpenTracingAppLayer) AddUserToTeam(c *request.Context, teamID string, userID string, userRequestorId string) (*model.Team, *model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddUserToTeamByInviteId

func (a *OpenTracingAppLayer) AddUserToTeamByInviteId(c *request.Context, inviteId string, userID string) (*model.Team, *model.TeamMember, *model.AppError)

func (*OpenTracingAppLayer) AddUserToTeamByTeamId

func (a *OpenTracingAppLayer) AddUserToTeamByTeamId(c *request.Context, teamID string, user *model.User) *model.AppError

func (*OpenTracingAppLayer) AddUserToTeamByToken

func (a *OpenTracingAppLayer) AddUserToTeamByToken(c *request.Context, userID string, tokenID string) (*model.Team, *model.TeamMember, *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

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(c *request.Context, w http.ResponseWriter, r *http.Request)

func (*OpenTracingAppLayer) AuthenticateUserForLogin

func (a *OpenTracingAppLayer) AuthenticateUserForLogin(c *request.Context, 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.User, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteChannels

func (a *OpenTracingAppLayer) AutocompleteChannels(userID string, term string) (model.ChannelListWithTeamData, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteChannelsForSearch

func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamID string, userID string, term string) (model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) AutocompleteChannelsForTeam added in v6.2.0

func (a *OpenTracingAppLayer) AutocompleteChannelsForTeam(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, outPath string, opts app.BulkExportOpts) *model.AppError

func (*OpenTracingAppLayer) BulkImport

func (a *OpenTracingAppLayer) BulkImport(c *request.Context, jsonlReader io.Reader, attachmentsReader *zip.Reader, dryRun bool, workers int) (*model.AppError, int)

func (*OpenTracingAppLayer) BulkImportWithPath

func (a *OpenTracingAppLayer) BulkImportWithPath(c *request.Context, jsonlReader io.Reader, attachmentsReader *zip.Reader, dryRun bool, workers int, importPath string) (*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, includeRemovedMembers bool) ([]*model.UserChannelIDPair, *model.AppError)

func (*OpenTracingAppLayer) ChannelMembersToRemove

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

func (*OpenTracingAppLayer) Channels added in v6.2.0

func (a *OpenTracingAppLayer) Channels() *app.Channels

func (*OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails

func (a *OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails(c *request.Context) *model.AppError

func (*OpenTracingAppLayer) CheckCanInviteToSharedChannel

func (a *OpenTracingAppLayer) CheckCanInviteToSharedChannel(channelId string) error

func (*OpenTracingAppLayer) CheckCloudAccountAtLimit

func (a *OpenTracingAppLayer) CheckCloudAccountAtLimit() (bool, *model.AppError)

func (*OpenTracingAppLayer) CheckForClientSideCert

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

func (*OpenTracingAppLayer) CheckIntegrity

func (a *OpenTracingAppLayer) CheckIntegrity() <-chan model.IntegrityCheckResult

func (*OpenTracingAppLayer) CheckMandatoryS3Fields

func (a *OpenTracingAppLayer) CheckMandatoryS3Fields(settings *model.FileSettings) *model.AppError

func (*OpenTracingAppLayer) CheckPasswordAndAllCriteria

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

func (*OpenTracingAppLayer) CheckProviderAttributes

func (a *OpenTracingAppLayer) CheckProviderAttributes(user *model.User, patch *model.UserPatch) string

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) CheckWebConn

func (a *OpenTracingAppLayer) CheckWebConn(userID string, connectionID string) *app.CheckConnResult

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

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(c *request.Context, service string, body io.ReadCloser, teamID string, props map[string]string, tokenUser *model.User) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CompleteSwitchWithOAuth

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

func (*OpenTracingAppLayer) Compliance

func (*OpenTracingAppLayer) Config

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

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(c *request.Context, bot *model.Bot) (*model.Bot, *model.AppError)

func (*OpenTracingAppLayer) CreateChannel

func (a *OpenTracingAppLayer) CreateChannel(c *request.Context, 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(c *request.Context, 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(c *request.Context, 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) CreateDefaultMemberships

func (a *OpenTracingAppLayer) CreateDefaultMemberships(c *request.Context, since int64, includeRemovedMembers bool) 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(c *request.Context, 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(c *request.Context, service string, userData io.Reader, teamID string, tokenUser *model.User) (*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(c *request.Context, post *model.Post, channel *model.Channel, triggerWebhooks bool, setOnline bool) (savedPost *model.Post, err *model.AppError)

func (*OpenTracingAppLayer) CreatePostAsUser

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

func (*OpenTracingAppLayer) CreatePostMissingChannel

func (a *OpenTracingAppLayer) CreatePostMissingChannel(c *request.Context, 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(c *request.Context, team *model.Team) (*model.Team, *model.AppError)

func (*OpenTracingAppLayer) CreateTeamWithUser

func (a *OpenTracingAppLayer) CreateTeamWithUser(c *request.Context, 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

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

func (*OpenTracingAppLayer) CreateUser

func (a *OpenTracingAppLayer) CreateUser(c *request.Context, 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(c *request.Context, user *model.User, redirect string) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) CreateUserFromSignup

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

func (*OpenTracingAppLayer) CreateUserWithInviteId

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

func (*OpenTracingAppLayer) CreateUserWithToken

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

func (*OpenTracingAppLayer) CreateWebhookPost

func (a *OpenTracingAppLayer) CreateWebhookPost(c *request.Context, 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) CreateZipFileAndAddFiles

func (a *OpenTracingAppLayer) CreateZipFileAndAddFiles(fileBackend filestore.FileBackend, fileDatas []model.FileData, zipFileName string, directory string) error

func (*OpenTracingAppLayer) DBHealthCheckDelete

func (a *OpenTracingAppLayer) DBHealthCheckDelete() error

func (*OpenTracingAppLayer) DBHealthCheckWrite

func (a *OpenTracingAppLayer) DBHealthCheckWrite() error

func (*OpenTracingAppLayer) DataRetention

func (*OpenTracingAppLayer) DeactivateGuests

func (a *OpenTracingAppLayer) DeactivateGuests(c *request.Context) *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) DeleteBrandImage

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

func (*OpenTracingAppLayer) DeleteChannel

func (a *OpenTracingAppLayer) DeleteChannel(c *request.Context, 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) DeleteExport

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

func (*OpenTracingAppLayer) DeleteGroup

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

func (*OpenTracingAppLayer) DeleteGroupConstrainedMemberships

func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships(c *request.Context) 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) 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(c *request.Context, reaction *model.Reaction) *model.AppError

func (*OpenTracingAppLayer) DeleteRemoteCluster

func (a *OpenTracingAppLayer) DeleteRemoteCluster(remoteClusterId string) (bool, *model.AppError)

func (*OpenTracingAppLayer) DeleteRetentionPolicy

func (a *OpenTracingAppLayer) DeleteRetentionPolicy(policyID string) *model.AppError

func (*OpenTracingAppLayer) DeleteScheme

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

func (*OpenTracingAppLayer) DeleteSharedChannel

func (a *OpenTracingAppLayer) DeleteSharedChannel(channelID string) (bool, error)

func (*OpenTracingAppLayer) DeleteSharedChannelRemote

func (a *OpenTracingAppLayer) DeleteSharedChannelRemote(id string) (bool, error)

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(c *request.Context, 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

func (*OpenTracingAppLayer) DoEmojisPermissionsMigration

func (a *OpenTracingAppLayer) DoEmojisPermissionsMigration()

func (*OpenTracingAppLayer) DoGuestRolesCreationMigration

func (a *OpenTracingAppLayer) DoGuestRolesCreationMigration()

func (*OpenTracingAppLayer) DoLocalRequest

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

func (*OpenTracingAppLayer) DoLogin

func (a *OpenTracingAppLayer) DoLogin(c *request.Context, 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(c *request.Context, postID string, actionId string, userID string, selectedOption string) (string, *model.AppError)

func (*OpenTracingAppLayer) DoPostActionWithCookie

func (a *OpenTracingAppLayer) DoPostActionWithCookie(c *request.Context, postID string, actionId string, userID string, selectedOption string, cookie *model.PostActionCookie) (string, *model.AppError)

func (*OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration

func (a *OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration()

func (*OpenTracingAppLayer) DoUploadFile

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

func (*OpenTracingAppLayer) DoUploadFileExpectModification

func (a *OpenTracingAppLayer) DoUploadFileExpectModification(c *request.Context, 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(filter func(reflect.StructField) bool) 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) ExtractContentFromFileInfo

func (a *OpenTracingAppLayer) ExtractContentFromFileInfo(fileInfo *model.FileInfo) error

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) FileModTime

func (a *OpenTracingAppLayer) FileModTime(path string) (time.Time, *model.AppError)

func (*OpenTracingAppLayer) FileReader

func (*OpenTracingAppLayer) FileSize

func (a *OpenTracingAppLayer) FileSize(path string) (int64, *model.AppError)

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) GenerateSupportPacket

func (a *OpenTracingAppLayer) GenerateSupportPacket() []model.FileData

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) GetAllPublicTeams

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

func (*OpenTracingAppLayer) GetAllRemoteClusters

func (a *OpenTracingAppLayer) GetAllRemoteClusters(filter model.RemoteClusterQueryFilter) ([]*model.RemoteCluster, *model.AppError)

func (*OpenTracingAppLayer) GetAllRoles added in v6.2.0

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, opts *model.TeamSearch) ([]*model.Team, *model.AppError)

func (*OpenTracingAppLayer) GetAllTeamsPageWithCount

func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int, opts *model.TeamSearch) (*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) 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(ctx context.Context, 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(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) GetChannelMembersWithTeamDataForUserWithPagination added in v6.2.0

func (a *OpenTracingAppLayer) GetChannelMembersWithTeamDataForUserWithPagination(userID string, page int, perPage int) (model.ChannelMembersWithTeamData, *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) GetChannelPoliciesForUser

func (a *OpenTracingAppLayer) GetChannelPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForChannelList, *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) GetChannelsForRetentionPolicy

func (a *OpenTracingAppLayer) GetChannelsForRetentionPolicy(policyID string, offset int, limit int) (*model.ChannelsWithCount, *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) GetChannelsForTeamForUser added in v6.2.0

func (a *OpenTracingAppLayer) GetChannelsForTeamForUser(teamID string, userID string, includeDeleted bool, lastDeleteAt int) (model.ChannelList, *model.AppError)

func (*OpenTracingAppLayer) GetChannelsForUser

func (a *OpenTracingAppLayer) GetChannelsForUser(userID string, includeDeleted bool, lastDeleteAt int, pageSize int, fromChannelID string) (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) GetCloudSession

func (a *OpenTracingAppLayer) GetCloudSession(token string) (*model.Session, *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) GetCommonTeamIDsForTwoUsers

func (a *OpenTracingAppLayer) GetCommonTeamIDsForTwoUsers(userID string, otherUserID string) ([]string, *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) GetCustomStatus added in v6.2.0

func (a *OpenTracingAppLayer) GetCustomStatus(userID string) (*model.CustomStatus, *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(filter func(reflect.StructField) bool) map[string]interface{}

func (*OpenTracingAppLayer) GetErrorListForEmailsOverLimit

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) GetGlobalRetentionPolicy

func (a *OpenTracingAppLayer) GetGlobalRetentionPolicy() (*model.GlobalRetentionPolicy, *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) GetJobsByTypes

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

func (*OpenTracingAppLayer) GetJobsByTypesPage

func (a *OpenTracingAppLayer) GetJobsByTypesPage(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

func (a *OpenTracingAppLayer) GetMemberCountsByGroup(ctx context.Context, 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, collapsedThreads bool) 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) ([]byte, error)

func (*OpenTracingAppLayer) GetOrCreateDirectChannel

func (a *OpenTracingAppLayer) GetOrCreateDirectChannel(c *request.Context, userID string, otherUserID string, channelOptions ...model.ChannelOption) (*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(c *request.Context, 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) 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, collapsedThreads bool) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) GetPostIdAfterTime

func (a *OpenTracingAppLayer) GetPostIdAfterTime(channelID string, time int64, collapsedThreads bool) (string, *model.AppError)

func (*OpenTracingAppLayer) GetPostIdBeforeTime

func (a *OpenTracingAppLayer) GetPostIdBeforeTime(channelID string, time int64, collapsedThreads bool) (string, *model.AppError)

func (*OpenTracingAppLayer) GetPostIfAuthorized

func (a *OpenTracingAppLayer) GetPostIfAuthorized(postID string, session *model.Session) (*model.Post, *model.AppError)

func (*OpenTracingAppLayer) GetPostThread

func (a *OpenTracingAppLayer) GetPostThread(postID string, skipFetchThreads bool, collapsedThreads bool, collapsedThreadsExtended bool, userID string) (*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) GetPostsByIds added in v6.2.0

func (a *OpenTracingAppLayer) GetPostsByIds(postIDs []string) ([]*model.Post, *model.AppError)

func (*OpenTracingAppLayer) GetPostsEtag

func (a *OpenTracingAppLayer) GetPostsEtag(channelID string, collapsedThreads bool) string

func (*OpenTracingAppLayer) GetPostsForChannelAroundLastUnread

func (a *OpenTracingAppLayer) GetPostsForChannelAroundLastUnread(channelID string, userID string, limitBefore int, limitAfter int, skipFetchThreads bool, collapsedThreads bool, collapsedThreadsExtended 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, collapsedThreads bool) string

func (*OpenTracingAppLayer) GetPrivateChannelsForTeam

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

func (*OpenTracingAppLayer) GetProductNotices

func (a *OpenTracingAppLayer) GetProductNotices(c *request.Context, 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) GetRemoteCluster

func (a *OpenTracingAppLayer) GetRemoteCluster(remoteClusterId string) (*model.RemoteCluster, *model.AppError)

func (*OpenTracingAppLayer) GetRemoteClusterForUser

func (a *OpenTracingAppLayer) GetRemoteClusterForUser(remoteID string, userID string) (*model.RemoteCluster, *model.AppError)

func (*OpenTracingAppLayer) GetRemoteClusterService

func (*OpenTracingAppLayer) GetRemoteClusterSession

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

func (*OpenTracingAppLayer) GetRetentionPolicies

func (a *OpenTracingAppLayer) GetRetentionPolicies(offset int, limit int) (*model.RetentionPolicyWithTeamAndChannelCountsList, *model.AppError)

func (*OpenTracingAppLayer) GetRetentionPoliciesCount

func (a *OpenTracingAppLayer) GetRetentionPoliciesCount() (int64, *model.AppError)

func (*OpenTracingAppLayer) GetRetentionPolicy

func (*OpenTracingAppLayer) GetRole

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

func (*OpenTracingAppLayer) GetRoleByName

func (a *OpenTracingAppLayer) GetRoleByName(ctx context.Context, 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) GetSharedChannel

func (a *OpenTracingAppLayer) GetSharedChannel(channelID string) (*model.SharedChannel, error)

func (*OpenTracingAppLayer) GetSharedChannelRemote

func (a *OpenTracingAppLayer) GetSharedChannelRemote(id string) (*model.SharedChannelRemote, error)

func (*OpenTracingAppLayer) GetSharedChannelRemoteByIds

func (a *OpenTracingAppLayer) GetSharedChannelRemoteByIds(channelID string, remoteID string) (*model.SharedChannelRemote, error)

func (*OpenTracingAppLayer) GetSharedChannelRemotes

func (*OpenTracingAppLayer) GetSharedChannelRemotesStatus

func (a *OpenTracingAppLayer) GetSharedChannelRemotesStatus(channelID string) ([]*model.SharedChannelRemoteStatus, error)

func (*OpenTracingAppLayer) GetSharedChannels

func (a *OpenTracingAppLayer) GetSharedChannels(page int, perPage int, opts model.SharedChannelFilterOpts) ([]*model.SharedChannel, *model.AppError)

func (*OpenTracingAppLayer) GetSharedChannelsCount

func (a *OpenTracingAppLayer) GetSharedChannelsCount(opts model.SharedChannelFilterOpts) (int64, error)

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) GetSubscriptionStats

func (a *OpenTracingAppLayer) GetSubscriptionStats() (*model.SubscriptionStats, *model.AppError)

func (*OpenTracingAppLayer) GetSuggestions

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

func (*OpenTracingAppLayer) GetSystemBot

func (a *OpenTracingAppLayer) GetSystemBot() (*model.Bot, *model.AppError)

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) GetTeamPoliciesForUser

func (a *OpenTracingAppLayer) GetTeamPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForTeamList, *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) GetTeamsForRetentionPolicy

func (a *OpenTracingAppLayer) GetTeamsForRetentionPolicy(policyID string, offset int, limit int) (*model.TeamsWithCount, *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, includeCollapsedThreads bool) ([]*model.TeamUnread, *model.AppError)

func (*OpenTracingAppLayer) GetTermsOfService

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

func (*OpenTracingAppLayer) GetThreadForUser

func (a *OpenTracingAppLayer) GetThreadForUser(teamID string, threadMembership *model.ThreadMembership, extended bool) (*model.ThreadResponse, *model.AppError)

func (*OpenTracingAppLayer) GetThreadMembershipForUser

func (a *OpenTracingAppLayer) GetThreadMembershipForUser(userId string, threadId string) (*model.ThreadMembership, *model.AppError)

func (*OpenTracingAppLayer) GetThreadMembershipsForUser

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

func (*OpenTracingAppLayer) GetThreadsForUser

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

func (*OpenTracingAppLayer) GetTokenById added in v6.1.0

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

func (*OpenTracingAppLayer) GetTotalUsersStats

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

func (*OpenTracingAppLayer) GetUploadSession

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

func (*OpenTracingAppLayer) GetUploadSessionsForUser

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(c *request.Context, 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) GetWarnMetricsBot

func (a *OpenTracingAppLayer) GetWarnMetricsBot() (*model.Bot, *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(c *request.Context, command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.CommandResponse, *model.AppError)

func (*OpenTracingAppLayer) HandleCommandResponsePost

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

func (*OpenTracingAppLayer) HandleCommandWebhook

func (a *OpenTracingAppLayer) HandleCommandWebhook(c *request.Context, 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(c *request.Context, 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) HasPermissionToReadChannel

func (a *OpenTracingAppLayer) HasPermissionToReadChannel(userID string, channel *model.Channel) 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) HasRemote

func (a *OpenTracingAppLayer) HasRemote(channelID string, remoteID string) (bool, error)

func (*OpenTracingAppLayer) HasSharedChannel

func (a *OpenTracingAppLayer) HasSharedChannel(channelID string) (bool, error)

func (*OpenTracingAppLayer) HubRegister

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

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(c *request.Context, pluginDir string, webappPluginDir string)

func (*OpenTracingAppLayer) InstallPlugin

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

func (*OpenTracingAppLayer) InvalidateAllEmailInvites

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

func (*OpenTracingAppLayer) InvalidateCacheForUser

func (a *OpenTracingAppLayer) InvalidateCacheForUser(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, reminderInterval string) ([]*model.EmailInviteWithError, *model.AppError)

func (*OpenTracingAppLayer) IsCRTEnabledForUser added in v6.2.0

func (a *OpenTracingAppLayer) IsCRTEnabledForUser(userID string) bool

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) JoinChannel

func (a *OpenTracingAppLayer) JoinChannel(c *request.Context, channel *model.Channel, userID string) *model.AppError

func (*OpenTracingAppLayer) JoinDefaultChannels

func (a *OpenTracingAppLayer) JoinDefaultChannels(c *request.Context, teamID string, user *model.User, shouldBeAdmin bool, userRequestorId string) *model.AppError

func (*OpenTracingAppLayer) JoinUserToTeam

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

func (*OpenTracingAppLayer) Ldap

func (*OpenTracingAppLayer) LeaveChannel

func (a *OpenTracingAppLayer) LeaveChannel(c *request.Context, channelID string, userID string) *model.AppError

func (*OpenTracingAppLayer) LeaveTeam

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

func (*OpenTracingAppLayer) License added in v6.2.0

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

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 i18n.TranslateFunc) ([]*model.Command, *model.AppError)

func (*OpenTracingAppLayer) ListAutocompleteCommands

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

func (*OpenTracingAppLayer) ListDirectory

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

func (*OpenTracingAppLayer) ListExports

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

func (*OpenTracingAppLayer) ListImports

func (a *OpenTracingAppLayer) ListImports() ([]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.Level, err error)

func (*OpenTracingAppLayer) LoginByOAuth

func (a *OpenTracingAppLayer) LoginByOAuth(c *request.Context, service string, userData io.Reader, teamID string, tokenUser *model.User) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) MakeAuditRecord

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

func (*OpenTracingAppLayer) MakePermissionError

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

func (*OpenTracingAppLayer) MarkChannelAsUnreadFromPost

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

func (*OpenTracingAppLayer) MarkChannelsAsViewed

func (a *OpenTracingAppLayer) MarkChannelsAsViewed(channelIDs []string, userID string, currentSessionId string, collapsedThreadsSupported bool) (map[string]int64, *model.AppError)

func (*OpenTracingAppLayer) MaxPostSize

func (a *OpenTracingAppLayer) MaxPostSize() int

func (*OpenTracingAppLayer) MentionsToPublicChannels

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

func (*OpenTracingAppLayer) MentionsToTeamMembers

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(c *request.Context, 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(c *request.Context, manifest *model.Manifest) plugin.API

func (*OpenTracingAppLayer) NewWebConn

func (a *OpenTracingAppLayer) NewWebConn(cfg *app.WebConnConfig) *app.WebConn

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) NotifySharedChannelUserUpdate

func (a *OpenTracingAppLayer) NotifySharedChannelUserUpdate(user *model.User)

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(c *request.Context, 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(c *request.Context, 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) PermanentDeleteAllUsers

func (a *OpenTracingAppLayer) PermanentDeleteAllUsers(c *request.Context) *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(c *request.Context, user *model.User) *model.AppError

func (*OpenTracingAppLayer) PluginCommandsForTeam

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

func (*OpenTracingAppLayer) PopulateWebConnConfig

func (a *OpenTracingAppLayer) PopulateWebConnConfig(s *model.Session, cfg *app.WebConnConfig, seqVal string) (*app.WebConnConfig, error)

func (*OpenTracingAppLayer) PostActionCookieSecret

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

func (*OpenTracingAppLayer) PostAddToChannelMessage

func (a *OpenTracingAppLayer) PostAddToChannelMessage(c *request.Context, 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(c *request.Context, userID string, channel *model.Channel, oldChannelDisplayName string, newChannelDisplayName string) *model.AppError

func (*OpenTracingAppLayer) PostUpdateChannelHeaderMessage

func (a *OpenTracingAppLayer) PostUpdateChannelHeaderMessage(c *request.Context, userID string, channel *model.Channel, oldChannelHeader string, newChannelHeader string) *model.AppError

func (*OpenTracingAppLayer) PostUpdateChannelPurposeMessage

func (a *OpenTracingAppLayer) PostUpdateChannelPurposeMessage(c *request.Context, 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) PreparePostForClientWithEmbedsAndImages

func (a *OpenTracingAppLayer) PreparePostForClientWithEmbedsAndImages(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(c *request.Context, user *model.User, requestorId string) *model.AppError

func (*OpenTracingAppLayer) Publish

func (a *OpenTracingAppLayer) Publish(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) RemoveChannelsFromRetentionPolicy

func (a *OpenTracingAppLayer) RemoveChannelsFromRetentionPolicy(policyID string, channelIDs []string) *model.AppError

func (*OpenTracingAppLayer) RemoveConfigListener

func (a *OpenTracingAppLayer) RemoveConfigListener(id string)

func (*OpenTracingAppLayer) RemoveCustomStatus

func (a *OpenTracingAppLayer) RemoveCustomStatus(userID string) *model.AppError

func (*OpenTracingAppLayer) RemoveDirectory

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

func (*OpenTracingAppLayer) RemoveFile

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

func (*OpenTracingAppLayer) RemoveLdapPrivateCertificate

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

func (*OpenTracingAppLayer) RemoveLdapPublicCertificate

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

func (*OpenTracingAppLayer) RemoveRecentCustomStatus

func (a *OpenTracingAppLayer) RemoveRecentCustomStatus(userID string, status *model.CustomStatus) *model.AppError

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) RemoveTeamsFromRetentionPolicy

func (a *OpenTracingAppLayer) RemoveTeamsFromRetentionPolicy(policyID string, teamIDs []string) *model.AppError

func (*OpenTracingAppLayer) RemoveUserFromChannel

func (a *OpenTracingAppLayer) RemoveUserFromChannel(c *request.Context, userIDToRemove string, removerUserId string, channel *model.Channel) *model.AppError

func (*OpenTracingAppLayer) RemoveUserFromTeam

func (a *OpenTracingAppLayer) RemoveUserFromTeam(c *request.Context, teamID string, userID string, requestorId string) *model.AppError

func (*OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam

func (a *OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam(c *request.Context, 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) RequestLicenseAndAckWarnMetric

func (a *OpenTracingAppLayer) RequestLicenseAndAckWarnMetric(c *request.Context, 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) ResetSamlAuthDataToEmail

func (a *OpenTracingAppLayer) ResetSamlAuthDataToEmail(includeDeleted bool, dryRun bool, userIDs []string) (numAffected int, appErr *model.AppError)

func (*OpenTracingAppLayer) RestoreChannel

func (a *OpenTracingAppLayer) RestoreChannel(c *request.Context, 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) ReturnSessionToPool

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

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) SanitizePostListMetadataForUser

func (a *OpenTracingAppLayer) SanitizePostListMetadataForUser(postList *model.PostList, userID string) (*model.PostList, *model.AppError)

func (*OpenTracingAppLayer) SanitizePostMetadataForUser

func (a *OpenTracingAppLayer) SanitizePostMetadataForUser(post *model.Post, userID string) (*model.Post, *model.AppError)

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.Config, *model.Config, *model.AppError)

func (*OpenTracingAppLayer) SaveReactionForPost

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

func (*OpenTracingAppLayer) SaveSharedChannel

func (a *OpenTracingAppLayer) SaveSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)

func (*OpenTracingAppLayer) SaveSharedChannelRemote

func (a *OpenTracingAppLayer) SaveSharedChannelRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)

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) SearchFilesInTeamForUser

func (a *OpenTracingAppLayer) SearchFilesInTeamForUser(c *request.Context, terms string, userId string, teamId string, isOrSearch bool, includeDeletedChannels bool, timeZoneOffset int, page int, perPage int) (*model.FileInfoList, *model.AppError)

func (*OpenTracingAppLayer) SearchGroupChannels

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

func (*OpenTracingAppLayer) SearchPostsForUser added in v6.1.0

func (a *OpenTracingAppLayer) SearchPostsForUser(c *request.Context, terms string, userID string, teamID string, isOrSearch bool, includeDeletedChannels bool, timeZoneOffset int, page int, perPage int) (*model.PostSearchResults, *model.AppError)

func (*OpenTracingAppLayer) SearchPostsInTeam

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

func (*OpenTracingAppLayer) SearchPrivateTeams

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

func (*OpenTracingAppLayer) SearchPublicTeams

func (a *OpenTracingAppLayer) SearchPublicTeams(searchOpts *model.TeamSearch) ([]*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) SendAdminUpgradeRequestEmail

func (a *OpenTracingAppLayer) SendAdminUpgradeRequestEmail(username string, subscription *model.Subscription, action string) *model.AppError

func (*OpenTracingAppLayer) SendAutoResponse

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

func (*OpenTracingAppLayer) SendAutoResponseIfNecessary

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

func (*OpenTracingAppLayer) SendCloudTrialEndWarningEmail

func (a *OpenTracingAppLayer) SendCloudTrialEndWarningEmail(trialEndDate string, siteURL string) *model.AppError

func (*OpenTracingAppLayer) SendCloudTrialEndedEmail

func (a *OpenTracingAppLayer) SendCloudTrialEndedEmail() *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) SendNoCardPaymentFailedEmail

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

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) SendPaymentFailedEmail

func (a *OpenTracingAppLayer) SendPaymentFailedEmail(failedPayment *model.FailedPayment) *model.AppError

func (*OpenTracingAppLayer) ServeInterPluginRequest

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

func (*OpenTracingAppLayer) SessionHasPermissionTo

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

func (*OpenTracingAppLayer) SessionHasPermissionToAny

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) SessionHasPermissionToCreateJob

func (a *OpenTracingAppLayer) SessionHasPermissionToCreateJob(session model.Session, job *model.Job) (bool, *model.Permission)

func (*OpenTracingAppLayer) SessionHasPermissionToManageBot

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

func (*OpenTracingAppLayer) SessionHasPermissionToReadJob

func (a *OpenTracingAppLayer) SessionHasPermissionToReadJob(session model.Session, jobType string) (bool, *model.Permission)

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) 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) SetChannels added in v6.1.0

func (a *OpenTracingAppLayer) SetChannels(ch *app.Channels)

func (*OpenTracingAppLayer) SetCustomStatus

func (a *OpenTracingAppLayer) SetCustomStatus(userID string, cs *model.CustomStatus) *model.AppError

func (*OpenTracingAppLayer) SetDefaultProfileImage

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

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) 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) SetRemoteClusterLastPingAt

func (a *OpenTracingAppLayer) SetRemoteClusterLastPingAt(remoteClusterId string) *model.AppError

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) SetSessionExpireInDays

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) SetStatusDoNotDisturbTimed

func (a *OpenTracingAppLayer) SetStatusDoNotDisturbTimed(userId string, endtime int64)

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) 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) SlackImport

func (a *OpenTracingAppLayer) SlackImport(c *request.Context, 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 (*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(includeRemovedMembers bool)

func (*OpenTracingAppLayer) SyncPlugins

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

func (*OpenTracingAppLayer) SyncRolesAndMembership

func (a *OpenTracingAppLayer) SyncRolesAndMembership(c *request.Context, syncableID string, syncableType model.GroupSyncableType, includeRemovedMembers bool)

func (*OpenTracingAppLayer) SyncSyncableRoles

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

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, includeRemovedMembers bool) ([]*model.UserTeamIDPair, *model.AppError)

func (*OpenTracingAppLayer) TeamMembersToRemove

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

func (*OpenTracingAppLayer) TelemetryId

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) TestFileStoreConnection

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

func (*OpenTracingAppLayer) TestFileStoreConnectionWithConfig

func (a *OpenTracingAppLayer) TestFileStoreConnectionWithConfig(cfg *model.FileSettings) *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(c *request.Context, 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) UpdateActive

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

func (*OpenTracingAppLayer) UpdateBotActive

func (a *OpenTracingAppLayer) UpdateBotActive(c *request.Context, 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(c *request.Context, 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) UpdateDNDStatusOfUsers

func (a *OpenTracingAppLayer) UpdateDNDStatusOfUsers()

func (*OpenTracingAppLayer) UpdateEphemeralPost

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

func (*OpenTracingAppLayer) UpdateExpiredDNDStatuses

func (a *OpenTracingAppLayer) UpdateExpiredDNDStatuses() ([]*model.Status, error)

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

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

func (*OpenTracingAppLayer) UpdateHashedPasswordByUserId

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) UpdateOAuthApp

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

func (*OpenTracingAppLayer) UpdateOAuthUserAttrs

func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OAuthProvider, service string, tokenUser *model.User) *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(c *request.Context, 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

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

func (*OpenTracingAppLayer) UpdateRemoteCluster

func (a *OpenTracingAppLayer) UpdateRemoteCluster(rc *model.RemoteCluster) (*model.RemoteCluster, *model.AppError)

func (*OpenTracingAppLayer) UpdateRemoteClusterTopics

func (a *OpenTracingAppLayer) UpdateRemoteClusterTopics(remoteClusterId string, topics string) (*model.RemoteCluster, *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) UpdateSharedChannel

func (a *OpenTracingAppLayer) UpdateSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)

func (*OpenTracingAppLayer) UpdateSharedChannelRemoteCursor

func (a *OpenTracingAppLayer) UpdateSharedChannelRemoteCursor(id string, cursor model.GetPostsSinceForSyncCursor) error

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

func (a *OpenTracingAppLayer) UpdateThreadFollowForUser(userID string, teamID string, threadID string, state bool) *model.AppError

func (*OpenTracingAppLayer) UpdateThreadReadForUser

func (a *OpenTracingAppLayer) UpdateThreadReadForUser(currentSessionId string, userID string, teamID string, threadID string, timestamp int64) (*model.ThreadResponse, *model.AppError)

func (*OpenTracingAppLayer) UpdateThreadsReadForUser

func (a *OpenTracingAppLayer) UpdateThreadsReadForUser(userID string, teamID string) *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(c *request.Context, 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) UpdateUserRoles

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

func (*OpenTracingAppLayer) UpdateUserRolesWithUser

func (a *OpenTracingAppLayer) UpdateUserRolesWithUser(user *model.User, newRoles string, sendWebSocketEvent bool) (*model.User, *model.AppError)

func (*OpenTracingAppLayer) UpdateViewedProductNotices

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

func (*OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser

func (a *OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser(userID string)

func (*OpenTracingAppLayer) UpdateWebConnUserActivity

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

func (*OpenTracingAppLayer) UploadData

func (*OpenTracingAppLayer) UploadEmojiImage

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

func (*OpenTracingAppLayer) UploadFile

func (a *OpenTracingAppLayer) UploadFile(c *request.Context, data []byte, channelID string, filename string) (*model.FileInfo, *model.AppError)

func (*OpenTracingAppLayer) UploadFileX

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

func (*OpenTracingAppLayer) UploadFiles

func (a *OpenTracingAppLayer) UploadFiles(c *request.Context, 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(c *request.Context, 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) 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, collapsedThreadsSupported bool) (map[string]int64, *model.AppError)

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