Skip to content
Snippets Groups Projects
  1. Apr 17, 2018
  2. Apr 13, 2018
  3. Apr 12, 2018
    • Jan Provaznik's avatar
      Fix reference filters in group context · 3e831453
      Jan Provaznik authored
      Since !18150 abstract reference filter supports also `group`
      as a resource parent (not only `project`). Some reference filters,
      which inherit from abstract filter, depend on parent being `project`
      when checking a reference.
      
      This patch adds explicit check of parent class to the given filters.
      3e831453
    • Rubén Dávila's avatar
      Backport of EE !4989 · d28b1dfc
      Rubén Dávila authored
      d28b1dfc
  4. Apr 11, 2018
    • Zeger-Jan van de Weg's avatar
      Client implementation for InfoAttributes · c830b8e3
      Zeger-Jan van de Weg authored
      Clients can now request the attributes from `$GIT_DIR/info/attributes`
      through Gitaly. The Gitaly migration is described in gitlab-org/gitaly#1082.
      
      The parser algorithm was implemented in a way it could handle both file
      contents or a File handle, and both were already tested.
      
      Other than that, using the boy scout rule, I've removed a class,
      InfoAttributes, as it was delegating everything to the parser and
      therefor wasn't really needed in my opinion.
      Unverified
      c830b8e3
    • Yorick Peterse's avatar
      Support Markdown rendering using multiple projects · daad7144
      Yorick Peterse authored
      This refactors the Markdown pipeline so it supports the rendering of
      multiple documents that may belong to different projects. An example of
      where this happens is when displaying the event feed of a group. In this
      case we retrieve events for all projects in the group. Previously we
      would group events per project and render these chunks separately, but
      this would result in many SQL queries being executed. By extending the
      Markdown pipeline to support this out of the box we can drastically
      reduce the number of SQL queries.
      
      To achieve this we introduce a new object to the pipeline:
      Banzai::RenderContext. This object simply wraps two other objects: an
      optional Project instance, and an optional User instance. On its own
      this wouldn't be very helpful, but a RenderContext can also be used to
      associate HTML documents with specific Project instances. This work is
      done in Banzai::ObjectRenderer and allows us to reuse as many queries
      (and results) as possible.
      Unverified
      daad7144
    • Grzegorz Bizon's avatar
    • Grzegorz Bizon's avatar
      199e31eb
    • Grzegorz Bizon's avatar
      07c781dc
    • Michael Kozono's avatar
      Fix email handler spec for EE · e67759bb
      Michael Kozono authored
      e67759bb
  5. Apr 10, 2018
  6. Apr 09, 2018
  7. Apr 07, 2018
  8. Apr 06, 2018
  9. Apr 05, 2018
Loading