Skip to content
Snippets Groups Projects
  1. Jul 09, 2022
    • Stan Hu's avatar
      Fix deploy keys breaking protected branch dropdown in FIPS mode · 6c2adbb0
      Stan Hu authored and Ezekiel Kigbo's avatar Ezekiel Kigbo committed
      In FIPS mode, if a deploy key were present, clicking on the "Allowed
      to push" dropdown would fail with a "Failed to load groups, users and
      deploy keys" message. This occurred because the JavaScript attempted
      to use the `fingerprint` attribute of the key.  However, on a FIPS
      system, the MD5 fingerprint is not available, and the `null` value
      breaks the dropdown.
      
      To fix this, we use the `fingerprint_sha256` attribute instead. This
      commit also puts the SHA256 fingerprint first in the HTML views to
      avoid confusion.
      
      Relates to #364562
      
      Changelog: fixed
      6c2adbb0
  2. Jul 08, 2022
    • Laura Montemayor's avatar
      Removes Ci::LegacyStage · 8f4dfb32
      Laura Montemayor authored and Fabio Pitino's avatar Fabio Pitino committed
      * Removes and updates usage of legacy_stage(s)
      * Removes Ci::LegacyStage Model
      * Removes Ci::LegacyStage presenter
      * Removes LegacyStage  from factory
      8f4dfb32
  3. Jul 06, 2022
  4. Jul 05, 2022
  5. Jul 04, 2022
  6. Jul 02, 2022
    • Peter Leitzen's avatar
      Add OpenApiStrategy to Error Tracking repository · 2ce38f3a
      Peter Leitzen authored
      This strategy uses ErrorTrackingOpenAPI client.
      
      * Introduce OpenApiStrategy and `list_errors`
      * Implement find_error call
      * Implement update_error in error repository
      * Implement last_event_for to view stacktraces
      * Implement report_error which raises an error
      * Use extracted StacktraceBuilder
      * Disable FF use_click_house_database_for_error_tracking in specs
      * Configure error tracking API URL via envvar
      * Error Tracking: Handle error ID as string not as a number
      * Error Tracking: Expose correct DSN when used with ClickHouse backend
      * Parse cursor from HTTP headers
      * Support search term (query) when listing errors
      * Don't truncate title for now
      * Support (approximated) user count
      * Support first and last release version
      * Use GitLab logger
      * Add specs for open_api_strategy
      Verified
      2ce38f3a
  7. Jun 30, 2022
  8. Jun 28, 2022
  9. Jun 23, 2022
  10. Jun 22, 2022
  11. Jun 16, 2022
  12. Jun 15, 2022
  13. Jun 13, 2022
  14. Jun 04, 2022
    • Luke Duncalfe's avatar
      Define plan_limits trait for each plan · a86c6c6c
      Luke Duncalfe authored
      Defines traits for plan_limits for every plan type:
      
          build(:plan_limits, :default_plan)
          build(:plan_limits, :free_plan)
          build(:plan_limits, :ultimate_plan)
      
      This can be done in the FOSS Plan factory because in FOSS this will
      define only the 'default' Plan, and in EE this will define all the EE
      Plans.
      a86c6c6c
  15. Jun 03, 2022
  16. Jun 02, 2022
    • Tiger Watson's avatar
      Clean up Terraform state files on deletion · c6b66ef7
      Tiger Watson authored and João Alexandre Cunha's avatar João Alexandre Cunha committed
      Previously, deleting a Terraform state did not remove the
      files stored in object storage. Before deleting the state
      itself, each state version must be removed individually.
      
      A Terraform state may have many previous versions associated
      with it, so instead of deleting immediately we must schedule
      a worker to handle removing files from object storage.
      
      Once a state is marked for deletion it can no longer be
      accessed using the REST API, to prevent subsequent Terraform
      operations from modifying it.
      
      Changelog: fixed
      c6b66ef7
    • Stan Hu's avatar
      Ensure application settings in tests adhere to FIPS requirements · 49a8d303
      Stan Hu authored
      When running tests in FIPS mode, `ApplicationSetting` by default has
      invalid SSH key size restrictions. We now ensure the FactoryBot
      creates a `ApplicationSetting` that conforms to FIPS requirements.
      49a8d303
    • Jan Provaznik's avatar
      Add validations for work item parent link · 133ac5ad
      Jan Provaznik authored
      * only task can be set as child
      * only issue can be parent
      * maximum number of children is 100
      133ac5ad
  17. May 30, 2022
    • Jonas Wälter's avatar
      Add 'Package registry' visibility setting to project settings · 2ef91ebf
      Jonas Wälter authored and David Fernandez's avatar David Fernandez committed
      Add `public_packages` feature flag
      
      Extend project settings specs
      
      Use options "Everyone With Access" and "Everyone"
      
      Adjust milestone of feature flag
      
      Fix packages_access_level on project import/export
      
      Use 'package_registry_access_level' as name
      
      Sync packages_enabled with package_registry_access_level
      
      Test sync packages_enabled - package_registry_access_level
      
      Adjust feature flag milestone
      
      Resort project permissions settings
      
      Set default value to `DISABLED`
      
      Consider global config for default value
      
      Remove `read_package` policies again
      
      Add spec for package_registry_access_level default value
      
      Set required minimum access level for package registry
      
      Adjust setting options related to project visibility
      
      Sync properties depending on project visibility
      
      Add rollout issue URL
      
      Change selected option if project visibility changed
      
      Changelog: added
      2ef91ebf
  18. May 26, 2022
  19. May 25, 2022
  20. May 24, 2022
  21. May 23, 2022
    • Brian Williams's avatar
      Add models for SSH signed commits · 923bd804
      Brian Williams authored and Mayra Cabrera's avatar Mayra Cabrera committed
      This is part one of a multi-part implementation to support validation of
      git commits signed by SSH keys. This adds the database tables and models
      for SSH commit signatures, using the same pattern as the existing
      gpg_signatures and x509_signatures tables. These will be used to show
      the verification status on commits which are signed.
      
      Changelog: added
      923bd804
  22. May 21, 2022
  23. May 19, 2022
    • João Alexandre Cunha's avatar
      Create ClusterEnabledGrant model and populates table · beeb662d
      João Alexandre Cunha authored
      This new table is going to be used to temporary permit a set of users to
      use the certificate-based-clusters feature, which allowing us to remove
      for the majority of other users. On our first attemp we tried to do this
      with FF only on the namespace leve. But the spectrum of users that need
      this feature enabled for longer is too big. So big that toggling the FF
      for all these actors is something that our FF framework wasn't ready to
      handle. So checking the enabled users directly from a table will be much
      simpler, faster and easy on memory consumption.
      
      Changelog: other
      beeb662d
  24. May 18, 2022
  25. May 17, 2022
  26. May 16, 2022
  27. May 12, 2022
  28. May 11, 2022
Loading