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.
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
..
components Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
features Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
markup Various Mermaid improvements (#18776) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
vendor Restore Accessibility for Dropdown (#16576) 3 years ago
bootstrap.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2 years ago
index.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Add copy button to markdown code blocks (#17638) 3 years ago
svg.test.js Add copy button to markdown code blocks (#17638) 3 years ago
utils.js Detect dark theme via css variable (#17800) 3 years ago
utils.test.js Fix context popup error (#17398) 3 years ago