gitea/web_src/js/features
silverwind 8ab815ae93
Unregister non-matching serviceworkers ()
* 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
..
clipboard.js rework eslint config ()
codeeditor.js Monaco improvements ()
colorpicker.js Move jquery-minicolors to npm/webpack ()
contextpopup.js Signed-off-by: jolheiser <john.olheiser@gmail.com> ()
dropzone.js Fix Dropzone following ()
emoji.js Rename StaticUrlPrefix to AssetUrlPrefix ()
eventsource.sharedworker.js Remove spurious set name from eventsource.sharedworker.js ()
gitgraph.js Add fullTextSearch to dropdowns by default ()
heatmap.js Remove fetch request from heatmap ()
imagediff.js Add Image Diff options in Pull Request Diff view ()
migration.js Add LFS Migration and Mirror ()
notification.js Fix handling of logout event ()
projects.js Project board improvements ()
serviceworker.js Unregister non-matching serviceworkers ()
stopwatch.js Fix handling of logout event ()
tablesort.js [UI] Sortable Tables Header By Click ()
tribute.js Move tributejs to npm/webpack ()