1. 09 5月, 2016 1 次提交
  2. 06 5月, 2016 1 次提交
  3. 21 4月, 2016 4 次提交
  4. 20 4月, 2016 1 次提交
  5. 19 4月, 2016 1 次提交
  6. 02 4月, 2016 1 次提交
  7. 30 3月, 2016 1 次提交
  8. 22 3月, 2016 1 次提交
  9. 20 3月, 2016 2 次提交
  10. 16 3月, 2016 2 次提交
    • R
      Improving the original label-subscribing implementation · 54ec7e95
      Rémy Coutable 提交于
      1. Make the "subscribed" text in Issuable sidebar reflect the labels
         subscription status
      
      2. Current user mut be logged-in to toggle issue/MR/label subscription
      54ec7e95
    • T
      Original implementation to allow users to subscribe to labels · 0444fa56
      Timothy Andrew 提交于
      1. Allow subscribing (the current user) to a label
      
      - Refactor the `Subscription` coffeescript class
        - The main change is that it accepts a container, and conducts all
          DOM queries within its scope. We need this because the labels
          page has multiple instances of `Subscription` on the same page.
      
      2. Creating an issue or MR with labels notifies users subscribed to those labels
      
      - Label `has_many` subscribers through subscriptions.
      
      3. Adding a label to an issue or MR notifies users subscribed to those labels
      
      - This only applies to subscribers of the label that has just been
        added, not all labels for the issue.
      0444fa56
  11. 12 3月, 2016 1 次提交
  12. 07 3月, 2016 1 次提交
  13. 05 3月, 2016 1 次提交
  14. 03 3月, 2016 1 次提交
  15. 22 2月, 2016 2 次提交
  16. 17 2月, 2016 1 次提交
  17. 16 2月, 2016 1 次提交
  18. 15 2月, 2016 1 次提交
    • R
      Fix the "x of y" displayed at the top of Issuables' sidebar · 54613b6a
      Rémy Coutable 提交于
      1. We now display the index of the current issuable among all its project's
      issuables, of the same type and with the same state.
      2. Also, refactored a bit the Issuable helpers into a new IssuablesHelper
      module.
      3. Added acceptance specs for the sidebar counter.
      54613b6a
  19. 12 2月, 2016 1 次提交
    • K
      Add new data to project in push, issue, merge-request and note webhooks data · b123171d
      Kirill Zaitsev 提交于
      - Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`,
        `path_with_namespace` and `default_branch` in `project` in push, issue,
        merge-request and note webhooks data
      - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in
        favor of `git_http_url` in `project` for push, issue, merge-request and
        note webhooks data
      - Deprecate the `repository` key in push, issue, merge-request and
        note webhooks data, use `project` instead
      b123171d
  20. 10 2月, 2016 1 次提交
  21. 09 1月, 2016 1 次提交
  22. 28 12月, 2015 1 次提交
  23. 25 12月, 2015 1 次提交
  24. 26 11月, 2015 1 次提交
  25. 22 11月, 2015 1 次提交
  26. 20 11月, 2015 1 次提交
  27. 19 11月, 2015 2 次提交
    • Y
      Use a JOIN in IssuableFinder#by_project · 8591cc02
      Yorick Peterse 提交于
      When using IssuableFinder/IssuesFinder to find issues for multiple
      projects it's more efficient to use a JOIN + a "WHERE project_id IN"
      condition opposed to running a sub-query.
      
      This change means that when finding issues without labels we're now
      using the following SQL:
      
          SELECT issues.*
          FROM issues
          JOIN projects ON projects.id = issues.project_id
      
          LEFT JOIN label_links ON label_links.target_type = 'Issue'
                                AND label_links.target_id  = issues.id
      
          WHERE (
              projects.id IN (...)
              OR projects.visibility_level IN (20, 10)
          )
          AND issues.state IN ('opened','reopened')
          AND label_links.id IS NULL
          ORDER BY issues.id DESC;
      
      instead of:
      
          SELECT issues.*
          FROM issues
          LEFT JOIN label_links ON label_links.target_type = 'Issue'
                                AND label_links.target_id  = issues.id
      
          WHERE issues.project_id IN (
              SELECT id
              FROM projects
              WHERE id IN (...)
              OR visibility_level IN (20,10)
          )
          AND issues.state IN ('opened','reopened')
          AND label_links.id IS NULL
          ORDER BY issues.id DESC;
      
      The big benefit here is that in the last case PostgreSQL can't properly
      use all available indexes. In particular it ends up performing a
      sequence scan on the "label_links" table (processing around 290 000
      rows). The new query is roughly 2x as fast as the old query.
      8591cc02
    • V
      award emoji · fd2c0fe4
      Valery Sizov 提交于
      fd2c0fe4
  28. 11 11月, 2015 1 次提交
    • Y
      Change "recent" scopes to sort by "id" · 7eb502c0
      Yorick Peterse 提交于
      These scopes can just sort by the "id" column in descending order to
      achieve the same result. An added benefit is being able to perform a
      backwards index scan (depending on the rest of the final query) instead
      of having to actually sort data.
      7eb502c0
  29. 22 10月, 2015 1 次提交
  30. 16 10月, 2015 1 次提交
  31. 15 10月, 2015 2 次提交
  32. 14 10月, 2015 1 次提交