Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move serviceworker to workbox and fix SSE interference #11538

Merged
merged 13 commits into from
May 22, 2020

Commits on May 21, 2020

  1. Move serviceworker to workbox and fix SSE interference

    Instead of statically hardcoding every frontend asset, this uses a
    type-based approach to cache all js,css and manifest.json requests.
    
    This also fixes the issue that the service worker was interfering with
    EventSource because it was unconditionally handling all requests which
    this new implementation doesn't.
    
    Fixes: go-gitea#11092
    Fixes: go-gitea#7372
    silverwind committed May 21, 2020
    Configuration menu
    Copy the full SHA
    99d9b0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    043162b View commit details
    Browse the repository at this point in the history
  3. await .register

    silverwind committed May 21, 2020
    Configuration menu
    Copy the full SHA
    195e97e View commit details
    Browse the repository at this point in the history
  4. Revert "rethrow error instead of logging"

    This reverts commit 043162b.
    silverwind committed May 21, 2020
    Configuration menu
    Copy the full SHA
    755b835 View commit details
    Browse the repository at this point in the history
  5. improve comment

    silverwind committed May 21, 2020
    Configuration menu
    Copy the full SHA
    9393219 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Configuration menu
    Copy the full SHA
    fbb93af View commit details
    Browse the repository at this point in the history
  2. remove JSRenderer

    silverwind committed May 22, 2020
    Configuration menu
    Copy the full SHA
    bb8515e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8636e47 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5113a3d View commit details
    Browse the repository at this point in the history
  5. refactor

    silverwind committed May 22, 2020
    Configuration menu
    Copy the full SHA
    d0ff22c View commit details
    Browse the repository at this point in the history
  6. more refactor

    silverwind committed May 22, 2020
    Configuration menu
    Copy the full SHA
    d2716c9 View commit details
    Browse the repository at this point in the history
  7. remove comment

    silverwind committed May 22, 2020
    Configuration menu
    Copy the full SHA
    efb0201 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    518f6e9 View commit details
    Browse the repository at this point in the history