admin

package
v1.23.0-dev Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 60 Imported by: 1

Documentation

Index

Constants

View Source
const UserSearchDefaultAdminSort = "alphabetically"

UserSearchDefaultAdminSort is the default sort type for admin view

Variables

This section is empty.

Functions

func ActivateEmail

func ActivateEmail(ctx *context.Context)

ActivateEmail serves a POST request for activating/deactivating a user's email

func AdoptOrDeleteRepository

func AdoptOrDeleteRepository(ctx *context.Context)

AdoptOrDeleteRepository adopts or deletes a repository

func Applications added in v1.17.4

func Applications(ctx *context.Context)

Applications render org applications page (for org, at the moment, there are only OAuth2 applications)

func ApplicationsPost added in v1.17.4

func ApplicationsPost(ctx *context.Context)

ApplicationsPost response for adding an oauth2 application

func ApplicationsRegenerateSecret added in v1.17.4

func ApplicationsRegenerateSecret(ctx *context.Context)

ApplicationsRegenerateSecret handles the post request for regenerating the secret

func Authentications

func Authentications(ctx *context.Context)

Authentications show authentication config page

func AvatarPost added in v1.16.0

func AvatarPost(ctx *context.Context)

AvatarPost response for change user's avatar request

func ChangeConfig added in v1.17.4

func ChangeConfig(ctx *context.Context)

func CleanupExpiredData added in v1.21.0

func CleanupExpiredData(ctx *context.Context)

func Config

func Config(ctx *context.Context)

Config show admin config page

func ConfigSettings added in v1.22.0

func ConfigSettings(ctx *context.Context)

func CronTasks added in v1.20.0

func CronTasks(ctx *context.Context)

func Dashboard

func Dashboard(ctx *context.Context)

Dashboard show admin panel dashboard

func DashboardPost

func DashboardPost(ctx *context.Context)

DashboardPost run an admin operation

func DefaultOrSystemWebhooks

func DefaultOrSystemWebhooks(ctx *context.Context)

DefaultOrSystemWebhooks renders both admin default and system webhook list pages

func DeleteApplication added in v1.17.4

func DeleteApplication(ctx *context.Context)

DeleteApplication deletes the given oauth2 application

func DeleteAuthSource

func DeleteAuthSource(ctx *context.Context)

DeleteAuthSource response for deleting an auth source

func DeleteAvatar added in v1.16.0

func DeleteAvatar(ctx *context.Context)

DeleteAvatar render delete avatar page

func DeleteDefaultOrSystemWebhook

func DeleteDefaultOrSystemWebhook(ctx *context.Context)

DeleteDefaultOrSystemWebhook handler to delete an admin-defined system or default webhook

func DeleteNotices

func DeleteNotices(ctx *context.Context)

DeleteNotices delete the specific notices

func DeletePackageVersion added in v1.17.0

func DeletePackageVersion(ctx *context.Context)

DeletePackageVersion deletes a package version

func DeleteRepo

func DeleteRepo(ctx *context.Context)

DeleteRepo delete one repository

func DeleteUser

func DeleteUser(ctx *context.Context)

DeleteUser response for deleting a user

func EditApplication added in v1.17.4

func EditApplication(ctx *context.Context)

EditApplication displays the given application

func EditApplicationPost added in v1.17.4

func EditApplicationPost(ctx *context.Context)

EditApplicationPost response for editing oauth2 application

func EditAuthSource

func EditAuthSource(ctx *context.Context)

EditAuthSource render editing auth source page

func EditAuthSourcePost

func EditAuthSourcePost(ctx *context.Context)

EditAuthSourcePost response for editing auth source

func EditUser

func EditUser(ctx *context.Context)

EditUser show editing user page

func EditUserPost

func EditUserPost(ctx *context.Context)

EditUserPost response for editing user

func Emails

func Emails(ctx *context.Context)

Emails show all emails

func EmptyNotices

func EmptyNotices(ctx *context.Context)

EmptyNotices delete all the notices

func MonitorDiagnosis added in v1.20.0

func MonitorDiagnosis(ctx *context.Context)

func MonitorStats added in v1.20.0

func MonitorStats(ctx *context.Context)

func NewAuthSource

func NewAuthSource(ctx *context.Context)

NewAuthSource render adding a new auth source page

func NewAuthSourcePost

func NewAuthSourcePost(ctx *context.Context)

NewAuthSourcePost response for adding an auth source

func NewUser

func NewUser(ctx *context.Context)

NewUser render adding a new user page

func NewUserPost

func NewUserPost(ctx *context.Context)

NewUserPost response for adding a new user

func Notices

func Notices(ctx *context.Context)

Notices show notices for admin

func Organizations

func Organizations(ctx *context.Context)

Organizations show all the organizations

func Packages added in v1.17.0

func Packages(ctx *context.Context)

Packages shows all packages

func QueueManage added in v1.20.0

func QueueManage(ctx *context.Context)

QueueManage shows details for a specific queue

func QueueRemoveAllItems added in v1.20.0

func QueueRemoveAllItems(ctx *context.Context)

func QueueSet added in v1.20.0

func QueueSet(ctx *context.Context)

QueueSet sets the maximum number of workers and other settings for this queue

func Queues added in v1.20.0

func Queues(ctx *context.Context)

func RedirectToDefaultSetting added in v1.20.0

func RedirectToDefaultSetting(ctx *context.Context)

func Repos

func Repos(ctx *context.Context)

Repos show all the repositories

func SelfCheck added in v1.22.0

func SelfCheck(ctx *context.Context)

func SendTestMail

func SendTestMail(ctx *context.Context)

SendTestMail send test mail to confirm mail service is OK

func Stacktrace added in v1.20.0

func Stacktrace(ctx *context.Context)

Stacktrace show admin monitor goroutines page

func StacktraceCancel added in v1.20.0

func StacktraceCancel(ctx *context.Context)

StacktraceCancel cancels a process

func SystemStatus added in v1.22.0

func SystemStatus(ctx *context.Context)

func UnadoptedRepos

func UnadoptedRepos(ctx *context.Context)

UnadoptedRepos lists the unadopted repositories

func Users

func Users(ctx *context.Context)

Users show all the users

func ViewUser added in v1.21.0

func ViewUser(ctx *context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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