Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

  1. 07 Aug, 2017 2 commits
    • Yorick Peterse's avatar
      Memoize a user's personal projects count · 3ad8ba38af62
      Yorick Peterse authored
      The method User#projects_limit_left would run "personal_projects.count"
      but such a query is not memoized. As a result multiple calls to
      User#projects_limit_left would result in multiple COUNT(*) queries being
      To work around this this commit adds User#personal_projects_count which
      simply memoizes the result of the COUNT(*) in an instance variable.
    • Yorick Peterse's avatar
      Remove redundant query from User#recent_push · 4102e671ab83
      Yorick Peterse authored
      The "events" table has a foreign key on "events.project_id" with a
      cascading delete. As such it's impossible for an event to have a
      non-existing project ID.
  2. 04 Aug, 2017 2 commits
  3. 03 Aug, 2017 14 commits
  4. 02 Aug, 2017 1 commit
  5. 01 Aug, 2017 9 commits
  6. 31 Jul, 2017 3 commits
  7. 28 Jul, 2017 6 commits
    • Michael Kozono's avatar
      Exclude keys linked to other projects · e59eb23ebafe
      Michael Kozono authored
    • Yorick Peterse's avatar
      Merge issuable "reopened" state into "opened" · 5048bfd58cf0
      Yorick Peterse authored
      Having two states that essentially mean the same thing is very much like
      having a boolean "true" and boolean "mostly-true": it's rather silly.
      This commit merges the "reopened" state into the "opened" state while
      taking care of system notes still showing messages along the lines of
      "Alice reopened this issue".
      A big benefit from having only two states (opened and closed) is that
      indexing and querying becomes simpler and more performant. For example,
      to get all the opened queries we no longer have to query both states:
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state IN ('opened', 'reopened');
      Instead we can query a single state directly, which can be much faster:
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state = 'opened';
      Further, only having two states makes indexing easier as we will only
      ever filter (and thus scan an index) using a single value. Partial
      indexes could help but aren't supported on MySQL, complicating the
      development process and not being helpful for MySQL.
    • Shinya Maeda's avatar
    • Shinya Maeda's avatar
      fix merge miss · 5d02dbc1e136
      Shinya Maeda authored
    • Shinya Maeda's avatar
      init · 8ccaf5327162
      Shinya Maeda authored
    • Z.J. van de Weg's avatar
      Remove Mattermost team with GitLab group · 94357aaa45c5
      Z.J. van de Weg authored
      When destroying a group, now an API call is made to the Mattermost
      server to request the deletion of the project. Actual team deletion on
      the Mattermost side happens async, so the runtime shouldn't increase by
      more than a second.
  8. 27 Jul, 2017 3 commits