1
0
Fork 0
forgejo/web_src/js
silverwind 73b63d9311
Replace ajax with fetch, improve image diff (#27267)
1. Dropzone attachment removal, pretty simple replacement
2. Image diff: The previous code fetched every image twice, once via
`img[src]` and once via `$.ajax`. Now it's only fetched once and a
second time only when necessary. The image diff code was partially
rewritten.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-10-11 12:34:21 +00:00
..
components Restore warning commit status (#27504) 2023-10-08 22:16:06 +00:00
features Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
markup Fix mermaid flowchart margin issue (#27503) 2023-10-08 03:20:12 +00:00
modules Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00: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 Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +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 Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
svg.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
utils.js Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
utils.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00