forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js
silverwind ae8e8f055e
Use fetch helpers instead of fetch (#27026)
WIP because:

- [x] Some calls set a `content-type` but send no body, can likely
remove the header
- [x] Need to check whether `charset=utf-8` has any significance on the
webauthn calls, I assume not as it is the default for json content.
- [x] Maybe `no-restricted-globals` is better for eslint, but will
require a lot of duplication in the yaml or moving eslint config to a
`.js` extension.
- [x] Maybe export `request` as `fetch`, shadowing the global.
2023-09-19 00:50:30 +00:00
..
components Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
features Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
modules Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
render Update JS dependencies (#26586) 2023-08-19 10:18:39 +02:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
test Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
utils Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Add minimum polyfill to support "relative-time-element" in PaleMoon (#26575) 2023-08-18 17:27:11 +08:00
bootstrap.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00
index.js Add "dir=auto" for input/textarea elements by default (#26735) 2023-09-07 08:00:20 +00:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00
utils.test.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00