1. 23 Jun, 2022 1 commit
    • Igor Ponomarev's avatar
      Create `LavaRequireLoginMiddleware` middleware · d554ad31
      Igor Ponomarev authored and Sjoerd Simons's avatar Sjoerd Simons committed
      It will make it a requirement to be logged in for any page
      other than home "/", static files "/static/" or login page
      "/accounts/login".
      
      The middleware can be activated by altering `MIDDLEWARE`
      configuration variable.
      
      For example:
      
      File: `/etc/lava-server/settings.d/middleware.yaml`
      
      Contents:
      ```yaml
      ---
      MIDDLEWARE:
        - django.middleware.security.SecurityMiddleware
        - whitenoise.middleware.WhiteNoiseMiddleware
        - django.contrib.sessions.middleware.SessionMiddleware
        - django.middleware.common.CommonMiddleware
        - django.middleware.csrf.CsrfViewMiddleware
        - django.contrib.auth.middleware.AuthenticationMiddleware
        - django.contrib.messages.middleware.MessageMiddleware
        - django.middleware.clickjacking.XFrameOptionsMiddleware
        - lava_server.security.LavaRequireLoginMiddleware
      ```
      d554ad31
  2. 25 May, 2022 1 commit
  3. 23 May, 2022 11 commits
  4. 18 May, 2022 5 commits
  5. 13 May, 2022 22 commits