handlers

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2018 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSupporter

func AddSupporter() web.HandlerFunc

AddSupporter adds current user to given idea list of supporters

func AdvancedSettingsPage added in v0.13.0

func AdvancedSettingsPage() web.HandlerFunc

AdvancedSettingsPage is the advanced settings page

func AssignTag added in v0.8.0

func AssignTag() web.HandlerFunc

AssignTag to existing dea

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 CreateEditTag added in v0.8.0

func CreateEditTag() web.HandlerFunc

CreateEditTag creates a new tag on current tenant

func CreateTenant

func CreateTenant() web.HandlerFunc

CreateTenant creates a new tenant

func DeleteIdea added in v0.11.0

func DeleteIdea() web.HandlerFunc

DeleteIdea deletes an existing idea of current tenant

func DeleteTag added in v0.8.0

func DeleteTag() web.HandlerFunc

DeleteTag deletes anexisting tag

func DeleteUser added in v0.13.0

func DeleteUser() web.HandlerFunc

DeleteUser erases current user personal data and sign them out

func ExportIdeasToCSV added in v0.12.0

func ExportIdeasToCSV() web.HandlerFunc

ExportIdeasToCSV returns a CSV with all ideas

func GeneralSettingsPage added in v0.13.0

func GeneralSettingsPage() web.HandlerFunc

GeneralSettingsPage is the general settings page

func Health added in v0.13.0

func Health() web.HandlerFunc

Health always returns OK

func IdeaDetails

func IdeaDetails() web.HandlerFunc

IdeaDetails shows details of given Idea by id

func Index

func Index() web.HandlerFunc

Index is the default home page

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 Logo() web.HandlerFunc

Logo returns tenant logo by its ID on a given size

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(provider string) web.HandlerFunc

OAuthCallback handles OAuth callbacks

func Page added in v0.7.0

func Page(title, description string) web.HandlerFunc

Page returns a page without properties

func PostComment

func PostComment() web.HandlerFunc

PostComment creates a new comment on given idea

func PostIdea

func PostIdea() web.HandlerFunc

PostIdea creates a new idea on current tenant

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 RemoveSupporter

func RemoveSupporter() web.HandlerFunc

RemoveSupporter removes current user from given idea list of supporters

func SearchIdeas added in v0.10.0

func SearchIdeas() web.HandlerFunc

SearchIdeas return existing ideas based on search criteria

func SendInvites added in v0.12.0

func SendInvites() web.HandlerFunc

SendInvites sends an email to each recipient

func SendSampleInvite added in v0.12.0

func SendSampleInvite() web.HandlerFunc

SendSampleInvite to current user's email

func SetResponse

func SetResponse() web.HandlerFunc

SetResponse changes current idea staff response

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(provider string) web.HandlerFunc

SignInByOAuth handles OAuth sign in

func SignInPage added in v0.12.0

func SignInPage() web.HandlerFunc

SignInPage renders the sign in page

func SignOut added in v0.6.0

func SignOut() web.HandlerFunc

SignOut remove auth cookies

func SignUp

func SignUp() web.HandlerFunc

SignUp is the entry point for installation / signup

func Subscribe added in v0.10.0

func Subscribe() web.HandlerFunc

Subscribe adds current user to list of subscribers of given idea

func TotalUnreadNotifications added in v0.10.0

func TotalUnreadNotifications() web.HandlerFunc

TotalUnreadNotifications returns the total number of unread notifications

func UnassignTag added in v0.8.0

func UnassignTag() web.HandlerFunc

UnassignTag from existing dea

func Unsubscribe added in v0.10.0

func Unsubscribe() web.HandlerFunc

Unsubscribe removes current user from list of subscribers of given idea

func UpdateAdvancedSettings added in v0.13.0

func UpdateAdvancedSettings() web.HandlerFunc

UpdateAdvancedSettings update current tenant' advanced settings

func UpdateComment added in v0.11.0

func UpdateComment() web.HandlerFunc

UpdateComment changes an existing comment with new content

func UpdateIdea added in v0.4.0

func UpdateIdea() web.HandlerFunc

UpdateIdea updates an existing idea of current tenant

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL