Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Allow editing proxy fields via api.#7435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 16 commits intomainfromstevenmasley/edit_proxy
May 9, 2023
Merged

Conversation

@Emyrk
Copy link
Member

@EmyrkEmyrk commentedMay 5, 2023
edited
Loading

What this does

Adds cli command to edit workspace proxy fields.

Also addcoder wsproxy regenerate-token <name> to generate a new auth token for the wsproxy

Fixes#7406
Fixes#7407

Comment on lines 415 to 425
// TODO: This audit log does not work because it has no user id
// associated with it. The audit log commitAudit() function ignores
// the audit log if there is no user id. We should find a solution
// to make sure this event is tracked.
//auditor = api.AGPL.Auditor.Load()
//aReq, commitAudit = audit.InitRequest[database.WorkspaceProxy](rw, &audit.RequestParams{
//Audit: *auditor,
//Log: api.Logger,
//Request: r,
//Action: database.AuditActionWrite,
//})
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Going to kick fixing this to another PR.

I commented out rather than deleting it to remind us that we probably should audit log this, but at the moment we cannot.

@EmyrkEmyrk requested review froma team,deansheather andsreya and removed request fora team anddeansheatherMay 8, 2023 17:16
@EmyrkEmyrk merged commitb5ad628 intomainMay 9, 2023
@EmyrkEmyrk deleted the stevenmasley/edit_proxy branchMay 9, 2023 18:46
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 9, 2023
@bpmct
Copy link
Member

Can you also edit the default proxy name and icon? (it's difficult for me to check since the slim builds don't includecoder wsproxy

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@sreyasreyasreya approved these changes

Assignees

@EmyrkEmyrk

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

workspace proxies: regenerate token workspace proxies: edit proxy

4 participants

@Emyrk@bpmct@sreya

[8]ページ先頭

©2009-2025 Movatter.jp