Skip to content

Conversation

jolheiser
Copy link
Member

@jolheiser jolheiser commented Jan 26, 2023

Currently the value doesn't match the model, so selecting it results in a 500.

AccessTokenScopeDeleteRepo AccessTokenScope = "delete_repo"


I also feel like this should be moved up nearer the other repo scopes.
Would anyone be opposed to a follow-up PR for that? (or I can do it in this one yet)

Signed-off-by: jolheiser <[email protected]>
@jolheiser jolheiser added type/bug topic/ui Change the appearance of the Gitea UI skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jan 26, 2023
@jolheiser jolheiser added this to the 1.19.0 milestone Jan 26, 2023
@yardenshoham
Copy link
Member

Can you give a bit of background/context here? Why _ instead of :?

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 26, 2023
@jolheiser
Copy link
Member Author

jolheiser commented Jan 26, 2023

Can you give a bit of background/context here? Why _ instead of :?

Ah, sorry. It has to match the model, otherwise selecting it ends up being a 500 error.

AccessTokenScopeDeleteRepo AccessTokenScope = "delete_repo"

I've edited the original description for clarity as well, thanks for the nudge!

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 26, 2023
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 26, 2023
@jolheiser
Copy link
Member Author

🎺 🤖

@jolheiser jolheiser merged commit 642db3c into go-gitea:main Jan 26, 2023
@jolheiser jolheiser deleted the delet-this branch January 26, 2023 20:36
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jan 28, 2023
* giteaofficial/main: (42 commits)
  Link issue and pull requests status change in UI notifications directly to their event in the timelined view. (go-gitea#22627)
  fix permission check for creating comment while mail (go-gitea#22524)
  Fix error on account activation with wrong passwd (go-gitea#22609)
  Fixes accessibility of empty repository commit status (go-gitea#22632)
  Use `--index-url` in PyPi description (go-gitea#22620)
  Show migration validation error (go-gitea#22619)
  Allow issue templates to not render title (go-gitea#22589)
  Fix `delete_repo` in template (go-gitea#22606)
  set org visibility class to basic in header (go-gitea#22605)
  Add API endpoint to get latest release (go-gitea#21267)
  Add ARIA support for Fomantic UI checkboxes (go-gitea#22599)
  Webhooks: for issue close/reopen action, add commit ID that caused it (go-gitea#22583)
  Add templates to customize text when creating and migrating repositories
  Prevent duplicate labels when importing more than 99 (go-gitea#22591)
  Remove address from DCO (go-gitea#22595)
  Allow setting `redirect_to` cookie on OAuth login (go-gitea#22594)
  Project links should use parent link methods (go-gitea#22587)
  link update in README files (go-gitea#22582)
  Frontport 1.18.2 and 1.18.3 Changelogs (go-gitea#22580)
  Fix incorrect Redis URL snippets in the example app.ini (go-gitea#22573)
  ...
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants