gitea/web_src/js/features
zeripath 3803b15d76
Drop the event source if we are unauthorized (#15275) (#15280)
Backport #15275

A previous commit that sent unauthorized if the user is unauthorized
simply leads to the repeated reopening of the eventsource. #

This PR changes the event returned to tell the client to close the
eventsource and thus prevents the repeated reopening.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-04 20:39:22 -04:00
..
clipboard.js rework eslint config (#11615) 2020-06-09 17:31:15 -04:00
codeeditor.js Use monaco for the git hook editor (#13552) 2020-11-13 22:57:34 -05: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 Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
emoji.js Update some JS dependencies (#13222) 2020-10-21 19:02:24 +08:00
eventsource.sharedworker.js Drop the event source if we are unauthorized (#15275) (#15280) 2021-04-04 20:39:22 -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 Disable migration items when mirror is selected (#12918) 2020-09-22 01:42:22 +03:00
notification.js Drop the event source if we are unauthorized (#15275) (#15280) 2021-04-04 20:39:22 -04:00
projects.js Sort / Move project boards (#14634) 2021-02-11 17:32:27 +01:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
stopwatch.js Drop the event source if we are unauthorized (#15275) (#15280) 2021-04-04 20:39:22 -04: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