1. 06 3月, 2019 2 次提交
    • B
      Adjust GraphQL helper to query empty fields · ee4ba6ce
      Bob Van Landuyt 提交于
      These adjustments make sure our GraphQL helpers support rendering
      queries for empty fields like this:
      
            {
              echo(text: "Hello world")
            }
      
      Instead of like this:
      
           {
             echo(text: "Hello world") {
             }
           }
      
      The latter would be an invalid query, causing parsing errors.
      ee4ba6ce
    • A
      Add array support for labels · be3578d2
      Alexandru Croitor 提交于
      * Support label parameter as comma separated and array of strings
      for merge requests and issues api endpoints
      be3578d2
  2. 05 3月, 2019 3 次提交
  3. 04 3月, 2019 3 次提交
  4. 28 2月, 2019 1 次提交
    • A
      Show header and footer system messages in email · 77985826
      Alexandru Croitor 提交于
      * Add email_header_and_footer_enabled flag to appearances table
      * Set email_header_and_footer_enabled default value to false
      * Add checkbox to appearance to toggle show header and footer in emails
      * Add email_header_and_footer_enabled to allowed params in controller
      * Add header and footer messages to the html and text email layouts
      * Remove the color styling for emails header and footer
      * Add empty_mailer layout for emails without layout,
      to have the header and footer applied
      77985826
  5. 27 2月, 2019 4 次提交
  6. 26 2月, 2019 2 次提交
    • M
      Add Maskable concern for CI variables · c9125c47
      Matija Čupić 提交于
      This adds a concern that abstracts the concept of masking a variable,
      including the RegEx for validation.
      c9125c47
    • L
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe 提交于
      Previously GraphQL field authorization happened like this:
      
          class ProjectType
            field :my_field, MyFieldType do
              authorize :permission
            end
          end
      
      This change allowed us to authorize like this instead:
      
          class ProjectType
            field :my_field, MyFieldType, authorize: :permission
          end
      
      A new initializer registers the `authorize` metadata keyword on GraphQL
      Schema Objects and Fields, and we can collect this data within the
      context of Instrumentation like this:
      
          field.metadata[:authorize]
      
      The previous functionality of authorize is still being used for
      mutations, as the #authorize method here is called at during the code
      that executes during the mutation, rather than when a field resolves.
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/57828
      ccb4edbc
  7. 25 2月, 2019 1 次提交
  8. 23 2月, 2019 1 次提交
  9. 21 2月, 2019 2 次提交
  10. 18 2月, 2019 1 次提交
  11. 16 2月, 2019 3 次提交
  12. 15 2月, 2019 3 次提交
  13. 14 2月, 2019 3 次提交
  14. 13 2月, 2019 3 次提交
  15. 12 2月, 2019 1 次提交
  16. 10 2月, 2019 1 次提交
  17. 08 2月, 2019 2 次提交
  18. 07 2月, 2019 1 次提交
  19. 06 2月, 2019 3 次提交
    • T
      Refactor specs to run shared parts only when used · d204ec3d
      Thong Kuah 提交于
      All applications except for Jupyter have the same #set_initial_status,
      so create a new shared example which we include in all application specs
      except for juptyer_spec. Juptyer specs already have specs for it's
      version of #set_initial_status
      d204ec3d
    • T
      Update version on :installed, not :installing · e72f24d2
      Thong Kuah 提交于
      This makes this consistent with :updated. And also avoids a potential
      issue where an install errors which means that that the recorded version
      won't necessarily reflect the version that is actually installed.
      e72f24d2
    • T
      Update version column after application is updated · 8ef1128f
      Thong Kuah 提交于
      Note: updating version column after :updating is not ideal in the
      updating -> update_erroed case. This will mean that the application now
      records the version as the version that failed to upgrade, not the
      version that it is currently on.
      8ef1128f