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.
forgejo/templates
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318)
Reusing `/api/v1` from Gitea UI Pages have pros and cons.
Pros:
1) Less code copy

Cons:
1) API/v1 have to support shared session with page requests.
2) You need to consider for each other when you want to change something about api/v1 or page.

This PR moves all dependencies to API/v1 from UI Pages.

Partially replace #16052
2 years ago
..
admin Update JS dependencies (#19281) 2 years ago
api/packages/pypi Add Package Registry (#16510) 2 years ago
base Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2 years ago
mail Try to prevent autolinking of displaynames by email readers (#19169) 2 years ago
org Fix global packages enabled avaiable (#19276) 2 years ago
package Add Package Registry (#16510) 2 years ago
repo Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
shared Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
status Refactor HTTP request context (#17979) 3 years ago
swagger Add Package Registry (#16510) 2 years ago
user Show ssh command directly in template instead of i18n translation (#19335) 2 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
install.tmpl Refactor install page (db type) (#17919) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago