Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 06:46:10 +01:00
forgejo/web_src/js
Giteabot 9da608abad
Don't show third-party JS errors in production builds (#29303) (#29333)
Backport #29303 by @silverwind

So we don't get issues like
https://github.com/go-gitea/gitea/issues/29080 and
https://github.com/go-gitea/gitea/issues/29273 any more. Only active in
[production
builds](https://webpack.js.org/guides/production/#specify-the-mode), in
non-production the errors will still show.

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 6ca8cb590d510c98610031675e0a316f95efaf61)
2024-03-06 12:20:42 +08:00
..
components Modernize merge button (#28140) (#28786) 2024-01-16 14:40:18 +00:00
features [BUG] Fix Ctrl+Enter on submitting review comment 2024-02-17 16:19:21 +01:00
markup Strip trailing newline in markdown code copy (#29019) (#29022) 2024-02-13 14:17:07 +01:00
modules Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
render Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
standalone [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
test Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
utils Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
vendor Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Fix gitea-origin-url with default ports (#29085) (#29088) 2024-02-13 14:17:58 +01:00
bootstrap.js Don't show third-party JS errors in production builds (#29303) (#29333) 2024-03-06 12:20:42 +08:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 2023-10-17 14:46:35 +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) (#27583) 2023-10-11 16:12:31 +02:00
svg.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
utils.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
utils.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00