An error occurred fetching the project authors.
  1. 15 Feb, 2017 2 commits
  2. 13 Feb, 2017 1 commit
  3. 08 Feb, 2017 1 commit
  4. 06 Feb, 2017 8 commits
    • Douwe Maan's avatar
      More backport · 46dff691
      Douwe Maan authored
      46dff691
    • Douwe Maan's avatar
      Prepare for backport · 632ee618
      Douwe Maan authored
      632ee618
    • Douwe Maan's avatar
      Update spec · 937cb727
      Douwe Maan authored
      937cb727
    • Timothy Andrew's avatar
      Fix build. · c1870909
      Timothy Andrew authored
      There were failures related to cross-spec contamination of the `License` mocks.
      c1870909
    • Timothy Andrew's avatar
      Fix the admin users UI. · 9b071cd9
      Timothy Andrew authored
      1. The edit user page allows making a user an admin or an auditor. This creates
         a virtual attribute called `access_level` which can have `regular`, `admin`,
         or `auditor` as valid values.
      
      2. The `access_level=` method was broken, which led to the page not accepting
         changes to a user's access level.
      
      3. This commit fixes the issue and adds specs for `access_level=`
      9b071cd9
    • Timothy Andrew's avatar
      Implement backend review comments from @DouweM. · cdc87fed
      Timothy Andrew authored
      Mainly related to increasing compatibility with CE, and trying to avoid merge
      conflicts.
      
      1. Create an `EE::AuditorUser` module with auditor-specific methods. Mixed into
         the `User` model.
      
      2. Create an `EE::User` module with EE-specific user methods. Mixed into the
         `User` model.
      
      3. Don't block creation of regular users when the auditor addon is disabled (bug
         in original implementation).
      cdc87fed
    • Timothy Andrew's avatar
      Hide the auditor user feature behind an EE add-on. · 44b47218
      Timothy Andrew authored
      1. The add-on is named `GitLab_Auditor_User`
      
      2. An auditor user cannot be created if the addon is not present.
      
      3. `auditor?` always returns `false` if the addon is not present.
      44b47218
    • Timothy Andrew's avatar
      Add specs covering the auditor user. · 9a3a4a5e
      Timothy Andrew authored
      All finders, policies and controllers that needed to be modified to include an
      `auditor` check are tested here
      9a3a4a5e
  5. 05 Feb, 2017 1 commit
  6. 01 Feb, 2017 1 commit
  7. 26 Jan, 2017 1 commit
  8. 25 Jan, 2017 2 commits
  9. 24 Jan, 2017 1 commit
  10. 19 Jan, 2017 2 commits
  11. 13 Dec, 2016 1 commit
  12. 06 Dec, 2016 1 commit
  13. 02 Dec, 2016 1 commit
  14. 01 Dec, 2016 1 commit
  15. 25 Nov, 2016 1 commit
    • Yorick Peterse's avatar
      Refresh project authorizations using a Redis lease · 92b2c74c
      Yorick Peterse authored
      When I proposed using serializable transactions I was hoping we would be
      able to refresh data of individual users concurrently. Unfortunately
      upon closer inspection it was revealed this was not the case. This could
      result in a lot of queries failing due to serialization errors,
      overloading the database in the process (given enough workers trying to
      update the target table).
      
      To work around this we're now using a Redis lease that is cancelled upon
      completion. This ensures we can update the data of different users
      concurrently without overloading the database.
      
      The code will try to obtain the lease until it succeeds, waiting at
      least 1 second between retries. This is necessary as we may otherwise
      end up _not_ updating the data which is not an option.
      92b2c74c
  16. 23 Nov, 2016 2 commits
  17. 18 Nov, 2016 1 commit
  18. 17 Nov, 2016 1 commit
  19. 16 Nov, 2016 3 commits
  20. 11 Nov, 2016 1 commit
  21. 07 Nov, 2016 1 commit
    • Yorick Peterse's avatar
      Add User#projects_with_reporter_access_limited_to · 467b346f
      Yorick Peterse authored
      This method can be used to retrieve a list of projects for a user that
      said user has reporter access to. This list is then be reduced down to
      a specific set of projects. This allows you to reduce a list of projects
      to a list of projects you have reporter access to in an efficient
      manner.
      467b346f
  22. 04 Nov, 2016 1 commit
  23. 01 Nov, 2016 1 commit
    • Yar's avatar
      Allow to search for user by secondary email address in the admin interface · f8530580
      Yar authored
      It is not possible to search for a user by his secondary email address in
      the Users search bar in the admin interface(/admin/users). A use-case could
       be that an admin wants to remove a specific secondary email address of an
      user, because it interferes with another user. Issue #23761
      
      This commit adds ability to search not only by main email, but also
      by any secondary email in the admin interface.
      f8530580
  24. 24 Oct, 2016 1 commit
  25. 05 Oct, 2016 1 commit
    • Yorick Peterse's avatar
      Refactor Gitlab::Identifier · 16ed9b61
      Yorick Peterse authored
      This refactors Gitlab::Identifier so it uses fewer queries and is
      actually tested. Queries are reduced by caching the output as well as
      using 1 query (instead of 2) to find a user using an SSH key.
      16ed9b61
  26. 01 Sep, 2016 1 commit
  27. 24 Aug, 2016 1 commit