Documentation ¶
Index ¶
- func AdvancedSettingsPage() web.HandlerFunc
- func BillingPage() web.HandlerFunc
- func BillingSubscribe() web.HandlerFunc
- func BlockUser() web.HandlerFunc
- func BrowserNotSupported() web.HandlerFunc
- func CancelBillingSubscription() 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 Favicon() web.HandlerFunc
- func GeneralSettingsPage() web.HandlerFunc
- func GetBillingPlans() web.HandlerFunc
- func GetOAuthConfig() web.HandlerFunc
- func Gravatar() web.HandlerFunc
- func Health() web.HandlerFunc
- func Index() web.HandlerFunc
- func LegalPage(title, file string) web.HandlerFunc
- func LetterAvatar() web.HandlerFunc
- func LogError() 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, chunkName 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 UnblockUser() web.HandlerFunc
- func UpdateAdvancedSettings() web.HandlerFunc
- func UpdatePaymentInfo() 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
- type NewLogError
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 BillingPage ¶ added in v0.18.0
func BillingPage() web.HandlerFunc
BillingPage is the billing settings page
func BillingSubscribe ¶ added in v0.18.0
func BillingSubscribe() web.HandlerFunc
BillingSubscribe subscribes current tenant to given plan on stripe
func BlockUser ¶ added in v0.17.0
func BlockUser() web.HandlerFunc
BlockUser is used to block an existing user from using Fider
func BrowserNotSupported ¶ added in v0.17.0
func BrowserNotSupported() web.HandlerFunc
BrowserNotSupported returns an error page for browser that Fider dosn't support
func CancelBillingSubscription ¶ added in v0.18.0
func CancelBillingSubscription() web.HandlerFunc
CancelBillingSubscription cancels current subscription from current tenant
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 Favicon ¶ added in v0.18.0
func Favicon() web.HandlerFunc
Favicon returns the Fider favicon by given size
func GeneralSettingsPage ¶ added in v0.13.0
func GeneralSettingsPage() web.HandlerFunc
GeneralSettingsPage is the general settings page
func GetBillingPlans ¶ added in v0.18.0
func GetBillingPlans() web.HandlerFunc
GetBillingPlans returns a list of plans for given country code
func GetOAuthConfig ¶ added in v0.15.0
func GetOAuthConfig() web.HandlerFunc
GetOAuthConfig returns OAuth config based on given provider
func Gravatar ¶ added in v0.18.0
func Gravatar() web.HandlerFunc
Gravatar returns a gravatar picture of fallsback to letter avatar based on name
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 LetterAvatar ¶ added in v0.5.0
func LetterAvatar() web.HandlerFunc
LetterAvatar returns a letter gravatar picture based on given name
func LogError ¶ added in v0.17.0
func LogError() web.HandlerFunc
LogError logs an error coming from the UI
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, chunkName 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 UnblockUser ¶ added in v0.17.0
func UnblockUser() web.HandlerFunc
UnblockUser is used to unblock an existing user so they can use Fider again
func UpdateAdvancedSettings ¶ added in v0.13.0
func UpdateAdvancedSettings() web.HandlerFunc
UpdateAdvancedSettings update current tenant' advanced settings
func UpdatePaymentInfo ¶ added in v0.18.0
func UpdatePaymentInfo() web.HandlerFunc
UpdatePaymentInfo on stripe based on given input
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 ¶
type NewLogError ¶ added in v0.17.0
type NewLogError struct { Message string `json:"message"` Data interface{} `json:"data"` }
NewLogError is the input model for UI errors