An error occurred fetching the project authors.
  1. 23 May, 2020 1 commit
    • Ethan Reesor's avatar
      Clean up Go proxy implementation · d5e63a6d
      Ethan Reesor authored
      - Various fixes and improvements
      - Hide proxy behind a feature flag, due to performance issues: #218083
      - Add a feature flag for testing to disable strict go.mod validation
      - Document why case en/decoding is necessary
      - Refactor pseudo-version processing
        - Move logic from VersionFinder to ModuleHelpers
        - Document reasoning for matching and validation
      - Replace BasicAuthHelper and custom method with route setting
      - Use serach_files_by_name instead of tree to improve performance
      - Use correct content type for zip: closes #214876
      d5e63a6d
  2. 22 May, 2020 1 commit
    • Ethan Reesor's avatar
      Improve tests and apply suggestions for Go proxy · 1a0ec496
      Ethan Reesor authored
      See !27746
      
      - Fix rubocop disable comments
      - Move `before` block to before tests
      - Correct rubocop alerts due to new rules
      - Use shared examples to clarify Go proxy spec
      - Enable HTTP Basic authentication for Go proxy
        + Support both HTTP basic and normal token header/query var
        + Remove custom `find_project!` helper and use basic auth helpers
      - Validate GoModuleVersion type attribute
      - Implement testing factories
      - Implement specs for untested new classes
      - Add a Settings helper for Go URLs
      1a0ec496