1. 31 1月, 2019 1 次提交
    • S
      Stop showing ci for guest users · ae793606
      Steve Azzopardi 提交于
      When a user is a guest user, and the "Public Pipeline" is set to false
      inside of "Settings > CI/CD > General" the commit status in the project
      dashboard should not be shown.
      ae793606
  2. 16 1月, 2019 1 次提交
  3. 07 11月, 2018 1 次提交
  4. 26 10月, 2018 1 次提交
  5. 22 9月, 2018 1 次提交
  6. 09 7月, 2018 1 次提交
  7. 06 7月, 2018 1 次提交
  8. 05 7月, 2018 1 次提交
  9. 31 5月, 2018 1 次提交
  10. 11 4月, 2018 1 次提交
  11. 06 3月, 2018 1 次提交
    • S
      Fix project dashboard showing the wrong timestamps · 9cb7e93f
      Stan Hu 提交于
      Use the max of the `last_activity_at` and `last_repository_updated_at`
      columns. The latter is updated only when a push happens, but the former is
      updated whenever any activity (e.g. issue creation) happens.
      
      Closes #27181
      9cb7e93f
  12. 22 12月, 2017 1 次提交
  13. 07 10月, 2017 1 次提交
    • J
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      Jacopo 提交于
      Replaces all the explicit include metadata syntax in the specs (tag:
      true) into the implicit one (:tag).
      Added a cop to prevent future errors and handle autocorrection.
      0ce67858
  14. 22 9月, 2017 1 次提交
    • P
      Add context tabs to dashboard/projects · 9f322764
      Phil Hughes 提交于
      This allows users to quickly switch between all projects they have
      access to & there own namespace projects. These tabs also keep
      the same filtering/search options selected so the user can quickly
      switch between the two different contexts.
      
      Closes #29045
      9f322764
  15. 08 9月, 2017 1 次提交
    • Y
      Rework how recent push events are retrieved · 83355336
      Yorick Peterse 提交于
      Whenever you push to a branch GitLab will show a button to create a
      merge request (should one not exist already). The underlying code to
      display this data was quite inefficient. For example, it involved
      multiple slow queries just to figure out what the most recent push event
      was.
      
      This commit changes the way this data is retrieved so it's much faster.
      This is achieved by caching the ID of the last push event on every push,
      which is then retrieved when loading certain pages. Database queries are
      only executed if necessary and the cached data is removed automatically
      once a merge request has been created, or 2 hours after being stored.
      
      A trade-off of this approach is that we _only_ track the last event.
      Previously if you were to push to branch A and B then create a merge
      request for branch B we'd still show the widget for branch A. As of this
      commit this is no longer the case, instead we will only show the widget
      for the branch you pushed to most recently. Once a merge request exists
      the widget is no longer displayed. Alternative solutions are either too
      complex and/or too slow, hence the decision was made to settle for this
      trade-off.
      
      Performance Impact
      ------------------
      
      In the best case scenario (= a user didn't push anything for more than 2
      hours) we perform a single Redis GET per page. Should there be cached
      data we will run a single (and lightweight) SQL query to get the
      event data from the database. If a merge request already exists we will
      run an additional DEL to remove the cache key.
      
      The difference in response timings can vary a bit per project. On
      GitLab.com the 99th percentile of time spent in User#recent_push hovers
      between 100 milliseconds and 1 second, while the mean hovers around 50
      milliseconds. With the changes in this MR the expected time spent in
      User#recent_push is expected to be reduced down to just a few
      milliseconds.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35990
      83355336
  16. 06 9月, 2017 1 次提交
    • Y
      Finish migration to the new events setup · 235b105c
      Yorick Peterse 提交于
      This finishes the procedure for migrating events from the old format
      into the new format. Code no longer uses the old setup and the database
      tables used during the migration process are swapped, with the old table
      being dropped.
      
      While the database migration can be reversed this will 1) take a lot of
      time as data has to be coped around 2) won't restore data in the
      "events.data" column as we have no way of restoring this.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
      235b105c
  17. 05 9月, 2017 1 次提交
  18. 03 8月, 2017 1 次提交
  19. 02 8月, 2017 1 次提交
  20. 17 7月, 2017 1 次提交
  21. 11 7月, 2017 1 次提交
  22. 07 7月, 2017 1 次提交
  23. 06 7月, 2017 1 次提交
  24. 30 6月, 2017 1 次提交
  25. 29 6月, 2017 1 次提交
  26. 26 6月, 2017 1 次提交
  27. 20 6月, 2017 1 次提交
  28. 04 6月, 2017 1 次提交
  29. 28 5月, 2017 1 次提交
  30. 25 5月, 2017 2 次提交
  31. 07 4月, 2017 1 次提交
  32. 16 3月, 2017 1 次提交
  33. 01 3月, 2017 1 次提交