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
2022-04-07 20:59:56 +02:00
..
admin Update JS dependencies (#19281) 2022-04-01 02:15:46 +02:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2022-03-30 13:52:24 +08:00
custom
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
mail Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
org Fix global packages enabled avaiable (#19276) 2022-03-31 19:31:53 +02:00
package Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
repo Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
shared Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
user Show ssh command directly in template instead of i18n translation (#19335) 2022-04-06 19:35:04 +08:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00