1. 13 Feb, 2019 1 commit
    • Jarka Košanová's avatar
      Check issue milestone availability · 98df4053
      Jarka Košanová authored
      Add project when creating milestone in specs
      
      We validate milestone is from the same
      project/parent group as issuable ->
      we need to set project in specs correctly
      
      Improve methods names and specs organization
      98df4053
  2. 05 Feb, 2019 1 commit
  3. 24 Jan, 2019 1 commit
  4. 14 Jan, 2019 1 commit
  5. 01 Nov, 2018 1 commit
  6. 11 Jul, 2018 1 commit
  7. 01 Jun, 2018 1 commit
  8. 17 May, 2018 1 commit
  9. 09 May, 2018 1 commit
  10. 04 Apr, 2018 1 commit
  11. 16 Mar, 2018 1 commit
  12. 19 Dec, 2017 1 commit
    • Robert Speicher's avatar
      Only include the user's ID in the time_spent command's update hash · 3e4b45fc
      Robert Speicher authored
      Previously, this would include the entire User record in the update
      hash, which was rendered in the response using `to_json`, erroneously
      exposing every attribute of that record, including their (now removed)
      private token.
      
      Now we only include the user ID, and perform the lookup on-demand.
      3e4b45fc
  13. 06 Dec, 2017 1 commit
    • Yorick Peterse's avatar
      Throttle the number of UPDATEs triggered by touch · 856447cc
      Yorick Peterse authored
      This throttles the number of UPDATE queries that can be triggered by
      calling "touch" on a Note, Issue, or MergeRequest. For Note objects we
      also take care of updating the associated "noteable" relation in a
      smarter way than Rails does by default.
      856447cc
  14. 27 Nov, 2017 1 commit
  15. 24 Nov, 2017 1 commit
  16. 15 Nov, 2017 1 commit
  17. 09 Oct, 2017 3 commits
  18. 06 Sep, 2017 5 commits
  19. 30 Aug, 2017 1 commit
  20. 11 Aug, 2017 1 commit
  21. 02 Aug, 2017 1 commit
  22. 06 Jul, 2017 1 commit
    • Yorick Peterse's avatar
      Add many foreign keys to the projects table · c63e3221
      Yorick Peterse authored
      This removes the need for relying on Rails' "dependent" option for data
      removal, which is _incredibly_ slow (even when using :delete_all) when
      deleting large amounts of data. This also ensures data consistency is
      enforced on DB level and not on application level (something Rails is
      really bad at).
      
      This commit also includes various migrations to add foreign keys to
      tables that eventually point to "projects" to ensure no rows get
      orphaned upon removing a project.
      c63e3221
  23. 21 Jun, 2017 1 commit
  24. 14 Jun, 2017 1 commit
  25. 04 May, 2017 1 commit
  26. 26 Apr, 2017 1 commit
  27. 21 Mar, 2017 1 commit
  28. 17 Mar, 2017 1 commit
  29. 15 Mar, 2017 1 commit
  30. 23 Feb, 2017 2 commits
  31. 26 Jan, 2017 1 commit
  32. 18 Jan, 2017 1 commit
    • Ruben Davila's avatar
      Add some API endpoints for time tracking. · 0f3c9355
      Ruben Davila authored
      New endpoints are:
      
      POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate"
      
      POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate"
      
      POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time"
      
      POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time"
      
      GET  :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
      0f3c9355
  33. 15 Jan, 2017 1 commit