You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/context
Guillaume 303af554c9
Improve "generate new access token" form (#33730)
Fix: https://github.com/go-gitea/gitea/issues/33519

As discussed in [PR
#33614](https://github.com/go-gitea/gitea/pull/33614), the
ScopedAccessTokenSelector Vue component is not particularly useful.

This PR removes the component and reverts to using HTML templates. It
also introduces some (hopefully) useful refactoring.

The Vue component was causing the UX bug reported in the linked issue.
Required form fields are now properly working, as expected (see
screenshot).

![Screenshot from 2025-02-25
22-00-28](https://github.com/user-attachments/assets/41167854-0718-48b0-a3ee-75ca3a7b8b20)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 weeks ago
..
upload Clarify path param naming (#32969) 3 months ago
access_log.go Remove duplicate "ResponseWriter.Status" method (#33346) 2 months ago
access_log_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2 months ago
api.go Fix git empty check and HEAD request (#33690) 3 weeks ago
api_org.go Move context from modules to services (#29440) 1 year ago
api_test.go Move context from modules to services (#29440) 1 year ago
base.go Refactor error system (#33610) 4 weeks ago
base_form.go [Feature] Private README.md for organization (#32872) 2 months ago
base_path.go Clarify path param naming (#32969) 3 months ago
base_test.go Refactor request context (#32956) 3 months ago
captcha.go Refactor template & test related code (#32938) 3 months ago
context.go Improve "generate new access token" form (#33730) 2 weeks ago
context_cookie.go Move context from modules to services (#29440) 1 year ago
context_model.go Refactor context repository (#33202) 2 months ago
context_request.go Move context from modules to services (#29440) 1 year ago
context_response.go Refactor error system (#33610) 4 weeks ago
context_template.go Move context from modules to services (#29440) 1 year ago
context_test.go Refactor request context (#32956) 3 months ago
csrf.go Refactor CSRF token (#32216) 5 months ago
org.go Refactor error system (#33610) 4 weeks ago
package.go Refactor error system (#33610) 4 weeks ago
pagination.go Refactor pagination (#33037) 2 months ago
permission.go Refactor error system (#33610) 4 weeks ago
private.go Refactor request context (#32956) 3 months ago
repo.go Refactor error system (#33610) 4 weeks ago
response.go Remove duplicate "ResponseWriter.Status" method (#33346) 2 months ago
user.go Refactor error system (#33626) 4 weeks ago
utils.go Move context from modules to services (#29440) 1 year ago
xsrf.go Move context from modules to services (#29440) 1 year ago
xsrf_test.go Move context from modules to services (#29440) 1 year ago