forgejo/web_src/js
Giteabot 7ec7c733c7
Replace ajax with fetch, improve image diff () ()
Backport  by @silverwind

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: silverwind <me@silverwind.io>
2023-10-11 16:12:31 +02:00
..
components Restore warning commit status () () 2023-10-09 11:56:02 +08:00
features Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
markup Fix mermaid flowchart margin issue () () 2023-10-08 15:31:47 +02:00
modules Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
render Use vitest globals () () 2023-09-27 16:10:08 +02:00
standalone Add toasts to UI () 2023-06-27 02:45:24 +00:00
test Replace 'userxx' with 'orgxx' in all test files when the user type is org () 2023-09-14 02:59:53 +00:00
utils Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
vendor Vendor jquery.are-you-sure with strict mode fixes () 2023-09-06 00:02:44 +00:00
webcomponents Add minimum polyfill to support "relative-time-element" in PaleMoon () 2023-08-18 17:27:11 +08:00
bootstrap.js Remove joinPaths function () 2023-08-31 02:46:44 +00:00
index.js Add "dir=auto" for input/textarea elements by default () 2023-09-07 08:00:20 +00:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations () 2020-04-18 18:46:29 -04:00
svg.js Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
svg.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00
utils.js Replace ajax with fetch, improve image diff () () 2023-10-11 16:12:31 +02:00
utils.test.js Use vitest globals () () 2023-09-27 16:10:08 +02:00