An error occurred fetching the project authors.
  1. 15 Jul, 2021 1 commit
  2. 14 Jul, 2021 1 commit
  3. 06 Jul, 2021 1 commit
  4. 14 Jun, 2021 1 commit
  5. 24 May, 2021 2 commits
  6. 07 May, 2021 1 commit
    • Andrew Fontaine's avatar
      Add Store Configuration for Environment Guidance · 78375ddc
      Andrew Fontaine authored
      The getAlert function searches through all available alerts (added
      previously), returning the first alert where its show function returns
      true, or null if none is found.
      
      Actions to fetch the CI configuration for its given current
      content (when it is being edited), as well as to dismiss the callout for
      environment guidance are added here.
      
      We parse the CI configuration during the mutation to only retain whether
      or not we have:
      
      - sucessfully parsed the CI config, and
      - found an environment within the config.
      78375ddc
  7. 22 Apr, 2021 1 commit
  8. 15 Apr, 2021 1 commit
  9. 14 Apr, 2021 1 commit
  10. 29 Mar, 2021 1 commit
    • Igor Drozdov's avatar
      Preload all user callouts in a single request · 1e7990d1
      Igor Drozdov authored
      The maximum number of user callouts for a single user
      is limited by the number of different types of callouts
      
      At the moment we have 28, so it ok to load all these
      lightweight records instead of making a separate request
      for every feature
      1e7990d1
  11. 24 Feb, 2021 1 commit
  12. 01 Feb, 2021 1 commit
  13. 26 Jan, 2021 1 commit
  14. 19 Nov, 2020 1 commit
  15. 16 Nov, 2020 1 commit
  16. 28 Sep, 2020 1 commit
  17. 14 Sep, 2020 1 commit
    • rpereira2's avatar
      Move all user callout enums to FOSS · 2f7171ce
      rpereira2 authored
      Since the recommendation is to define all enums in FOSS, move the EE
      only enums into FOSS. Since the enums were moved into concerns so that
      it is easier to extend the Hash in EE, this commit moves all the enums
      back into the model.
      2f7171ce
  18. 24 Aug, 2020 1 commit
  19. 31 Jul, 2020 1 commit
  20. 30 Jul, 2020 1 commit
  21. 06 Feb, 2020 1 commit
  22. 28 Mar, 2019 2 commits
  23. 15 Nov, 2018 2 commits
    • Yorick Peterse's avatar
      Refactor how a few ActiveRecord enums are defined · 590ff80f
      Yorick Peterse authored
      In a few models we define ActiveRecord enums that are redefined in EE
      using the following pattern:
      
          enum :some_enum, {
            ...
          }.merge(EE_ENUM_VALUES)
      
      This particular approach is problematic to deal with, because it
      requires that we `prepend` and EE module _before_ defining the enum.
      This typically translates to the `prepend` being the first line in the
      model in EE, but this can easily lead to merge conflicts when developers
      add more `include` and/or `prepend` lines.
      
      As part of https://gitlab.com/gitlab-org/gitlab-ee/issues/8244 and
      https://gitlab.com/gitlab-org/gitlab-ee/issues/8241 we are moving
      `prepend` to the last line in a file, reducing the chances of running
      into merge conflicts. This poses a bit of a problem with the pattern
      above, because this pattern does not allow us to move the `prepend`
      further down a file.
      
      To resolve this problem, we simply move the Hash value of the enum to a
      separate class method. This method is defined in a separate module where
      necessary, allowing us to use it like so:
      
          enum :failure_reasons, ::SomeModelEnums.failure_reasons
      
      The method in turn is defined in a very straightforward manner:
      
          module SomeModelEnums
            def self.failure_reasons
              {
                ...
              }
            end
          end
      
      This makes it easy for EE to add values without requiring the `prepend`
      to be placed before the `enum` is defined.
      
      For more information, see the following issues and merge requests:
      
      * https://gitlab.com/gitlab-org/gitlab-ee/issues/8244
      * https://gitlab.com/gitlab-org/gitlab-ee/issues/8241
      * https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8424
      590ff80f
    • Yorick Peterse's avatar
      Refactor how a few ActiveRecord enums are defined · 4feeb5f3
      Yorick Peterse authored
      In a few models we define ActiveRecord enums that are redefined in EE
      using the following pattern:
      
          enum :some_enum, {
            ...
          }.merge(EE_ENUM_VALUES)
      
      This particular approach is problematic to deal with, because it
      requires that we `prepend` and EE module _before_ defining the enum.
      This typically translates to the `prepend` being the first line in the
      model in EE, but this can easily lead to merge conflicts when developers
      add more `include` and/or `prepend` lines.
      
      As part of https://gitlab.com/gitlab-org/gitlab-ee/issues/8244 and
      https://gitlab.com/gitlab-org/gitlab-ee/issues/8241 we are moving
      `prepend` to the last line in a file, reducing the chances of running
      into merge conflicts. This poses a bit of a problem with the pattern
      above, because this pattern does not allow us to move the `prepend`
      further down a file.
      
      To resolve this problem, we simply move the Hash value of the enum to a
      separate class method. This method is defined in a separate module where
      necessary, allowing us to use it like so:
      
          enum :failure_reasons, ::SomeModelEnums.failure_reasons
      
      The method in turn is defined in a very straightforward manner:
      
          module SomeModelEnums
            def self.failure_reasons
              {
                ...
              }
            end
          end
      
      This makes it easy for EE to add values without requiring the `prepend`
      to be placed before the `enum` is defined.
      
      For more information, see the following issues and merge requests:
      
      * https://gitlab.com/gitlab-org/gitlab-ee/issues/8244
      * https://gitlab.com/gitlab-org/gitlab-ee/issues/8241
      * https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8424
      4feeb5f3
  24. 10 Nov, 2018 1 commit
  25. 12 Oct, 2018 1 commit
  26. 24 Sep, 2018 1 commit
  27. 06 Sep, 2018 3 commits
  28. 01 Aug, 2018 1 commit
  29. 26 Jul, 2018 1 commit
  30. 07 May, 2018 1 commit
  31. 05 Feb, 2018 2 commits
  32. 02 Feb, 2018 3 commits