1. 28 2月, 2019 3 次提交
  2. 26 2月, 2019 1 次提交
    • 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
  3. 25 2月, 2019 1 次提交
  4. 22 2月, 2019 5 次提交
  5. 21 2月, 2019 4 次提交
  6. 20 2月, 2019 2 次提交
  7. 19 2月, 2019 2 次提交
  8. 18 2月, 2019 2 次提交
  9. 15 2月, 2019 1 次提交
  10. 14 2月, 2019 4 次提交
  11. 13 2月, 2019 2 次提交
  12. 12 2月, 2019 6 次提交
  13. 11 2月, 2019 1 次提交
    • Y
      Refactor the upgrading from source docs · 4d101979
      Yorick Peterse 提交于
      Instead of requiring one separate document for every version (which is
      created by release managers), we now use a single document for both
      Community Edition and Enterprise Edition. This allows developers to add
      guidelines right away, instead of release managers having to determine
      what to add.
      
      Version specific upgrading instructions are placed in a separate
      section. This prevents instructions from lingering around for many
      versions should a developer forget to remove them. This also ensures
      that all instructions are kept in a single place, instead of being
      spread across different documents.
      
      A minor downside is that CE and EE guidelines now live in the same
      document, which could cause merge conflicts. Since we are working
      towards a single codebase, this should only be an issue until we merge
      the codebases together; something we expect to do in the coming months.
      
      This commit also removes all old upgrading instructions, but these can
      still be accessed using Git branch specific URLs (included in the
      updating README).
      4d101979
  14. 09 2月, 2019 2 次提交
  15. 07 2月, 2019 2 次提交
  16. 06 2月, 2019 2 次提交