Skip to content
Snippets Groups Projects
  1. Apr 24, 2020
  2. Apr 23, 2020
    • Antoine Lambert's avatar
      pytest.ini: Avoid loading flask plugin to prevent fixture name clash · 98d53fed
      Antoine Lambert authored
      pytest-django and pytest-flask both declare a fixture named client and
      the wrong one is picked when running swh-web tests.
      
      So avoid the loading of pytest flask plugin to prevent errors when
      running tests.
      98d53fed
    • Antoine Lambert's avatar
      browse: Disambiguate URLs related to origin / snapshot context browsing · 6945c4ef
      Antoine Lambert authored
      Disambiguate and/or deprecate the following browse URLs:
      
        - GET /browse/origin/(origin_url)/content/(path)/
      
        - GET /browse/origin/(origin_url)/directory/(path)/
      
        - GET /browse/origin/(origin_url)/visit/(timestamp)/branches/
      
        - GET /browse/origin/(origin_url)/visit/(timestamp)/content/(path)/
      
        - GET /browse/origin/(origin_url)/visit/(timestamp)/directory/(path)/
      
        - GET /browse/origin/(origin_url)/visit/(timestamp)/log/
      
        - GET /browse/origin/(origin_url)/visit/(timestamp)/releases/
      
        - GET /browse/snapshot/(snapshot_id)/content/(path)/
      
        - GET /browse/snapshot/(snapshot_id)/directory/(path)/
      
      Replace their use by providing timestamp and path as query parameters to these endpoints
      for consistency:
      
        - GET /browse/origin/(origin_url)/content/
      
        - GET /browse/origin/(origin_url)/directory/
      
        - GET /browse/origin/(origin_url)/log/
      
        - GET /browse/origin/(origin_url)/branches/
      
        - GET /browse/origin/(origin_url)/releases/
      
        - GET /browse/snapshot/(snapshot_id)/content/
      
        - GET /browse/snapshot/(snapshot_id)/directory/
      
      Update endpoints documentation to reflect these changes.
      
      Closes T2115
      Closes T2135
      6945c4ef
  3. Apr 22, 2020
  4. Apr 21, 2020
  5. Apr 20, 2020
  6. Apr 17, 2020
  7. Apr 15, 2020
  8. Apr 10, 2020
  9. Apr 08, 2020
  10. Apr 07, 2020
  11. Apr 02, 2020
  12. Apr 01, 2020
  13. Mar 31, 2020
  14. Mar 30, 2020
  15. Mar 27, 2020
    • Antoine Lambert's avatar
      auth/backends: Simplify and improve OIDC authentication · d4446bca
      Antoine Lambert authored
      No need to query the userinfo endpoint of the OIDC server when authenticating
      as those information can also be found in the decoded access token.
      
      Use more reliable access token expiration date.
      
      Check groups claim is provided in decoded token before trying to read it.
      d4446bca
  16. Mar 26, 2020
Loading