Documentation ¶
Index ¶
- func AdvancedSettingsPage() web.HandlerFunc
- func Avatar() web.HandlerFunc
- func ChangeUserEmail() web.HandlerFunc
- func ChangeUserRole() web.HandlerFunc
- func CheckAvailability() web.HandlerFunc
- func CompleteSignInProfile() web.HandlerFunc
- func CreateTenant() web.HandlerFunc
- func DeleteUser() web.HandlerFunc
- func ExportPostsToCSV() web.HandlerFunc
- func GeneralSettingsPage() web.HandlerFunc
- func GetOAuthConfig() web.HandlerFunc
- func Health() web.HandlerFunc
- func Index() web.HandlerFunc
- func LegalPage(title, file string) web.HandlerFunc
- func ManageAuthentication() web.HandlerFunc
- func ManageMembers() web.HandlerFunc
- func ManageTags() web.HandlerFunc
- func NotInvitedPage() web.HandlerFunc
- func Notifications() web.HandlerFunc
- func OAuthCallback() web.HandlerFunc
- func OAuthEcho() web.HandlerFunc
- func OAuthToken() web.HandlerFunc
- func Page(title, description string) web.HandlerFunc
- func PostDetails() web.HandlerFunc
- func ReadAllNotifications() web.HandlerFunc
- func ReadNotification() web.HandlerFunc
- func RegenerateAPIKey() web.HandlerFunc
- func RobotsTXT() web.HandlerFunc
- func SaveOAuthConfig() web.HandlerFunc
- func SignInByEmail() web.HandlerFunc
- func SignInByOAuth() web.HandlerFunc
- func SignInPage() web.HandlerFunc
- func SignOut() web.HandlerFunc
- func SignUp() web.HandlerFunc
- func Sitemap() web.HandlerFunc
- func TotalUnreadNotifications() web.HandlerFunc
- func UpdateAdvancedSettings() web.HandlerFunc
- func UpdatePrivacy() web.HandlerFunc
- func UpdateSettings() web.HandlerFunc
- func UpdateUserSettings() web.HandlerFunc
- func UserSettings() web.HandlerFunc
- func VerifyChangeEmailKey() web.HandlerFunc
- func VerifySignInKey(kind models.EmailVerificationKind) web.HandlerFunc
- func VerifySignUpKey() web.HandlerFunc
- func ViewUploadedImage() web.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdvancedSettingsPage ¶ added in v0.13.0
func AdvancedSettingsPage() web.HandlerFunc
AdvancedSettingsPage is the advanced settings page
func Avatar ¶ added in v0.9.0
func Avatar() web.HandlerFunc
Avatar returns a gravatar picture of fallsback to letter avatar based on name
func ChangeUserEmail ¶ added in v0.9.0
func ChangeUserEmail() web.HandlerFunc
ChangeUserEmail register the intent of changing user email
func ChangeUserRole ¶ added in v0.7.0
func ChangeUserRole() web.HandlerFunc
ChangeUserRole changes given user role
func CheckAvailability ¶
func CheckAvailability() web.HandlerFunc
CheckAvailability checks if given domain is available to be used
func CompleteSignInProfile ¶ added in v0.6.0
func CompleteSignInProfile() web.HandlerFunc
CompleteSignInProfile handles the action to update user profile
func DeleteUser ¶ added in v0.13.0
func DeleteUser() web.HandlerFunc
DeleteUser erases current user personal data and sign them out
func ExportPostsToCSV ¶ added in v0.15.0
func ExportPostsToCSV() web.HandlerFunc
ExportPostsToCSV returns a CSV with all posts
func GeneralSettingsPage ¶ added in v0.13.0
func GeneralSettingsPage() web.HandlerFunc
GeneralSettingsPage is the general settings page
func GetOAuthConfig ¶ added in v0.15.0
func GetOAuthConfig() web.HandlerFunc
GetOAuthConfig returns OAuth config based on given provider
func LegalPage ¶ added in v0.13.0
func LegalPage(title, file string) web.HandlerFunc
LegalPage returns a legal page with content from a file
func ManageAuthentication ¶ added in v0.15.0
func ManageAuthentication() web.HandlerFunc
ManageAuthentication is the page used by administrators to change site authentication settings
func ManageMembers ¶ added in v0.7.0
func ManageMembers() web.HandlerFunc
ManageMembers is the page used by administrators to change member's role
func ManageTags ¶ added in v0.8.0
func ManageTags() web.HandlerFunc
ManageTags is the home page for managing tags
func NotInvitedPage ¶ added in v0.12.0
func NotInvitedPage() web.HandlerFunc
NotInvitedPage renders the not invited page
func Notifications ¶ added in v0.10.0
func Notifications() web.HandlerFunc
Notifications is the home for unread and recent notifications
func OAuthCallback ¶
func OAuthCallback() web.HandlerFunc
OAuthCallback handles the redirect back from the OAuth provider This callback can run on either Tenant or Login address If the request is for a sign in, we redirect the user to the tenant address If the request is for a sign up, we exchange the OAuth code and get the user profile
func OAuthEcho ¶ added in v0.15.0
func OAuthEcho() web.HandlerFunc
OAuthEcho exchanges OAuth Code for a user profile and return directly to the UI, without storing it
func OAuthToken ¶ added in v0.15.0
func OAuthToken() web.HandlerFunc
OAuthToken exchanges OAuth Code for a user profile The user profile is then used to either get an existing user on Fider or creating a new one Once Fider user is retrieved/created, an authentication cookie is store in user's browser
func Page ¶ added in v0.7.0
func Page(title, description string) web.HandlerFunc
Page returns a page without properties
func PostDetails ¶ added in v0.15.0
func PostDetails() web.HandlerFunc
PostDetails shows details of given Post by id
func ReadAllNotifications ¶ added in v0.10.0
func ReadAllNotifications() web.HandlerFunc
ReadAllNotifications marks all unread notifications as read
func ReadNotification ¶ added in v0.10.0
func ReadNotification() web.HandlerFunc
ReadNotification marks it as read and redirect to its content
func RegenerateAPIKey ¶ added in v0.15.0
func RegenerateAPIKey() web.HandlerFunc
RegenerateAPIKey regenerates current user's API Key
func RobotsTXT ¶ added in v0.15.0
func RobotsTXT() web.HandlerFunc
RobotsTXT return content of robots.txt file
func SaveOAuthConfig ¶ added in v0.15.0
func SaveOAuthConfig() web.HandlerFunc
SaveOAuthConfig is used to create/edit OAuth configurations
func SignInByEmail ¶ added in v0.6.0
func SignInByEmail() web.HandlerFunc
SignInByEmail sends a new email with verification key
func SignInByOAuth ¶ added in v0.12.0
func SignInByOAuth() web.HandlerFunc
SignInByOAuth is responsible for redirecting the user to the OAuth authorization URL for given provider A cookie is stored in user's browser with a random identifier that is later used to verify the authenticity of the request
func SignInPage ¶ added in v0.12.0
func SignInPage() web.HandlerFunc
SignInPage renders the sign in page
func Sitemap ¶ added in v0.16.0
func Sitemap() web.HandlerFunc
Sitemap returns the sitemap.xml of current site
func TotalUnreadNotifications ¶ added in v0.10.0
func TotalUnreadNotifications() web.HandlerFunc
TotalUnreadNotifications returns the total number of unread notifications
func UpdateAdvancedSettings ¶ added in v0.13.0
func UpdateAdvancedSettings() web.HandlerFunc
UpdateAdvancedSettings update current tenant' advanced settings
func UpdatePrivacy ¶ added in v0.12.0
func UpdatePrivacy() web.HandlerFunc
UpdatePrivacy update current tenant's privacy settings
func UpdateSettings ¶ added in v0.4.0
func UpdateSettings() web.HandlerFunc
UpdateSettings update current tenant' settings
func UpdateUserSettings ¶ added in v0.6.0
func UpdateUserSettings() web.HandlerFunc
UpdateUserSettings updates current user settings
func UserSettings ¶ added in v0.10.0
func UserSettings() web.HandlerFunc
UserSettings is the current user's profile settings page
func VerifyChangeEmailKey ¶ added in v0.9.0
func VerifyChangeEmailKey() web.HandlerFunc
VerifyChangeEmailKey checks if key is correct and update user's email
func VerifySignInKey ¶ added in v0.6.0
func VerifySignInKey(kind models.EmailVerificationKind) web.HandlerFunc
VerifySignInKey checks if verify key is correct and sign in user
func VerifySignUpKey ¶ added in v0.6.0
func VerifySignUpKey() web.HandlerFunc
VerifySignUpKey checks if verify key is correct, activate the tenant and sign in user
func ViewUploadedImage ¶ added in v0.15.0
func ViewUploadedImage() web.HandlerFunc
ViewUploadedImage returns any uploaded image by given ID and size
Types ¶
This section is empty.