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
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>
17 hours ago
..
actions Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
agit User facing messages for AGit errors (#33012) 1 month ago
asymkey Move commits signature and verify functions to service layers (#33605) 2 weeks ago
attachment Include file extension checks in attachment API (#32151) 4 months ago
auth Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
automerge Automerge supports deleting branch automatically after merging (#32343) 2 months ago
context Improve "generate new access token" form (#33730) 17 hours ago
contexttest Avoid duplicate SetContextValue call (#33564) 2 weeks ago
convert Move issue pin to an standalone table for querying performance (#33452) 2 weeks ago
cron Use default Git timeout when checking repo health (#33593) 2 weeks ago
doctor Refactor older tests to use testify (#33140) 2 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 8 months ago
feed Refactor RefName (#33234) 2 months ago
forms Improve "generate new access token" form (#33730) 17 hours ago
git Move commits signature and verify functions to service layers (#33605) 2 weeks ago
gitdiff Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
indexer Update issue indexer after merging a PR (#30715) 10 months ago
issue Move issue pin to an standalone table for querying performance (#33452) 2 weeks ago
lfs Fix SSH LFS memory usage (#33455) 4 weeks ago
mailer Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
markup Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
migrations Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
mirror Fix mirror bug (#33597) 2 weeks ago
notify Refactor repository transfer (#33211) 4 weeks ago
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 3 months ago
org Refactor tests (#33021) 2 months ago
packages Add API to support link package to repository and unlink it (#33481) 2 weeks ago
projects Fix project issues list and counting (#33594) 2 weeks ago
pull Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
release Refactor "string truncate" (#32984) 2 months ago
repository Deleting repository should unlink all related packages (#33653) 1 week ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Refactor repository transfer (#33211) 4 weeks ago
webhook Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Refactor older tests to use testify (#33140) 2 months ago