Documentation ¶
Index ¶
- type OpenTracingAppLayer
- func (a *OpenTracingAppLayer) AcceptLanguage() string
- func (a *OpenTracingAppLayer) AccountMigration() einterfaces.AccountMigrationInterface
- func (a *OpenTracingAppLayer) ActivateMfa(userID string, token string) *model.AppError
- func (a *OpenTracingAppLayer) AddChannelMember(userID string, channel *model.Channel, userRequestorId string, ...) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddConfigListener(listener func(*model.Config, *model.Config)) string
- func (a *OpenTracingAppLayer) AddCursorIdsForPostList(originalList *model.PostList, afterPost string, beforePost string, since int64, ...)
- func (a *OpenTracingAppLayer) AddDirectChannels(teamID string, user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) AddLdapPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) AddLdapPublicCertificate(fileData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) AddPublicKey(name string, key io.Reader) *model.AppError
- func (a *OpenTracingAppLayer) AddSamlIdpCertificate(fileData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) AddSamlPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) AddSamlPublicCertificate(fileData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) AddSessionToCache(session *model.Session)
- func (a *OpenTracingAppLayer) AddStatusCache(status *model.Status)
- func (a *OpenTracingAppLayer) AddStatusCacheSkipClusterSend(status *model.Status)
- func (a *OpenTracingAppLayer) AddTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(inviteId string, userID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMemberByToken(userID string, tokenID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMembers(teamID string, userIDs []string, userRequestorId string, graceful bool) ([]*model.TeamMemberWithError, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToChannel(user *model.User, channel *model.Channel) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeam(teamID string, userID string, userRequestorId string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeamByInviteId(inviteId string, userID string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeamByTeamId(teamID string, user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) AddUserToTeamByToken(userID string, tokenID string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) AdjustImage(file io.Reader) (*bytes.Buffer, *model.AppError)
- func (a *OpenTracingAppLayer) AllowOAuthAppAccessToUser(userID string, authRequest *model.AuthorizeRequest) (string, *model.AppError)
- func (a *OpenTracingAppLayer) AppendFile(fr io.Reader, path string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) AsymmetricSigningKey() *ecdsa.PrivateKey
- func (a *OpenTracingAppLayer) AttachDeviceId(sessionId string, deviceId string, expiresAt int64) *model.AppError
- func (a *OpenTracingAppLayer) AttachSessionCookies(w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) AuthenticateUserForLogin(id string, loginId string, password string, mfaToken string, cwsToken string, ...) (user *model.User, err *model.AppError)
- func (a *OpenTracingAppLayer) AuthorizeOAuthUser(w http.ResponseWriter, r *http.Request, service string, code string, ...) (io.ReadCloser, string, map[string]string, *model.User, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteChannels(teamID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamID string, userID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteUsersInChannel(teamID string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteUsersInTeam(teamID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInTeam, *model.AppError)
- func (a *OpenTracingAppLayer) BroadcastStatus(status *model.Status)
- func (a *OpenTracingAppLayer) BuildPostReactions(postId string) (*[]app.ReactionImportData, *model.AppError)
- func (a *OpenTracingAppLayer) BuildPushNotificationMessage(contentsConfig string, post *model.Post, user *model.User, ...) (*model.PushNotification, *model.AppError)
- func (a *OpenTracingAppLayer) BuildSamlMetadataObject(idpMetadata []byte) (*model.SamlMetadataResponse, *model.AppError)
- func (a *OpenTracingAppLayer) BulkExport(writer io.Writer, outPath string, opts app.BulkExportOpts) *model.AppError
- func (a *OpenTracingAppLayer) BulkImport(fileReader io.Reader, dryRun bool, workers int) (*model.AppError, int)
- func (a *OpenTracingAppLayer) BulkImportWithPath(fileReader io.Reader, dryRun bool, workers int, importPath string) (*model.AppError, int)
- func (a *OpenTracingAppLayer) CancelJob(jobId string) *model.AppError
- func (a *OpenTracingAppLayer) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
- func (a *OpenTracingAppLayer) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
- func (a *OpenTracingAppLayer) ChannelMembersToRemove(teamID *string) ([]*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails() *model.AppError
- func (a *OpenTracingAppLayer) CheckForClientSideCert(r *http.Request) (string, string, string)
- func (a *OpenTracingAppLayer) CheckMandatoryS3Fields(settings *model.FileSettings) *model.AppError
- func (a *OpenTracingAppLayer) CheckPasswordAndAllCriteria(user *model.User, password string, mfaToken string) *model.AppError
- func (a *OpenTracingAppLayer) CheckRolesExist(roleNames []string) *model.AppError
- func (a *OpenTracingAppLayer) CheckUserAllAuthenticationCriteria(user *model.User, mfaToken string) *model.AppError
- func (a *OpenTracingAppLayer) CheckUserMfa(user *model.User, token string) *model.AppError
- func (a *OpenTracingAppLayer) CheckUserPostflightAuthenticationCriteria(user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) CheckUserPreflightAuthenticationCriteria(user *model.User, mfaToken string) *model.AppError
- func (a *OpenTracingAppLayer) CheckValidDomains(team *model.Team) *model.AppError
- func (a *OpenTracingAppLayer) ClearChannelMembersCache(channelID string)
- func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsers()
- func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend()
- func (a *OpenTracingAppLayer) ClearSessionCacheForUser(userID string)
- func (a *OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend(userID string)
- func (a *OpenTracingAppLayer) ClearTeamMembersCache(teamID string)
- func (a *OpenTracingAppLayer) ClientConfig() map[string]string
- func (a *OpenTracingAppLayer) ClientConfigHash() string
- func (a *OpenTracingAppLayer) ClientConfigWithComputed() map[string]string
- func (a *OpenTracingAppLayer) Cloud() einterfaces.CloudInterface
- func (a *OpenTracingAppLayer) Cluster() einterfaces.ClusterInterface
- func (a *OpenTracingAppLayer) CompareAndDeletePluginKey(pluginId string, key string, oldValue []byte) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) CompareAndSetPluginKey(pluginId string, key string, oldValue []byte, newValue []byte) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) CompleteOAuth(service string, body io.ReadCloser, teamID string, props map[string]string, ...) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CompleteSwitchWithOAuth(service string, userData io.Reader, email string, tokenUser *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) Compliance() einterfaces.ComplianceInterface
- func (a *OpenTracingAppLayer) Config() *model.Config
- func (a *OpenTracingAppLayer) Context() context.Context
- func (a *OpenTracingAppLayer) ConvertBotToUser(bot *model.Bot, userPatch *model.UserPatch, sysadmin bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) ConvertUserToBot(user *model.User) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) CopyFileInfos(userID string, fileIds []string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) CreateBot(bot *model.Bot) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannel(channel *model.Channel, addMember bool) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannelScheme(channel *model.Channel) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannelWithUser(channel *model.Channel, userID string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommand(cmd *model.Command) (*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommandPost(post *model.Post, teamID string, response *model.CommandResponse, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommandWebhook(commandID string, args *model.CommandArgs) (*model.CommandWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) CreateDefaultChannels(teamID string) ([]*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateDefaultMemberships(since int64) error
- func (a *OpenTracingAppLayer) CreateEmoji(sessionUserId string, emoji *model.Emoji, multiPartImageData *multipart.Form) (*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) CreateGroup(group *model.Group) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) CreateGroupChannel(userIDs []string, creatorId string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateGuest(user *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateIncomingWebhookForChannel(creatorId string, channel *model.Channel, hook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) CreateJob(job *model.Job) (*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) CreateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) CreateOAuthStateToken(extra string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) CreateOAuthUser(service string, userData io.Reader, teamID string, tokenUser *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateOutgoingWebhook(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) CreatePasswordRecoveryToken(userID string, email string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) CreatePost(post *model.Post, channel *model.Channel, triggerWebhooks bool, setOnline bool) (savedPost *model.Post, err *model.AppError)
- func (a *OpenTracingAppLayer) CreatePostAsUser(post *model.Post, currentSessionId string, setOnline bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreatePostMissingChannel(post *model.Post, triggerWebhooks bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateRole(role *model.Role) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) CreateScheme(scheme *model.Scheme) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) CreateSession(session *model.Session) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) CreateSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (a *OpenTracingAppLayer) CreateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) CreateTeamWithUser(team *model.Team, userID string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) CreateTermsOfService(text string, userID string) (*model.TermsOfService, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUploadSession(us *model.UploadSession) (*model.UploadSession, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUser(user *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserAsAdmin(user *model.User, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserFromSignup(user *model.User, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserWithInviteId(user *model.User, inviteId string, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserWithToken(user *model.User, token *model.Token) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateWebhookPost(userID string, channel *model.Channel, text string, overrideUsername string, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateZipFileAndAddFiles(fileBackend filesstore.FileBackend, fileDatas []model.FileData, ...) error
- func (a *OpenTracingAppLayer) DBHealthCheckDelete() error
- func (a *OpenTracingAppLayer) DBHealthCheckWrite() error
- func (a *OpenTracingAppLayer) DataRetention() einterfaces.DataRetentionInterface
- func (a *OpenTracingAppLayer) DeactivateGuests() *model.AppError
- func (a *OpenTracingAppLayer) DeactivateMfa(userID string) *model.AppError
- func (a *OpenTracingAppLayer) DeauthorizeOAuthAppForUser(userID string, appId string) *model.AppError
- func (a *OpenTracingAppLayer) DefaultChannelNames() []string
- func (a *OpenTracingAppLayer) DeleteAllExpiredPluginKeys() *model.AppError
- func (a *OpenTracingAppLayer) DeleteAllKeysForPlugin(pluginId string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteBotIconImage(botUserId string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteBrandImage() *model.AppError
- func (a *OpenTracingAppLayer) DeleteChannel(channel *model.Channel, userID string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteChannelScheme(channel *model.Channel) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteCommand(commandID string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteEmoji(emoji *model.Emoji) *model.AppError
- func (a *OpenTracingAppLayer) DeleteEphemeralPost(userID string, postId string)
- func (a *OpenTracingAppLayer) DeleteExport(name string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteFlaggedPosts(postId string)
- func (a *OpenTracingAppLayer) DeleteGroup(groupID string) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships() error
- func (a *OpenTracingAppLayer) DeleteGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteIncomingWebhook(hookID string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteOAuthApp(appId string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteOutgoingWebhook(hookID string) *model.AppError
- func (a *OpenTracingAppLayer) DeletePluginKey(pluginId string, key string) *model.AppError
- func (a *OpenTracingAppLayer) DeletePost(postId string, deleteByID string) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) DeletePostFiles(post *model.Post)
- func (a *OpenTracingAppLayer) DeletePreferences(userID string, preferences model.Preferences) *model.AppError
- func (a *OpenTracingAppLayer) DeletePublicKey(name string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteReactionForPost(reaction *model.Reaction) *model.AppError
- func (a *OpenTracingAppLayer) DeleteScheme(schemeId string) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteSidebarCategory(userID string, teamID string, categoryId string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteToken(token *model.Token) *model.AppError
- func (a *OpenTracingAppLayer) DemoteUserToGuest(user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) DisableAutoResponder(userID string, asAdmin bool) *model.AppError
- func (a *OpenTracingAppLayer) DisablePlugin(id string) *model.AppError
- func (a *OpenTracingAppLayer) DisableUserAccessToken(token *model.UserAccessToken) *model.AppError
- func (a *OpenTracingAppLayer) DoActionRequest(rawURL string, body []byte) (*http.Response, *model.AppError)
- func (a *OpenTracingAppLayer) DoAdvancedPermissionsMigration()
- func (a *OpenTracingAppLayer) DoAppMigrations()
- func (a *OpenTracingAppLayer) DoCommandRequest(cmd *model.Command, p url.Values) (*model.Command, *model.CommandResponse, *model.AppError)
- func (a *OpenTracingAppLayer) DoEmojisPermissionsMigration()
- func (a *OpenTracingAppLayer) DoGuestRolesCreationMigration()
- func (a *OpenTracingAppLayer) DoLocalRequest(rawURL string, body []byte) (*http.Response, *model.AppError)
- func (a *OpenTracingAppLayer) DoLogin(w http.ResponseWriter, r *http.Request, user *model.User, deviceId string, ...) *model.AppError
- func (a *OpenTracingAppLayer) DoPermissionsMigrations() error
- func (a *OpenTracingAppLayer) DoPostAction(postId string, actionId string, userID string, selectedOption string) (string, *model.AppError)
- func (a *OpenTracingAppLayer) DoPostActionWithCookie(postId string, actionId string, userID string, selectedOption string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration()
- func (a *OpenTracingAppLayer) DoUploadFile(now time.Time, rawTeamId string, rawChannelId string, rawUserId string, ...) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) DoUploadFileExpectModification(now time.Time, rawTeamId string, rawChannelId string, rawUserId string, ...) (*model.FileInfo, []byte, *model.AppError)
- func (a *OpenTracingAppLayer) DoubleCheckPassword(user *model.User, password string) *model.AppError
- func (a *OpenTracingAppLayer) DownloadFromURL(downloadURL string) ([]byte, error)
- func (a *OpenTracingAppLayer) EnablePlugin(id string) *model.AppError
- func (a *OpenTracingAppLayer) EnableUserAccessToken(token *model.UserAccessToken) *model.AppError
- func (a *OpenTracingAppLayer) EnvironmentConfig() map[string]interface{}
- func (a *OpenTracingAppLayer) ExecuteCommand(args *model.CommandArgs) (*model.CommandResponse, *model.AppError)
- func (a *OpenTracingAppLayer) ExportPermissions(w io.Writer) error
- func (a *OpenTracingAppLayer) ExtendSessionExpiryIfNeeded(session *model.Session) bool
- func (a *OpenTracingAppLayer) FetchSamlMetadataFromIdp(url string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) FileBackend() (filesstore.FileBackend, *model.AppError)
- func (a *OpenTracingAppLayer) FileExists(path string) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) FileModTime(path string) (time.Time, *model.AppError)
- func (a *OpenTracingAppLayer) FileReader(path string) (filesstore.ReadCloseSeeker, *model.AppError)
- func (a *OpenTracingAppLayer) FileSize(path string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) FillInChannelProps(channel *model.Channel) *model.AppError
- func (a *OpenTracingAppLayer) FillInChannelsProps(channelList *model.ChannelList) *model.AppError
- func (a *OpenTracingAppLayer) FillInPostProps(post *model.Post, channel *model.Channel) *model.AppError
- func (a *OpenTracingAppLayer) FilterNonGroupChannelMembers(userIDs []string, channel *model.Channel) ([]string, error)
- func (a *OpenTracingAppLayer) FilterNonGroupTeamMembers(userIDs []string, team *model.Team) ([]string, error)
- func (a *OpenTracingAppLayer) FilterUsersByVisible(viewer *model.User, otherUsers []*model.User) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) FindTeamByName(name string) bool
- func (a *OpenTracingAppLayer) GenerateMfaSecret(userID string) (*model.MfaSecret, *model.AppError)
- func (a *OpenTracingAppLayer) GeneratePublicLink(siteURL string, info *model.FileInfo) string
- func (a *OpenTracingAppLayer) GenerateSupportPacket() []model.FileData
- func (a *OpenTracingAppLayer) GetActivePluginManifests() ([]*model.Manifest, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllChannels(page int, perPage int, opts model.ChannelSearchOpts) (*model.ChannelListWithTeamData, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllChannelsCount(opts model.ChannelSearchOpts) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllLdapGroupsPage(page int, perPage int, opts model.LdapGroupSearchOpts) ([]*model.Group, int, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPrivateTeams() ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPrivateTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPrivateTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPublicTeams() ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPublicTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllPublicTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllRoles() ([]*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllStatuses() map[string]*model.Status
- func (a *OpenTracingAppLayer) GetAllTeams() ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllTeamsPage(offset int, limit int) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
- func (a *OpenTracingAppLayer) GetAnalytics(name string, teamID string) (model.AnalyticsRows, *model.AppError)
- func (a *OpenTracingAppLayer) GetAudits(userID string, limit int) (model.Audits, *model.AppError)
- func (a *OpenTracingAppLayer) GetAuditsPage(userID string, page int, perPage int) (model.Audits, *model.AppError)
- func (a *OpenTracingAppLayer) GetAuthorizationCode(w http.ResponseWriter, r *http.Request, service string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetAuthorizedAppsForUser(userID string, page int, perPage int) ([]*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) GetBotIconImage(botUserId string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetBots(options *model.BotGetOptions) (model.BotList, *model.AppError)
- func (a *OpenTracingAppLayer) GetBrandImage() ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetBulkReactionsForPosts(postIds []string) (map[string][]*model.Reaction, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannel(channelId string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelByName(channelName string, teamID string, includeDeleted bool) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelByNameForTeamName(channelName string, teamName string, includeDeleted bool) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelCounts(teamID string, userID string) (*model.ChannelCounts, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelGroupUsers(channelID string) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelGuestCount(channelId string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMemberCount(channelId string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMembersByIds(channelId string, userIDs []string) (*model.ChannelMembers, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMembersForUser(teamID string, userID string) (*model.ChannelMembers, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMembersForUserWithPagination(teamID string, userID string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMembersPage(channelId string, page int, perPage int) (*model.ChannelMembers, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelMembersTimezones(channelId string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelModerationsForChannel(channel *model.Channel) ([]*model.ChannelModeration, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelPinnedPostCount(channelId string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelUnread(channelId string, userID string) (*model.ChannelUnread, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsByNames(channelNames []string, teamID string) ([]*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForScheme(scheme *model.Scheme, offset int, limit int) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForSchemePage(scheme *model.Scheme, page int, perPage int) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForUser(teamID string, userID string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsUserNotIn(teamID string, userID string, offset int, limit int) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetCloudSession(token string) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetClusterId() string
- func (a *OpenTracingAppLayer) GetClusterPluginStatuses() (model.PluginStatuses, *model.AppError)
- func (a *OpenTracingAppLayer) GetClusterStatus() []*model.ClusterInfo
- func (a *OpenTracingAppLayer) GetCommand(commandID string) (*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) GetComplianceFile(job *model.Compliance) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetComplianceReport(reportId string) (*model.Compliance, *model.AppError)
- func (a *OpenTracingAppLayer) GetComplianceReports(page int, perPage int) (model.Compliances, *model.AppError)
- func (a *OpenTracingAppLayer) GetConfigFile(name string) ([]byte, error)
- func (a *OpenTracingAppLayer) GetCookieDomain() string
- func (a *OpenTracingAppLayer) GetDataRetentionPolicy() (*model.DataRetentionPolicy, *model.AppError)
- func (a *OpenTracingAppLayer) GetDefaultProfileImage(user *model.User) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetDeletedChannels(teamID string, offset int, limit int, userID string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetEmoji(emojiId string) (*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) GetEmojiByName(emojiName string) (*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) GetEmojiImage(emojiId string) ([]byte, string, *model.AppError)
- func (a *OpenTracingAppLayer) GetEmojiList(page int, perPage int, sort string) ([]*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) GetEmojiStaticUrl(emojiName string) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetEnvironmentConfig() map[string]interface{}
- func (a *OpenTracingAppLayer) GetErrorListForEmailsOverLimit(emailList []string, cloudUserLimit int64) ([]string, []*model.EmailInviteWithError, *model.AppError)
- func (a *OpenTracingAppLayer) GetFile(fileId string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetFileInfo(fileId string) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) GetFileInfos(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) GetFileInfosForPost(postId string, fromMaster bool) ([]*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) GetFileInfosForPostWithMigration(postId string) ([]*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) GetFilteredUsersStats(options *model.UserCountOptions) (*model.UsersStats, *model.AppError)
- func (a *OpenTracingAppLayer) GetFlaggedPosts(userID string, offset int, limit int) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetFlaggedPostsForChannel(userID string, channelId string, offset int, limit int) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetFlaggedPostsForTeam(userID string, teamID string, offset int, limit int) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroup(id string) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupChannel(userIDs []string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupMemberCount(groupID string) (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupMemberUsers(groupID string) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, int, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupSyncables(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsAssociatedToChannelsByTeam(teamID string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, int, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsByIDs(groupIDs []string) ([]*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsByTeam(teamID string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, int, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroupsByUserId(userID string) ([]*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetHubForUserId(userID string) *app.Hub
- func (a *OpenTracingAppLayer) GetIncomingWebhook(hookID string) (*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetIncomingWebhooksForTeamPage(teamID string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetIncomingWebhooksForTeamPageByUser(teamID string, userID string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetIncomingWebhooksPage(page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetIncomingWebhooksPageByUser(userID string, page int, perPage int) ([]*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetJob(id string) (*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetJobs(offset int, limit int) ([]*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetJobsByType(jobType string, offset int, limit int) ([]*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetJobsByTypePage(jobType string, page int, perPage int) ([]*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetJobsPage(page int, perPage int) ([]*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetKnownUsers(userID string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetLatestTermsOfService() (*model.TermsOfService, *model.AppError)
- func (a *OpenTracingAppLayer) GetLdapGroup(ldapGroupID string) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) GetLogs(page int, perPage int) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetLogsSkipSend(page int, perPage int) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetMarketplacePlugins(filter *model.MarketplacePluginFilter) ([]*model.MarketplacePlugin, *model.AppError)
- func (a *OpenTracingAppLayer) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)
- func (a *OpenTracingAppLayer) GetMessageForNotification(post *model.Post, translateFunc i18n.TranslateFunc) string
- func (a *OpenTracingAppLayer) GetMultipleEmojiByName(names []string) ([]*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) GetNewUsersForTeamPage(teamID string, page int, perPage int, asAdmin bool, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetNextPostIdFromPostList(postList *model.PostList) string
- func (a *OpenTracingAppLayer) GetNotificationNameFormat(user *model.User) string
- func (a *OpenTracingAppLayer) GetNumberOfChannelsOnTeam(teamID string) (int, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthAccessTokenForCodeFlow(clientId string, grantType string, redirectUri string, code string, ...) (*model.AccessResponse, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthAccessTokenForImplicitFlow(userID string, authRequest *model.AuthorizeRequest) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthApp(appId string) (*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthApps(page int, perPage int) ([]*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthAppsByCreator(userID string, page int, perPage int) ([]*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthCodeRedirect(userID string, authRequest *model.AuthorizeRequest) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthImplicitRedirect(userID string, authRequest *model.AuthorizeRequest) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthLoginEndpoint(w http.ResponseWriter, r *http.Request, service string, teamID string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthSignupEndpoint(w http.ResponseWriter, r *http.Request, service string, teamID string) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetOAuthStateToken(token string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) GetOpenGraphMetadata(requestURL string) *opengraph.OpenGraph
- func (a *OpenTracingAppLayer) GetOrCreateDirectChannel(userID string, otherUserID string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhook(hookID string) (*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhooksForChannelPageByUser(channelId string, userID string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhooksForTeamPage(teamID string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhooksForTeamPageByUser(teamID string, userID string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhooksPage(page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetOutgoingWebhooksPageByUser(userID string, page int, perPage int) ([]*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) GetPasswordRecoveryToken(token string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) GetPermalinkPost(postId string, userID string) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPinnedPosts(channelId string) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPluginKey(pluginId string, key string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetPluginPublicKeyFiles() ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetPluginStatus(id string) (*model.PluginStatus, *model.AppError)
- func (a *OpenTracingAppLayer) GetPluginStatuses() (model.PluginStatuses, *model.AppError)
- func (a *OpenTracingAppLayer) GetPlugins() (*model.PluginsResponse, *model.AppError)
- func (a *OpenTracingAppLayer) GetPluginsEnvironment() *plugin.Environment
- func (a *OpenTracingAppLayer) GetPostAfterTime(channelId string, time int64) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostIdAfterTime(channelId string, time int64) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostIdBeforeTime(channelId string, time int64) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostThread(postId string, skipFetchThreads bool, collapsedThreads bool, ...) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPosts(channelId string, offset int, limit int) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsAfterPost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsAroundPost(before bool, options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsBeforePost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsEtag(channelId string, collapsedThreads bool) string
- func (a *OpenTracingAppLayer) GetPostsForChannelAroundLastUnread(channelId string, userID string, limitBefore int, limitAfter int, ...) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsPage(options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostsSince(options model.GetPostsSinceOptions) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPreferenceByCategoryAndNameForUser(userID string, category string, preferenceName string) (*model.Preference, *model.AppError)
- func (a *OpenTracingAppLayer) GetPreferenceByCategoryForUser(userID string, category string) (model.Preferences, *model.AppError)
- func (a *OpenTracingAppLayer) GetPreferencesForUser(userID string) (model.Preferences, *model.AppError)
- func (a *OpenTracingAppLayer) GetPrevPostIdFromPostList(postList *model.PostList) string
- func (a *OpenTracingAppLayer) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetProductNotices(userID string, teamID string, client model.NoticeClientType, ...) (model.NoticeMessages, *model.AppError)
- func (a *OpenTracingAppLayer) GetProfileImage(user *model.User) ([]byte, bool, *model.AppError)
- func (a *OpenTracingAppLayer) GetPublicChannelsByIdsForTeam(teamID string, channelIds []string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPublicChannelsForTeam(teamID string, offset int, limit int) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetPublicKey(name string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetReactionsForPost(postId string) ([]*model.Reaction, *model.AppError)
- func (a *OpenTracingAppLayer) GetRecentlyActiveUsersForTeam(teamID string) (map[string]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetRecentlyActiveUsersForTeamPage(teamID string, page int, perPage int, asAdmin bool, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetRole(id string) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) GetRoleByName(name string) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) GetRolesByNames(names []string) ([]*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) GetSamlCertificateStatus() *model.SamlCertificateStatus
- func (a *OpenTracingAppLayer) GetSamlMetadata() (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetSamlMetadataFromIdp(idpMetadataUrl string) (*model.SamlMetadataResponse, *model.AppError)
- func (a *OpenTracingAppLayer) GetSanitizeOptions(asAdmin bool) map[string]bool
- func (a *OpenTracingAppLayer) GetSanitizedConfig() *model.Config
- func (a *OpenTracingAppLayer) GetScheme(id string) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) GetSchemeByName(name string) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) GetSchemeRolesForChannel(channelId string) (guestRoleName string, userRoleName string, adminRoleName string, ...)
- func (a *OpenTracingAppLayer) GetSchemeRolesForTeam(teamID string) (string, string, string, *model.AppError)
- func (a *OpenTracingAppLayer) GetSchemes(scope string, offset int, limit int) ([]*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) GetSchemesPage(scope string, page int, perPage int) ([]*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) GetSession(token string) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetSessionById(sessionId string) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetSessionLengthInMillis(session *model.Session) int64
- func (a *OpenTracingAppLayer) GetSessions(userID string) ([]*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, *model.AppError)
- func (a *OpenTracingAppLayer) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (a *OpenTracingAppLayer) GetSidebarCategoryOrder(userID string, teamID string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) GetSinglePost(postId string) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) GetSiteURL() string
- func (a *OpenTracingAppLayer) GetStatus(userID string) (*model.Status, *model.AppError)
- func (a *OpenTracingAppLayer) GetStatusFromCache(userID string) *model.Status
- func (a *OpenTracingAppLayer) GetStatusesByIds(userIDs []string) (map[string]interface{}, *model.AppError)
- func (a *OpenTracingAppLayer) GetSuggestions(commandArgs *model.CommandArgs, commands []*model.Command, roleID string) []model.AutocompleteSuggestion
- func (a *OpenTracingAppLayer) GetT() i18n.TranslateFunc
- func (a *OpenTracingAppLayer) GetTeam(teamID string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamByInviteId(inviteId string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamByName(name string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamGroupUsers(teamID string) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamIcon(team *model.Team) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamIdFromQuery(query url.Values) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamMembers(teamID string, offset int, limit int, ...) ([]*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamMembersByIds(teamID string, userIDs []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamMembersForUser(userID string) ([]*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamMembersForUserWithPagination(userID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamSchemeChannelRoles(teamID string) (guestRoleName string, userRoleName string, adminRoleName string, ...)
- func (a *OpenTracingAppLayer) GetTeamStats(teamID string, restrictions *model.ViewUsersRestrictions) (*model.TeamStats, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamUnread(teamID string, userID string) (*model.TeamUnread, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamsForScheme(scheme *model.Scheme, offset int, limit int) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamsForSchemePage(scheme *model.Scheme, page int, perPage int) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamsForUser(userID string) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamsUnreadForUser(excludeTeamId string, userID string) ([]*model.TeamUnread, *model.AppError)
- func (a *OpenTracingAppLayer) GetTermsOfService(id string) (*model.TermsOfService, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadForUser(userID string, teamID string, threadId string, extended bool) (*model.ThreadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadMembershipsForUser(userID string, teamID string) ([]*model.ThreadMembership, error)
- func (a *OpenTracingAppLayer) GetThreadMentionsForUserPerChannel(userId string, teamId string) (map[string]int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadsForUser(userID string, teamID string, options model.GetUserThreadsOpts) (*model.Threads, *model.AppError)
- func (a *OpenTracingAppLayer) GetTotalUsersStats(viewRestrictions *model.ViewUsersRestrictions) (*model.UsersStats, *model.AppError)
- func (a *OpenTracingAppLayer) GetUploadSession(uploadId string) (*model.UploadSession, *model.AppError)
- func (a *OpenTracingAppLayer) GetUploadSessionsForUser(userID string) ([]*model.UploadSession, *model.AppError)
- func (a *OpenTracingAppLayer) GetUser(userID string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserAccessToken(tokenID string, sanitize bool) (*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserAccessTokens(page int, perPage int) ([]*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserAccessTokensForUser(userID string, page int, perPage int) ([]*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserByAuth(authData *string, authService string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserByEmail(email string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserByUsername(username string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserForLogin(id string, loginId string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserStatusesByIds(userIDs []string) ([]*model.Status, *model.AppError)
- func (a *OpenTracingAppLayer) GetUserTermsOfService(userID string) (*model.UserTermsOfService, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsers(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersByGroupChannelIds(channelIds []string, asAdmin bool) (map[string][]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersByIds(userIDs []string, options *store.UserGetByIdsOpts) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersByUsernames(usernames []string, asAdmin bool, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersEtag(restrictionsHash string) string
- func (a *OpenTracingAppLayer) GetUsersInChannel(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInChannelByStatus(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInChannelMap(options *model.UserGetOptions, asAdmin bool) (map[string]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInChannelPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInChannelPageByStatus(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersInTeamEtag(teamID string, restrictionsHash string) string
- func (a *OpenTracingAppLayer) GetUsersInTeamPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersNotInChannel(teamID string, channelId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersNotInChannelMap(teamID string, channelId string, groupConstrained bool, offset int, limit int, ...) (map[string]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersNotInChannelPage(teamID string, channelId string, groupConstrained bool, page int, perPage int, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersNotInTeam(teamID string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersNotInTeamEtag(teamID string, restrictionsHash string) string
- func (a *OpenTracingAppLayer) GetUsersNotInTeamPage(teamID string, groupConstrained bool, page int, perPage int, asAdmin bool, ...) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetUsersWithoutTeamPage(options *model.UserGetOptions, asAdmin bool) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) GetVerifyEmailToken(token string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) GetViewUsersRestrictions(userID string) (*model.ViewUsersRestrictions, *model.AppError)
- func (a *OpenTracingAppLayer) GetWarnMetricsStatus() (map[string]*model.WarnMetricStatus, *model.AppError)
- func (a *OpenTracingAppLayer) HTTPService() httpservice.HTTPService
- func (a *OpenTracingAppLayer) Handle404(w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) HandleCommandResponse(command *model.Command, args *model.CommandArgs, ...) (*model.CommandResponse, *model.AppError)
- func (a *OpenTracingAppLayer) HandleCommandResponsePost(command *model.Command, args *model.CommandArgs, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) HandleCommandWebhook(hookID string, response *model.CommandResponse) *model.AppError
- func (a *OpenTracingAppLayer) HandleImages(previewPathList []string, thumbnailPathList []string, fileData [][]byte)
- func (a *OpenTracingAppLayer) HandleIncomingWebhook(hookID string, req *model.IncomingWebhookRequest) *model.AppError
- func (a *OpenTracingAppLayer) HandleMessageExportConfig(cfg *model.Config, appCfg *model.Config)
- func (a *OpenTracingAppLayer) HasPermissionTo(askingUserId string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) HasPermissionToChannel(askingUserId string, channelId string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) HasPermissionToChannelByPost(askingUserId string, postId string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) HasPermissionToUser(askingUserId string, userID string) bool
- func (a *OpenTracingAppLayer) HubRegister(webConn *app.WebConn)
- func (a *OpenTracingAppLayer) HubStart()
- func (a *OpenTracingAppLayer) HubStop()
- func (a *OpenTracingAppLayer) HubUnregister(webConn *app.WebConn)
- func (a *OpenTracingAppLayer) ImageProxy() *imageproxy.ImageProxy
- func (a *OpenTracingAppLayer) ImageProxyAdder() func(string) string
- func (a *OpenTracingAppLayer) ImageProxyRemover() (f func(string) string)
- func (a *OpenTracingAppLayer) ImportPermissions(jsonl io.Reader) error
- func (a *OpenTracingAppLayer) InitPlugins(pluginDir string, webappPluginDir string)
- func (a *OpenTracingAppLayer) InitPostMetadata()
- func (a *OpenTracingAppLayer) InitServer()
- func (a *OpenTracingAppLayer) InstallMarketplacePlugin(request *model.InstallMarketplacePluginRequest) (*model.Manifest, *model.AppError)
- func (a *OpenTracingAppLayer) InstallPlugin(pluginFile io.ReadSeeker, replace bool) (*model.Manifest, *model.AppError)
- func (a *OpenTracingAppLayer) InstallPluginFromData(data model.PluginEventData)
- func (a *OpenTracingAppLayer) InstallPluginWithSignature(pluginFile io.ReadSeeker, signature io.ReadSeeker) (*model.Manifest, *model.AppError)
- func (a *OpenTracingAppLayer) InvalidateAllEmailInvites() *model.AppError
- func (a *OpenTracingAppLayer) InvalidateCacheForUser(userID string)
- func (a *OpenTracingAppLayer) InvalidateWebConnSessionCacheForUser(userID string)
- func (a *OpenTracingAppLayer) InviteGuestsToChannels(teamID string, guestsInvite *model.GuestsInvite, senderId string) *model.AppError
- func (a *OpenTracingAppLayer) InviteGuestsToChannelsGracefully(teamID string, guestsInvite *model.GuestsInvite, senderId string) ([]*model.EmailInviteWithError, *model.AppError)
- func (a *OpenTracingAppLayer) InviteNewUsersToTeam(emailList []string, teamID string, senderId string) *model.AppError
- func (a *OpenTracingAppLayer) InviteNewUsersToTeamGracefully(emailList []string, teamID string, senderId string) ([]*model.EmailInviteWithError, *model.AppError)
- func (a *OpenTracingAppLayer) IpAddress() string
- func (a *OpenTracingAppLayer) IsFirstUserAccount() bool
- func (a *OpenTracingAppLayer) IsLeader() bool
- func (a *OpenTracingAppLayer) IsPasswordValid(password string) *model.AppError
- func (a *OpenTracingAppLayer) IsPhase2MigrationCompleted() *model.AppError
- func (a *OpenTracingAppLayer) IsUserAway(lastActivityAt int64) bool
- func (a *OpenTracingAppLayer) IsUserSignUpAllowed() *model.AppError
- func (a *OpenTracingAppLayer) IsUsernameTaken(name string) bool
- func (a *OpenTracingAppLayer) JoinChannel(channel *model.Channel, userID string) *model.AppError
- func (a *OpenTracingAppLayer) JoinDefaultChannels(teamID string, user *model.User, shouldBeAdmin bool, userRequestorId string) *model.AppError
- func (a *OpenTracingAppLayer) JoinUserToTeam(team *model.Team, user *model.User, userRequestorId string) *model.AppError
- func (a *OpenTracingAppLayer) Ldap() einterfaces.LdapInterface
- func (a *OpenTracingAppLayer) LeaveChannel(channelId string, userID string) *model.AppError
- func (a *OpenTracingAppLayer) LeaveTeam(team *model.Team, user *model.User, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) LimitedClientConfig() map[string]string
- func (a *OpenTracingAppLayer) LimitedClientConfigWithComputed() map[string]string
- func (a *OpenTracingAppLayer) ListAllCommands(teamID string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) ListAutocompleteCommands(teamID string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) ListDirectory(path string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) ListExports() ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) ListImports() ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) ListPluginKeys(pluginId string, page int, perPage int) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) ListTeamCommands(teamID string) ([]*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) Log() *mlog.Logger
- func (a *OpenTracingAppLayer) LogAuditRec(rec *audit.Record, err error)
- func (a *OpenTracingAppLayer) LogAuditRecWithLevel(rec *audit.Record, level mlog.LogLevel, err error)
- func (a *OpenTracingAppLayer) LoginByOAuth(service string, userData io.Reader, teamID string, tokenUser *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) MakeAuditRecord(event string, initialStatus string) *audit.Record
- func (a *OpenTracingAppLayer) MakePermissionError(permissions []*model.Permission) *model.AppError
- func (a *OpenTracingAppLayer) MarkChannelAsUnreadFromPost(postID string, userID string) (*model.ChannelUnreadAt, *model.AppError)
- func (a *OpenTracingAppLayer) MarkChannelsAsViewed(channelIds []string, userID string, currentSessionId string) (map[string]int64, *model.AppError)
- func (a *OpenTracingAppLayer) MaxPostSize() int
- func (a *OpenTracingAppLayer) MentionsToPublicChannels(message string, teamID string) model.ChannelMentionMap
- func (a *OpenTracingAppLayer) MentionsToTeamMembers(message string, teamID string) model.UserMentionMap
- func (a *OpenTracingAppLayer) MessageExport() einterfaces.MessageExportInterface
- func (a *OpenTracingAppLayer) Metrics() einterfaces.MetricsInterface
- func (a *OpenTracingAppLayer) MigrateFilenamesToFileInfos(post *model.Post) []*model.FileInfo
- func (a *OpenTracingAppLayer) MigrateIdLDAP(toAttribute string) *model.AppError
- func (a *OpenTracingAppLayer) MoveChannel(team *model.Team, channel *model.Channel, user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) MoveCommand(team *model.Team, command *model.Command) *model.AppError
- func (a *OpenTracingAppLayer) MoveFile(oldPath string, newPath string) *model.AppError
- func (a *OpenTracingAppLayer) NewClusterDiscoveryService() *app.ClusterDiscoveryService
- func (a *OpenTracingAppLayer) NewPluginAPI(manifest *model.Manifest) plugin.API
- func (a *OpenTracingAppLayer) NewWebConn(ws net.Conn, session model.Session, t goi18n.TranslateFunc, locale string) *app.WebConn
- func (a *OpenTracingAppLayer) NewWebHub() *app.Hub
- func (a *OpenTracingAppLayer) Notification() einterfaces.NotificationInterface
- func (a *OpenTracingAppLayer) NotificationsLog() *mlog.Logger
- func (a *OpenTracingAppLayer) NotifyAndSetWarnMetricAck(warnMetricId string, sender *model.User, forceAck bool, isBot bool) *model.AppError
- func (a *OpenTracingAppLayer) NotifySessionsExpired() *model.AppError
- func (a *OpenTracingAppLayer) OpenInteractiveDialog(request model.OpenDialogRequest) *model.AppError
- func (a *OpenTracingAppLayer) OriginChecker() func(*http.Request) bool
- func (a *OpenTracingAppLayer) OverrideIconURLIfEmoji(post *model.Post)
- func (a *OpenTracingAppLayer) PatchBot(botUserId string, botPatch *model.BotPatch) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) PatchChannel(channel *model.Channel, patch *model.ChannelPatch, userID string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) PatchChannelModerationsForChannel(channel *model.Channel, ...) ([]*model.ChannelModeration, *model.AppError)
- func (a *OpenTracingAppLayer) PatchPost(postId string, patch *model.PostPatch) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) PatchRole(role *model.Role, patch *model.RolePatch) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) PatchScheme(scheme *model.Scheme, patch *model.SchemePatch) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) PatchTeam(teamID string, patch *model.TeamPatch) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) PatchUser(userID string, patch *model.UserPatch, asAdmin bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) Path() string
- func (a *OpenTracingAppLayer) PermanentDeleteAllUsers() *model.AppError
- func (a *OpenTracingAppLayer) PermanentDeleteBot(botUserId string) *model.AppError
- func (a *OpenTracingAppLayer) PermanentDeleteChannel(channel *model.Channel) *model.AppError
- func (a *OpenTracingAppLayer) PermanentDeleteTeam(team *model.Team) *model.AppError
- func (a *OpenTracingAppLayer) PermanentDeleteTeamId(teamID string) *model.AppError
- func (a *OpenTracingAppLayer) PermanentDeleteUser(user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) PluginCommandsForTeam(teamID string) []*model.Command
- func (a *OpenTracingAppLayer) PluginContext() *plugin.Context
- func (a *OpenTracingAppLayer) PostActionCookieSecret() []byte
- func (a *OpenTracingAppLayer) PostAddToChannelMessage(user *model.User, addedUser *model.User, channel *model.Channel, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs(patch *model.PostPatch) *model.PostPatch
- func (a *OpenTracingAppLayer) PostUpdateChannelDisplayNameMessage(userID string, channel *model.Channel, oldChannelDisplayName string, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostUpdateChannelHeaderMessage(userID string, channel *model.Channel, oldChannelHeader string, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostUpdateChannelPurposeMessage(userID string, channel *model.Channel, oldChannelPurpose string, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostWithProxyAddedToImageURLs(post *model.Post) *model.Post
- func (a *OpenTracingAppLayer) PostWithProxyRemovedFromImageURLs(post *model.Post) *model.Post
- func (a *OpenTracingAppLayer) PreparePostForClient(originalPost *model.Post, isNewPost bool, isEditPost bool) *model.Post
- func (a *OpenTracingAppLayer) PreparePostListForClient(originalList *model.PostList) *model.PostList
- func (a *OpenTracingAppLayer) ProcessSlackAttachments(attachments []*model.SlackAttachment) []*model.SlackAttachment
- func (a *OpenTracingAppLayer) ProcessSlackText(text string) string
- func (a *OpenTracingAppLayer) PromoteGuestToUser(user *model.User, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) Publish(message *model.WebSocketEvent)
- func (a *OpenTracingAppLayer) PublishSkipClusterSend(message *model.WebSocketEvent)
- func (a *OpenTracingAppLayer) PublishUserTyping(userID string, channelId string, parentId string) *model.AppError
- func (a *OpenTracingAppLayer) PurgeBleveIndexes() *model.AppError
- func (a *OpenTracingAppLayer) PurgeElasticsearchIndexes() *model.AppError
- func (a *OpenTracingAppLayer) ReadFile(path string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) RecycleDatabaseConnection()
- func (a *OpenTracingAppLayer) RegenCommandToken(cmd *model.Command) (*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) RegenOutgoingWebhookToken(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) RegenerateOAuthAppSecret(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) RegenerateTeamInviteId(teamID string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) RegisterPluginCommand(pluginId string, command *model.Command) error
- func (a *OpenTracingAppLayer) ReloadConfig() error
- func (a *OpenTracingAppLayer) RemoveAllDeactivatedMembersFromChannel(channel *model.Channel) *model.AppError
- func (a *OpenTracingAppLayer) RemoveConfigListener(id string)
- func (a *OpenTracingAppLayer) RemoveCustomStatus(userID string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveDirectory(path string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveFile(path string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveLdapPrivateCertificate() *model.AppError
- func (a *OpenTracingAppLayer) RemoveLdapPublicCertificate() *model.AppError
- func (a *OpenTracingAppLayer) RemovePlugin(id string) *model.AppError
- func (a *OpenTracingAppLayer) RemovePluginFromData(data model.PluginEventData)
- func (a *OpenTracingAppLayer) RemoveRecentCustomStatus(userID string, status *model.CustomStatus) *model.AppError
- func (a *OpenTracingAppLayer) RemoveSamlIdpCertificate() *model.AppError
- func (a *OpenTracingAppLayer) RemoveSamlPrivateCertificate() *model.AppError
- func (a *OpenTracingAppLayer) RemoveSamlPublicCertificate() *model.AppError
- func (a *OpenTracingAppLayer) RemoveTeamIcon(teamID string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveTeamMemberFromTeam(teamMember *model.TeamMember, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUserFromChannel(userIDToRemove string, removerUserId string, channel *model.Channel) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUserFromTeam(teamID string, userID string, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam(remover *model.User, channel *model.Channel, team *model.Team) *model.AppError
- func (a *OpenTracingAppLayer) RenameChannel(channel *model.Channel, newChannelName string, newDisplayName string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) RenameTeam(team *model.Team, newTeamName string, newDisplayName string) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) RequestId() string
- func (a *OpenTracingAppLayer) RequestLicenseAndAckWarnMetric(warnMetricId string, isBot bool) *model.AppError
- func (a *OpenTracingAppLayer) ResetPasswordFromToken(userSuppliedTokenString string, newPassword string) *model.AppError
- func (a *OpenTracingAppLayer) ResetPermissionsSystem() *model.AppError
- func (a *OpenTracingAppLayer) RestoreChannel(channel *model.Channel, userID string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) RestoreTeam(teamID string) *model.AppError
- func (a *OpenTracingAppLayer) RestrictUsersGetByPermissions(userID string, options *model.UserGetOptions) (*model.UserGetOptions, *model.AppError)
- func (a *OpenTracingAppLayer) RestrictUsersSearchByPermissions(userID string, options *model.UserSearchOptions) (*model.UserSearchOptions, *model.AppError)
- func (a *OpenTracingAppLayer) RevokeAccessToken(token string) *model.AppError
- func (a *OpenTracingAppLayer) RevokeAllSessions(userID string) *model.AppError
- func (a *OpenTracingAppLayer) RevokeSession(session *model.Session) *model.AppError
- func (a *OpenTracingAppLayer) RevokeSessionById(sessionId string) *model.AppError
- func (a *OpenTracingAppLayer) RevokeSessionsForDeviceId(userID string, deviceId string, currentSessionId string) *model.AppError
- func (a *OpenTracingAppLayer) RevokeSessionsFromAllUsers() *model.AppError
- func (a *OpenTracingAppLayer) RevokeUserAccessToken(token *model.UserAccessToken) *model.AppError
- func (a *OpenTracingAppLayer) RolesGrantPermission(roleNames []string, permissionId string) bool
- func (a *OpenTracingAppLayer) Saml() einterfaces.SamlInterface
- func (a *OpenTracingAppLayer) SanitizeProfile(user *model.User, asAdmin bool)
- func (a *OpenTracingAppLayer) SanitizeTeam(session model.Session, team *model.Team) *model.Team
- func (a *OpenTracingAppLayer) SanitizeTeams(session model.Session, teams []*model.Team) []*model.Team
- func (a *OpenTracingAppLayer) SaveAndBroadcastStatus(status *model.Status)
- func (a *OpenTracingAppLayer) SaveBrandImage(imageData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) SaveComplianceReport(job *model.Compliance) (*model.Compliance, *model.AppError)
- func (a *OpenTracingAppLayer) SaveConfig(newCfg *model.Config, sendConfigChangeClusterMessage bool) *model.AppError
- func (a *OpenTracingAppLayer) SaveReactionForPost(reaction *model.Reaction) (*model.Reaction, *model.AppError)
- func (a *OpenTracingAppLayer) SaveUserTermsOfService(userID string, termsOfServiceId string, accepted bool) *model.AppError
- func (a *OpenTracingAppLayer) SchemesIterator(scope string, batchSize int) func() []*model.Scheme
- func (a *OpenTracingAppLayer) SearchAllChannels(term string, opts model.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
- func (a *OpenTracingAppLayer) SearchAllTeams(searchOpts *model.TeamSearch) ([]*model.Team, int64, *model.AppError)
- func (a *OpenTracingAppLayer) SearchArchivedChannels(teamID string, term string, userID string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchChannels(teamID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchChannelsForUser(userID string, teamID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchChannelsUserNotIn(teamID string, userID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchEmoji(name string, prefixOnly bool, limit int) ([]*model.Emoji, *model.AppError)
- func (a *OpenTracingAppLayer) SearchEngine() *searchengine.Broker
- func (a *OpenTracingAppLayer) SearchGroupChannels(userID string, term string) (*model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPostsInTeamForUser(terms string, userID string, teamID string, isOrSearch bool, ...) (*model.PostSearchResults, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPrivateTeams(term string) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPublicTeams(term string) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUserAccessTokens(term string) ([]*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsers(props *model.UserSearch, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersInTeam(teamID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersNotInChannel(teamID string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SearchUsersWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) SendAckToPushProxy(ack *model.PushNotificationAck) error
- func (a *OpenTracingAppLayer) SendAdminUpgradeRequestEmail(username string, subscription *model.Subscription) *model.AppError
- func (a *OpenTracingAppLayer) SendAutoResponse(channel *model.Channel, receiver *model.User, post *model.Post) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SendAutoResponseIfNecessary(channel *model.Channel, sender *model.User, post *model.Post) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SendEmailVerification(user *model.User, newEmail string, redirect string) *model.AppError
- func (a *OpenTracingAppLayer) SendEphemeralPost(userID string, post *model.Post) *model.Post
- func (a *OpenTracingAppLayer) SendNoCardPaymentFailedEmail() *model.AppError
- func (a *OpenTracingAppLayer) SendNotifications(post *model.Post, team *model.Team, channel *model.Channel, sender *model.User, ...) ([]string, error)
- func (a *OpenTracingAppLayer) SendPasswordReset(email string, siteURL string) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SendPaymentFailedEmail(failedPayment *model.FailedPayment) *model.AppError
- func (a *OpenTracingAppLayer) ServeInterPluginRequest(w http.ResponseWriter, r *http.Request, sourcePluginId string, ...)
- func (a *OpenTracingAppLayer) ServePluginPublicRequest(w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) ServePluginRequest(w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) ServerBusyStateChanged(sbs *model.ServerBusyState)
- func (a *OpenTracingAppLayer) Session() *model.Session
- func (a *OpenTracingAppLayer) SessionCacheLength() int
- func (a *OpenTracingAppLayer) SessionHasPermissionTo(session model.Session, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToAny(session model.Session, permissions []*model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToCategory(session model.Session, userID string, teamID string, categoryId string) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToChannel(session model.Session, channelId string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToChannelByPost(session model.Session, postId string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToManageBot(session model.Session, botUserId string) *model.AppError
- func (a *OpenTracingAppLayer) SessionHasPermissionToTeam(session model.Session, teamID string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToUser(session model.Session, userID string) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToUserOrBot(session model.Session, userID string) bool
- func (a *OpenTracingAppLayer) SessionIsRegistered(session model.Session) bool
- func (a *OpenTracingAppLayer) SetAcceptLanguage(str string)
- func (a *OpenTracingAppLayer) SetActiveChannel(userID string, channelId string) *model.AppError
- func (a *OpenTracingAppLayer) SetAutoResponderStatus(user *model.User, oldNotifyProps model.StringMap)
- func (a *OpenTracingAppLayer) SetBotIconImage(botUserId string, file io.ReadSeeker) *model.AppError
- func (a *OpenTracingAppLayer) SetBotIconImageFromMultiPartFile(botUserId string, imageData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) SetContext(c context.Context)
- func (a *OpenTracingAppLayer) SetCustomStatus(userID string, cs *model.CustomStatus) *model.AppError
- func (a *OpenTracingAppLayer) SetDefaultProfileImage(user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) SetIpAddress(str string)
- func (a *OpenTracingAppLayer) SetPath(str string)
- func (a *OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus(isComplete bool) error
- func (a *OpenTracingAppLayer) SetPluginKey(pluginId string, key string, value []byte) *model.AppError
- func (a *OpenTracingAppLayer) SetPluginKeyWithExpiry(pluginId string, key string, value []byte, expireInSeconds int64) *model.AppError
- func (a *OpenTracingAppLayer) SetPluginKeyWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SetPluginsEnvironment(pluginsEnvironment *plugin.Environment)
- func (a *OpenTracingAppLayer) SetProfileImage(userID string, imageData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) SetProfileImageFromFile(userID string, file io.Reader) *model.AppError
- func (a *OpenTracingAppLayer) SetProfileImageFromMultiPartFile(userID string, file multipart.File) *model.AppError
- func (a *OpenTracingAppLayer) SetRequestId(str string)
- func (a *OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata(data []byte) *model.AppError
- func (a *OpenTracingAppLayer) SetSearchEngine(se *searchengine.Broker)
- func (a *OpenTracingAppLayer) SetServer(srv *app.Server)
- func (a *OpenTracingAppLayer) SetSession(sess *model.Session)
- func (a *OpenTracingAppLayer) SetSessionExpireInDays(session *model.Session, days int)
- func (a *OpenTracingAppLayer) SetStatusAwayIfNeeded(userID string, manual bool)
- func (a *OpenTracingAppLayer) SetStatusDoNotDisturb(userID string)
- func (a *OpenTracingAppLayer) SetStatusLastActivityAt(userID string, activityAt int64)
- func (a *OpenTracingAppLayer) SetStatusOffline(userID string, manual bool)
- func (a *OpenTracingAppLayer) SetStatusOnline(userID string, manual bool)
- func (a *OpenTracingAppLayer) SetStatusOutOfOffice(userID string)
- func (a *OpenTracingAppLayer) SetT(t i18n.TranslateFunc)
- func (a *OpenTracingAppLayer) SetTeamIcon(teamID string, imageData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) SetTeamIconFromFile(team *model.Team, file io.Reader) *model.AppError
- func (a *OpenTracingAppLayer) SetTeamIconFromMultiPartFile(teamID string, file multipart.File) *model.AppError
- func (a *OpenTracingAppLayer) SetUserAgent(str string)
- func (a *OpenTracingAppLayer) SlackImport(fileData multipart.File, fileSize int64, teamID string) (*model.AppError, *bytes.Buffer)
- func (a *OpenTracingAppLayer) SoftDeleteTeam(teamID string) *model.AppError
- func (a *OpenTracingAppLayer) Srv() *app.Server
- func (a *OpenTracingAppLayer) SubmitInteractiveDialog(request model.SubmitDialogRequest) (*model.SubmitDialogResponse, *model.AppError)
- func (a *OpenTracingAppLayer) SwitchEmailToLdap(email string, password string, code string, ldapLoginId string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) SwitchEmailToOAuth(w http.ResponseWriter, r *http.Request, email string, password string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) SwitchLdapToEmail(ldapPassword string, code string, email string, newPassword string) (string, *model.AppError)
- func (a *OpenTracingAppLayer) SwitchOAuthToEmail(email string, password string, requesterId string) (string, *model.AppError)
- func (a *OpenTracingAppLayer) SyncLdap()
- func (a *OpenTracingAppLayer) SyncPlugins() *model.AppError
- func (a *OpenTracingAppLayer) SyncPluginsActiveState()
- func (a *OpenTracingAppLayer) SyncRolesAndMembership(syncableID string, syncableType model.GroupSyncableType)
- func (a *OpenTracingAppLayer) SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError
- func (a *OpenTracingAppLayer) T(translationID string, args ...interface{}) string
- func (a *OpenTracingAppLayer) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
- func (a *OpenTracingAppLayer) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
- func (a *OpenTracingAppLayer) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) TelemetryId() string
- func (a *OpenTracingAppLayer) TestElasticsearch(cfg *model.Config) *model.AppError
- func (a *OpenTracingAppLayer) TestEmail(userID string, cfg *model.Config) *model.AppError
- func (a *OpenTracingAppLayer) TestFilesStoreConnection() *model.AppError
- func (a *OpenTracingAppLayer) TestFilesStoreConnectionWithConfig(cfg *model.FileSettings) *model.AppError
- func (a *OpenTracingAppLayer) TestLdap() *model.AppError
- func (a *OpenTracingAppLayer) TestSiteURL(siteURL string) *model.AppError
- func (a *OpenTracingAppLayer) Timezones() *timezones.Timezones
- func (a *OpenTracingAppLayer) ToggleMuteChannel(channelId string, userID string) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) TotalWebsocketConnections() int
- func (a *OpenTracingAppLayer) TriggerWebhook(payload *model.OutgoingWebhookPayload, hook *model.OutgoingWebhook, ...)
- func (a *OpenTracingAppLayer) UnregisterPluginCommand(pluginId string, teamID string, trigger string)
- func (a *OpenTracingAppLayer) UnregisterPluginCommands(pluginId string)
- func (a *OpenTracingAppLayer) UpdateActive(user *model.User, active bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateBotActive(botUserId string, active bool) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateBotOwner(botUserId string, newOwnerId string) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannelLastViewedAt(channelIds []string, userID string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateChannelMemberNotifyProps(data map[string]string, channelId string, userID string) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannelMemberRoles(channelId string, userID string, newRoles string) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannelMemberSchemeRoles(channelId string, userID string, isSchemeGuest bool, isSchemeUser bool, ...) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannelPrivacy(oldChannel *model.Channel, user *model.User) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateChannelScheme(channel *model.Channel) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateCommand(oldCmd *model.Command, updatedCmd *model.Command) (*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateConfig(f func(*model.Config))
- func (a *OpenTracingAppLayer) UpdateEphemeralPost(userID string, post *model.Post) *model.Post
- func (a *OpenTracingAppLayer) UpdateGroup(group *model.Group) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateHashedPassword(user *model.User, newHashedPassword string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateHashedPasswordByUserId(userID string, newHashedPassword string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateIncomingWebhook(oldHook *model.IncomingWebhook, updatedHook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateLastActivityAtIfNeeded(session model.Session)
- func (a *OpenTracingAppLayer) UpdateMfa(activate bool, userID string, token string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateMobileAppBadge(userID string)
- func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OauthProvider, ...) *model.AppError
- func (a *OpenTracingAppLayer) UpdateOauthApp(oldApp *model.OAuthApp, updatedApp *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateOutgoingWebhook(oldHook *model.OutgoingWebhook, updatedHook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) UpdatePassword(user *model.User, newPassword string) *model.AppError
- func (a *OpenTracingAppLayer) UpdatePasswordAsUser(userID string, currentPassword string, newPassword string) *model.AppError
- func (a *OpenTracingAppLayer) UpdatePasswordByUserIdSendEmail(userID string, newPassword string, method string) *model.AppError
- func (a *OpenTracingAppLayer) UpdatePasswordSendEmail(user *model.User, newPassword string, method string) *model.AppError
- func (a *OpenTracingAppLayer) UpdatePost(post *model.Post, safeUpdate bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) UpdatePreferences(userID string, preferences model.Preferences) *model.AppError
- func (a *OpenTracingAppLayer) UpdateProductNotices() *model.AppError
- func (a *OpenTracingAppLayer) UpdateRole(role *model.Role) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateScheme(scheme *model.Scheme) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateSessionsIsGuest(userID string, isGuest bool)
- func (a *OpenTracingAppLayer) UpdateSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateSidebarCategoryOrder(userID string, teamID string, categoryOrder []string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateTeamMemberRoles(teamID string, userID string, newRoles string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateTeamMemberSchemeRoles(teamID string, userID string, isSchemeGuest bool, isSchemeUser bool, ...) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateTeamPrivacy(teamID string, teamType string, allowOpenInvite bool) *model.AppError
- func (a *OpenTracingAppLayer) UpdateTeamScheme(team *model.Team) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateThreadFollowForUser(userID string, threadId string, state bool) *model.AppError
- func (a *OpenTracingAppLayer) UpdateThreadReadForUser(userID string, teamID string, threadId string, timestamp int64) *model.AppError
- func (a *OpenTracingAppLayer) UpdateThreadsReadForUser(userID string, teamID string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateUser(user *model.User, sendNotifications bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateUserActive(userID string, active bool) *model.AppError
- func (a *OpenTracingAppLayer) UpdateUserAsUser(user *model.User, asAdmin bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateUserAuth(userID string, userAuth *model.UserAuth) (*model.UserAuth, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateUserNotifyProps(userID string, props map[string]string, sendNotifications bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateUserRoles(userID string, newRoles string, sendWebSocketEvent bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateUserRolesWithUser(user *model.User, newRoles string, sendWebSocketEvent bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateViewedProductNotices(userID string, noticeIds []string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser(userID string)
- func (a *OpenTracingAppLayer) UpdateWebConnUserActivity(session model.Session, activityAt int64)
- func (a *OpenTracingAppLayer) UploadData(us *model.UploadSession, rd io.Reader) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) UploadEmojiImage(id string, imageData *multipart.FileHeader) *model.AppError
- func (a *OpenTracingAppLayer) UploadFile(data []byte, channelId string, filename string) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) UploadFileX(channelId string, name string, input io.Reader, ...) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) UploadFiles(teamID string, channelId string, userID string, files []io.ReadCloser, ...) (*model.FileUploadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) UploadMultipartFiles(teamID string, channelId string, userID string, ...) (*model.FileUploadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) UpsertGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpsertGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (a *OpenTracingAppLayer) UserAgent() string
- func (a *OpenTracingAppLayer) UserCanSeeOtherUser(userID string, otherUserId string) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) UserIsInAdminRoleGroup(userID string, syncableID string, syncableType model.GroupSyncableType) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) VerifyEmailFromToken(userSuppliedTokenString string) *model.AppError
- func (a *OpenTracingAppLayer) VerifyPlugin(plugin io.ReadSeeker, signature io.ReadSeeker) *model.AppError
- func (a *OpenTracingAppLayer) VerifyUserEmail(userID string, email string) *model.AppError
- func (a *OpenTracingAppLayer) ViewChannel(view *model.ChannelView, userID string, currentSessionId string) (map[string]int64, *model.AppError)
- func (a *OpenTracingAppLayer) WaitForChannelMembership(channelId string, userID string)
- func (a *OpenTracingAppLayer) WriteFile(fr io.Reader, path string) (int64, *model.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTracingAppLayer ¶
type OpenTracingAppLayer struct {
// contains filtered or unexported fields
}
func NewOpenTracingAppLayer ¶
func NewOpenTracingAppLayer(childApp app.AppIface, ctx context.Context) *OpenTracingAppLayer
func (*OpenTracingAppLayer) AcceptLanguage ¶
func (a *OpenTracingAppLayer) AcceptLanguage() string
func (*OpenTracingAppLayer) AccountMigration ¶
func (a *OpenTracingAppLayer) AccountMigration() einterfaces.AccountMigrationInterface
func (*OpenTracingAppLayer) ActivateMfa ¶
func (a *OpenTracingAppLayer) ActivateMfa(userID string, token string) *model.AppError
func (*OpenTracingAppLayer) AddChannelMember ¶
func (a *OpenTracingAppLayer) AddChannelMember(userID string, channel *model.Channel, userRequestorId string, postRootId string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) AddConfigListener ¶
func (*OpenTracingAppLayer) AddCursorIdsForPostList ¶
func (*OpenTracingAppLayer) AddDirectChannels ¶
func (*OpenTracingAppLayer) AddLdapPrivateCertificate ¶ added in v5.28.0
func (a *OpenTracingAppLayer) AddLdapPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddLdapPublicCertificate ¶ added in v5.28.0
func (a *OpenTracingAppLayer) AddLdapPublicCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddPublicKey ¶
func (*OpenTracingAppLayer) AddSamlIdpCertificate ¶
func (a *OpenTracingAppLayer) AddSamlIdpCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSamlPrivateCertificate ¶
func (a *OpenTracingAppLayer) AddSamlPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSamlPublicCertificate ¶
func (a *OpenTracingAppLayer) AddSamlPublicCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSessionToCache ¶
func (a *OpenTracingAppLayer) AddSessionToCache(session *model.Session)
func (*OpenTracingAppLayer) AddStatusCache ¶
func (a *OpenTracingAppLayer) AddStatusCache(status *model.Status)
func (*OpenTracingAppLayer) AddStatusCacheSkipClusterSend ¶
func (a *OpenTracingAppLayer) AddStatusCacheSkipClusterSend(status *model.Status)
func (*OpenTracingAppLayer) AddTeamMember ¶
func (a *OpenTracingAppLayer) AddTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMemberByInviteId ¶
func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(inviteId string, userID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMemberByToken ¶
func (a *OpenTracingAppLayer) AddTeamMemberByToken(userID string, tokenID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMembers ¶
func (a *OpenTracingAppLayer) AddTeamMembers(teamID string, userIDs []string, userRequestorId string, graceful bool) ([]*model.TeamMemberWithError, *model.AppError)
func (*OpenTracingAppLayer) AddUserToChannel ¶
func (a *OpenTracingAppLayer) AddUserToChannel(user *model.User, channel *model.Channel) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) AddUserToTeam ¶
func (*OpenTracingAppLayer) AddUserToTeamByInviteId ¶
func (*OpenTracingAppLayer) AddUserToTeamByTeamId ¶
func (*OpenTracingAppLayer) AddUserToTeamByToken ¶
func (*OpenTracingAppLayer) AdjustImage ¶
func (*OpenTracingAppLayer) AllowOAuthAppAccessToUser ¶
func (a *OpenTracingAppLayer) AllowOAuthAppAccessToUser(userID string, authRequest *model.AuthorizeRequest) (string, *model.AppError)
func (*OpenTracingAppLayer) AppendFile ¶ added in v5.28.0
func (*OpenTracingAppLayer) AsymmetricSigningKey ¶
func (a *OpenTracingAppLayer) AsymmetricSigningKey() *ecdsa.PrivateKey
func (*OpenTracingAppLayer) AttachDeviceId ¶
func (*OpenTracingAppLayer) AttachSessionCookies ¶
func (a *OpenTracingAppLayer) AttachSessionCookies(w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) AuthenticateUserForLogin ¶
func (*OpenTracingAppLayer) AuthorizeOAuthUser ¶
func (*OpenTracingAppLayer) AutocompleteChannels ¶
func (a *OpenTracingAppLayer) AutocompleteChannels(teamID string, term string) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteChannelsForSearch ¶
func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamID string, userID string, term string) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteUsersInChannel ¶
func (a *OpenTracingAppLayer) AutocompleteUsersInChannel(teamID string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteUsersInTeam ¶
func (a *OpenTracingAppLayer) AutocompleteUsersInTeam(teamID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInTeam, *model.AppError)
func (*OpenTracingAppLayer) BroadcastStatus ¶
func (a *OpenTracingAppLayer) BroadcastStatus(status *model.Status)
func (*OpenTracingAppLayer) BuildPostReactions ¶
func (a *OpenTracingAppLayer) BuildPostReactions(postId string) (*[]app.ReactionImportData, *model.AppError)
func (*OpenTracingAppLayer) BuildPushNotificationMessage ¶
func (*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 (*OpenTracingAppLayer) BulkImportWithPath ¶ added in v5.32.0
func (*OpenTracingAppLayer) CancelJob ¶
func (a *OpenTracingAppLayer) CancelJob(jobId string) *model.AppError
func (*OpenTracingAppLayer) ChannelMembersMinusGroupMembers ¶
func (a *OpenTracingAppLayer) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
func (*OpenTracingAppLayer) ChannelMembersToAdd ¶
func (a *OpenTracingAppLayer) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
func (*OpenTracingAppLayer) ChannelMembersToRemove ¶
func (a *OpenTracingAppLayer) ChannelMembersToRemove(teamID *string) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails ¶ added in v5.30.0
func (a *OpenTracingAppLayer) CheckAndSendUserLimitWarningEmails() *model.AppError
func (*OpenTracingAppLayer) CheckForClientSideCert ¶
func (*OpenTracingAppLayer) CheckMandatoryS3Fields ¶ added in v5.32.0
func (a *OpenTracingAppLayer) CheckMandatoryS3Fields(settings *model.FileSettings) *model.AppError
func (*OpenTracingAppLayer) CheckPasswordAndAllCriteria ¶
func (*OpenTracingAppLayer) CheckRolesExist ¶
func (a *OpenTracingAppLayer) CheckRolesExist(roleNames []string) *model.AppError
func (*OpenTracingAppLayer) CheckUserAllAuthenticationCriteria ¶
func (*OpenTracingAppLayer) CheckUserMfa ¶
func (*OpenTracingAppLayer) CheckUserPostflightAuthenticationCriteria ¶
func (a *OpenTracingAppLayer) CheckUserPostflightAuthenticationCriteria(user *model.User) *model.AppError
func (*OpenTracingAppLayer) CheckUserPreflightAuthenticationCriteria ¶
func (*OpenTracingAppLayer) CheckValidDomains ¶
func (a *OpenTracingAppLayer) CheckValidDomains(team *model.Team) *model.AppError
func (*OpenTracingAppLayer) ClearChannelMembersCache ¶
func (a *OpenTracingAppLayer) ClearChannelMembersCache(channelID string)
func (*OpenTracingAppLayer) ClearSessionCacheForAllUsers ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsers()
func (*OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend()
func (*OpenTracingAppLayer) ClearSessionCacheForUser ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForUser(userID string)
func (*OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend(userID string)
func (*OpenTracingAppLayer) ClearTeamMembersCache ¶
func (a *OpenTracingAppLayer) ClearTeamMembersCache(teamID string)
func (*OpenTracingAppLayer) ClientConfig ¶
func (a *OpenTracingAppLayer) ClientConfig() map[string]string
func (*OpenTracingAppLayer) ClientConfigHash ¶
func (a *OpenTracingAppLayer) ClientConfigHash() string
func (*OpenTracingAppLayer) ClientConfigWithComputed ¶
func (a *OpenTracingAppLayer) ClientConfigWithComputed() map[string]string
func (*OpenTracingAppLayer) Cloud ¶ added in v5.30.0
func (a *OpenTracingAppLayer) Cloud() einterfaces.CloudInterface
func (*OpenTracingAppLayer) Cluster ¶
func (a *OpenTracingAppLayer) Cluster() einterfaces.ClusterInterface
func (*OpenTracingAppLayer) CompareAndDeletePluginKey ¶
func (*OpenTracingAppLayer) CompareAndSetPluginKey ¶
func (*OpenTracingAppLayer) CompleteOAuth ¶
func (*OpenTracingAppLayer) CompleteSwitchWithOAuth ¶
func (*OpenTracingAppLayer) Compliance ¶
func (a *OpenTracingAppLayer) Compliance() einterfaces.ComplianceInterface
func (*OpenTracingAppLayer) Config ¶
func (a *OpenTracingAppLayer) Config() *model.Config
func (*OpenTracingAppLayer) Context ¶
func (a *OpenTracingAppLayer) Context() context.Context
func (*OpenTracingAppLayer) ConvertBotToUser ¶
func (*OpenTracingAppLayer) ConvertUserToBot ¶
func (*OpenTracingAppLayer) CopyFileInfos ¶
func (*OpenTracingAppLayer) CreateChannel ¶
func (*OpenTracingAppLayer) CreateChannelScheme ¶
func (*OpenTracingAppLayer) CreateChannelWithUser ¶
func (*OpenTracingAppLayer) CreateCommand ¶
func (*OpenTracingAppLayer) CreateCommandPost ¶
func (*OpenTracingAppLayer) CreateCommandWebhook ¶
func (a *OpenTracingAppLayer) CreateCommandWebhook(commandID string, args *model.CommandArgs) (*model.CommandWebhook, *model.AppError)
func (*OpenTracingAppLayer) CreateDefaultChannels ¶
func (*OpenTracingAppLayer) CreateDefaultMemberships ¶
func (a *OpenTracingAppLayer) CreateDefaultMemberships(since int64) error
func (*OpenTracingAppLayer) CreateEmoji ¶
func (*OpenTracingAppLayer) CreateGroup ¶
func (*OpenTracingAppLayer) CreateGroupChannel ¶
func (*OpenTracingAppLayer) CreateGuest ¶
func (*OpenTracingAppLayer) CreateIncomingWebhookForChannel ¶
func (a *OpenTracingAppLayer) CreateIncomingWebhookForChannel(creatorId string, channel *model.Channel, hook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)
func (*OpenTracingAppLayer) CreateOAuthApp ¶
func (*OpenTracingAppLayer) CreateOAuthStateToken ¶
func (*OpenTracingAppLayer) CreateOAuthUser ¶
func (*OpenTracingAppLayer) CreateOutgoingWebhook ¶
func (a *OpenTracingAppLayer) CreateOutgoingWebhook(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
func (*OpenTracingAppLayer) CreatePasswordRecoveryToken ¶
func (*OpenTracingAppLayer) CreatePost ¶
func (*OpenTracingAppLayer) CreatePostAsUser ¶
func (*OpenTracingAppLayer) CreatePostMissingChannel ¶
func (*OpenTracingAppLayer) CreateRole ¶
func (*OpenTracingAppLayer) CreateScheme ¶
func (*OpenTracingAppLayer) CreateSession ¶
func (*OpenTracingAppLayer) CreateSidebarCategory ¶
func (a *OpenTracingAppLayer) CreateSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingAppLayer) CreateTeam ¶
func (*OpenTracingAppLayer) CreateTeamWithUser ¶
func (*OpenTracingAppLayer) CreateTermsOfService ¶
func (a *OpenTracingAppLayer) CreateTermsOfService(text string, userID string) (*model.TermsOfService, *model.AppError)
func (*OpenTracingAppLayer) CreateUploadSession ¶ added in v5.28.0
func (a *OpenTracingAppLayer) CreateUploadSession(us *model.UploadSession) (*model.UploadSession, *model.AppError)
func (*OpenTracingAppLayer) CreateUser ¶
func (*OpenTracingAppLayer) CreateUserAccessToken ¶
func (a *OpenTracingAppLayer) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)
func (*OpenTracingAppLayer) CreateUserAsAdmin ¶
func (*OpenTracingAppLayer) CreateUserFromSignup ¶
func (*OpenTracingAppLayer) CreateUserWithInviteId ¶
func (*OpenTracingAppLayer) CreateUserWithToken ¶
func (*OpenTracingAppLayer) CreateWebhookPost ¶
func (*OpenTracingAppLayer) CreateZipFileAndAddFiles ¶ added in v5.33.0
func (a *OpenTracingAppLayer) CreateZipFileAndAddFiles(fileBackend filesstore.FileBackend, fileDatas []model.FileData, zipFileName string, directory string) error
func (*OpenTracingAppLayer) DBHealthCheckDelete ¶ added in v5.30.0
func (a *OpenTracingAppLayer) DBHealthCheckDelete() error
func (*OpenTracingAppLayer) DBHealthCheckWrite ¶ added in v5.30.0
func (a *OpenTracingAppLayer) DBHealthCheckWrite() error
func (*OpenTracingAppLayer) DataRetention ¶
func (a *OpenTracingAppLayer) DataRetention() einterfaces.DataRetentionInterface
func (*OpenTracingAppLayer) DeactivateGuests ¶
func (a *OpenTracingAppLayer) DeactivateGuests() *model.AppError
func (*OpenTracingAppLayer) DeactivateMfa ¶
func (a *OpenTracingAppLayer) DeactivateMfa(userID string) *model.AppError
func (*OpenTracingAppLayer) DeauthorizeOAuthAppForUser ¶
func (a *OpenTracingAppLayer) DeauthorizeOAuthAppForUser(userID string, appId string) *model.AppError
func (*OpenTracingAppLayer) DefaultChannelNames ¶
func (a *OpenTracingAppLayer) DefaultChannelNames() []string
func (*OpenTracingAppLayer) DeleteAllExpiredPluginKeys ¶
func (a *OpenTracingAppLayer) DeleteAllExpiredPluginKeys() *model.AppError
func (*OpenTracingAppLayer) DeleteAllKeysForPlugin ¶
func (a *OpenTracingAppLayer) DeleteAllKeysForPlugin(pluginId string) *model.AppError
func (*OpenTracingAppLayer) DeleteBotIconImage ¶
func (a *OpenTracingAppLayer) DeleteBotIconImage(botUserId string) *model.AppError
func (*OpenTracingAppLayer) DeleteBrandImage ¶
func (a *OpenTracingAppLayer) DeleteBrandImage() *model.AppError
func (*OpenTracingAppLayer) DeleteChannel ¶
func (*OpenTracingAppLayer) DeleteChannelScheme ¶
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 ¶ added in v5.33.0
func (a *OpenTracingAppLayer) DeleteExport(name string) *model.AppError
func (*OpenTracingAppLayer) DeleteFlaggedPosts ¶
func (a *OpenTracingAppLayer) DeleteFlaggedPosts(postId string)
func (*OpenTracingAppLayer) DeleteGroup ¶
func (*OpenTracingAppLayer) DeleteGroupConstrainedMemberships ¶
func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships() error
func (*OpenTracingAppLayer) DeleteGroupMember ¶
func (a *OpenTracingAppLayer) DeleteGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*OpenTracingAppLayer) DeleteGroupSyncable ¶
func (a *OpenTracingAppLayer) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingAppLayer) DeleteIncomingWebhook ¶
func (a *OpenTracingAppLayer) DeleteIncomingWebhook(hookID string) *model.AppError
func (*OpenTracingAppLayer) DeleteOAuthApp ¶
func (a *OpenTracingAppLayer) DeleteOAuthApp(appId string) *model.AppError
func (*OpenTracingAppLayer) DeleteOutgoingWebhook ¶
func (a *OpenTracingAppLayer) DeleteOutgoingWebhook(hookID string) *model.AppError
func (*OpenTracingAppLayer) DeletePluginKey ¶
func (a *OpenTracingAppLayer) DeletePluginKey(pluginId string, key string) *model.AppError
func (*OpenTracingAppLayer) DeletePost ¶
func (*OpenTracingAppLayer) DeletePostFiles ¶
func (a *OpenTracingAppLayer) DeletePostFiles(post *model.Post)
func (*OpenTracingAppLayer) DeletePreferences ¶
func (a *OpenTracingAppLayer) DeletePreferences(userID string, preferences model.Preferences) *model.AppError
func (*OpenTracingAppLayer) DeletePublicKey ¶
func (a *OpenTracingAppLayer) DeletePublicKey(name string) *model.AppError
func (*OpenTracingAppLayer) DeleteReactionForPost ¶
func (a *OpenTracingAppLayer) DeleteReactionForPost(reaction *model.Reaction) *model.AppError
func (*OpenTracingAppLayer) DeleteScheme ¶
func (*OpenTracingAppLayer) DeleteSidebarCategory ¶
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 (*OpenTracingAppLayer) DoAdvancedPermissionsMigration ¶
func (a *OpenTracingAppLayer) DoAdvancedPermissionsMigration()
func (*OpenTracingAppLayer) DoAppMigrations ¶
func (a *OpenTracingAppLayer) DoAppMigrations()
func (*OpenTracingAppLayer) DoCommandRequest ¶ added in v5.28.0
func (*OpenTracingAppLayer) DoEmojisPermissionsMigration ¶
func (a *OpenTracingAppLayer) DoEmojisPermissionsMigration()
func (*OpenTracingAppLayer) DoGuestRolesCreationMigration ¶
func (a *OpenTracingAppLayer) DoGuestRolesCreationMigration()
func (*OpenTracingAppLayer) DoLocalRequest ¶
func (*OpenTracingAppLayer) DoPermissionsMigrations ¶
func (a *OpenTracingAppLayer) DoPermissionsMigrations() error
func (*OpenTracingAppLayer) DoPostAction ¶
func (*OpenTracingAppLayer) DoPostActionWithCookie ¶
func (a *OpenTracingAppLayer) DoPostActionWithCookie(postId string, actionId string, userID string, selectedOption string, cookie *model.PostActionCookie) (string, *model.AppError)
func (*OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration ¶ added in v5.28.0
func (a *OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration()
func (*OpenTracingAppLayer) DoUploadFile ¶
func (*OpenTracingAppLayer) DoUploadFileExpectModification ¶
func (*OpenTracingAppLayer) DoubleCheckPassword ¶
func (*OpenTracingAppLayer) DownloadFromURL ¶
func (a *OpenTracingAppLayer) DownloadFromURL(downloadURL string) ([]byte, error)
func (*OpenTracingAppLayer) EnablePlugin ¶
func (a *OpenTracingAppLayer) EnablePlugin(id string) *model.AppError
func (*OpenTracingAppLayer) EnableUserAccessToken ¶
func (a *OpenTracingAppLayer) EnableUserAccessToken(token *model.UserAccessToken) *model.AppError
func (*OpenTracingAppLayer) EnvironmentConfig ¶
func (a *OpenTracingAppLayer) EnvironmentConfig() map[string]interface{}
func (*OpenTracingAppLayer) ExecuteCommand ¶
func (a *OpenTracingAppLayer) ExecuteCommand(args *model.CommandArgs) (*model.CommandResponse, *model.AppError)
func (*OpenTracingAppLayer) ExportPermissions ¶
func (a *OpenTracingAppLayer) ExportPermissions(w io.Writer) error
func (*OpenTracingAppLayer) ExtendSessionExpiryIfNeeded ¶
func (a *OpenTracingAppLayer) ExtendSessionExpiryIfNeeded(session *model.Session) bool
func (*OpenTracingAppLayer) FetchSamlMetadataFromIdp ¶
func (a *OpenTracingAppLayer) FetchSamlMetadataFromIdp(url string) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) FileBackend ¶
func (a *OpenTracingAppLayer) FileBackend() (filesstore.FileBackend, *model.AppError)
func (*OpenTracingAppLayer) FileExists ¶
func (a *OpenTracingAppLayer) FileExists(path string) (bool, *model.AppError)
func (*OpenTracingAppLayer) FileModTime ¶ added in v5.33.0
func (*OpenTracingAppLayer) FileReader ¶
func (a *OpenTracingAppLayer) FileReader(path string) (filesstore.ReadCloseSeeker, *model.AppError)
func (*OpenTracingAppLayer) FileSize ¶ added in v5.32.0
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 (*OpenTracingAppLayer) FilterNonGroupChannelMembers ¶
func (*OpenTracingAppLayer) FilterNonGroupTeamMembers ¶
func (*OpenTracingAppLayer) FilterUsersByVisible ¶
func (*OpenTracingAppLayer) FindTeamByName ¶
func (a *OpenTracingAppLayer) FindTeamByName(name string) bool
func (*OpenTracingAppLayer) GenerateMfaSecret ¶
func (*OpenTracingAppLayer) GeneratePublicLink ¶
func (a *OpenTracingAppLayer) GeneratePublicLink(siteURL string, info *model.FileInfo) string
func (*OpenTracingAppLayer) GenerateSupportPacket ¶ added in v5.33.0
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) GetAllPrivateTeamsPage ¶
func (*OpenTracingAppLayer) GetAllPrivateTeamsPageWithCount ¶
func (a *OpenTracingAppLayer) GetAllPrivateTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetAllPublicTeams ¶
func (a *OpenTracingAppLayer) GetAllPublicTeams() ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllPublicTeamsPage ¶
func (*OpenTracingAppLayer) GetAllPublicTeamsPageWithCount ¶
func (a *OpenTracingAppLayer) GetAllPublicTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetAllRoles ¶
func (a *OpenTracingAppLayer) GetAllRoles() ([]*model.Role, *model.AppError)
func (*OpenTracingAppLayer) GetAllStatuses ¶
func (a *OpenTracingAppLayer) GetAllStatuses() map[string]*model.Status
func (*OpenTracingAppLayer) GetAllTeams ¶
func (a *OpenTracingAppLayer) GetAllTeams() ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllTeamsPage ¶
func (*OpenTracingAppLayer) GetAllTeamsPageWithCount ¶
func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetAnalytics ¶
func (a *OpenTracingAppLayer) GetAnalytics(name string, teamID string) (model.AnalyticsRows, *model.AppError)
func (*OpenTracingAppLayer) GetAuditsPage ¶
func (*OpenTracingAppLayer) GetAuthorizationCode ¶
func (*OpenTracingAppLayer) GetAuthorizedAppsForUser ¶
func (*OpenTracingAppLayer) GetBotIconImage ¶
func (a *OpenTracingAppLayer) GetBotIconImage(botUserId string) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) GetBots ¶
func (a *OpenTracingAppLayer) GetBots(options *model.BotGetOptions) (model.BotList, *model.AppError)
func (*OpenTracingAppLayer) GetBrandImage ¶
func (a *OpenTracingAppLayer) GetBrandImage() ([]byte, *model.AppError)
func (*OpenTracingAppLayer) GetBulkReactionsForPosts ¶
func (*OpenTracingAppLayer) GetChannel ¶
func (*OpenTracingAppLayer) GetChannelByName ¶
func (*OpenTracingAppLayer) GetChannelByNameForTeamName ¶
func (*OpenTracingAppLayer) GetChannelCounts ¶
func (a *OpenTracingAppLayer) GetChannelCounts(teamID string, userID string) (*model.ChannelCounts, *model.AppError)
func (*OpenTracingAppLayer) GetChannelGroupUsers ¶
func (*OpenTracingAppLayer) GetChannelGuestCount ¶
func (a *OpenTracingAppLayer) GetChannelGuestCount(channelId string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMember ¶
func (a *OpenTracingAppLayer) GetChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMemberCount ¶
func (a *OpenTracingAppLayer) GetChannelMemberCount(channelId string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersByIds ¶
func (a *OpenTracingAppLayer) GetChannelMembersByIds(channelId string, userIDs []string) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersForUser ¶
func (a *OpenTracingAppLayer) GetChannelMembersForUser(teamID string, userID string) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersForUserWithPagination ¶
func (a *OpenTracingAppLayer) GetChannelMembersForUserWithPagination(teamID string, userID string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersPage ¶
func (a *OpenTracingAppLayer) GetChannelMembersPage(channelId string, page int, perPage int) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersTimezones ¶
func (a *OpenTracingAppLayer) GetChannelMembersTimezones(channelId string) ([]string, *model.AppError)
func (*OpenTracingAppLayer) GetChannelModerationsForChannel ¶
func (a *OpenTracingAppLayer) GetChannelModerationsForChannel(channel *model.Channel) ([]*model.ChannelModeration, *model.AppError)
func (*OpenTracingAppLayer) GetChannelPinnedPostCount ¶
func (a *OpenTracingAppLayer) GetChannelPinnedPostCount(channelId string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelUnread ¶
func (a *OpenTracingAppLayer) GetChannelUnread(channelId string, userID string) (*model.ChannelUnread, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsByNames ¶
func (*OpenTracingAppLayer) GetChannelsForScheme ¶
func (a *OpenTracingAppLayer) GetChannelsForScheme(scheme *model.Scheme, offset int, limit int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForSchemePage ¶
func (a *OpenTracingAppLayer) GetChannelsForSchemePage(scheme *model.Scheme, page int, perPage int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForUser ¶
func (a *OpenTracingAppLayer) GetChannelsForUser(teamID string, userID string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsUserNotIn ¶
func (a *OpenTracingAppLayer) GetChannelsUserNotIn(teamID string, userID string, offset int, limit int) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetCloudSession ¶ added in v5.31.0
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 (*OpenTracingAppLayer) GetComplianceFile ¶
func (a *OpenTracingAppLayer) GetComplianceFile(job *model.Compliance) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) GetComplianceReport ¶
func (a *OpenTracingAppLayer) GetComplianceReport(reportId string) (*model.Compliance, *model.AppError)
func (*OpenTracingAppLayer) GetComplianceReports ¶
func (a *OpenTracingAppLayer) GetComplianceReports(page int, perPage int) (model.Compliances, *model.AppError)
func (*OpenTracingAppLayer) GetConfigFile ¶
func (a *OpenTracingAppLayer) GetConfigFile(name string) ([]byte, error)
func (*OpenTracingAppLayer) GetCookieDomain ¶
func (a *OpenTracingAppLayer) GetCookieDomain() string
func (*OpenTracingAppLayer) GetDataRetentionPolicy ¶
func (a *OpenTracingAppLayer) GetDataRetentionPolicy() (*model.DataRetentionPolicy, *model.AppError)
func (*OpenTracingAppLayer) GetDefaultProfileImage ¶
func (*OpenTracingAppLayer) GetDeletedChannels ¶
func (a *OpenTracingAppLayer) GetDeletedChannels(teamID string, offset int, limit int, userID string) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetEmojiByName ¶
func (*OpenTracingAppLayer) GetEmojiImage ¶
func (*OpenTracingAppLayer) GetEmojiList ¶
func (*OpenTracingAppLayer) GetEmojiStaticUrl ¶
func (a *OpenTracingAppLayer) GetEmojiStaticUrl(emojiName string) (string, *model.AppError)
func (*OpenTracingAppLayer) GetEnvironmentConfig ¶
func (a *OpenTracingAppLayer) GetEnvironmentConfig() map[string]interface{}
func (*OpenTracingAppLayer) GetErrorListForEmailsOverLimit ¶ added in v5.28.0
func (a *OpenTracingAppLayer) GetErrorListForEmailsOverLimit(emailList []string, cloudUserLimit int64) ([]string, []*model.EmailInviteWithError, *model.AppError)
func (*OpenTracingAppLayer) GetFile ¶
func (a *OpenTracingAppLayer) GetFile(fileId string) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) GetFileInfo ¶
func (*OpenTracingAppLayer) GetFileInfos ¶
func (a *OpenTracingAppLayer) GetFileInfos(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
func (*OpenTracingAppLayer) GetFileInfosForPost ¶
func (*OpenTracingAppLayer) GetFileInfosForPostWithMigration ¶
func (*OpenTracingAppLayer) GetFilteredUsersStats ¶
func (a *OpenTracingAppLayer) GetFilteredUsersStats(options *model.UserCountOptions) (*model.UsersStats, *model.AppError)
func (*OpenTracingAppLayer) GetFlaggedPosts ¶
func (*OpenTracingAppLayer) GetFlaggedPostsForChannel ¶
func (*OpenTracingAppLayer) GetFlaggedPostsForTeam ¶
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 (*OpenTracingAppLayer) GetGroupMemberCount ¶
func (a *OpenTracingAppLayer) GetGroupMemberCount(groupID string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetGroupMemberUsers ¶
func (*OpenTracingAppLayer) GetGroupMemberUsersPage ¶
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 (*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 (*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) GetJobsByType ¶
func (*OpenTracingAppLayer) GetJobsByTypePage ¶
func (*OpenTracingAppLayer) GetJobsPage ¶
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 (*OpenTracingAppLayer) GetLogsSkipSend ¶
func (*OpenTracingAppLayer) GetMarketplacePlugins ¶
func (a *OpenTracingAppLayer) GetMarketplacePlugins(filter *model.MarketplacePluginFilter) ([]*model.MarketplacePlugin, *model.AppError)
func (*OpenTracingAppLayer) GetMemberCountsByGroup ¶ added in v5.30.0
func (a *OpenTracingAppLayer) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)
func (*OpenTracingAppLayer) GetMessageForNotification ¶
func (a *OpenTracingAppLayer) GetMessageForNotification(post *model.Post, translateFunc i18n.TranslateFunc) string
func (*OpenTracingAppLayer) GetMultipleEmojiByName ¶
func (*OpenTracingAppLayer) GetNewUsersForTeamPage ¶
func (*OpenTracingAppLayer) GetNextPostIdFromPostList ¶
func (a *OpenTracingAppLayer) GetNextPostIdFromPostList(postList *model.PostList) string
func (*OpenTracingAppLayer) GetNotificationNameFormat ¶
func (a *OpenTracingAppLayer) GetNotificationNameFormat(user *model.User) string
func (*OpenTracingAppLayer) GetNumberOfChannelsOnTeam ¶
func (a *OpenTracingAppLayer) GetNumberOfChannelsOnTeam(teamID string) (int, *model.AppError)
func (*OpenTracingAppLayer) GetOAuthAccessTokenForCodeFlow ¶
func (*OpenTracingAppLayer) GetOAuthAccessTokenForImplicitFlow ¶
func (a *OpenTracingAppLayer) GetOAuthAccessTokenForImplicitFlow(userID string, authRequest *model.AuthorizeRequest) (*model.Session, *model.AppError)
func (*OpenTracingAppLayer) GetOAuthApp ¶
func (*OpenTracingAppLayer) GetOAuthApps ¶
func (*OpenTracingAppLayer) GetOAuthAppsByCreator ¶
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 (*OpenTracingAppLayer) GetOAuthSignupEndpoint ¶
func (a *OpenTracingAppLayer) GetOAuthSignupEndpoint(w http.ResponseWriter, r *http.Request, service string, teamID string) (string, *model.AppError)
func (*OpenTracingAppLayer) GetOAuthStateToken ¶
func (*OpenTracingAppLayer) GetOpenGraphMetadata ¶
func (a *OpenTracingAppLayer) GetOpenGraphMetadata(requestURL string) *opengraph.OpenGraph
func (*OpenTracingAppLayer) GetOrCreateDirectChannel ¶
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 (*OpenTracingAppLayer) GetPermalinkPost ¶
func (*OpenTracingAppLayer) GetPinnedPosts ¶
func (*OpenTracingAppLayer) GetPluginKey ¶
func (*OpenTracingAppLayer) GetPluginPublicKeyFiles ¶
func (a *OpenTracingAppLayer) GetPluginPublicKeyFiles() ([]string, *model.AppError)
func (*OpenTracingAppLayer) GetPluginStatus ¶
func (a *OpenTracingAppLayer) GetPluginStatus(id string) (*model.PluginStatus, *model.AppError)
func (*OpenTracingAppLayer) GetPluginStatuses ¶
func (a *OpenTracingAppLayer) GetPluginStatuses() (model.PluginStatuses, *model.AppError)
func (*OpenTracingAppLayer) GetPlugins ¶
func (a *OpenTracingAppLayer) GetPlugins() (*model.PluginsResponse, *model.AppError)
func (*OpenTracingAppLayer) GetPluginsEnvironment ¶
func (a *OpenTracingAppLayer) GetPluginsEnvironment() *plugin.Environment
func (*OpenTracingAppLayer) GetPostAfterTime ¶
func (*OpenTracingAppLayer) GetPostIdAfterTime ¶
func (*OpenTracingAppLayer) GetPostIdBeforeTime ¶
func (*OpenTracingAppLayer) GetPostThread ¶
func (*OpenTracingAppLayer) GetPostsAfterPost ¶
func (a *OpenTracingAppLayer) GetPostsAfterPost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsAroundPost ¶
func (a *OpenTracingAppLayer) GetPostsAroundPost(before bool, options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsBeforePost ¶
func (a *OpenTracingAppLayer) GetPostsBeforePost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsEtag ¶
func (a *OpenTracingAppLayer) GetPostsEtag(channelId string, collapsedThreads bool) string
func (*OpenTracingAppLayer) GetPostsForChannelAroundLastUnread ¶
func (*OpenTracingAppLayer) GetPostsPage ¶
func (a *OpenTracingAppLayer) GetPostsPage(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsSince ¶
func (a *OpenTracingAppLayer) GetPostsSince(options model.GetPostsSinceOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPreferenceByCategoryAndNameForUser ¶
func (a *OpenTracingAppLayer) GetPreferenceByCategoryAndNameForUser(userID string, category string, preferenceName string) (*model.Preference, *model.AppError)
func (*OpenTracingAppLayer) GetPreferenceByCategoryForUser ¶
func (a *OpenTracingAppLayer) GetPreferenceByCategoryForUser(userID string, category string) (model.Preferences, *model.AppError)
func (*OpenTracingAppLayer) GetPreferencesForUser ¶
func (a *OpenTracingAppLayer) GetPreferencesForUser(userID string) (model.Preferences, *model.AppError)
func (*OpenTracingAppLayer) GetPrevPostIdFromPostList ¶
func (a *OpenTracingAppLayer) GetPrevPostIdFromPostList(postList *model.PostList) string
func (*OpenTracingAppLayer) GetPrivateChannelsForTeam ¶
func (a *OpenTracingAppLayer) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetProductNotices ¶ added in v5.28.0
func (a *OpenTracingAppLayer) GetProductNotices(userID string, teamID string, client model.NoticeClientType, clientVersion string, locale string) (model.NoticeMessages, *model.AppError)
func (*OpenTracingAppLayer) GetProfileImage ¶
func (*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 (*OpenTracingAppLayer) GetRecentlyActiveUsersForTeam ¶
func (*OpenTracingAppLayer) GetRecentlyActiveUsersForTeamPage ¶
func (*OpenTracingAppLayer) GetRoleByName ¶
func (*OpenTracingAppLayer) GetRolesByNames ¶
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) GetSchemeByName ¶
func (*OpenTracingAppLayer) GetSchemeRolesForChannel ¶
func (*OpenTracingAppLayer) GetSchemeRolesForTeam ¶
func (*OpenTracingAppLayer) GetSchemes ¶
func (*OpenTracingAppLayer) GetSchemesPage ¶
func (*OpenTracingAppLayer) GetSession ¶
func (*OpenTracingAppLayer) GetSessionById ¶
func (*OpenTracingAppLayer) GetSessionLengthInMillis ¶
func (a *OpenTracingAppLayer) GetSessionLengthInMillis(session *model.Session) int64
func (*OpenTracingAppLayer) GetSessions ¶
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 (*OpenTracingAppLayer) GetSinglePost ¶
func (*OpenTracingAppLayer) GetSiteURL ¶
func (a *OpenTracingAppLayer) GetSiteURL() string
func (*OpenTracingAppLayer) GetStatusFromCache ¶
func (a *OpenTracingAppLayer) GetStatusFromCache(userID string) *model.Status
func (*OpenTracingAppLayer) GetStatusesByIds ¶
func (a *OpenTracingAppLayer) GetStatusesByIds(userIDs []string) (map[string]interface{}, *model.AppError)
func (*OpenTracingAppLayer) GetSuggestions ¶
func (a *OpenTracingAppLayer) GetSuggestions(commandArgs *model.CommandArgs, commands []*model.Command, roleID string) []model.AutocompleteSuggestion
func (*OpenTracingAppLayer) GetT ¶
func (a *OpenTracingAppLayer) GetT() i18n.TranslateFunc
func (*OpenTracingAppLayer) GetTeamByInviteId ¶
func (*OpenTracingAppLayer) GetTeamByName ¶
func (*OpenTracingAppLayer) GetTeamGroupUsers ¶
func (*OpenTracingAppLayer) GetTeamIcon ¶
func (*OpenTracingAppLayer) GetTeamIdFromQuery ¶
func (*OpenTracingAppLayer) GetTeamMember ¶
func (a *OpenTracingAppLayer) GetTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) GetTeamMembers ¶
func (a *OpenTracingAppLayer) GetTeamMembers(teamID string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) GetTeamMembersByIds ¶
func (a *OpenTracingAppLayer) GetTeamMembersByIds(teamID string, userIDs []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) GetTeamMembersForUser ¶
func (a *OpenTracingAppLayer) GetTeamMembersForUser(userID string) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) GetTeamMembersForUserWithPagination ¶
func (a *OpenTracingAppLayer) GetTeamMembersForUserWithPagination(userID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) GetTeamSchemeChannelRoles ¶
func (*OpenTracingAppLayer) GetTeamStats ¶
func (a *OpenTracingAppLayer) GetTeamStats(teamID string, restrictions *model.ViewUsersRestrictions) (*model.TeamStats, *model.AppError)
func (*OpenTracingAppLayer) GetTeamUnread ¶
func (a *OpenTracingAppLayer) GetTeamUnread(teamID string, userID string) (*model.TeamUnread, *model.AppError)
func (*OpenTracingAppLayer) GetTeamsForScheme ¶
func (*OpenTracingAppLayer) GetTeamsForSchemePage ¶
func (*OpenTracingAppLayer) GetTeamsForUser ¶
func (*OpenTracingAppLayer) GetTeamsUnreadForUser ¶
func (a *OpenTracingAppLayer) GetTeamsUnreadForUser(excludeTeamId string, userID string) ([]*model.TeamUnread, *model.AppError)
func (*OpenTracingAppLayer) GetTermsOfService ¶
func (a *OpenTracingAppLayer) GetTermsOfService(id string) (*model.TermsOfService, *model.AppError)
func (*OpenTracingAppLayer) GetThreadForUser ¶ added in v5.33.0
func (a *OpenTracingAppLayer) GetThreadForUser(userID string, teamID string, threadId string, extended bool) (*model.ThreadResponse, *model.AppError)
func (*OpenTracingAppLayer) GetThreadMembershipsForUser ¶ added in v5.29.0
func (a *OpenTracingAppLayer) GetThreadMembershipsForUser(userID string, teamID string) ([]*model.ThreadMembership, error)
func (*OpenTracingAppLayer) GetThreadMentionsForUserPerChannel ¶ added in v5.33.0
func (*OpenTracingAppLayer) GetThreadsForUser ¶ added in v5.30.0
func (a *OpenTracingAppLayer) GetThreadsForUser(userID string, teamID string, options model.GetUserThreadsOpts) (*model.Threads, *model.AppError)
func (*OpenTracingAppLayer) GetTotalUsersStats ¶
func (a *OpenTracingAppLayer) GetTotalUsersStats(viewRestrictions *model.ViewUsersRestrictions) (*model.UsersStats, *model.AppError)
func (*OpenTracingAppLayer) GetUploadSession ¶ added in v5.28.0
func (a *OpenTracingAppLayer) GetUploadSession(uploadId string) (*model.UploadSession, *model.AppError)
func (*OpenTracingAppLayer) GetUploadSessionsForUser ¶ added in v5.28.0
func (a *OpenTracingAppLayer) GetUploadSessionsForUser(userID string) ([]*model.UploadSession, *model.AppError)
func (*OpenTracingAppLayer) 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 (*OpenTracingAppLayer) GetUserByEmail ¶
func (*OpenTracingAppLayer) GetUserByUsername ¶
func (*OpenTracingAppLayer) GetUserForLogin ¶
func (*OpenTracingAppLayer) GetUserStatusesByIds ¶
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 (*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 (*OpenTracingAppLayer) GetUsersNotInChannelMap ¶
func (*OpenTracingAppLayer) GetUsersNotInChannelPage ¶
func (*OpenTracingAppLayer) GetUsersNotInTeam ¶
func (*OpenTracingAppLayer) GetUsersNotInTeamEtag ¶
func (a *OpenTracingAppLayer) GetUsersNotInTeamEtag(teamID string, restrictionsHash string) string
func (*OpenTracingAppLayer) GetUsersNotInTeamPage ¶
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 (*OpenTracingAppLayer) GetViewUsersRestrictions ¶
func (a *OpenTracingAppLayer) GetViewUsersRestrictions(userID string) (*model.ViewUsersRestrictions, *model.AppError)
func (*OpenTracingAppLayer) GetWarnMetricsStatus ¶
func (a *OpenTracingAppLayer) GetWarnMetricsStatus() (map[string]*model.WarnMetricStatus, *model.AppError)
func (*OpenTracingAppLayer) HTTPService ¶
func (a *OpenTracingAppLayer) HTTPService() httpservice.HTTPService
func (*OpenTracingAppLayer) Handle404 ¶
func (a *OpenTracingAppLayer) Handle404(w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) HandleCommandResponse ¶
func (a *OpenTracingAppLayer) HandleCommandResponse(command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.CommandResponse, *model.AppError)
func (*OpenTracingAppLayer) HandleCommandResponsePost ¶
func (a *OpenTracingAppLayer) HandleCommandResponsePost(command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.Post, *model.AppError)
func (*OpenTracingAppLayer) HandleCommandWebhook ¶
func (a *OpenTracingAppLayer) HandleCommandWebhook(hookID string, response *model.CommandResponse) *model.AppError
func (*OpenTracingAppLayer) HandleImages ¶
func (a *OpenTracingAppLayer) HandleImages(previewPathList []string, thumbnailPathList []string, fileData [][]byte)
func (*OpenTracingAppLayer) HandleIncomingWebhook ¶
func (a *OpenTracingAppLayer) HandleIncomingWebhook(hookID string, req *model.IncomingWebhookRequest) *model.AppError
func (*OpenTracingAppLayer) HandleMessageExportConfig ¶
func (a *OpenTracingAppLayer) HandleMessageExportConfig(cfg *model.Config, appCfg *model.Config)
func (*OpenTracingAppLayer) HasPermissionTo ¶
func (a *OpenTracingAppLayer) HasPermissionTo(askingUserId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToChannel ¶
func (a *OpenTracingAppLayer) HasPermissionToChannel(askingUserId string, channelId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToChannelByPost ¶
func (a *OpenTracingAppLayer) HasPermissionToChannelByPost(askingUserId string, postId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToTeam ¶
func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToUser ¶
func (a *OpenTracingAppLayer) HasPermissionToUser(askingUserId string, userID string) bool
func (*OpenTracingAppLayer) HubRegister ¶
func (a *OpenTracingAppLayer) HubRegister(webConn *app.WebConn)
func (*OpenTracingAppLayer) HubStart ¶
func (a *OpenTracingAppLayer) HubStart()
func (*OpenTracingAppLayer) HubStop ¶
func (a *OpenTracingAppLayer) HubStop()
func (*OpenTracingAppLayer) HubUnregister ¶
func (a *OpenTracingAppLayer) HubUnregister(webConn *app.WebConn)
func (*OpenTracingAppLayer) ImageProxy ¶
func (a *OpenTracingAppLayer) ImageProxy() *imageproxy.ImageProxy
func (*OpenTracingAppLayer) ImageProxyAdder ¶
func (a *OpenTracingAppLayer) ImageProxyAdder() func(string) string
func (*OpenTracingAppLayer) ImageProxyRemover ¶
func (a *OpenTracingAppLayer) ImageProxyRemover() (f func(string) string)
func (*OpenTracingAppLayer) ImportPermissions ¶
func (a *OpenTracingAppLayer) ImportPermissions(jsonl io.Reader) error
func (*OpenTracingAppLayer) InitPlugins ¶
func (a *OpenTracingAppLayer) InitPlugins(pluginDir string, webappPluginDir string)
func (*OpenTracingAppLayer) InitPostMetadata ¶
func (a *OpenTracingAppLayer) InitPostMetadata()
func (*OpenTracingAppLayer) InitServer ¶
func (a *OpenTracingAppLayer) InitServer()
func (*OpenTracingAppLayer) InstallMarketplacePlugin ¶
func (a *OpenTracingAppLayer) InstallMarketplacePlugin(request *model.InstallMarketplacePluginRequest) (*model.Manifest, *model.AppError)
func (*OpenTracingAppLayer) InstallPlugin ¶
func (a *OpenTracingAppLayer) InstallPlugin(pluginFile io.ReadSeeker, replace bool) (*model.Manifest, *model.AppError)
func (*OpenTracingAppLayer) InstallPluginFromData ¶
func (a *OpenTracingAppLayer) InstallPluginFromData(data model.PluginEventData)
func (*OpenTracingAppLayer) InstallPluginWithSignature ¶
func (a *OpenTracingAppLayer) InstallPluginWithSignature(pluginFile io.ReadSeeker, signature io.ReadSeeker) (*model.Manifest, *model.AppError)
func (*OpenTracingAppLayer) InvalidateAllEmailInvites ¶
func (a *OpenTracingAppLayer) InvalidateAllEmailInvites() *model.AppError
func (*OpenTracingAppLayer) InvalidateCacheForUser ¶
func (a *OpenTracingAppLayer) InvalidateCacheForUser(userID string)
func (*OpenTracingAppLayer) InvalidateWebConnSessionCacheForUser ¶
func (a *OpenTracingAppLayer) InvalidateWebConnSessionCacheForUser(userID string)
func (*OpenTracingAppLayer) InviteGuestsToChannels ¶
func (a *OpenTracingAppLayer) InviteGuestsToChannels(teamID string, guestsInvite *model.GuestsInvite, senderId string) *model.AppError
func (*OpenTracingAppLayer) InviteGuestsToChannelsGracefully ¶
func (a *OpenTracingAppLayer) InviteGuestsToChannelsGracefully(teamID string, guestsInvite *model.GuestsInvite, senderId string) ([]*model.EmailInviteWithError, *model.AppError)
func (*OpenTracingAppLayer) InviteNewUsersToTeam ¶
func (*OpenTracingAppLayer) InviteNewUsersToTeamGracefully ¶
func (a *OpenTracingAppLayer) InviteNewUsersToTeamGracefully(emailList []string, teamID string, senderId string) ([]*model.EmailInviteWithError, *model.AppError)
func (*OpenTracingAppLayer) IpAddress ¶
func (a *OpenTracingAppLayer) IpAddress() string
func (*OpenTracingAppLayer) IsFirstUserAccount ¶
func (a *OpenTracingAppLayer) IsFirstUserAccount() bool
func (*OpenTracingAppLayer) IsLeader ¶
func (a *OpenTracingAppLayer) IsLeader() bool
func (*OpenTracingAppLayer) IsPasswordValid ¶
func (a *OpenTracingAppLayer) IsPasswordValid(password string) *model.AppError
func (*OpenTracingAppLayer) IsPhase2MigrationCompleted ¶
func (a *OpenTracingAppLayer) IsPhase2MigrationCompleted() *model.AppError
func (*OpenTracingAppLayer) IsUserAway ¶
func (a *OpenTracingAppLayer) IsUserAway(lastActivityAt int64) bool
func (*OpenTracingAppLayer) IsUserSignUpAllowed ¶
func (a *OpenTracingAppLayer) IsUserSignUpAllowed() *model.AppError
func (*OpenTracingAppLayer) IsUsernameTaken ¶
func (a *OpenTracingAppLayer) IsUsernameTaken(name string) bool
func (*OpenTracingAppLayer) JoinChannel ¶
func (*OpenTracingAppLayer) JoinDefaultChannels ¶
func (*OpenTracingAppLayer) JoinUserToTeam ¶
func (*OpenTracingAppLayer) Ldap ¶
func (a *OpenTracingAppLayer) Ldap() einterfaces.LdapInterface
func (*OpenTracingAppLayer) LeaveChannel ¶
func (a *OpenTracingAppLayer) LeaveChannel(channelId string, userID string) *model.AppError
func (*OpenTracingAppLayer) LimitedClientConfig ¶
func (a *OpenTracingAppLayer) LimitedClientConfig() map[string]string
func (*OpenTracingAppLayer) LimitedClientConfigWithComputed ¶
func (a *OpenTracingAppLayer) LimitedClientConfigWithComputed() map[string]string
func (*OpenTracingAppLayer) ListAllCommands ¶
func (a *OpenTracingAppLayer) ListAllCommands(teamID string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)
func (*OpenTracingAppLayer) ListAutocompleteCommands ¶
func (a *OpenTracingAppLayer) ListAutocompleteCommands(teamID string, T goi18n.TranslateFunc) ([]*model.Command, *model.AppError)
func (*OpenTracingAppLayer) ListDirectory ¶
func (a *OpenTracingAppLayer) ListDirectory(path string) ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListExports ¶ added in v5.33.0
func (a *OpenTracingAppLayer) ListExports() ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListImports ¶ added in v5.32.0
func (a *OpenTracingAppLayer) ListImports() ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListPluginKeys ¶
func (*OpenTracingAppLayer) ListTeamCommands ¶
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 (*OpenTracingAppLayer) LoginByOAuth ¶
func (*OpenTracingAppLayer) MakeAuditRecord ¶
func (a *OpenTracingAppLayer) MakeAuditRecord(event string, initialStatus string) *audit.Record
func (*OpenTracingAppLayer) MakePermissionError ¶
func (a *OpenTracingAppLayer) MakePermissionError(permissions []*model.Permission) *model.AppError
func (*OpenTracingAppLayer) MarkChannelAsUnreadFromPost ¶
func (a *OpenTracingAppLayer) MarkChannelAsUnreadFromPost(postID string, userID string) (*model.ChannelUnreadAt, *model.AppError)
func (*OpenTracingAppLayer) MarkChannelsAsViewed ¶
func (*OpenTracingAppLayer) MaxPostSize ¶
func (a *OpenTracingAppLayer) MaxPostSize() int
func (*OpenTracingAppLayer) MentionsToPublicChannels ¶ added in v5.28.0
func (a *OpenTracingAppLayer) MentionsToPublicChannels(message string, teamID string) model.ChannelMentionMap
func (*OpenTracingAppLayer) MentionsToTeamMembers ¶ added in v5.28.0
func (a *OpenTracingAppLayer) MentionsToTeamMembers(message string, teamID string) model.UserMentionMap
func (*OpenTracingAppLayer) MessageExport ¶
func (a *OpenTracingAppLayer) MessageExport() einterfaces.MessageExportInterface
func (*OpenTracingAppLayer) Metrics ¶
func (a *OpenTracingAppLayer) Metrics() einterfaces.MetricsInterface
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 (*OpenTracingAppLayer) MoveCommand ¶
func (*OpenTracingAppLayer) MoveFile ¶
func (a *OpenTracingAppLayer) MoveFile(oldPath string, newPath string) *model.AppError
func (*OpenTracingAppLayer) NewClusterDiscoveryService ¶
func (a *OpenTracingAppLayer) NewClusterDiscoveryService() *app.ClusterDiscoveryService
func (*OpenTracingAppLayer) NewPluginAPI ¶
func (a *OpenTracingAppLayer) NewPluginAPI(manifest *model.Manifest) plugin.API
func (*OpenTracingAppLayer) NewWebConn ¶
func (a *OpenTracingAppLayer) NewWebConn(ws net.Conn, session model.Session, t goi18n.TranslateFunc, locale string) *app.WebConn
func (*OpenTracingAppLayer) NewWebHub ¶
func (a *OpenTracingAppLayer) NewWebHub() *app.Hub
func (*OpenTracingAppLayer) Notification ¶
func (a *OpenTracingAppLayer) Notification() einterfaces.NotificationInterface
func (*OpenTracingAppLayer) NotificationsLog ¶
func (a *OpenTracingAppLayer) NotificationsLog() *mlog.Logger
func (*OpenTracingAppLayer) NotifyAndSetWarnMetricAck ¶
func (*OpenTracingAppLayer) NotifySessionsExpired ¶
func (a *OpenTracingAppLayer) NotifySessionsExpired() *model.AppError
func (*OpenTracingAppLayer) OpenInteractiveDialog ¶
func (a *OpenTracingAppLayer) OpenInteractiveDialog(request model.OpenDialogRequest) *model.AppError
func (*OpenTracingAppLayer) OriginChecker ¶
func (a *OpenTracingAppLayer) OriginChecker() func(*http.Request) bool
func (*OpenTracingAppLayer) OverrideIconURLIfEmoji ¶
func (a *OpenTracingAppLayer) OverrideIconURLIfEmoji(post *model.Post)
func (*OpenTracingAppLayer) PatchChannel ¶
func (a *OpenTracingAppLayer) PatchChannel(channel *model.Channel, patch *model.ChannelPatch, userID string) (*model.Channel, *model.AppError)
func (*OpenTracingAppLayer) PatchChannelModerationsForChannel ¶
func (a *OpenTracingAppLayer) PatchChannelModerationsForChannel(channel *model.Channel, channelModerationsPatch []*model.ChannelModerationPatch) ([]*model.ChannelModeration, *model.AppError)
func (*OpenTracingAppLayer) PatchScheme ¶
func (a *OpenTracingAppLayer) PatchScheme(scheme *model.Scheme, patch *model.SchemePatch) (*model.Scheme, *model.AppError)
func (*OpenTracingAppLayer) Path ¶
func (a *OpenTracingAppLayer) Path() string
func (*OpenTracingAppLayer) PermanentDeleteAllUsers ¶
func (a *OpenTracingAppLayer) PermanentDeleteAllUsers() *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteBot ¶
func (a *OpenTracingAppLayer) PermanentDeleteBot(botUserId string) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteChannel ¶
func (a *OpenTracingAppLayer) PermanentDeleteChannel(channel *model.Channel) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteTeam ¶
func (a *OpenTracingAppLayer) PermanentDeleteTeam(team *model.Team) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteTeamId ¶
func (a *OpenTracingAppLayer) PermanentDeleteTeamId(teamID string) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteUser ¶
func (a *OpenTracingAppLayer) PermanentDeleteUser(user *model.User) *model.AppError
func (*OpenTracingAppLayer) PluginCommandsForTeam ¶
func (a *OpenTracingAppLayer) PluginCommandsForTeam(teamID string) []*model.Command
func (*OpenTracingAppLayer) PluginContext ¶
func (a *OpenTracingAppLayer) PluginContext() *plugin.Context
func (*OpenTracingAppLayer) PostActionCookieSecret ¶
func (a *OpenTracingAppLayer) PostActionCookieSecret() []byte
func (*OpenTracingAppLayer) PostAddToChannelMessage ¶
func (*OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs ¶
func (a *OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs(patch *model.PostPatch) *model.PostPatch
func (*OpenTracingAppLayer) PostUpdateChannelDisplayNameMessage ¶
func (*OpenTracingAppLayer) PostUpdateChannelHeaderMessage ¶
func (*OpenTracingAppLayer) PostUpdateChannelPurposeMessage ¶
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 (*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 (*OpenTracingAppLayer) Publish ¶
func (a *OpenTracingAppLayer) Publish(message *model.WebSocketEvent)
func (*OpenTracingAppLayer) PublishSkipClusterSend ¶
func (a *OpenTracingAppLayer) PublishSkipClusterSend(message *model.WebSocketEvent)
func (*OpenTracingAppLayer) PublishUserTyping ¶
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 (*OpenTracingAppLayer) RegenOutgoingWebhookToken ¶
func (a *OpenTracingAppLayer) RegenOutgoingWebhookToken(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
func (*OpenTracingAppLayer) RegenerateOAuthAppSecret ¶
func (*OpenTracingAppLayer) RegenerateTeamInviteId ¶
func (*OpenTracingAppLayer) RegisterPluginCommand ¶
func (a *OpenTracingAppLayer) RegisterPluginCommand(pluginId string, command *model.Command) error
func (*OpenTracingAppLayer) ReloadConfig ¶
func (a *OpenTracingAppLayer) ReloadConfig() error
func (*OpenTracingAppLayer) RemoveAllDeactivatedMembersFromChannel ¶
func (a *OpenTracingAppLayer) RemoveAllDeactivatedMembersFromChannel(channel *model.Channel) *model.AppError
func (*OpenTracingAppLayer) RemoveConfigListener ¶
func (a *OpenTracingAppLayer) RemoveConfigListener(id string)
func (*OpenTracingAppLayer) RemoveCustomStatus ¶ added in v5.33.0
func (a *OpenTracingAppLayer) RemoveCustomStatus(userID string) *model.AppError
func (*OpenTracingAppLayer) RemoveDirectory ¶ added in v5.32.0
func (a *OpenTracingAppLayer) RemoveDirectory(path string) *model.AppError
func (*OpenTracingAppLayer) RemoveFile ¶
func (a *OpenTracingAppLayer) RemoveFile(path string) *model.AppError
func (*OpenTracingAppLayer) RemoveLdapPrivateCertificate ¶ added in v5.28.0
func (a *OpenTracingAppLayer) RemoveLdapPrivateCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveLdapPublicCertificate ¶ added in v5.28.0
func (a *OpenTracingAppLayer) RemoveLdapPublicCertificate() *model.AppError
func (*OpenTracingAppLayer) RemovePlugin ¶
func (a *OpenTracingAppLayer) RemovePlugin(id string) *model.AppError
func (*OpenTracingAppLayer) RemovePluginFromData ¶
func (a *OpenTracingAppLayer) RemovePluginFromData(data model.PluginEventData)
func (*OpenTracingAppLayer) RemoveRecentCustomStatus ¶ added in v5.33.0
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) RemoveTeamMemberFromTeam ¶
func (a *OpenTracingAppLayer) RemoveTeamMemberFromTeam(teamMember *model.TeamMember, requestorId string) *model.AppError
func (*OpenTracingAppLayer) RemoveUserFromChannel ¶
func (*OpenTracingAppLayer) RemoveUserFromTeam ¶
func (*OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam ¶
func (*OpenTracingAppLayer) RenameChannel ¶
func (*OpenTracingAppLayer) RenameTeam ¶
func (*OpenTracingAppLayer) RequestId ¶
func (a *OpenTracingAppLayer) RequestId() string
func (*OpenTracingAppLayer) RequestLicenseAndAckWarnMetric ¶ added in v5.28.0
func (a *OpenTracingAppLayer) RequestLicenseAndAckWarnMetric(warnMetricId string, isBot bool) *model.AppError
func (*OpenTracingAppLayer) ResetPasswordFromToken ¶
func (a *OpenTracingAppLayer) ResetPasswordFromToken(userSuppliedTokenString string, newPassword string) *model.AppError
func (*OpenTracingAppLayer) ResetPermissionsSystem ¶
func (a *OpenTracingAppLayer) ResetPermissionsSystem() *model.AppError
func (*OpenTracingAppLayer) RestoreChannel ¶
func (*OpenTracingAppLayer) RestoreTeam ¶
func (a *OpenTracingAppLayer) RestoreTeam(teamID string) *model.AppError
func (*OpenTracingAppLayer) RestrictUsersGetByPermissions ¶
func (a *OpenTracingAppLayer) RestrictUsersGetByPermissions(userID string, options *model.UserGetOptions) (*model.UserGetOptions, *model.AppError)
func (*OpenTracingAppLayer) RestrictUsersSearchByPermissions ¶
func (a *OpenTracingAppLayer) RestrictUsersSearchByPermissions(userID string, options *model.UserSearchOptions) (*model.UserSearchOptions, *model.AppError)
func (*OpenTracingAppLayer) RevokeAccessToken ¶
func (a *OpenTracingAppLayer) RevokeAccessToken(token string) *model.AppError
func (*OpenTracingAppLayer) RevokeAllSessions ¶
func (a *OpenTracingAppLayer) RevokeAllSessions(userID string) *model.AppError
func (*OpenTracingAppLayer) RevokeSession ¶
func (a *OpenTracingAppLayer) RevokeSession(session *model.Session) *model.AppError
func (*OpenTracingAppLayer) RevokeSessionById ¶
func (a *OpenTracingAppLayer) RevokeSessionById(sessionId string) *model.AppError
func (*OpenTracingAppLayer) RevokeSessionsForDeviceId ¶
func (*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 (a *OpenTracingAppLayer) Saml() einterfaces.SamlInterface
func (*OpenTracingAppLayer) SanitizeProfile ¶
func (a *OpenTracingAppLayer) SanitizeProfile(user *model.User, asAdmin bool)
func (*OpenTracingAppLayer) SanitizeTeam ¶
func (*OpenTracingAppLayer) SanitizeTeams ¶
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 (*OpenTracingAppLayer) SaveReactionForPost ¶
func (*OpenTracingAppLayer) SaveUserTermsOfService ¶
func (*OpenTracingAppLayer) SchemesIterator ¶
func (a *OpenTracingAppLayer) SchemesIterator(scope string, batchSize int) func() []*model.Scheme
func (*OpenTracingAppLayer) SearchAllChannels ¶
func (a *OpenTracingAppLayer) SearchAllChannels(term string, opts model.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
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 (*OpenTracingAppLayer) SearchEngine ¶
func (a *OpenTracingAppLayer) SearchEngine() *searchengine.Broker
func (*OpenTracingAppLayer) SearchGroupChannels ¶
func (a *OpenTracingAppLayer) SearchGroupChannels(userID string, term string) (*model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) SearchPostsInTeam ¶
func (a *OpenTracingAppLayer) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) SearchPostsInTeamForUser ¶
func (*OpenTracingAppLayer) SearchPrivateTeams ¶
func (*OpenTracingAppLayer) SearchPublicTeams ¶
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 ¶ added in v5.33.0
func (a *OpenTracingAppLayer) SendAdminUpgradeRequestEmail(username string, subscription *model.Subscription) *model.AppError
func (*OpenTracingAppLayer) SendAutoResponse ¶
func (*OpenTracingAppLayer) SendAutoResponseIfNecessary ¶
func (*OpenTracingAppLayer) SendEmailVerification ¶
func (*OpenTracingAppLayer) SendEphemeralPost ¶
func (*OpenTracingAppLayer) SendNoCardPaymentFailedEmail ¶ added in v5.31.0
func (a *OpenTracingAppLayer) SendNoCardPaymentFailedEmail() *model.AppError
func (*OpenTracingAppLayer) SendNotifications ¶
func (*OpenTracingAppLayer) SendPasswordReset ¶
func (*OpenTracingAppLayer) SendPaymentFailedEmail ¶ added in v5.31.0
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) ServePluginPublicRequest ¶
func (a *OpenTracingAppLayer) ServePluginPublicRequest(w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) ServePluginRequest ¶
func (a *OpenTracingAppLayer) ServePluginRequest(w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) ServerBusyStateChanged ¶
func (a *OpenTracingAppLayer) ServerBusyStateChanged(sbs *model.ServerBusyState)
func (*OpenTracingAppLayer) Session ¶
func (a *OpenTracingAppLayer) Session() *model.Session
func (*OpenTracingAppLayer) SessionCacheLength ¶
func (a *OpenTracingAppLayer) SessionCacheLength() int
func (*OpenTracingAppLayer) SessionHasPermissionTo ¶
func (a *OpenTracingAppLayer) SessionHasPermissionTo(session model.Session, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToAny ¶ added in v5.28.0
func (a *OpenTracingAppLayer) SessionHasPermissionToAny(session model.Session, permissions []*model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToCategory ¶
func (*OpenTracingAppLayer) SessionHasPermissionToChannel ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToChannel(session model.Session, channelId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToChannelByPost ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToChannelByPost(session model.Session, postId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToManageBot ¶
func (*OpenTracingAppLayer) SessionHasPermissionToTeam ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToTeam(session model.Session, teamID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToUser ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToUser(session model.Session, userID string) bool
func (*OpenTracingAppLayer) SessionHasPermissionToUserOrBot ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToUserOrBot(session model.Session, userID string) bool
func (*OpenTracingAppLayer) SessionIsRegistered ¶
func (a *OpenTracingAppLayer) SessionIsRegistered(session model.Session) bool
func (*OpenTracingAppLayer) SetAcceptLanguage ¶
func (a *OpenTracingAppLayer) SetAcceptLanguage(str string)
func (*OpenTracingAppLayer) SetActiveChannel ¶
func (a *OpenTracingAppLayer) SetActiveChannel(userID string, channelId string) *model.AppError
func (*OpenTracingAppLayer) SetAutoResponderStatus ¶
func (a *OpenTracingAppLayer) SetAutoResponderStatus(user *model.User, oldNotifyProps model.StringMap)
func (*OpenTracingAppLayer) SetBotIconImage ¶
func (a *OpenTracingAppLayer) SetBotIconImage(botUserId string, file io.ReadSeeker) *model.AppError
func (*OpenTracingAppLayer) SetBotIconImageFromMultiPartFile ¶
func (a *OpenTracingAppLayer) SetBotIconImageFromMultiPartFile(botUserId string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) SetContext ¶
func (a *OpenTracingAppLayer) SetContext(c context.Context)
func (*OpenTracingAppLayer) SetCustomStatus ¶ added in v5.33.0
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) SetIpAddress ¶
func (a *OpenTracingAppLayer) SetIpAddress(str string)
func (*OpenTracingAppLayer) SetPath ¶
func (a *OpenTracingAppLayer) SetPath(str string)
func (*OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus ¶
func (a *OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus(isComplete bool) error
func (*OpenTracingAppLayer) SetPluginKey ¶
func (*OpenTracingAppLayer) SetPluginKeyWithExpiry ¶
func (*OpenTracingAppLayer) SetPluginKeyWithOptions ¶
func (a *OpenTracingAppLayer) SetPluginKeyWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
func (*OpenTracingAppLayer) SetPluginsEnvironment ¶
func (a *OpenTracingAppLayer) SetPluginsEnvironment(pluginsEnvironment *plugin.Environment)
func (*OpenTracingAppLayer) SetProfileImage ¶
func (a *OpenTracingAppLayer) SetProfileImage(userID string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) SetProfileImageFromFile ¶
func (*OpenTracingAppLayer) SetProfileImageFromMultiPartFile ¶
func (*OpenTracingAppLayer) SetRequestId ¶
func (a *OpenTracingAppLayer) SetRequestId(str string)
func (*OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata ¶
func (a *OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata(data []byte) *model.AppError
func (*OpenTracingAppLayer) SetSearchEngine ¶
func (a *OpenTracingAppLayer) SetSearchEngine(se *searchengine.Broker)
func (*OpenTracingAppLayer) SetServer ¶
func (a *OpenTracingAppLayer) SetServer(srv *app.Server)
func (*OpenTracingAppLayer) SetSession ¶
func (a *OpenTracingAppLayer) SetSession(sess *model.Session)
func (*OpenTracingAppLayer) SetSessionExpireInDays ¶ added in v5.26.1
func (a *OpenTracingAppLayer) SetSessionExpireInDays(session *model.Session, days int)
func (*OpenTracingAppLayer) SetStatusAwayIfNeeded ¶
func (a *OpenTracingAppLayer) SetStatusAwayIfNeeded(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusDoNotDisturb ¶
func (a *OpenTracingAppLayer) SetStatusDoNotDisturb(userID string)
func (*OpenTracingAppLayer) SetStatusLastActivityAt ¶
func (a *OpenTracingAppLayer) SetStatusLastActivityAt(userID string, activityAt int64)
func (*OpenTracingAppLayer) SetStatusOffline ¶
func (a *OpenTracingAppLayer) SetStatusOffline(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusOnline ¶
func (a *OpenTracingAppLayer) SetStatusOnline(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusOutOfOffice ¶
func (a *OpenTracingAppLayer) SetStatusOutOfOffice(userID string)
func (*OpenTracingAppLayer) SetT ¶
func (a *OpenTracingAppLayer) SetT(t i18n.TranslateFunc)
func (*OpenTracingAppLayer) SetTeamIcon ¶
func (a *OpenTracingAppLayer) SetTeamIcon(teamID string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) SetTeamIconFromFile ¶
func (*OpenTracingAppLayer) SetTeamIconFromMultiPartFile ¶
func (*OpenTracingAppLayer) SetUserAgent ¶
func (a *OpenTracingAppLayer) SetUserAgent(str string)
func (*OpenTracingAppLayer) SlackImport ¶
func (*OpenTracingAppLayer) SoftDeleteTeam ¶
func (a *OpenTracingAppLayer) SoftDeleteTeam(teamID string) *model.AppError
func (*OpenTracingAppLayer) Srv ¶
func (a *OpenTracingAppLayer) Srv() *app.Server
func (*OpenTracingAppLayer) SubmitInteractiveDialog ¶
func (a *OpenTracingAppLayer) SubmitInteractiveDialog(request model.SubmitDialogRequest) (*model.SubmitDialogResponse, *model.AppError)
func (*OpenTracingAppLayer) SwitchEmailToLdap ¶
func (*OpenTracingAppLayer) SwitchEmailToOAuth ¶
func (*OpenTracingAppLayer) SwitchLdapToEmail ¶
func (*OpenTracingAppLayer) SwitchOAuthToEmail ¶
func (*OpenTracingAppLayer) SyncLdap ¶
func (a *OpenTracingAppLayer) SyncLdap()
func (*OpenTracingAppLayer) SyncPlugins ¶
func (a *OpenTracingAppLayer) SyncPlugins() *model.AppError
func (*OpenTracingAppLayer) SyncPluginsActiveState ¶
func (a *OpenTracingAppLayer) SyncPluginsActiveState()
func (*OpenTracingAppLayer) SyncRolesAndMembership ¶
func (a *OpenTracingAppLayer) SyncRolesAndMembership(syncableID string, syncableType model.GroupSyncableType)
func (*OpenTracingAppLayer) SyncSyncableRoles ¶
func (a *OpenTracingAppLayer) SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError
func (*OpenTracingAppLayer) T ¶
func (a *OpenTracingAppLayer) T(translationID string, args ...interface{}) string
func (*OpenTracingAppLayer) TeamMembersMinusGroupMembers ¶
func (a *OpenTracingAppLayer) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
func (*OpenTracingAppLayer) TeamMembersToAdd ¶
func (a *OpenTracingAppLayer) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
func (*OpenTracingAppLayer) TeamMembersToRemove ¶
func (a *OpenTracingAppLayer) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) TelemetryId ¶ added in v5.28.0
func (a *OpenTracingAppLayer) TelemetryId() string
func (*OpenTracingAppLayer) TestElasticsearch ¶
func (a *OpenTracingAppLayer) TestElasticsearch(cfg *model.Config) *model.AppError
func (*OpenTracingAppLayer) TestFilesStoreConnection ¶ added in v5.32.0
func (a *OpenTracingAppLayer) TestFilesStoreConnection() *model.AppError
func (*OpenTracingAppLayer) TestFilesStoreConnectionWithConfig ¶ added in v5.32.0
func (a *OpenTracingAppLayer) TestFilesStoreConnectionWithConfig(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(payload *model.OutgoingWebhookPayload, hook *model.OutgoingWebhook, post *model.Post, channel *model.Channel)
func (*OpenTracingAppLayer) UnregisterPluginCommand ¶
func (a *OpenTracingAppLayer) UnregisterPluginCommand(pluginId string, teamID string, trigger string)
func (*OpenTracingAppLayer) UnregisterPluginCommands ¶
func (a *OpenTracingAppLayer) UnregisterPluginCommands(pluginId string)
func (*OpenTracingAppLayer) UpdateActive ¶
func (*OpenTracingAppLayer) UpdateBotActive ¶
func (*OpenTracingAppLayer) UpdateBotOwner ¶
func (*OpenTracingAppLayer) UpdateChannel ¶
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 (*OpenTracingAppLayer) UpdateChannelScheme ¶
func (*OpenTracingAppLayer) UpdateCommand ¶
func (*OpenTracingAppLayer) UpdateConfig ¶
func (a *OpenTracingAppLayer) UpdateConfig(f func(*model.Config))
func (*OpenTracingAppLayer) UpdateEphemeralPost ¶
func (*OpenTracingAppLayer) UpdateGroup ¶
func (*OpenTracingAppLayer) UpdateGroupSyncable ¶
func (a *OpenTracingAppLayer) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingAppLayer) UpdateHashedPassword ¶ added in v5.28.0
func (*OpenTracingAppLayer) UpdateHashedPasswordByUserId ¶ added in v5.28.0
func (a *OpenTracingAppLayer) UpdateHashedPasswordByUserId(userID string, newHashedPassword string) *model.AppError
func (*OpenTracingAppLayer) UpdateIncomingWebhook ¶
func (a *OpenTracingAppLayer) UpdateIncomingWebhook(oldHook *model.IncomingWebhook, updatedHook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)
func (*OpenTracingAppLayer) UpdateLastActivityAtIfNeeded ¶
func (a *OpenTracingAppLayer) UpdateLastActivityAtIfNeeded(session model.Session)
func (*OpenTracingAppLayer) UpdateMobileAppBadge ¶
func (a *OpenTracingAppLayer) UpdateMobileAppBadge(userID string)
func (*OpenTracingAppLayer) UpdateOAuthUserAttrs ¶
func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OauthProvider, service string, tokenUser *model.User) *model.AppError
func (*OpenTracingAppLayer) UpdateOauthApp ¶
func (*OpenTracingAppLayer) UpdateOutgoingWebhook ¶
func (a *OpenTracingAppLayer) UpdateOutgoingWebhook(oldHook *model.OutgoingWebhook, updatedHook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
func (*OpenTracingAppLayer) UpdatePassword ¶
func (*OpenTracingAppLayer) UpdatePasswordAsUser ¶
func (*OpenTracingAppLayer) UpdatePasswordByUserIdSendEmail ¶
func (*OpenTracingAppLayer) UpdatePasswordSendEmail ¶
func (*OpenTracingAppLayer) UpdatePost ¶
func (*OpenTracingAppLayer) UpdatePreferences ¶
func (a *OpenTracingAppLayer) UpdatePreferences(userID string, preferences model.Preferences) *model.AppError
func (*OpenTracingAppLayer) UpdateProductNotices ¶ added in v5.28.0
func (a *OpenTracingAppLayer) UpdateProductNotices() *model.AppError
func (*OpenTracingAppLayer) UpdateRole ¶
func (*OpenTracingAppLayer) UpdateScheme ¶
func (*OpenTracingAppLayer) UpdateSessionsIsGuest ¶
func (a *OpenTracingAppLayer) UpdateSessionsIsGuest(userID string, isGuest bool)
func (*OpenTracingAppLayer) UpdateSidebarCategories ¶
func (a *OpenTracingAppLayer) UpdateSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingAppLayer) UpdateSidebarCategoryOrder ¶
func (*OpenTracingAppLayer) UpdateTeam ¶
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 (*OpenTracingAppLayer) UpdateTeamScheme ¶
func (*OpenTracingAppLayer) UpdateThreadFollowForUser ¶ added in v5.30.0
func (*OpenTracingAppLayer) UpdateThreadReadForUser ¶ added in v5.30.0
func (*OpenTracingAppLayer) UpdateThreadsReadForUser ¶ added in v5.30.0
func (a *OpenTracingAppLayer) UpdateThreadsReadForUser(userID string, teamID string) *model.AppError
func (*OpenTracingAppLayer) UpdateUser ¶
func (*OpenTracingAppLayer) UpdateUserActive ¶
func (a *OpenTracingAppLayer) UpdateUserActive(userID string, active bool) *model.AppError
func (*OpenTracingAppLayer) UpdateUserAsUser ¶
func (*OpenTracingAppLayer) UpdateUserAuth ¶
func (*OpenTracingAppLayer) UpdateUserNotifyProps ¶
func (*OpenTracingAppLayer) UpdateUserRoles ¶
func (*OpenTracingAppLayer) UpdateUserRolesWithUser ¶ added in v5.33.0
func (*OpenTracingAppLayer) UpdateViewedProductNotices ¶ added in v5.28.0
func (a *OpenTracingAppLayer) UpdateViewedProductNotices(userID string, noticeIds []string) *model.AppError
func (*OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser ¶ added in v5.28.0
func (a *OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser(userID string)
func (*OpenTracingAppLayer) UpdateWebConnUserActivity ¶
func (a *OpenTracingAppLayer) UpdateWebConnUserActivity(session model.Session, activityAt int64)
func (*OpenTracingAppLayer) UploadData ¶ added in v5.28.0
func (a *OpenTracingAppLayer) UploadData(us *model.UploadSession, rd io.Reader) (*model.FileInfo, *model.AppError)
func (*OpenTracingAppLayer) UploadEmojiImage ¶
func (a *OpenTracingAppLayer) UploadEmojiImage(id string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) UploadFile ¶
func (*OpenTracingAppLayer) UploadFileX ¶
func (*OpenTracingAppLayer) UploadFiles ¶
func (a *OpenTracingAppLayer) UploadFiles(teamID string, channelId string, userID string, files []io.ReadCloser, filenames []string, clientIds []string, now time.Time) (*model.FileUploadResponse, *model.AppError)
func (*OpenTracingAppLayer) UploadMultipartFiles ¶
func (a *OpenTracingAppLayer) UploadMultipartFiles(teamID string, channelId string, userID string, fileHeaders []*multipart.FileHeader, clientIds []string, now time.Time) (*model.FileUploadResponse, *model.AppError)
func (*OpenTracingAppLayer) UpsertGroupMember ¶
func (a *OpenTracingAppLayer) UpsertGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*OpenTracingAppLayer) UpsertGroupSyncable ¶
func (a *OpenTracingAppLayer) UpsertGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingAppLayer) UserAgent ¶
func (a *OpenTracingAppLayer) UserAgent() string
func (*OpenTracingAppLayer) UserCanSeeOtherUser ¶
func (*OpenTracingAppLayer) UserIsInAdminRoleGroup ¶
func (a *OpenTracingAppLayer) UserIsInAdminRoleGroup(userID string, syncableID string, syncableType model.GroupSyncableType) (bool, *model.AppError)
func (*OpenTracingAppLayer) VerifyEmailFromToken ¶
func (a *OpenTracingAppLayer) VerifyEmailFromToken(userSuppliedTokenString string) *model.AppError
func (*OpenTracingAppLayer) VerifyPlugin ¶
func (a *OpenTracingAppLayer) VerifyPlugin(plugin io.ReadSeeker, signature io.ReadSeeker) *model.AppError
func (*OpenTracingAppLayer) VerifyUserEmail ¶
func (a *OpenTracingAppLayer) VerifyUserEmail(userID string, email string) *model.AppError
func (*OpenTracingAppLayer) ViewChannel ¶
func (a *OpenTracingAppLayer) ViewChannel(view *model.ChannelView, userID string, currentSessionId string) (map[string]int64, *model.AppError)
func (*OpenTracingAppLayer) WaitForChannelMembership ¶
func (a *OpenTracingAppLayer) WaitForChannelMembership(channelId string, userID string)
Click to show internal directories.
Click to hide internal directories.