Documentation ¶
Index ¶
- type OpenTracingAppLayer
- func (a *OpenTracingAppLayer) AccountMigration() einterfaces.AccountMigrationInterface
- func (a *OpenTracingAppLayer) ActivateMfa(userID string, token string) *model.AppError
- func (a *OpenTracingAppLayer) AddChannelMember(c *request.Context, userID string, channel *model.Channel, ...) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddChannelsToRetentionPolicy(policyID string, channelIDs []string) *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) AddRemoteCluster(rc *model.RemoteCluster) (*model.RemoteCluster, *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(c *request.Context, teamID string, userID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(c *request.Context, inviteId string, userID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMemberByToken(c *request.Context, userID string, tokenID string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamMembers(c *request.Context, teamID string, userIDs []string, userRequestorId string, ...) ([]*model.TeamMemberWithError, *model.AppError)
- func (a *OpenTracingAppLayer) AddTeamsToRetentionPolicy(policyID string, teamIDs []string) *model.AppError
- func (a *OpenTracingAppLayer) AddUserToChannel(user *model.User, channel *model.Channel, skipTeamMemberIntegrityCheck bool) (*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeam(c *request.Context, teamID string, userID string, userRequestorId string) (*model.Team, *model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeamByInviteId(c *request.Context, inviteId string, userID string) (*model.Team, *model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) AddUserToTeamByTeamId(c *request.Context, teamID string, user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) AddUserToTeamByToken(c *request.Context, userID string, tokenID string) (*model.Team, *model.TeamMember, *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) AttachCloudSessionCookie(c *request.Context, w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) AttachDeviceId(sessionID string, deviceID string, expiresAt int64) *model.AppError
- func (a *OpenTracingAppLayer) AttachSessionCookies(c *request.Context, w http.ResponseWriter, r *http.Request)
- func (a *OpenTracingAppLayer) AuthenticateUserForLogin(c *request.Context, id string, loginId string, password 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(userID string, term string) (model.ChannelListWithTeamData, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamID string, userID string, term string) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) AutocompleteChannelsForTeam(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 model.BulkExportOpts) *model.AppError
- func (a *OpenTracingAppLayer) BulkImport(c *request.Context, jsonlReader io.Reader, attachmentsReader *zip.Reader, ...) (*model.AppError, int)
- func (a *OpenTracingAppLayer) BulkImportWithPath(c *request.Context, jsonlReader io.Reader, attachmentsReader *zip.Reader, ...) (*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, includeRemovedMembers bool) ([]*model.UserChannelIDPair, *model.AppError)
- func (a *OpenTracingAppLayer) ChannelMembersToRemove(teamID *string) ([]*model.ChannelMember, *model.AppError)
- func (a *OpenTracingAppLayer) Channels() *app.Channels
- func (a *OpenTracingAppLayer) CheckCanInviteToSharedChannel(channelId string) error
- func (a *OpenTracingAppLayer) CheckForClientSideCert(r *http.Request) (string, string, string)
- func (a *OpenTracingAppLayer) CheckIntegrity() <-chan model.IntegrityCheckResult
- 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) CheckProviderAttributes(user *model.User, patch *model.UserPatch) string
- 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) CheckWebConn(userID string, connectionID string) *app.CheckConnResult
- func (a *OpenTracingAppLayer) ClearChannelMembersCache(channelID string)
- func (a *OpenTracingAppLayer) ClearLatestVersionCache()
- 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(c *request.Context, service string, body io.ReadCloser, teamID string, ...) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CompleteOnboarding(c *request.Context, request *model.CompleteOnboardingRequest) *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) 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(c *request.Context, bot *model.Bot) (*model.Bot, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannel(c *request.Context, channel *model.Channel, addMember bool) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannelScheme(channel *model.Channel) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) CreateChannelWithUser(c *request.Context, channel *model.Channel, userID string) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommand(cmd *model.Command) (*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommandPost(c *request.Context, post *model.Post, teamID string, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateCommandWebhook(commandID string, args *model.CommandArgs) (*model.CommandWebhook, *model.AppError)
- func (a *OpenTracingAppLayer) CreateDefaultMemberships(c *request.Context, since int64, includeRemovedMembers bool) 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) CreateGroupWithUserIds(group *model.GroupWithUserIds) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) CreateGuest(c *request.Context, 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(c *request.Context, service string, userData io.Reader, teamID string, ...) (*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(c *request.Context, post *model.Post, channel *model.Channel, ...) (savedPost *model.Post, err *model.AppError)
- func (a *OpenTracingAppLayer) CreatePostAsUser(c *request.Context, post *model.Post, currentSessionId string, setOnline bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreatePostMissingChannel(c *request.Context, post *model.Post, triggerWebhooks bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateRetentionPolicy(policy *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, *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(c *request.Context, team *model.Team) (*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) CreateTeamWithUser(c *request.Context, 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(c *request.Context, user *model.User) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserAsAdmin(c *request.Context, user *model.User, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserFromSignup(c *request.Context, user *model.User, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserWithInviteId(c *request.Context, user *model.User, inviteId string, redirect string) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateUserWithToken(c *request.Context, user *model.User, token *model.Token) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) CreateWebhookPost(c *request.Context, userID string, channel *model.Channel, text string, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) CreateZipFileAndAddFiles(fileBackend filestore.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(c *request.Context) *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) DeleteBrandImage() *model.AppError
- func (a *OpenTracingAppLayer) DeleteChannel(c *request.Context, 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) DeleteGroup(groupID string) (*model.Group, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships(c *request.Context) error
- func (a *OpenTracingAppLayer) DeleteGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteGroupMembers(groupID string, userIDs []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) DeletePreferences(userID string, preferences model.Preferences) *model.AppError
- func (a *OpenTracingAppLayer) DeletePublicKey(name string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteReactionForPost(c *request.Context, reaction *model.Reaction) *model.AppError
- func (a *OpenTracingAppLayer) DeleteRemoteCluster(remoteClusterId string) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteRetentionPolicy(policyID string) *model.AppError
- func (a *OpenTracingAppLayer) DeleteScheme(schemeId string) (*model.Scheme, *model.AppError)
- func (a *OpenTracingAppLayer) DeleteSharedChannel(channelID string) (bool, error)
- func (a *OpenTracingAppLayer) DeleteSharedChannelRemote(id string) (bool, error)
- 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(c *request.Context, 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(c *request.Context, rawURL string, body []byte) (*http.Response, *model.AppError)
- func (a *OpenTracingAppLayer) DoLogin(c *request.Context, w http.ResponseWriter, r *http.Request, user *model.User, ...) *model.AppError
- func (a *OpenTracingAppLayer) DoPermissionsMigrations() error
- func (a *OpenTracingAppLayer) DoPostAction(c *request.Context, postID string, actionId string, userID string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) DoPostActionWithCookie(c *request.Context, postID string, actionId string, userID string, ...) (string, *model.AppError)
- func (a *OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration()
- func (a *OpenTracingAppLayer) DoUploadFile(c *request.Context, now time.Time, rawTeamId string, rawChannelId string, ...) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) DoUploadFileExpectModification(c *request.Context, now time.Time, rawTeamId string, rawChannelId 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(filter func(reflect.StructField) bool) map[string]interface{}
- func (a *OpenTracingAppLayer) ExecuteCommand(c *request.Context, 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) ExtractContentFromFileInfo(fileInfo *model.FileInfo) error
- func (a *OpenTracingAppLayer) FetchSamlMetadataFromIdp(url string) ([]byte, *model.AppError)
- func (a *OpenTracingAppLayer) FileBackend() filestore.FileBackend
- 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) (filestore.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) GetAllPublicTeams() ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllRemoteClusters(filter model.RemoteClusterQueryFilter) ([]*model.RemoteCluster, *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, opts *model.TeamSearch) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int, opts *model.TeamSearch) (*model.TeamsWithCount, *model.AppError)
- func (a *OpenTracingAppLayer) GetAnalytics(name string, teamID string) (model.AnalyticsRows, *model.AppError)
- func (a *OpenTracingAppLayer) GetAppliedSchemaMigrations() ([]model.AppliedMigration, *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) 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) GetChannelFileCount(channelID string) (int64, *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(ctx context.Context, 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(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) GetChannelMembersWithTeamDataForUserWithPagination(userID string, page int, perPage int) (model.ChannelMembersWithTeamData, *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) GetChannelPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelUnread(channelID string, userID string) (*model.ChannelUnread, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannels(channelIDs []string) ([]*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsByNames(channelNames []string, teamID string) ([]*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForRetentionPolicy(policyID string, offset int, limit int) (*model.ChannelsWithCount, *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) GetChannelsForTeamForUser(teamID string, userID string, opts *model.ChannelSearchOpts) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForTeamForUserWithCursor(teamID string, userID string, opts *model.ChannelSearchOpts, ...) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetChannelsForUser(userID string, includeDeleted bool, lastDeleteAt int, pageSize 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) GetCommonTeamIDsForTwoUsers(userID string, otherUserID string) ([]string, *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) GetCustomStatus(userID string) (*model.CustomStatus, *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(filter func(reflect.StructField) bool) map[string]interface{}
- 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) GetGlobalRetentionPolicy() (*model.GlobalRetentionPolicy, *model.AppError)
- func (a *OpenTracingAppLayer) GetGroup(id string, opts *model.GetGroupOpts) (*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) GetJobsByTypes(jobTypes []string, offset int, limit int) ([]*model.Job, *model.AppError)
- func (a *OpenTracingAppLayer) GetJobsByTypesPage(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) GetLatestVersion(latestVersionUrl string) (*model.GithubReleaseInfo, *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(ctx context.Context, 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, collapsedThreads bool) 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) GetOnboarding() (*model.System, *model.AppError)
- func (a *OpenTracingAppLayer) GetOpenGraphMetadata(requestURL string) ([]byte, error)
- func (a *OpenTracingAppLayer) GetOrCreateDirectChannel(c *request.Context, 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(c *request.Context, 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) 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, collapsedThreads bool) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostIdAfterTime(channelID string, time int64, collapsedThreads bool) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostIdBeforeTime(channelID string, time int64, collapsedThreads bool) (string, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostIfAuthorized(postID string, session *model.Session) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) GetPostThread(postID string, opts model.GetPostsOptions, userID string) (*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) GetPostsByIds(postIDs []string) ([]*model.Post, *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, collapsedThreads bool) string
- func (a *OpenTracingAppLayer) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) GetProductNotices(c *request.Context, userID string, teamID string, ...) (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) GetRemoteCluster(remoteClusterId string) (*model.RemoteCluster, *model.AppError)
- func (a *OpenTracingAppLayer) GetRemoteClusterForUser(remoteID string, userID string) (*model.RemoteCluster, *model.AppError)
- func (a *OpenTracingAppLayer) GetRemoteClusterService() (remotecluster.RemoteClusterServiceIFace, *model.AppError)
- func (a *OpenTracingAppLayer) GetRemoteClusterSession(token string, remoteId string) (*model.Session, *model.AppError)
- func (a *OpenTracingAppLayer) GetRetentionPolicies(offset int, limit int) (*model.RetentionPolicyWithTeamAndChannelCountsList, *model.AppError)
- func (a *OpenTracingAppLayer) GetRetentionPoliciesCount() (int64, *model.AppError)
- func (a *OpenTracingAppLayer) GetRetentionPolicy(policyID string) (*model.RetentionPolicyWithTeamAndChannelCounts, *model.AppError)
- func (a *OpenTracingAppLayer) GetRole(id string) (*model.Role, *model.AppError)
- func (a *OpenTracingAppLayer) GetRoleByName(ctx context.Context, 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) GetSharedChannel(channelID string) (*model.SharedChannel, error)
- func (a *OpenTracingAppLayer) GetSharedChannelRemote(id string) (*model.SharedChannelRemote, error)
- func (a *OpenTracingAppLayer) GetSharedChannelRemoteByIds(channelID string, remoteID string) (*model.SharedChannelRemote, error)
- func (a *OpenTracingAppLayer) GetSharedChannelRemotes(opts model.SharedChannelRemoteFilterOpts) ([]*model.SharedChannelRemote, error)
- func (a *OpenTracingAppLayer) GetSharedChannelRemotesStatus(channelID string) ([]*model.SharedChannelRemoteStatus, error)
- func (a *OpenTracingAppLayer) GetSharedChannels(page int, perPage int, opts model.SharedChannelFilterOpts) ([]*model.SharedChannel, *model.AppError)
- func (a *OpenTracingAppLayer) GetSharedChannelsCount(opts model.SharedChannelFilterOpts) (int64, error)
- 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(c *request.Context, commandArgs *model.CommandArgs, commands []*model.Command, ...) []model.AutocompleteSuggestion
- func (a *OpenTracingAppLayer) GetSystemBot() (*model.Bot, *model.AppError)
- 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) GetTeamPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForTeamList, *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) GetTeams(teamIDs []string) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) GetTeamsForRetentionPolicy(policyID string, offset int, limit int) (*model.TeamsWithCount, *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, includeCollapsedThreads bool) ([]*model.TeamUnread, *model.AppError)
- func (a *OpenTracingAppLayer) GetTermsOfService(id string) (*model.TermsOfService, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadForUser(teamID string, threadMembership *model.ThreadMembership, extended bool) (*model.ThreadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadMembershipForUser(userId string, threadId string) (*model.ThreadMembership, *model.AppError)
- func (a *OpenTracingAppLayer) GetThreadMembershipsForUser(userID string, teamID string) ([]*model.ThreadMembership, error)
- func (a *OpenTracingAppLayer) GetThreadsForUser(userID string, teamID string, options model.GetUserThreadsOpts) (*model.Threads, *model.AppError)
- func (a *OpenTracingAppLayer) GetTokenById(token string) (*model.Token, *model.AppError)
- func (a *OpenTracingAppLayer) GetTopReactionsForTeamSince(teamID string, userID string, opts *model.InsightsOpts) (*model.TopReactionList, *model.AppError)
- func (a *OpenTracingAppLayer) GetTopReactionsForUserSince(userID string, teamID string, opts *model.InsightsOpts) (*model.TopReactionList, *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(c *request.Context, 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) GetUsersNotInGroupPage(groupID string, 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) GetUsersWithInvalidEmails(page int, perPage int) ([]*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) GetWarnMetricsBot() (*model.Bot, *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(c *request.Context, command *model.Command, args *model.CommandArgs, ...) (*model.CommandResponse, *model.AppError)
- func (a *OpenTracingAppLayer) HandleCommandResponsePost(c *request.Context, command *model.Command, args *model.CommandArgs, ...) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) HandleCommandWebhook(c *request.Context, hookID string, response *model.CommandResponse) *model.AppError
- func (a *OpenTracingAppLayer) HandleImages(previewPathList []string, thumbnailPathList []string, fileData [][]byte)
- func (a *OpenTracingAppLayer) HandleIncomingWebhook(c *request.Context, 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) HasPermissionToReadChannel(userID string, channel *model.Channel) 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) HasRemote(channelID string, remoteID string) (bool, error)
- func (a *OpenTracingAppLayer) HasSharedChannel(channelID string) (bool, error)
- func (a *OpenTracingAppLayer) HubRegister(webConn *app.WebConn)
- 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(c *request.Context, pluginDir string, webappPluginDir string)
- func (a *OpenTracingAppLayer) InstallPlugin(pluginFile io.ReadSeeker, replace bool) (*model.Manifest, *model.AppError)
- func (a *OpenTracingAppLayer) InvalidateAllEmailInvites() *model.AppError
- func (a *OpenTracingAppLayer) InvalidateAllResendInviteEmailJobs() *model.AppError
- func (a *OpenTracingAppLayer) InvalidateCacheForUser(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(memberInvite *model.MemberInvite, teamID string, senderId string, ...) ([]*model.EmailInviteWithError, *model.AppError)
- func (a *OpenTracingAppLayer) IsCRTEnabledForUser(userID string) bool
- 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) JoinChannel(c *request.Context, channel *model.Channel, userID string) *model.AppError
- func (a *OpenTracingAppLayer) JoinDefaultChannels(c *request.Context, teamID string, user *model.User, shouldBeAdmin bool, ...) *model.AppError
- func (a *OpenTracingAppLayer) JoinUserToTeam(c *request.Context, team *model.Team, user *model.User, userRequestorId string) (*model.TeamMember, *model.AppError)
- func (a *OpenTracingAppLayer) Ldap() einterfaces.LdapInterface
- func (a *OpenTracingAppLayer) LeaveChannel(c *request.Context, channelID string, userID string) *model.AppError
- func (a *OpenTracingAppLayer) LeaveTeam(c *request.Context, team *model.Team, user *model.User, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) License() *model.License
- func (a *OpenTracingAppLayer) LimitedClientConfig() map[string]string
- func (a *OpenTracingAppLayer) LimitedClientConfigWithComputed() map[string]string
- func (a *OpenTracingAppLayer) ListAllCommands(teamID string, T i18n.TranslateFunc) ([]*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) ListAutocompleteCommands(teamID string, T i18n.TranslateFunc) ([]*model.Command, *model.AppError)
- func (a *OpenTracingAppLayer) ListDirectory(path string) ([]string, *model.AppError)
- func (a *OpenTracingAppLayer) ListDirectoryRecursively(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.Level, err error)
- func (a *OpenTracingAppLayer) LoginByOAuth(c *request.Context, service string, userData io.Reader, teamID string, ...) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) MakeAuditRecord(event string, initialStatus string) *audit.Record
- func (a *OpenTracingAppLayer) MakePermissionError(s *model.Session, permissions []*model.Permission) *model.AppError
- func (a *OpenTracingAppLayer) MarkChannelAsUnreadFromPost(postID string, userID string, collapsedThreadsSupported bool) (*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(c *request.Context, 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(c *request.Context, manifest *model.Manifest) plugin.API
- func (a *OpenTracingAppLayer) NewWebConn(cfg *app.WebConnConfig) *app.WebConn
- 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() error
- func (a *OpenTracingAppLayer) NotifySharedChannelUserUpdate(user *model.User)
- 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(c *request.Context, channel *model.Channel, patch *model.ChannelPatch, ...) (*model.Channel, *model.AppError)
- func (a *OpenTracingAppLayer) PatchChannelModerationsForChannel(channel *model.Channel, ...) ([]*model.ChannelModeration, *model.AppError)
- func (a *OpenTracingAppLayer) PatchPost(c *request.Context, postID string, patch *model.PostPatch) (*model.Post, *model.AppError)
- func (a *OpenTracingAppLayer) PatchRetentionPolicy(patch *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, *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) PermanentDeleteAllUsers(c *request.Context) *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(c *request.Context, user *model.User) *model.AppError
- func (a *OpenTracingAppLayer) PluginCommandsForTeam(teamID string) []*model.Command
- func (a *OpenTracingAppLayer) PopulateWebConnConfig(s *model.Session, cfg *app.WebConnConfig, seqVal string) (*app.WebConnConfig, error)
- func (a *OpenTracingAppLayer) PostActionCookieSecret() []byte
- func (a *OpenTracingAppLayer) PostAddToChannelMessage(c *request.Context, user *model.User, addedUser *model.User, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostPatchWithProxyRemovedFromImageURLs(patch *model.PostPatch) *model.PostPatch
- func (a *OpenTracingAppLayer) PostUpdateChannelDisplayNameMessage(c *request.Context, userID string, channel *model.Channel, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostUpdateChannelHeaderMessage(c *request.Context, userID string, channel *model.Channel, ...) *model.AppError
- func (a *OpenTracingAppLayer) PostUpdateChannelPurposeMessage(c *request.Context, userID string, channel *model.Channel, ...) *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) PreparePostForClientWithEmbedsAndImages(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(c *request.Context, user *model.User, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) Publish(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) RemoveChannelsFromRetentionPolicy(policyID string, channelIDs []string) *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) 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) RemoveTeamsFromRetentionPolicy(policyID string, teamIDs []string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUserFromChannel(c *request.Context, userIDToRemove string, removerUserId string, ...) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUserFromTeam(c *request.Context, teamID string, userID string, requestorId string) *model.AppError
- func (a *OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam(c *request.Context, remover *model.User, channel *model.Channel, ...) *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) RequestLicenseAndAckWarnMetric(c *request.Context, 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) ResetSamlAuthDataToEmail(includeDeleted bool, dryRun bool, userIDs []string) (numAffected int, appErr *model.AppError)
- func (a *OpenTracingAppLayer) RestoreChannel(c *request.Context, 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) ReturnSessionToPool(session *model.Session)
- 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) SanitizePostListMetadataForUser(postList *model.PostList, userID string) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) SanitizePostMetadataForUser(post *model.Post, userID string) (*model.Post, *model.AppError)
- 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.Config, *model.Config, *model.AppError)
- func (a *OpenTracingAppLayer) SaveReactionForPost(c *request.Context, reaction *model.Reaction) (*model.Reaction, *model.AppError)
- func (a *OpenTracingAppLayer) SaveSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
- func (a *OpenTracingAppLayer) SaveSharedChannelRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
- 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) SearchFilesInTeamForUser(c *request.Context, terms string, userId string, teamId string, ...) (*model.FileInfoList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchGroupChannels(userID string, term string) (model.ChannelList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPostsForUser(c *request.Context, terms string, userID string, teamID string, ...) (*model.PostSearchResults, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) (*model.PostList, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPrivateTeams(searchOpts *model.TeamSearch) ([]*model.Team, *model.AppError)
- func (a *OpenTracingAppLayer) SearchPublicTeams(searchOpts *model.TeamSearch) ([]*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) SearchUsersNotInGroup(groupID 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) SendAutoResponse(c *request.Context, channel *model.Channel, receiver *model.User, ...) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SendAutoResponseIfNecessary(c *request.Context, channel *model.Channel, sender *model.User, ...) (bool, *model.AppError)
- func (a *OpenTracingAppLayer) SendCloudTrialEndWarningEmail(trialEndDate string, siteURL string) *model.AppError
- func (a *OpenTracingAppLayer) SendCloudTrialEndedEmail() *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) SendTestPushNotification(deviceID string) string
- func (a *OpenTracingAppLayer) ServeInterPluginRequest(w http.ResponseWriter, r *http.Request, sourcePluginId string, ...)
- 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) SessionHasPermissionToCreateJob(session model.Session, job *model.Job) (bool, *model.Permission)
- func (a *OpenTracingAppLayer) SessionHasPermissionToGroup(session model.Session, groupID string, permission *model.Permission) bool
- func (a *OpenTracingAppLayer) SessionHasPermissionToManageBot(session model.Session, botUserId string) *model.AppError
- func (a *OpenTracingAppLayer) SessionHasPermissionToReadJob(session model.Session, jobType string) (bool, *model.Permission)
- 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) SetActiveChannel(userID string, channelID string) *model.AppError
- func (a *OpenTracingAppLayer) SetAutoResponderStatus(user *model.User, oldNotifyProps model.StringMap)
- func (a *OpenTracingAppLayer) SetChannels(ch *app.Channels)
- func (a *OpenTracingAppLayer) SetCustomStatus(userID string, cs *model.CustomStatus) *model.AppError
- func (a *OpenTracingAppLayer) SetDefaultProfileImage(user *model.User) *model.AppError
- 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) 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) SetRemoteClusterLastPingAt(remoteClusterId string) *model.AppError
- 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) SetSessionExpireInDays(session *model.Session, days int)
- func (a *OpenTracingAppLayer) SetStatusAwayIfNeeded(userID string, manual bool)
- func (a *OpenTracingAppLayer) SetStatusDoNotDisturb(userID string)
- func (a *OpenTracingAppLayer) SetStatusDoNotDisturbTimed(userId string, endtime int64)
- 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) 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) SlackImport(c *request.Context, 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(c *request.Context, 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(includeRemovedMembers bool)
- func (a *OpenTracingAppLayer) SyncPlugins() *model.AppError
- func (a *OpenTracingAppLayer) SyncRolesAndMembership(c *request.Context, syncableID string, syncableType model.GroupSyncableType, ...)
- func (a *OpenTracingAppLayer) SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError
- 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, includeRemovedMembers bool) ([]*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) TestFileStoreConnection() *model.AppError
- func (a *OpenTracingAppLayer) TestFileStoreConnectionWithConfig(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(c *request.Context, payload *model.OutgoingWebhookPayload, ...)
- func (a *OpenTracingAppLayer) UnregisterPluginCommand(pluginID string, teamID string, trigger string)
- func (a *OpenTracingAppLayer) UpdateActive(c *request.Context, user *model.User, active bool) (*model.User, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateBotActive(c *request.Context, 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) 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(c *request.Context, 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) UpdateDNDStatusOfUsers()
- func (a *OpenTracingAppLayer) UpdateEphemeralPost(userID string, post *model.Post) *model.Post
- func (a *OpenTracingAppLayer) UpdateExpiredDNDStatuses() ([]*model.Status, error)
- 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) UpdateOAuthApp(oldApp *model.OAuthApp, updatedApp *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OAuthProvider, ...) *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(c *request.Context, 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) UpdateRemoteCluster(rc *model.RemoteCluster) (*model.RemoteCluster, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateRemoteClusterTopics(remoteClusterId string, topics string) (*model.RemoteCluster, *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) UpdateSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
- func (a *OpenTracingAppLayer) UpdateSharedChannelRemoteCursor(id string, cursor model.GetPostsSinceForSyncCursor) error
- 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, teamID string, threadID string, state bool) *model.AppError
- func (a *OpenTracingAppLayer) UpdateThreadFollowForUserFromChannelAdd(userID string, teamID string, threadID string) *model.AppError
- func (a *OpenTracingAppLayer) UpdateThreadReadForUser(currentSessionId string, userID string, teamID string, threadID string, ...) (*model.ThreadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) UpdateThreadReadForUserByPost(currentSessionId string, userID string, teamID string, threadID string, ...) (*model.ThreadResponse, *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(c *request.Context, 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) 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(c *request.Context, 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(c *request.Context, data []byte, channelID string, filename string) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) UploadFileX(c *request.Context, channelID string, name string, input io.Reader, ...) (*model.FileInfo, *model.AppError)
- func (a *OpenTracingAppLayer) UploadFiles(c *request.Context, teamID string, channelID string, userID string, ...) (*model.FileUploadResponse, *model.AppError)
- func (a *OpenTracingAppLayer) UploadMultipartFiles(c *request.Context, 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) UpsertGroupMembers(groupID string, userIDs []string) ([]*model.GroupMember, *model.AppError)
- func (a *OpenTracingAppLayer) UpsertGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- 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) 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) 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(c *request.Context, userID string, channel *model.Channel, opts app.ChannelMemberOpts) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) AddChannelsToRetentionPolicy ¶
func (a *OpenTracingAppLayer) AddChannelsToRetentionPolicy(policyID string, channelIDs []string) *model.AppError
func (*OpenTracingAppLayer) AddConfigListener ¶
func (*OpenTracingAppLayer) AddCursorIdsForPostList ¶
func (*OpenTracingAppLayer) AddDirectChannels ¶
func (*OpenTracingAppLayer) AddLdapPrivateCertificate ¶
func (a *OpenTracingAppLayer) AddLdapPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddLdapPublicCertificate ¶
func (a *OpenTracingAppLayer) AddLdapPublicCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddPublicKey ¶
func (*OpenTracingAppLayer) AddRemoteCluster ¶
func (a *OpenTracingAppLayer) AddRemoteCluster(rc *model.RemoteCluster) (*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) AddSamlIdpCertificate ¶
func (a *OpenTracingAppLayer) AddSamlIdpCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSamlPrivateCertificate ¶
func (a *OpenTracingAppLayer) AddSamlPrivateCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSamlPublicCertificate ¶
func (a *OpenTracingAppLayer) AddSamlPublicCertificate(fileData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) AddSessionToCache ¶
func (a *OpenTracingAppLayer) AddSessionToCache(session *model.Session)
func (*OpenTracingAppLayer) AddStatusCache ¶
func (a *OpenTracingAppLayer) AddStatusCache(status *model.Status)
func (*OpenTracingAppLayer) AddStatusCacheSkipClusterSend ¶
func (a *OpenTracingAppLayer) AddStatusCacheSkipClusterSend(status *model.Status)
func (*OpenTracingAppLayer) AddTeamMember ¶
func (a *OpenTracingAppLayer) AddTeamMember(c *request.Context, teamID string, userID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMemberByInviteId ¶
func (a *OpenTracingAppLayer) AddTeamMemberByInviteId(c *request.Context, inviteId string, userID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMemberByToken ¶
func (a *OpenTracingAppLayer) AddTeamMemberByToken(c *request.Context, userID string, tokenID string) (*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) AddTeamMembers ¶
func (*OpenTracingAppLayer) AddTeamsToRetentionPolicy ¶
func (a *OpenTracingAppLayer) AddTeamsToRetentionPolicy(policyID string, teamIDs []string) *model.AppError
func (*OpenTracingAppLayer) AddUserToChannel ¶
func (a *OpenTracingAppLayer) AddUserToChannel(user *model.User, channel *model.Channel, skipTeamMemberIntegrityCheck bool) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) AddUserToTeam ¶
func (*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 ¶
func (*OpenTracingAppLayer) AsymmetricSigningKey ¶
func (a *OpenTracingAppLayer) AsymmetricSigningKey() *ecdsa.PrivateKey
func (*OpenTracingAppLayer) AttachCloudSessionCookie ¶
func (a *OpenTracingAppLayer) AttachCloudSessionCookie(c *request.Context, w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) AttachDeviceId ¶
func (*OpenTracingAppLayer) AttachSessionCookies ¶
func (a *OpenTracingAppLayer) AttachSessionCookies(c *request.Context, w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) AuthenticateUserForLogin ¶
func (*OpenTracingAppLayer) AuthorizeOAuthUser ¶
func (*OpenTracingAppLayer) AutocompleteChannels ¶
func (a *OpenTracingAppLayer) AutocompleteChannels(userID string, term string) (model.ChannelListWithTeamData, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteChannelsForSearch ¶
func (a *OpenTracingAppLayer) AutocompleteChannelsForSearch(teamID string, userID string, term string) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteChannelsForTeam ¶
func (a *OpenTracingAppLayer) AutocompleteChannelsForTeam(teamID string, userID string, term string) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteUsersInChannel ¶
func (a *OpenTracingAppLayer) AutocompleteUsersInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
func (*OpenTracingAppLayer) AutocompleteUsersInTeam ¶
func (a *OpenTracingAppLayer) AutocompleteUsersInTeam(teamID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInTeam, *model.AppError)
func (*OpenTracingAppLayer) BroadcastStatus ¶
func (a *OpenTracingAppLayer) BroadcastStatus(status *model.Status)
func (*OpenTracingAppLayer) BuildPostReactions ¶
func (a *OpenTracingAppLayer) BuildPostReactions(postID string) (*[]app.ReactionImportData, *model.AppError)
func (*OpenTracingAppLayer) BuildPushNotificationMessage ¶
func (*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 model.BulkExportOpts) *model.AppError
func (*OpenTracingAppLayer) BulkImport ¶
func (*OpenTracingAppLayer) BulkImportWithPath ¶
func (*OpenTracingAppLayer) CancelJob ¶
func (a *OpenTracingAppLayer) CancelJob(jobId string) *model.AppError
func (*OpenTracingAppLayer) ChannelMembersMinusGroupMembers ¶
func (a *OpenTracingAppLayer) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
func (*OpenTracingAppLayer) ChannelMembersToAdd ¶
func (a *OpenTracingAppLayer) ChannelMembersToAdd(since int64, channelID *string, includeRemovedMembers bool) ([]*model.UserChannelIDPair, *model.AppError)
func (*OpenTracingAppLayer) ChannelMembersToRemove ¶
func (a *OpenTracingAppLayer) ChannelMembersToRemove(teamID *string) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) Channels ¶
func (a *OpenTracingAppLayer) Channels() *app.Channels
func (*OpenTracingAppLayer) CheckCanInviteToSharedChannel ¶
func (a *OpenTracingAppLayer) CheckCanInviteToSharedChannel(channelId string) error
func (*OpenTracingAppLayer) CheckForClientSideCert ¶
func (*OpenTracingAppLayer) CheckIntegrity ¶
func (a *OpenTracingAppLayer) CheckIntegrity() <-chan model.IntegrityCheckResult
func (*OpenTracingAppLayer) CheckMandatoryS3Fields ¶
func (a *OpenTracingAppLayer) CheckMandatoryS3Fields(settings *model.FileSettings) *model.AppError
func (*OpenTracingAppLayer) CheckPasswordAndAllCriteria ¶
func (*OpenTracingAppLayer) CheckProviderAttributes ¶
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) CheckWebConn ¶
func (a *OpenTracingAppLayer) CheckWebConn(userID string, connectionID string) *app.CheckConnResult
func (*OpenTracingAppLayer) ClearChannelMembersCache ¶
func (a *OpenTracingAppLayer) ClearChannelMembersCache(channelID string)
func (*OpenTracingAppLayer) ClearLatestVersionCache ¶
func (a *OpenTracingAppLayer) ClearLatestVersionCache()
func (*OpenTracingAppLayer) ClearSessionCacheForAllUsers ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsers()
func (*OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForAllUsersSkipClusterSend()
func (*OpenTracingAppLayer) ClearSessionCacheForUser ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForUser(userID string)
func (*OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend ¶
func (a *OpenTracingAppLayer) ClearSessionCacheForUserSkipClusterSend(userID string)
func (*OpenTracingAppLayer) ClearTeamMembersCache ¶
func (a *OpenTracingAppLayer) ClearTeamMembersCache(teamID string)
func (*OpenTracingAppLayer) ClientConfig ¶
func (a *OpenTracingAppLayer) ClientConfig() map[string]string
func (*OpenTracingAppLayer) ClientConfigHash ¶
func (a *OpenTracingAppLayer) ClientConfigHash() string
func (*OpenTracingAppLayer) ClientConfigWithComputed ¶
func (a *OpenTracingAppLayer) ClientConfigWithComputed() map[string]string
func (*OpenTracingAppLayer) Cloud ¶
func (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) CompleteOnboarding ¶
func (a *OpenTracingAppLayer) CompleteOnboarding(c *request.Context, request *model.CompleteOnboardingRequest) *model.AppError
func (*OpenTracingAppLayer) CompleteSwitchWithOAuth ¶
func (*OpenTracingAppLayer) Compliance ¶
func (a *OpenTracingAppLayer) Compliance() einterfaces.ComplianceInterface
func (*OpenTracingAppLayer) Config ¶
func (a *OpenTracingAppLayer) Config() *model.Config
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) CreateDefaultMemberships ¶
func (*OpenTracingAppLayer) CreateEmoji ¶
func (*OpenTracingAppLayer) CreateGroup ¶
func (*OpenTracingAppLayer) CreateGroupChannel ¶
func (*OpenTracingAppLayer) CreateGroupWithUserIds ¶
func (a *OpenTracingAppLayer) CreateGroupWithUserIds(group *model.GroupWithUserIds) (*model.Group, *model.AppError)
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) CreateRetentionPolicy ¶
func (a *OpenTracingAppLayer) CreateRetentionPolicy(policy *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, *model.AppError)
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 ¶
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 ¶
func (a *OpenTracingAppLayer) CreateZipFileAndAddFiles(fileBackend filestore.FileBackend, fileDatas []model.FileData, zipFileName string, directory string) error
func (*OpenTracingAppLayer) DBHealthCheckDelete ¶
func (a *OpenTracingAppLayer) DBHealthCheckDelete() error
func (*OpenTracingAppLayer) DBHealthCheckWrite ¶
func (a *OpenTracingAppLayer) DBHealthCheckWrite() error
func (*OpenTracingAppLayer) DataRetention ¶
func (a *OpenTracingAppLayer) DataRetention() einterfaces.DataRetentionInterface
func (*OpenTracingAppLayer) DeactivateGuests ¶
func (a *OpenTracingAppLayer) DeactivateGuests(c *request.Context) *model.AppError
func (*OpenTracingAppLayer) DeactivateMfa ¶
func (a *OpenTracingAppLayer) DeactivateMfa(userID string) *model.AppError
func (*OpenTracingAppLayer) DeauthorizeOAuthAppForUser ¶
func (a *OpenTracingAppLayer) DeauthorizeOAuthAppForUser(userID string, appID string) *model.AppError
func (*OpenTracingAppLayer) DefaultChannelNames ¶
func (a *OpenTracingAppLayer) DefaultChannelNames() []string
func (*OpenTracingAppLayer) DeleteAllExpiredPluginKeys ¶
func (a *OpenTracingAppLayer) DeleteAllExpiredPluginKeys() *model.AppError
func (*OpenTracingAppLayer) DeleteAllKeysForPlugin ¶
func (a *OpenTracingAppLayer) DeleteAllKeysForPlugin(pluginID string) *model.AppError
func (*OpenTracingAppLayer) DeleteBrandImage ¶
func (a *OpenTracingAppLayer) DeleteBrandImage() *model.AppError
func (*OpenTracingAppLayer) DeleteChannel ¶
func (*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 ¶
func (a *OpenTracingAppLayer) DeleteExport(name string) *model.AppError
func (*OpenTracingAppLayer) DeleteGroup ¶
func (*OpenTracingAppLayer) DeleteGroupConstrainedMemberships ¶
func (a *OpenTracingAppLayer) DeleteGroupConstrainedMemberships(c *request.Context) error
func (*OpenTracingAppLayer) DeleteGroupMember ¶
func (a *OpenTracingAppLayer) DeleteGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*OpenTracingAppLayer) DeleteGroupMembers ¶
func (a *OpenTracingAppLayer) DeleteGroupMembers(groupID string, userIDs []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) 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 (*OpenTracingAppLayer) DeleteRemoteCluster ¶
func (a *OpenTracingAppLayer) DeleteRemoteCluster(remoteClusterId string) (bool, *model.AppError)
func (*OpenTracingAppLayer) DeleteRetentionPolicy ¶
func (a *OpenTracingAppLayer) DeleteRetentionPolicy(policyID string) *model.AppError
func (*OpenTracingAppLayer) DeleteScheme ¶
func (*OpenTracingAppLayer) DeleteSharedChannel ¶
func (a *OpenTracingAppLayer) DeleteSharedChannel(channelID string) (bool, error)
func (*OpenTracingAppLayer) DeleteSharedChannelRemote ¶
func (a *OpenTracingAppLayer) DeleteSharedChannelRemote(id string) (bool, error)
func (*OpenTracingAppLayer) DeleteSidebarCategory ¶
func (*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 ¶
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 (*OpenTracingAppLayer) DoSystemConsoleRolesCreationMigration ¶
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(filter func(reflect.StructField) bool) map[string]interface{}
func (*OpenTracingAppLayer) ExecuteCommand ¶
func (a *OpenTracingAppLayer) ExecuteCommand(c *request.Context, 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) ExtractContentFromFileInfo ¶
func (a *OpenTracingAppLayer) ExtractContentFromFileInfo(fileInfo *model.FileInfo) error
func (*OpenTracingAppLayer) FetchSamlMetadataFromIdp ¶
func (a *OpenTracingAppLayer) FetchSamlMetadataFromIdp(url string) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) FileBackend ¶
func (a *OpenTracingAppLayer) FileBackend() filestore.FileBackend
func (*OpenTracingAppLayer) FileExists ¶
func (a *OpenTracingAppLayer) FileExists(path string) (bool, *model.AppError)
func (*OpenTracingAppLayer) FileModTime ¶
func (*OpenTracingAppLayer) FileReader ¶
func (a *OpenTracingAppLayer) FileReader(path string) (filestore.ReadCloseSeeker, *model.AppError)
func (*OpenTracingAppLayer) FileSize ¶
func (a *OpenTracingAppLayer) FileSize(path string) (int64, *model.AppError)
func (*OpenTracingAppLayer) FillInChannelProps ¶
func (a *OpenTracingAppLayer) FillInChannelProps(channel *model.Channel) *model.AppError
func (*OpenTracingAppLayer) FillInChannelsProps ¶
func (a *OpenTracingAppLayer) FillInChannelsProps(channelList model.ChannelList) *model.AppError
func (*OpenTracingAppLayer) FillInPostProps ¶
func (*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 ¶
func (a *OpenTracingAppLayer) GenerateSupportPacket() []model.FileData
func (*OpenTracingAppLayer) GetActivePluginManifests ¶
func (a *OpenTracingAppLayer) GetActivePluginManifests() ([]*model.Manifest, *model.AppError)
func (*OpenTracingAppLayer) GetAllChannels ¶
func (a *OpenTracingAppLayer) GetAllChannels(page int, perPage int, opts model.ChannelSearchOpts) (model.ChannelListWithTeamData, *model.AppError)
func (*OpenTracingAppLayer) GetAllChannelsCount ¶
func (a *OpenTracingAppLayer) GetAllChannelsCount(opts model.ChannelSearchOpts) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetAllLdapGroupsPage ¶
func (a *OpenTracingAppLayer) GetAllLdapGroupsPage(page int, perPage int, opts model.LdapGroupSearchOpts) ([]*model.Group, int, *model.AppError)
func (*OpenTracingAppLayer) GetAllPrivateTeams ¶
func (a *OpenTracingAppLayer) GetAllPrivateTeams() ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllPublicTeams ¶
func (a *OpenTracingAppLayer) GetAllPublicTeams() ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllRemoteClusters ¶
func (a *OpenTracingAppLayer) GetAllRemoteClusters(filter model.RemoteClusterQueryFilter) ([]*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) GetAllRoles ¶
func (a *OpenTracingAppLayer) GetAllRoles() ([]*model.Role, *model.AppError)
func (*OpenTracingAppLayer) GetAllStatuses ¶
func (a *OpenTracingAppLayer) GetAllStatuses() map[string]*model.Status
func (*OpenTracingAppLayer) GetAllTeams ¶
func (a *OpenTracingAppLayer) GetAllTeams() ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllTeamsPage ¶
func (a *OpenTracingAppLayer) GetAllTeamsPage(offset int, limit int, opts *model.TeamSearch) ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) GetAllTeamsPageWithCount ¶
func (a *OpenTracingAppLayer) GetAllTeamsPageWithCount(offset int, limit int, opts *model.TeamSearch) (*model.TeamsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetAnalytics ¶
func (a *OpenTracingAppLayer) GetAnalytics(name string, teamID string) (model.AnalyticsRows, *model.AppError)
func (*OpenTracingAppLayer) GetAppliedSchemaMigrations ¶
func (a *OpenTracingAppLayer) GetAppliedSchemaMigrations() ([]model.AppliedMigration, *model.AppError)
func (*OpenTracingAppLayer) GetAuditsPage ¶
func (*OpenTracingAppLayer) GetAuthorizationCode ¶
func (*OpenTracingAppLayer) GetAuthorizedAppsForUser ¶
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) GetChannelFileCount ¶
func (a *OpenTracingAppLayer) GetChannelFileCount(channelID string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelGroupUsers ¶
func (*OpenTracingAppLayer) GetChannelGuestCount ¶
func (a *OpenTracingAppLayer) GetChannelGuestCount(channelID string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMember ¶
func (a *OpenTracingAppLayer) GetChannelMember(ctx context.Context, channelID string, userID string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMemberCount ¶
func (a *OpenTracingAppLayer) GetChannelMemberCount(channelID string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersByIds ¶
func (a *OpenTracingAppLayer) GetChannelMembersByIds(channelID string, userIDs []string) (model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersForUser ¶
func (a *OpenTracingAppLayer) GetChannelMembersForUser(teamID string, userID string) (model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersForUserWithPagination ¶
func (a *OpenTracingAppLayer) GetChannelMembersForUserWithPagination(userID string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersPage ¶
func (a *OpenTracingAppLayer) GetChannelMembersPage(channelID string, page int, perPage int) (model.ChannelMembers, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersTimezones ¶
func (a *OpenTracingAppLayer) GetChannelMembersTimezones(channelID string) ([]string, *model.AppError)
func (*OpenTracingAppLayer) GetChannelMembersWithTeamDataForUserWithPagination ¶
func (a *OpenTracingAppLayer) GetChannelMembersWithTeamDataForUserWithPagination(userID string, page int, perPage int) (model.ChannelMembersWithTeamData, *model.AppError)
func (*OpenTracingAppLayer) GetChannelModerationsForChannel ¶
func (a *OpenTracingAppLayer) GetChannelModerationsForChannel(channel *model.Channel) ([]*model.ChannelModeration, *model.AppError)
func (*OpenTracingAppLayer) GetChannelPinnedPostCount ¶
func (a *OpenTracingAppLayer) GetChannelPinnedPostCount(channelID string) (int64, *model.AppError)
func (*OpenTracingAppLayer) GetChannelPoliciesForUser ¶
func (a *OpenTracingAppLayer) GetChannelPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelUnread ¶
func (a *OpenTracingAppLayer) GetChannelUnread(channelID string, userID string) (*model.ChannelUnread, *model.AppError)
func (*OpenTracingAppLayer) GetChannels ¶
func (*OpenTracingAppLayer) GetChannelsByNames ¶
func (*OpenTracingAppLayer) GetChannelsForRetentionPolicy ¶
func (a *OpenTracingAppLayer) GetChannelsForRetentionPolicy(policyID string, offset int, limit int) (*model.ChannelsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForScheme ¶
func (a *OpenTracingAppLayer) GetChannelsForScheme(scheme *model.Scheme, offset int, limit int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForSchemePage ¶
func (a *OpenTracingAppLayer) GetChannelsForSchemePage(scheme *model.Scheme, page int, perPage int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForTeamForUser ¶
func (a *OpenTracingAppLayer) GetChannelsForTeamForUser(teamID string, userID string, opts *model.ChannelSearchOpts) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForTeamForUserWithCursor ¶
func (a *OpenTracingAppLayer) GetChannelsForTeamForUserWithCursor(teamID string, userID string, opts *model.ChannelSearchOpts, afterChannelID string) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsForUser ¶
func (a *OpenTracingAppLayer) GetChannelsForUser(userID string, includeDeleted bool, lastDeleteAt int, pageSize int, fromChannelID string) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetChannelsUserNotIn ¶
func (a *OpenTracingAppLayer) GetChannelsUserNotIn(teamID string, userID string, offset int, limit int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetCloudSession ¶
func (*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) GetCommonTeamIDsForTwoUsers ¶
func (*OpenTracingAppLayer) GetComplianceFile ¶
func (a *OpenTracingAppLayer) GetComplianceFile(job *model.Compliance) ([]byte, *model.AppError)
func (*OpenTracingAppLayer) GetComplianceReport ¶
func (a *OpenTracingAppLayer) GetComplianceReport(reportId string) (*model.Compliance, *model.AppError)
func (*OpenTracingAppLayer) GetComplianceReports ¶
func (a *OpenTracingAppLayer) GetComplianceReports(page int, perPage int) (model.Compliances, *model.AppError)
func (*OpenTracingAppLayer) GetConfigFile ¶
func (a *OpenTracingAppLayer) GetConfigFile(name string) ([]byte, error)
func (*OpenTracingAppLayer) GetCookieDomain ¶
func (a *OpenTracingAppLayer) GetCookieDomain() string
func (*OpenTracingAppLayer) GetCustomStatus ¶
func (a *OpenTracingAppLayer) GetCustomStatus(userID string) (*model.CustomStatus, *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(filter func(reflect.StructField) bool) map[string]interface{}
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) GetGlobalRetentionPolicy ¶
func (a *OpenTracingAppLayer) GetGlobalRetentionPolicy() (*model.GlobalRetentionPolicy, *model.AppError)
func (*OpenTracingAppLayer) GetGroup ¶
func (a *OpenTracingAppLayer) GetGroup(id string, opts *model.GetGroupOpts) (*model.Group, *model.AppError)
func (*OpenTracingAppLayer) GetGroupByName ¶
func (a *OpenTracingAppLayer) GetGroupByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
func (*OpenTracingAppLayer) GetGroupByRemoteID ¶
func (a *OpenTracingAppLayer) GetGroupByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
func (*OpenTracingAppLayer) GetGroupChannel ¶
func (*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) GetJobsByTypes ¶
func (*OpenTracingAppLayer) GetJobsByTypesPage ¶
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) GetLatestVersion ¶
func (a *OpenTracingAppLayer) GetLatestVersion(latestVersionUrl string) (*model.GithubReleaseInfo, *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 ¶
func (a *OpenTracingAppLayer) GetMemberCountsByGroup(ctx context.Context, channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)
func (*OpenTracingAppLayer) GetMessageForNotification ¶
func (a *OpenTracingAppLayer) GetMessageForNotification(post *model.Post, translateFunc i18n.TranslateFunc) string
func (*OpenTracingAppLayer) GetMultipleEmojiByName ¶
func (*OpenTracingAppLayer) GetNewUsersForTeamPage ¶
func (*OpenTracingAppLayer) GetNextPostIdFromPostList ¶
func (a *OpenTracingAppLayer) GetNextPostIdFromPostList(postList *model.PostList, collapsedThreads bool) string
func (*OpenTracingAppLayer) GetNotificationNameFormat ¶
func (a *OpenTracingAppLayer) GetNotificationNameFormat(user *model.User) string
func (*OpenTracingAppLayer) GetNumberOfChannelsOnTeam ¶
func (a *OpenTracingAppLayer) GetNumberOfChannelsOnTeam(teamID string) (int, *model.AppError)
func (*OpenTracingAppLayer) GetOAuthAccessTokenForCodeFlow ¶
func (*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) GetOnboarding ¶
func (a *OpenTracingAppLayer) GetOnboarding() (*model.System, *model.AppError)
func (*OpenTracingAppLayer) GetOpenGraphMetadata ¶
func (a *OpenTracingAppLayer) GetOpenGraphMetadata(requestURL string) ([]byte, error)
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) 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) GetPostIfAuthorized ¶
func (*OpenTracingAppLayer) GetPostThread ¶
func (a *OpenTracingAppLayer) GetPostThread(postID string, opts model.GetPostsOptions, userID string) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsAfterPost ¶
func (a *OpenTracingAppLayer) GetPostsAfterPost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsAroundPost ¶
func (a *OpenTracingAppLayer) GetPostsAroundPost(before bool, options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsBeforePost ¶
func (a *OpenTracingAppLayer) GetPostsBeforePost(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) GetPostsByIds ¶
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, collapsedThreads bool) string
func (*OpenTracingAppLayer) GetPrivateChannelsForTeam ¶
func (a *OpenTracingAppLayer) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) GetProductNotices ¶
func (a *OpenTracingAppLayer) GetProductNotices(c *request.Context, userID string, teamID string, client model.NoticeClientType, clientVersion string, locale string) (model.NoticeMessages, *model.AppError)
func (*OpenTracingAppLayer) GetProfileImage ¶
func (*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) GetRemoteCluster ¶
func (a *OpenTracingAppLayer) GetRemoteCluster(remoteClusterId string) (*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) GetRemoteClusterForUser ¶
func (a *OpenTracingAppLayer) GetRemoteClusterForUser(remoteID string, userID string) (*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) GetRemoteClusterService ¶
func (a *OpenTracingAppLayer) GetRemoteClusterService() (remotecluster.RemoteClusterServiceIFace, *model.AppError)
func (*OpenTracingAppLayer) GetRemoteClusterSession ¶
func (*OpenTracingAppLayer) GetRetentionPolicies ¶
func (a *OpenTracingAppLayer) GetRetentionPolicies(offset int, limit int) (*model.RetentionPolicyWithTeamAndChannelCountsList, *model.AppError)
func (*OpenTracingAppLayer) GetRetentionPoliciesCount ¶
func (a *OpenTracingAppLayer) GetRetentionPoliciesCount() (int64, *model.AppError)
func (*OpenTracingAppLayer) GetRetentionPolicy ¶
func (a *OpenTracingAppLayer) GetRetentionPolicy(policyID string) (*model.RetentionPolicyWithTeamAndChannelCounts, *model.AppError)
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) GetSharedChannel ¶
func (a *OpenTracingAppLayer) GetSharedChannel(channelID string) (*model.SharedChannel, error)
func (*OpenTracingAppLayer) GetSharedChannelRemote ¶
func (a *OpenTracingAppLayer) GetSharedChannelRemote(id string) (*model.SharedChannelRemote, error)
func (*OpenTracingAppLayer) GetSharedChannelRemoteByIds ¶
func (a *OpenTracingAppLayer) GetSharedChannelRemoteByIds(channelID string, remoteID string) (*model.SharedChannelRemote, error)
func (*OpenTracingAppLayer) GetSharedChannelRemotes ¶
func (a *OpenTracingAppLayer) GetSharedChannelRemotes(opts model.SharedChannelRemoteFilterOpts) ([]*model.SharedChannelRemote, error)
func (*OpenTracingAppLayer) GetSharedChannelRemotesStatus ¶
func (a *OpenTracingAppLayer) GetSharedChannelRemotesStatus(channelID string) ([]*model.SharedChannelRemoteStatus, error)
func (*OpenTracingAppLayer) GetSharedChannels ¶
func (a *OpenTracingAppLayer) GetSharedChannels(page int, perPage int, opts model.SharedChannelFilterOpts) ([]*model.SharedChannel, *model.AppError)
func (*OpenTracingAppLayer) GetSharedChannelsCount ¶
func (a *OpenTracingAppLayer) GetSharedChannelsCount(opts model.SharedChannelFilterOpts) (int64, error)
func (*OpenTracingAppLayer) GetSidebarCategories ¶
func (a *OpenTracingAppLayer) GetSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, *model.AppError)
func (*OpenTracingAppLayer) GetSidebarCategory ¶
func (a *OpenTracingAppLayer) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingAppLayer) GetSidebarCategoryOrder ¶
func (*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(c *request.Context, commandArgs *model.CommandArgs, commands []*model.Command, roleID string) []model.AutocompleteSuggestion
func (*OpenTracingAppLayer) GetSystemBot ¶
func (a *OpenTracingAppLayer) GetSystemBot() (*model.Bot, *model.AppError)
func (*OpenTracingAppLayer) 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) GetTeamPoliciesForUser ¶
func (a *OpenTracingAppLayer) GetTeamPoliciesForUser(userID string, offset int, limit int) (*model.RetentionPolicyForTeamList, *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) GetTeamsForRetentionPolicy ¶
func (a *OpenTracingAppLayer) GetTeamsForRetentionPolicy(policyID string, offset int, limit int) (*model.TeamsWithCount, *model.AppError)
func (*OpenTracingAppLayer) GetTeamsForScheme ¶
func (*OpenTracingAppLayer) GetTeamsForSchemePage ¶
func (*OpenTracingAppLayer) GetTeamsForUser ¶
func (*OpenTracingAppLayer) GetTeamsUnreadForUser ¶
func (a *OpenTracingAppLayer) GetTeamsUnreadForUser(excludeTeamId string, userID string, includeCollapsedThreads bool) ([]*model.TeamUnread, *model.AppError)
func (*OpenTracingAppLayer) GetTermsOfService ¶
func (a *OpenTracingAppLayer) GetTermsOfService(id string) (*model.TermsOfService, *model.AppError)
func (*OpenTracingAppLayer) GetThreadForUser ¶
func (a *OpenTracingAppLayer) GetThreadForUser(teamID string, threadMembership *model.ThreadMembership, extended bool) (*model.ThreadResponse, *model.AppError)
func (*OpenTracingAppLayer) GetThreadMembershipForUser ¶
func (a *OpenTracingAppLayer) GetThreadMembershipForUser(userId string, threadId string) (*model.ThreadMembership, *model.AppError)
func (*OpenTracingAppLayer) GetThreadMembershipsForUser ¶
func (a *OpenTracingAppLayer) GetThreadMembershipsForUser(userID string, teamID string) ([]*model.ThreadMembership, error)
func (*OpenTracingAppLayer) GetThreadsForUser ¶
func (a *OpenTracingAppLayer) GetThreadsForUser(userID string, teamID string, options model.GetUserThreadsOpts) (*model.Threads, *model.AppError)
func (*OpenTracingAppLayer) GetTokenById ¶
func (*OpenTracingAppLayer) GetTopReactionsForTeamSince ¶
func (a *OpenTracingAppLayer) GetTopReactionsForTeamSince(teamID string, userID string, opts *model.InsightsOpts) (*model.TopReactionList, *model.AppError)
func (*OpenTracingAppLayer) GetTopReactionsForUserSince ¶
func (a *OpenTracingAppLayer) GetTopReactionsForUserSince(userID string, teamID string, opts *model.InsightsOpts) (*model.TopReactionList, *model.AppError)
func (*OpenTracingAppLayer) GetTotalUsersStats ¶
func (a *OpenTracingAppLayer) GetTotalUsersStats(viewRestrictions *model.ViewUsersRestrictions) (*model.UsersStats, *model.AppError)
func (*OpenTracingAppLayer) GetUploadSession ¶
func (a *OpenTracingAppLayer) GetUploadSession(uploadId string) (*model.UploadSession, *model.AppError)
func (*OpenTracingAppLayer) GetUploadSessionsForUser ¶
func (a *OpenTracingAppLayer) GetUploadSessionsForUser(userID string) ([]*model.UploadSession, *model.AppError)
func (*OpenTracingAppLayer) 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) GetUsersNotInGroupPage ¶
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) GetUsersWithInvalidEmails ¶
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) GetWarnMetricsBot ¶
func (a *OpenTracingAppLayer) GetWarnMetricsBot() (*model.Bot, *model.AppError)
func (*OpenTracingAppLayer) GetWarnMetricsStatus ¶
func (a *OpenTracingAppLayer) GetWarnMetricsStatus() (map[string]*model.WarnMetricStatus, *model.AppError)
func (*OpenTracingAppLayer) HTTPService ¶
func (a *OpenTracingAppLayer) HTTPService() httpservice.HTTPService
func (*OpenTracingAppLayer) Handle404 ¶
func (a *OpenTracingAppLayer) Handle404(w http.ResponseWriter, r *http.Request)
func (*OpenTracingAppLayer) HandleCommandResponse ¶
func (a *OpenTracingAppLayer) HandleCommandResponse(c *request.Context, command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.CommandResponse, *model.AppError)
func (*OpenTracingAppLayer) HandleCommandResponsePost ¶
func (a *OpenTracingAppLayer) HandleCommandResponsePost(c *request.Context, command *model.Command, args *model.CommandArgs, response *model.CommandResponse, builtIn bool) (*model.Post, *model.AppError)
func (*OpenTracingAppLayer) HandleCommandWebhook ¶
func (a *OpenTracingAppLayer) HandleCommandWebhook(c *request.Context, hookID string, response *model.CommandResponse) *model.AppError
func (*OpenTracingAppLayer) HandleImages ¶
func (a *OpenTracingAppLayer) HandleImages(previewPathList []string, thumbnailPathList []string, fileData [][]byte)
func (*OpenTracingAppLayer) HandleIncomingWebhook ¶
func (a *OpenTracingAppLayer) HandleIncomingWebhook(c *request.Context, hookID string, req *model.IncomingWebhookRequest) *model.AppError
func (*OpenTracingAppLayer) HandleMessageExportConfig ¶
func (a *OpenTracingAppLayer) HandleMessageExportConfig(cfg *model.Config, appCfg *model.Config)
func (*OpenTracingAppLayer) HasPermissionTo ¶
func (a *OpenTracingAppLayer) HasPermissionTo(askingUserId string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToChannel ¶
func (a *OpenTracingAppLayer) HasPermissionToChannel(askingUserId string, channelID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToChannelByPost ¶
func (a *OpenTracingAppLayer) HasPermissionToChannelByPost(askingUserId string, postID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToReadChannel ¶
func (a *OpenTracingAppLayer) HasPermissionToReadChannel(userID string, channel *model.Channel) bool
func (*OpenTracingAppLayer) HasPermissionToTeam ¶
func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) HasPermissionToUser ¶
func (a *OpenTracingAppLayer) HasPermissionToUser(askingUserId string, userID string) bool
func (*OpenTracingAppLayer) HasRemote ¶
func (a *OpenTracingAppLayer) HasRemote(channelID string, remoteID string) (bool, error)
func (*OpenTracingAppLayer) HasSharedChannel ¶
func (a *OpenTracingAppLayer) HasSharedChannel(channelID string) (bool, error)
func (*OpenTracingAppLayer) HubRegister ¶
func (a *OpenTracingAppLayer) HubRegister(webConn *app.WebConn)
func (*OpenTracingAppLayer) HubUnregister ¶
func (a *OpenTracingAppLayer) HubUnregister(webConn *app.WebConn)
func (*OpenTracingAppLayer) ImageProxy ¶
func (a *OpenTracingAppLayer) ImageProxy() *imageproxy.ImageProxy
func (*OpenTracingAppLayer) ImageProxyAdder ¶
func (a *OpenTracingAppLayer) ImageProxyAdder() func(string) string
func (*OpenTracingAppLayer) ImageProxyRemover ¶
func (a *OpenTracingAppLayer) ImageProxyRemover() (f func(string) string)
func (*OpenTracingAppLayer) ImportPermissions ¶
func (a *OpenTracingAppLayer) ImportPermissions(jsonl io.Reader) error
func (*OpenTracingAppLayer) InitPlugins ¶
func (a *OpenTracingAppLayer) InitPlugins(c *request.Context, pluginDir string, webappPluginDir string)
func (*OpenTracingAppLayer) InstallPlugin ¶
func (a *OpenTracingAppLayer) InstallPlugin(pluginFile io.ReadSeeker, replace bool) (*model.Manifest, *model.AppError)
func (*OpenTracingAppLayer) InvalidateAllEmailInvites ¶
func (a *OpenTracingAppLayer) InvalidateAllEmailInvites() *model.AppError
func (*OpenTracingAppLayer) InvalidateAllResendInviteEmailJobs ¶
func (a *OpenTracingAppLayer) InvalidateAllResendInviteEmailJobs() *model.AppError
func (*OpenTracingAppLayer) InvalidateCacheForUser ¶
func (a *OpenTracingAppLayer) InvalidateCacheForUser(userID string)
func (*OpenTracingAppLayer) InviteGuestsToChannels ¶
func (a *OpenTracingAppLayer) InviteGuestsToChannels(teamID string, guestsInvite *model.GuestsInvite, senderId string) *model.AppError
func (*OpenTracingAppLayer) InviteGuestsToChannelsGracefully ¶
func (a *OpenTracingAppLayer) InviteGuestsToChannelsGracefully(teamID string, guestsInvite *model.GuestsInvite, senderId string) ([]*model.EmailInviteWithError, *model.AppError)
func (*OpenTracingAppLayer) InviteNewUsersToTeam ¶
func (*OpenTracingAppLayer) InviteNewUsersToTeamGracefully ¶
func (a *OpenTracingAppLayer) InviteNewUsersToTeamGracefully(memberInvite *model.MemberInvite, teamID string, senderId string, reminderInterval string) ([]*model.EmailInviteWithError, *model.AppError)
func (*OpenTracingAppLayer) IsCRTEnabledForUser ¶
func (a *OpenTracingAppLayer) IsCRTEnabledForUser(userID string) bool
func (*OpenTracingAppLayer) IsFirstUserAccount ¶
func (a *OpenTracingAppLayer) IsFirstUserAccount() bool
func (*OpenTracingAppLayer) IsLeader ¶
func (a *OpenTracingAppLayer) IsLeader() bool
func (*OpenTracingAppLayer) IsPasswordValid ¶
func (a *OpenTracingAppLayer) IsPasswordValid(password string) *model.AppError
func (*OpenTracingAppLayer) IsPhase2MigrationCompleted ¶
func (a *OpenTracingAppLayer) IsPhase2MigrationCompleted() *model.AppError
func (*OpenTracingAppLayer) IsUserAway ¶
func (a *OpenTracingAppLayer) IsUserAway(lastActivityAt int64) bool
func (*OpenTracingAppLayer) IsUserSignUpAllowed ¶
func (a *OpenTracingAppLayer) IsUserSignUpAllowed() *model.AppError
func (*OpenTracingAppLayer) JoinChannel ¶
func (*OpenTracingAppLayer) JoinDefaultChannels ¶
func (*OpenTracingAppLayer) JoinUserToTeam ¶
func (*OpenTracingAppLayer) Ldap ¶
func (a *OpenTracingAppLayer) Ldap() einterfaces.LdapInterface
func (*OpenTracingAppLayer) LeaveChannel ¶
func (*OpenTracingAppLayer) License ¶
func (a *OpenTracingAppLayer) License() *model.License
func (*OpenTracingAppLayer) LimitedClientConfig ¶
func (a *OpenTracingAppLayer) LimitedClientConfig() map[string]string
func (*OpenTracingAppLayer) LimitedClientConfigWithComputed ¶
func (a *OpenTracingAppLayer) LimitedClientConfigWithComputed() map[string]string
func (*OpenTracingAppLayer) ListAllCommands ¶
func (a *OpenTracingAppLayer) ListAllCommands(teamID string, T i18n.TranslateFunc) ([]*model.Command, *model.AppError)
func (*OpenTracingAppLayer) ListAutocompleteCommands ¶
func (a *OpenTracingAppLayer) ListAutocompleteCommands(teamID string, T i18n.TranslateFunc) ([]*model.Command, *model.AppError)
func (*OpenTracingAppLayer) ListDirectory ¶
func (a *OpenTracingAppLayer) ListDirectory(path string) ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListDirectoryRecursively ¶
func (a *OpenTracingAppLayer) ListDirectoryRecursively(path string) ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListExports ¶
func (a *OpenTracingAppLayer) ListExports() ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListImports ¶
func (a *OpenTracingAppLayer) ListImports() ([]string, *model.AppError)
func (*OpenTracingAppLayer) ListPluginKeys ¶
func (*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(s *model.Session, permissions []*model.Permission) *model.AppError
func (*OpenTracingAppLayer) MarkChannelAsUnreadFromPost ¶
func (a *OpenTracingAppLayer) MarkChannelAsUnreadFromPost(postID string, userID string, collapsedThreadsSupported bool) (*model.ChannelUnreadAt, *model.AppError)
func (*OpenTracingAppLayer) MarkChannelsAsViewed ¶
func (*OpenTracingAppLayer) MaxPostSize ¶
func (a *OpenTracingAppLayer) MaxPostSize() int
func (*OpenTracingAppLayer) MentionsToPublicChannels ¶
func (a *OpenTracingAppLayer) MentionsToPublicChannels(message string, teamID string) model.ChannelMentionMap
func (*OpenTracingAppLayer) MentionsToTeamMembers ¶
func (a *OpenTracingAppLayer) MentionsToTeamMembers(message string, teamID string) model.UserMentionMap
func (*OpenTracingAppLayer) MessageExport ¶
func (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 (*OpenTracingAppLayer) NewWebConn ¶
func (a *OpenTracingAppLayer) NewWebConn(cfg *app.WebConnConfig) *app.WebConn
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() error
func (*OpenTracingAppLayer) NotifySharedChannelUserUpdate ¶
func (a *OpenTracingAppLayer) NotifySharedChannelUserUpdate(user *model.User)
func (*OpenTracingAppLayer) OpenInteractiveDialog ¶
func (a *OpenTracingAppLayer) OpenInteractiveDialog(request model.OpenDialogRequest) *model.AppError
func (*OpenTracingAppLayer) OriginChecker ¶
func (a *OpenTracingAppLayer) OriginChecker() func(*http.Request) bool
func (*OpenTracingAppLayer) OverrideIconURLIfEmoji ¶
func (a *OpenTracingAppLayer) OverrideIconURLIfEmoji(post *model.Post)
func (*OpenTracingAppLayer) PatchChannel ¶
func (*OpenTracingAppLayer) PatchChannelModerationsForChannel ¶
func (a *OpenTracingAppLayer) PatchChannelModerationsForChannel(channel *model.Channel, channelModerationsPatch []*model.ChannelModerationPatch) ([]*model.ChannelModeration, *model.AppError)
func (*OpenTracingAppLayer) PatchRetentionPolicy ¶
func (a *OpenTracingAppLayer) PatchRetentionPolicy(patch *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, *model.AppError)
func (*OpenTracingAppLayer) PatchScheme ¶
func (a *OpenTracingAppLayer) PatchScheme(scheme *model.Scheme, patch *model.SchemePatch) (*model.Scheme, *model.AppError)
func (*OpenTracingAppLayer) PermanentDeleteAllUsers ¶
func (a *OpenTracingAppLayer) PermanentDeleteAllUsers(c *request.Context) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteBot ¶
func (a *OpenTracingAppLayer) PermanentDeleteBot(botUserId string) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteChannel ¶
func (a *OpenTracingAppLayer) PermanentDeleteChannel(channel *model.Channel) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteTeam ¶
func (a *OpenTracingAppLayer) PermanentDeleteTeam(team *model.Team) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteTeamId ¶
func (a *OpenTracingAppLayer) PermanentDeleteTeamId(teamID string) *model.AppError
func (*OpenTracingAppLayer) PermanentDeleteUser ¶
func (*OpenTracingAppLayer) PluginCommandsForTeam ¶
func (a *OpenTracingAppLayer) PluginCommandsForTeam(teamID string) []*model.Command
func (*OpenTracingAppLayer) PopulateWebConnConfig ¶
func (a *OpenTracingAppLayer) PopulateWebConnConfig(s *model.Session, cfg *app.WebConnConfig, seqVal string) (*app.WebConnConfig, error)
func (*OpenTracingAppLayer) PostActionCookieSecret ¶
func (a *OpenTracingAppLayer) PostActionCookieSecret() []byte
func (*OpenTracingAppLayer) PostAddToChannelMessage ¶
func (*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) PreparePostForClientWithEmbedsAndImages ¶
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) 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) RemoveChannelsFromRetentionPolicy ¶
func (a *OpenTracingAppLayer) RemoveChannelsFromRetentionPolicy(policyID string, channelIDs []string) *model.AppError
func (*OpenTracingAppLayer) RemoveConfigListener ¶
func (a *OpenTracingAppLayer) RemoveConfigListener(id string)
func (*OpenTracingAppLayer) RemoveCustomStatus ¶
func (a *OpenTracingAppLayer) RemoveCustomStatus(userID string) *model.AppError
func (*OpenTracingAppLayer) RemoveDirectory ¶
func (a *OpenTracingAppLayer) RemoveDirectory(path string) *model.AppError
func (*OpenTracingAppLayer) RemoveFile ¶
func (a *OpenTracingAppLayer) RemoveFile(path string) *model.AppError
func (*OpenTracingAppLayer) RemoveLdapPrivateCertificate ¶
func (a *OpenTracingAppLayer) RemoveLdapPrivateCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveLdapPublicCertificate ¶
func (a *OpenTracingAppLayer) RemoveLdapPublicCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveRecentCustomStatus ¶
func (a *OpenTracingAppLayer) RemoveRecentCustomStatus(userID string, status *model.CustomStatus) *model.AppError
func (*OpenTracingAppLayer) RemoveSamlIdpCertificate ¶
func (a *OpenTracingAppLayer) RemoveSamlIdpCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveSamlPrivateCertificate ¶
func (a *OpenTracingAppLayer) RemoveSamlPrivateCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveSamlPublicCertificate ¶
func (a *OpenTracingAppLayer) RemoveSamlPublicCertificate() *model.AppError
func (*OpenTracingAppLayer) RemoveTeamIcon ¶
func (a *OpenTracingAppLayer) RemoveTeamIcon(teamID string) *model.AppError
func (*OpenTracingAppLayer) RemoveTeamsFromRetentionPolicy ¶
func (a *OpenTracingAppLayer) RemoveTeamsFromRetentionPolicy(policyID string, teamIDs []string) *model.AppError
func (*OpenTracingAppLayer) RemoveUserFromChannel ¶
func (*OpenTracingAppLayer) RemoveUserFromTeam ¶
func (*OpenTracingAppLayer) RemoveUsersFromChannelNotMemberOfTeam ¶
func (*OpenTracingAppLayer) RenameChannel ¶
func (*OpenTracingAppLayer) RenameTeam ¶
func (*OpenTracingAppLayer) RequestLicenseAndAckWarnMetric ¶
func (*OpenTracingAppLayer) ResetPasswordFromToken ¶
func (a *OpenTracingAppLayer) ResetPasswordFromToken(userSuppliedTokenString string, newPassword string) *model.AppError
func (*OpenTracingAppLayer) ResetPermissionsSystem ¶
func (a *OpenTracingAppLayer) ResetPermissionsSystem() *model.AppError
func (*OpenTracingAppLayer) ResetSamlAuthDataToEmail ¶
func (*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) ReturnSessionToPool ¶
func (a *OpenTracingAppLayer) ReturnSessionToPool(session *model.Session)
func (*OpenTracingAppLayer) RevokeAccessToken ¶
func (a *OpenTracingAppLayer) RevokeAccessToken(token string) *model.AppError
func (*OpenTracingAppLayer) RevokeAllSessions ¶
func (a *OpenTracingAppLayer) RevokeAllSessions(userID string) *model.AppError
func (*OpenTracingAppLayer) RevokeSession ¶
func (a *OpenTracingAppLayer) RevokeSession(session *model.Session) *model.AppError
func (*OpenTracingAppLayer) RevokeSessionById ¶
func (a *OpenTracingAppLayer) RevokeSessionById(sessionID string) *model.AppError
func (*OpenTracingAppLayer) RevokeSessionsForDeviceId ¶
func (*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) SanitizePostListMetadataForUser ¶
func (*OpenTracingAppLayer) SanitizePostMetadataForUser ¶
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) SaveSharedChannel ¶
func (a *OpenTracingAppLayer) SaveSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
func (*OpenTracingAppLayer) SaveSharedChannelRemote ¶
func (a *OpenTracingAppLayer) SaveSharedChannelRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
func (*OpenTracingAppLayer) SaveUserTermsOfService ¶
func (*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) SearchFilesInTeamForUser ¶
func (*OpenTracingAppLayer) SearchGroupChannels ¶
func (a *OpenTracingAppLayer) SearchGroupChannels(userID string, term string) (model.ChannelList, *model.AppError)
func (*OpenTracingAppLayer) SearchPostsForUser ¶
func (*OpenTracingAppLayer) SearchPostsInTeam ¶
func (a *OpenTracingAppLayer) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) (*model.PostList, *model.AppError)
func (*OpenTracingAppLayer) SearchPrivateTeams ¶
func (a *OpenTracingAppLayer) SearchPrivateTeams(searchOpts *model.TeamSearch) ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) SearchPublicTeams ¶
func (a *OpenTracingAppLayer) SearchPublicTeams(searchOpts *model.TeamSearch) ([]*model.Team, *model.AppError)
func (*OpenTracingAppLayer) SearchUserAccessTokens ¶
func (a *OpenTracingAppLayer) SearchUserAccessTokens(term string) ([]*model.UserAccessToken, *model.AppError)
func (*OpenTracingAppLayer) SearchUsers ¶
func (a *OpenTracingAppLayer) SearchUsers(props *model.UserSearch, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersInChannel ¶
func (a *OpenTracingAppLayer) SearchUsersInChannel(channelID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersInGroup ¶
func (a *OpenTracingAppLayer) SearchUsersInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersInTeam ¶
func (a *OpenTracingAppLayer) SearchUsersInTeam(teamID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersNotInChannel ¶
func (a *OpenTracingAppLayer) SearchUsersNotInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersNotInGroup ¶
func (a *OpenTracingAppLayer) SearchUsersNotInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersNotInTeam ¶
func (a *OpenTracingAppLayer) SearchUsersNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SearchUsersWithoutTeam ¶
func (a *OpenTracingAppLayer) SearchUsersWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingAppLayer) SendAckToPushProxy ¶
func (a *OpenTracingAppLayer) SendAckToPushProxy(ack *model.PushNotificationAck) error
func (*OpenTracingAppLayer) SendAutoResponse ¶
func (*OpenTracingAppLayer) SendAutoResponseIfNecessary ¶
func (*OpenTracingAppLayer) SendCloudTrialEndWarningEmail ¶
func (a *OpenTracingAppLayer) SendCloudTrialEndWarningEmail(trialEndDate string, siteURL string) *model.AppError
func (*OpenTracingAppLayer) SendCloudTrialEndedEmail ¶
func (a *OpenTracingAppLayer) SendCloudTrialEndedEmail() *model.AppError
func (*OpenTracingAppLayer) SendEmailVerification ¶
func (*OpenTracingAppLayer) SendEphemeralPost ¶
func (*OpenTracingAppLayer) SendNoCardPaymentFailedEmail ¶
func (a *OpenTracingAppLayer) SendNoCardPaymentFailedEmail() *model.AppError
func (*OpenTracingAppLayer) SendNotifications ¶
func (*OpenTracingAppLayer) SendPasswordReset ¶
func (*OpenTracingAppLayer) SendPaymentFailedEmail ¶
func (a *OpenTracingAppLayer) SendPaymentFailedEmail(failedPayment *model.FailedPayment) *model.AppError
func (*OpenTracingAppLayer) SendTestPushNotification ¶
func (a *OpenTracingAppLayer) SendTestPushNotification(deviceID string) string
func (*OpenTracingAppLayer) ServeInterPluginRequest ¶
func (a *OpenTracingAppLayer) ServeInterPluginRequest(w http.ResponseWriter, r *http.Request, sourcePluginId string, destinationPluginId string)
func (*OpenTracingAppLayer) SessionHasPermissionTo ¶
func (a *OpenTracingAppLayer) SessionHasPermissionTo(session model.Session, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToAny ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToAny(session model.Session, permissions []*model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToCategory ¶
func (*OpenTracingAppLayer) SessionHasPermissionToChannel ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToChannel(session model.Session, channelID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToChannelByPost ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToChannelByPost(session model.Session, postID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToCreateJob ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToCreateJob(session model.Session, job *model.Job) (bool, *model.Permission)
func (*OpenTracingAppLayer) SessionHasPermissionToGroup ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToGroup(session model.Session, groupID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToManageBot ¶
func (*OpenTracingAppLayer) SessionHasPermissionToReadJob ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToReadJob(session model.Session, jobType string) (bool, *model.Permission)
func (*OpenTracingAppLayer) SessionHasPermissionToTeam ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToTeam(session model.Session, teamID string, permission *model.Permission) bool
func (*OpenTracingAppLayer) SessionHasPermissionToUser ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToUser(session model.Session, userID string) bool
func (*OpenTracingAppLayer) SessionHasPermissionToUserOrBot ¶
func (a *OpenTracingAppLayer) SessionHasPermissionToUserOrBot(session model.Session, userID string) bool
func (*OpenTracingAppLayer) SessionIsRegistered ¶
func (a *OpenTracingAppLayer) SessionIsRegistered(session model.Session) bool
func (*OpenTracingAppLayer) SetActiveChannel ¶
func (a *OpenTracingAppLayer) SetActiveChannel(userID string, channelID string) *model.AppError
func (*OpenTracingAppLayer) SetAutoResponderStatus ¶
func (a *OpenTracingAppLayer) SetAutoResponderStatus(user *model.User, oldNotifyProps model.StringMap)
func (*OpenTracingAppLayer) SetChannels ¶
func (a *OpenTracingAppLayer) SetChannels(ch *app.Channels)
func (*OpenTracingAppLayer) SetCustomStatus ¶
func (a *OpenTracingAppLayer) SetCustomStatus(userID string, cs *model.CustomStatus) *model.AppError
func (*OpenTracingAppLayer) SetDefaultProfileImage ¶
func (a *OpenTracingAppLayer) SetDefaultProfileImage(user *model.User) *model.AppError
func (*OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus ¶
func (a *OpenTracingAppLayer) SetPhase2PermissionsMigrationStatus(isComplete bool) error
func (*OpenTracingAppLayer) SetPluginKey ¶
func (*OpenTracingAppLayer) SetPluginKeyWithExpiry ¶
func (*OpenTracingAppLayer) SetPluginKeyWithOptions ¶
func (a *OpenTracingAppLayer) SetPluginKeyWithOptions(pluginID string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
func (*OpenTracingAppLayer) SetProfileImage ¶
func (a *OpenTracingAppLayer) SetProfileImage(userID string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) SetProfileImageFromFile ¶
func (*OpenTracingAppLayer) SetProfileImageFromMultiPartFile ¶
func (*OpenTracingAppLayer) SetRemoteClusterLastPingAt ¶
func (a *OpenTracingAppLayer) SetRemoteClusterLastPingAt(remoteClusterId string) *model.AppError
func (*OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata ¶
func (a *OpenTracingAppLayer) SetSamlIdpCertificateFromMetadata(data []byte) *model.AppError
func (*OpenTracingAppLayer) SetSearchEngine ¶
func (a *OpenTracingAppLayer) SetSearchEngine(se *searchengine.Broker)
func (*OpenTracingAppLayer) SetServer ¶
func (a *OpenTracingAppLayer) SetServer(srv *app.Server)
func (*OpenTracingAppLayer) SetSessionExpireInDays ¶
func (a *OpenTracingAppLayer) SetSessionExpireInDays(session *model.Session, days int)
func (*OpenTracingAppLayer) SetStatusAwayIfNeeded ¶
func (a *OpenTracingAppLayer) SetStatusAwayIfNeeded(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusDoNotDisturb ¶
func (a *OpenTracingAppLayer) SetStatusDoNotDisturb(userID string)
func (*OpenTracingAppLayer) SetStatusDoNotDisturbTimed ¶
func (a *OpenTracingAppLayer) SetStatusDoNotDisturbTimed(userId string, endtime int64)
func (*OpenTracingAppLayer) SetStatusLastActivityAt ¶
func (a *OpenTracingAppLayer) SetStatusLastActivityAt(userID string, activityAt int64)
func (*OpenTracingAppLayer) SetStatusOffline ¶
func (a *OpenTracingAppLayer) SetStatusOffline(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusOnline ¶
func (a *OpenTracingAppLayer) SetStatusOnline(userID string, manual bool)
func (*OpenTracingAppLayer) SetStatusOutOfOffice ¶
func (a *OpenTracingAppLayer) SetStatusOutOfOffice(userID string)
func (*OpenTracingAppLayer) SetTeamIcon ¶
func (a *OpenTracingAppLayer) SetTeamIcon(teamID string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) SetTeamIconFromFile ¶
func (*OpenTracingAppLayer) SetTeamIconFromMultiPartFile ¶
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(c *request.Context, 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(includeRemovedMembers bool)
func (*OpenTracingAppLayer) SyncPlugins ¶
func (a *OpenTracingAppLayer) SyncPlugins() *model.AppError
func (*OpenTracingAppLayer) SyncRolesAndMembership ¶
func (a *OpenTracingAppLayer) SyncRolesAndMembership(c *request.Context, syncableID string, syncableType model.GroupSyncableType, includeRemovedMembers bool)
func (*OpenTracingAppLayer) SyncSyncableRoles ¶
func (a *OpenTracingAppLayer) SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError
func (*OpenTracingAppLayer) TeamMembersMinusGroupMembers ¶
func (a *OpenTracingAppLayer) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, int64, *model.AppError)
func (*OpenTracingAppLayer) TeamMembersToAdd ¶
func (a *OpenTracingAppLayer) TeamMembersToAdd(since int64, teamID *string, includeRemovedMembers bool) ([]*model.UserTeamIDPair, *model.AppError)
func (*OpenTracingAppLayer) TeamMembersToRemove ¶
func (a *OpenTracingAppLayer) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingAppLayer) TelemetryId ¶
func (a *OpenTracingAppLayer) TelemetryId() string
func (*OpenTracingAppLayer) TestElasticsearch ¶
func (a *OpenTracingAppLayer) TestElasticsearch(cfg *model.Config) *model.AppError
func (*OpenTracingAppLayer) TestFileStoreConnection ¶
func (a *OpenTracingAppLayer) TestFileStoreConnection() *model.AppError
func (*OpenTracingAppLayer) TestFileStoreConnectionWithConfig ¶
func (a *OpenTracingAppLayer) TestFileStoreConnectionWithConfig(cfg *model.FileSettings) *model.AppError
func (*OpenTracingAppLayer) TestLdap ¶
func (a *OpenTracingAppLayer) TestLdap() *model.AppError
func (*OpenTracingAppLayer) TestSiteURL ¶
func (a *OpenTracingAppLayer) TestSiteURL(siteURL string) *model.AppError
func (*OpenTracingAppLayer) Timezones ¶
func (a *OpenTracingAppLayer) Timezones() *timezones.Timezones
func (*OpenTracingAppLayer) ToggleMuteChannel ¶
func (a *OpenTracingAppLayer) ToggleMuteChannel(channelID string, userID string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingAppLayer) TotalWebsocketConnections ¶
func (a *OpenTracingAppLayer) TotalWebsocketConnections() int
func (*OpenTracingAppLayer) TriggerWebhook ¶
func (a *OpenTracingAppLayer) TriggerWebhook(c *request.Context, payload *model.OutgoingWebhookPayload, hook *model.OutgoingWebhook, post *model.Post, channel *model.Channel)
func (*OpenTracingAppLayer) UnregisterPluginCommand ¶
func (a *OpenTracingAppLayer) UnregisterPluginCommand(pluginID string, teamID string, trigger string)
func (*OpenTracingAppLayer) UpdateActive ¶
func (*OpenTracingAppLayer) UpdateBotActive ¶
func (*OpenTracingAppLayer) UpdateBotOwner ¶
func (*OpenTracingAppLayer) UpdateChannel ¶
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) UpdateDNDStatusOfUsers ¶
func (a *OpenTracingAppLayer) UpdateDNDStatusOfUsers()
func (*OpenTracingAppLayer) UpdateEphemeralPost ¶
func (*OpenTracingAppLayer) UpdateExpiredDNDStatuses ¶
func (a *OpenTracingAppLayer) UpdateExpiredDNDStatuses() ([]*model.Status, error)
func (*OpenTracingAppLayer) UpdateGroup ¶
func (*OpenTracingAppLayer) UpdateGroupSyncable ¶
func (a *OpenTracingAppLayer) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingAppLayer) UpdateHashedPassword ¶
func (*OpenTracingAppLayer) UpdateHashedPasswordByUserId ¶
func (a *OpenTracingAppLayer) UpdateHashedPasswordByUserId(userID string, newHashedPassword string) *model.AppError
func (*OpenTracingAppLayer) UpdateIncomingWebhook ¶
func (a *OpenTracingAppLayer) UpdateIncomingWebhook(oldHook *model.IncomingWebhook, updatedHook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError)
func (*OpenTracingAppLayer) UpdateLastActivityAtIfNeeded ¶
func (a *OpenTracingAppLayer) UpdateLastActivityAtIfNeeded(session model.Session)
func (*OpenTracingAppLayer) UpdateMobileAppBadge ¶
func (a *OpenTracingAppLayer) UpdateMobileAppBadge(userID string)
func (*OpenTracingAppLayer) UpdateOAuthApp ¶
func (*OpenTracingAppLayer) UpdateOAuthUserAttrs ¶
func (a *OpenTracingAppLayer) UpdateOAuthUserAttrs(userData io.Reader, user *model.User, provider einterfaces.OAuthProvider, service string, tokenUser *model.User) *model.AppError
func (*OpenTracingAppLayer) UpdateOutgoingWebhook ¶
func (a *OpenTracingAppLayer) UpdateOutgoingWebhook(oldHook *model.OutgoingWebhook, updatedHook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
func (*OpenTracingAppLayer) UpdatePassword ¶
func (*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 ¶
func (a *OpenTracingAppLayer) UpdateProductNotices() *model.AppError
func (*OpenTracingAppLayer) UpdateRemoteCluster ¶
func (a *OpenTracingAppLayer) UpdateRemoteCluster(rc *model.RemoteCluster) (*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) UpdateRemoteClusterTopics ¶
func (a *OpenTracingAppLayer) UpdateRemoteClusterTopics(remoteClusterId string, topics string) (*model.RemoteCluster, *model.AppError)
func (*OpenTracingAppLayer) UpdateRole ¶
func (*OpenTracingAppLayer) UpdateScheme ¶
func (*OpenTracingAppLayer) UpdateSharedChannel ¶
func (a *OpenTracingAppLayer) UpdateSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
func (*OpenTracingAppLayer) UpdateSharedChannelRemoteCursor ¶
func (a *OpenTracingAppLayer) UpdateSharedChannelRemoteCursor(id string, cursor model.GetPostsSinceForSyncCursor) error
func (*OpenTracingAppLayer) UpdateSidebarCategories ¶
func (a *OpenTracingAppLayer) UpdateSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingAppLayer) UpdateSidebarCategoryOrder ¶
func (*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 ¶
func (*OpenTracingAppLayer) UpdateThreadFollowForUserFromChannelAdd ¶
func (*OpenTracingAppLayer) UpdateThreadReadForUser ¶
func (a *OpenTracingAppLayer) UpdateThreadReadForUser(currentSessionId string, userID string, teamID string, threadID string, timestamp int64) (*model.ThreadResponse, *model.AppError)
func (*OpenTracingAppLayer) UpdateThreadReadForUserByPost ¶
func (a *OpenTracingAppLayer) UpdateThreadReadForUserByPost(currentSessionId string, userID string, teamID string, threadID string, postID string) (*model.ThreadResponse, *model.AppError)
func (*OpenTracingAppLayer) UpdateThreadsReadForUser ¶
func (a *OpenTracingAppLayer) UpdateThreadsReadForUser(userID string, teamID string) *model.AppError
func (*OpenTracingAppLayer) UpdateUser ¶
func (*OpenTracingAppLayer) UpdateUserActive ¶
func (*OpenTracingAppLayer) UpdateUserAsUser ¶
func (*OpenTracingAppLayer) UpdateUserAuth ¶
func (*OpenTracingAppLayer) UpdateUserRoles ¶
func (*OpenTracingAppLayer) UpdateUserRolesWithUser ¶
func (*OpenTracingAppLayer) UpdateViewedProductNotices ¶
func (a *OpenTracingAppLayer) UpdateViewedProductNotices(userID string, noticeIds []string) *model.AppError
func (*OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser ¶
func (a *OpenTracingAppLayer) UpdateViewedProductNoticesForNewUser(userID string)
func (*OpenTracingAppLayer) UpdateWebConnUserActivity ¶
func (a *OpenTracingAppLayer) UpdateWebConnUserActivity(session model.Session, activityAt int64)
func (*OpenTracingAppLayer) UploadData ¶
func (*OpenTracingAppLayer) UploadEmojiImage ¶
func (a *OpenTracingAppLayer) UploadEmojiImage(id string, imageData *multipart.FileHeader) *model.AppError
func (*OpenTracingAppLayer) UploadFile ¶
func (*OpenTracingAppLayer) UploadFileX ¶
func (*OpenTracingAppLayer) UploadFiles ¶
func (*OpenTracingAppLayer) UploadMultipartFiles ¶
func (a *OpenTracingAppLayer) UploadMultipartFiles(c *request.Context, teamID string, channelID string, userID string, fileHeaders []*multipart.FileHeader, clientIds []string, now time.Time) (*model.FileUploadResponse, *model.AppError)
func (*OpenTracingAppLayer) UpsertGroupMember ¶
func (a *OpenTracingAppLayer) UpsertGroupMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*OpenTracingAppLayer) UpsertGroupMembers ¶
func (a *OpenTracingAppLayer) UpsertGroupMembers(groupID string, userIDs []string) ([]*model.GroupMember, *model.AppError)
func (*OpenTracingAppLayer) UpsertGroupSyncable ¶
func (a *OpenTracingAppLayer) UpsertGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
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, collapsedThreadsSupported bool) (map[string]int64, *model.AppError)
Click to show internal directories.
Click to hide internal directories.