This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/web_src/js/features
silverwind 8ab815ae93
Unregister non-matching serviceworkers (#15834)
* Unregister non-matching serviceworkers

With the addition of the /assets url, users who visited a previous
version of the site now may have two active service workers, one with
the old scope `/` and one with scope `/assets`. This check for
serviceworkers that do not match the current script path and unregisters
them.

Also included is a small refactor to publicpath.js which was simplified
because AssetUrlPrefix is always present now. Also it makes use of the
new joinPaths helper too.

Fixes: https://github.com/go-gitea/gitea/pull/15823
2021-05-12 20:36:53 +02:00
..
clipboard.js rework eslint config (#11615) 2020-06-09 17:31:15 -04:00
codeeditor.js Monaco improvements (#15333) 2021-04-08 17:53:00 +08:00
colorpicker.js Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
contextpopup.js Signed-off-by: jolheiser <john.olheiser@gmail.com> (#14898) 2021-03-05 21:00:15 +00:00
dropzone.js Fix Dropzone following #15315 (#15353) 2021-04-09 10:32:30 +08:00
emoji.js Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
eventsource.sharedworker.js Remove spurious set name from eventsource.sharedworker.js (#15643) 2021-04-28 10:40:04 -04:00
gitgraph.js Add fullTextSearch to dropdowns by default (#14694) 2021-02-16 11:03:32 +08:00
heatmap.js Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
imagediff.js Add Image Diff options in Pull Request Diff view (#14450) 2021-02-27 18:25:00 +01:00
migration.js Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
notification.js Fix handling of logout event (#15323) 2021-04-08 02:48:13 +03:00
projects.js Project board improvements (#15429) 2021-04-20 00:13:03 -04:00
serviceworker.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
stopwatch.js Fix handling of logout event (#15323) 2021-04-08 02:48:13 +03:00
tablesort.js [UI] Sortable Tables Header By Click (#7980) 2020-06-24 23:23:05 +01:00
tribute.js Move tributejs to npm/webpack (#11497) 2020-05-20 22:00:43 -04:00