1. 20 Aug, 2016 33 commits
  2. 19 Aug, 2016 1 commit
  3. 18 Aug, 2016 6 commits
    • Robert Speicher's avatar
      Merge branch 'ldap-sync-ssh-keys-default' into 'master' · 76c26cab
      Robert Speicher authored
      Allow LDAP `sync_ssh_keys` setting to be set to `true`
      
      In that case `sync_ssh_keys` will default to the `sshPublicKey` value
      
      Fixes #8
      
      See merge request !670
      76c26cab
    • Patricio Cano's avatar
      Allow LDAP `sync_ssh_keys` setting to be set to `true` · 96664217
      Patricio Cano authored
      In that case `sync_ssh_keys` will default to the `sshPublicKey` value.
      96664217
    • Stan Hu's avatar
      Merge branch 'es_fix_for_unborn_head' into 'master' · e9ec241b
      Stan Hu authored
      [ES] Fix for unborn head
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/21038
      
      See merge request !669
      e9ec241b
    • Valery Sizov's avatar
      Add explanation comments · a19c93a6
      Valery Sizov authored
      a19c93a6
    • Valery Sizov's avatar
      [ES] Fix for unborn head · c65b42aa
      Valery Sizov authored
      c65b42aa
    • Robert Speicher's avatar
      Merge branch 'single_group_sync' into 'master' · bc9fc90b
      Robert Speicher authored
      Allow syncing a group against all providers at once
      
      ## What does this MR do?
      
      Allows `Sync::Group` to sync members for a single group across all providers at once. Closes #399 
      
      ## Are there points in the code the reviewer needs to double check?
      
      No
      
      ## Why was this MR needed?
      
      The current implementation of LDAP group sync manages members based on a single LDAP provider. This is optimal because we can open a single connection to a given LDAP server (provider) and run all queries needed to sync all GitLab groups with links to that provider. If we want to sync a single group at a time we need to flip that model - for a single group, run the sync for all providers. 
      
      This presents a few challenges since we have a state machine on the group. In the former/current model we need to set the state inside the loop. However, if we do that in the latter model we will likely run into a race condition. At least, it will execute unnecessary queries against the database. Other than adding the functionality needed to sync a single group, the MR moves the state machine handling to the respective class method. 
      
      ## What are the relevant issue numbers?
      
      #399
      
      See merge request !636
      bc9fc90b