Documentation
¶
Index ¶
- func AdvancedSettingsPage() web.HandlerFunc
- func BlockUser() web.HandlerFunc
- func ChangeUserEmail() web.HandlerFunc
- func ChangeUserRole() web.HandlerFunc
- func CheckAvailability() web.HandlerFunc
- func CompleteSignInProfile() web.HandlerFunc
- func CreateTenant() web.HandlerFunc
- func CreateWebhook() web.HandlerFunc
- func DeleteUser() web.HandlerFunc
- func DeleteWebhook() web.HandlerFunc
- func ExportBackupZip() web.HandlerFunc
- func ExportPostsToCSV() web.HandlerFunc
- func Favicon() web.HandlerFunc
- func GeneralSettingsPage() web.HandlerFunc
- func GenerateCheckoutLink() web.HandlerFunc
- func GetAllNotifications() web.HandlerFunc
- func GetOAuthConfig() web.HandlerFunc
- func GetWebhookProps() 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 ManageBilling() web.HandlerFunc
- func ManageMembers() web.HandlerFunc
- func ManageTags() web.HandlerFunc
- func ManageWebhooks() 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, page string) web.HandlerFunc
- func PostDetails() web.HandlerFunc
- func PreviewWebhook() 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 TestWebhook() web.HandlerFunc
- func TotalUnreadNotifications() web.HandlerFunc
- func UnblockUser() web.HandlerFunc
- func UpdateAdvancedSettings() web.HandlerFunc
- func UpdateEmailAuthAllowed() web.HandlerFunc
- func UpdatePrivacy() web.HandlerFunc
- func UpdateSettings() web.HandlerFunc
- func UpdateUserSettings() web.HandlerFunc
- func UpdateWebhook() web.HandlerFunc
- func UserSettings() web.HandlerFunc
- func VerifyChangeEmailKey() web.HandlerFunc
- func VerifySignInKey(kind enum.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 BlockUser ¶ added in v0.17.0
func BlockUser() web.HandlerFunc
BlockUser is used to block an existing user from using Fider
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 CreateWebhook ¶ added in v0.20.0
func CreateWebhook() web.HandlerFunc
func DeleteUser ¶ added in v0.13.0
func DeleteUser() web.HandlerFunc
DeleteUser erases current user personal data and sign them out
func DeleteWebhook ¶ added in v0.20.0
func DeleteWebhook() web.HandlerFunc
func ExportBackupZip ¶ added in v0.18.1
func ExportBackupZip() web.HandlerFunc
ExportBackupZip returns a Zip file with all content
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 GenerateCheckoutLink ¶ added in v0.20.0
func GenerateCheckoutLink() web.HandlerFunc
GenerateCheckoutLink generates a Paddle-hosted checkout link for the service subscription
func GetAllNotifications ¶ added in v0.23.0
func GetAllNotifications() web.HandlerFunc
GetAllNotifications will get all the notifications for the new modal
func GetOAuthConfig ¶ added in v0.15.0
func GetOAuthConfig() web.HandlerFunc
GetOAuthConfig returns OAuth config based on given provider
func GetWebhookProps ¶ added in v0.20.0
func GetWebhookProps() web.HandlerFunc
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 ManageBilling ¶ added in v0.20.0
func ManageBilling() web.HandlerFunc
ManageBilling is the page used by administrators for billing 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 ManageWebhooks ¶ added in v0.20.0
func ManageWebhooks() web.HandlerFunc
ManageWebhooks is the page used by administrators to configure webhooks
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, page 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 PreviewWebhook ¶ added in v0.20.0
func PreviewWebhook() web.HandlerFunc
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 TestWebhook ¶ added in v0.20.0
func TestWebhook() web.HandlerFunc
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 UpdateEmailAuthAllowed ¶ added in v0.19.0
func UpdateEmailAuthAllowed() web.HandlerFunc
UpdateEmailAuthAllowed update current tenant's allow email auth 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 UpdateWebhook ¶ added in v0.20.0
func UpdateWebhook() web.HandlerFunc
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 enum.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
NewLogError is the input model for UI errors