Skip to content
Snippets Groups Projects
  1. Mar 23, 2020
  2. Feb 14, 2020
  3. Jan 30, 2020
  4. Jan 16, 2020
  5. Dec 20, 2019
  6. Dec 13, 2019
  7. Dec 10, 2019
  8. Nov 21, 2019
  9. Nov 14, 2019
  10. Oct 31, 2019
  11. Oct 17, 2019
  12. Oct 11, 2019
  13. Sep 18, 2019
  14. Sep 13, 2019
  15. Aug 26, 2019
    • Patrick Derichs's avatar
      Add edit_note and spec for editing quick actions · a13abd67
      Patrick Derichs authored
      Call QuickActionsService on Note update
      
      Add support for notes which just contain
      commands after editing
      
      Return http status gone (410) if note was deleted
      
      Temporary frontend addition so it is not
      failing when a note is deleted
      
      Move specs to shared examples
      
      Fix rubocop style issue
      
      Deleting note on frontend when status is 410
      
      Use guard clause for note which got deleted
      
      Simplified condition for nil note
      
      This method should no longer be called
      with nil note
      
      Refactoring of execute method to reduce
      complexity
      
      Move errors update to delete_note method
      
      Note is now deleted visually when it only
      contains commands after update
      
      Add expectation
      
      Fix style issues
      
      Changing action to fix tests
      
      Add tests for removeNote and update
      deleteNote expectations
      a13abd67
  16. Aug 13, 2019
  17. Aug 08, 2019
  18. Jul 29, 2019
  19. Apr 15, 2019
  20. Mar 04, 2019
  21. Feb 14, 2019
  22. Feb 13, 2019
  23. Feb 06, 2019
  24. Jan 31, 2019
    • Heinrich Lee Yu's avatar
      Prevent comments by email when issue is locked · 35b8f103
      Heinrich Lee Yu authored
      This changes the permission check so it uses the policy on Noteable
      instead of Project. This prevents bypassing of rules defined in
      Noteable for locked discussions and confidential issues.
      
      Also rechecks permissions when reply_to_discussion_id is provided since the
      discussion_id may be from a different noteable.
      Unverified
      35b8f103
  25. Jan 22, 2019
    • Heinrich Lee Yu's avatar
      Prevent comments by email when issue is locked · 2ec7bc07
      Heinrich Lee Yu authored
      This changes the permission check so it uses the policy on Noteable
      instead of Project. This prevents bypassing of rules defined in
      Noteable for locked discussions and confidential issues.
      
      Also rechecks permissions when reply_to_discussion_id is provided since the
      discussion_id may be from a different noteable.
      2ec7bc07
  26. Jan 07, 2019
  27. Dec 13, 2018
  28. Nov 09, 2018
  29. Nov 07, 2018
  30. Nov 06, 2018
  31. Sep 24, 2018
  32. Aug 10, 2018
  33. Jul 17, 2018
  34. Jul 09, 2018
  35. May 01, 2018
  36. Apr 11, 2018
    • 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
  37. Apr 05, 2018
  38. Mar 07, 2018
    • Jan Provaznik's avatar
      Add discussion API · dcdfa04b
      Jan Provaznik authored
      * adds basic discussions API for issues and snippets
      * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
      dcdfa04b
Loading