user

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: MIT Imports: 35 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(ctx *context.Context)

Action response for follow/unfollow user request

func AvatarByEmailHash

func AvatarByEmailHash(ctx *context.Context)

AvatarByEmailHash redirects the browser to the email avatar link

func AvatarByUserName added in v1.16.0

func AvatarByUserName(ctx *context.Context)

AvatarByUserName redirect browser to user avatar of requested size

func Dashboard

func Dashboard(ctx *context.Context)

Dashboard render the dashboard page

func GetNotificationCount

func GetNotificationCount(c *context.Context)

GetNotificationCount is the middleware that sets the notification count in the context

func GetUserByName

func GetUserByName(ctx *context.Context, name string) *user_model.User

GetUserByName get user by name

func GetUserByParams

func GetUserByParams(ctx *context.Context) *user_model.User

GetUserByParams returns user whose name is presented in URL paramenter.

func Issues

func Issues(ctx *context.Context)

Issues renders the user's issues overview page

func Milestones

func Milestones(ctx *context.Context)

Milestones render the user milestones page

func NotificationPurgePost

func NotificationPurgePost(c *context.Context)

NotificationPurgePost is a route for 'purging' the list of notifications - marking all unread as read

func NotificationStatusPost

func NotificationStatusPost(c *context.Context)

NotificationStatusPost is a route for changing the status of a notification

func Notifications

func Notifications(c *context.Context)

Notifications is the notifications page

func Profile

func Profile(ctx *context.Context)

Profile render user's profile page

func Pulls

func Pulls(ctx *context.Context)

Pulls renders the user's pull request overview page

func ShowGPGKeys

func ShowGPGKeys(ctx *context.Context, uid int64)

ShowGPGKeys output all the public GPG keys of user by uid

func ShowSSHKeys

func ShowSSHKeys(ctx *context.Context, uid int64)

ShowSSHKeys output all the ssh keys of user by uid

func TaskStatus

func TaskStatus(ctx *context.Context)

TaskStatus returns task's status

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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