1. 24 Mar, 2016 1 commit
  2. 23 Mar, 2016 1 commit
  3. 22 Mar, 2016 27 commits
  4. 21 Mar, 2016 11 commits
    • Douwe Maan's avatar
      Merge branch 'doc/gitlab-geo-86' into 'master' · 9c60074d
      Douwe Maan authored
      GitLab Geo: documentation changes for 8.6
      
      Improved documentations for GitLab Geo (#76) in 8.6 release.
      
      * Removed some limitations
      * Added recommendation to try Geo with 8.6
      * Changed link in admin screen to a valid one :)
      
      See merge request !287
      9c60074d
    • Douwe Maan's avatar
      Merge branch 'feature/geo-ssh-keys-sync' into 'master' · 891b27c0
      Douwe Maan authored
      GitLab Geo: SSH Keys Synchronization
      
      Add support for SSH Keys synchronization to GitLab Geo (#76)
      Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/371
      
      # Checklist
      
      - [x] When a key is created or removed we notify secondary nodes of that change.
      - [x] A secondary node must receive a notification to change `.ssh/authorized_keys`
      
      When a notification to modify `authorized_keys` is received:
      - [x] It must generated async job to add or remove keys
      - [x] Generated job should retry a reasonable amount of times for a short period of time (30 times, waiting from 5 to 10 seconds)
      - [x] Generated jobs should also have an exponential backoff logic after the short period of time retries.
      
      See merge request !282
      891b27c0
    • Douwe Maan's avatar
      Merge branch 'optimize_ldap_group_sync_2' into 'master' · bf417c06
      Douwe Maan authored
      Optimize LDAP group sync operations
      
      Separate the LDAP group sync process from the regular LDAP access checks and optimize. 
      
      So far, this is a somewhat working PoC that splits the group sync operation to a new worker. It updates all members for a group as it iterates, instead of looping through users and updating groups that way. I am adding lots of logging because this would have been extremely helpful in the past.
      
      There are lots of things still broken, or not considered. However, at least group members are added and updated when I use it in my idyllic dev environment 😃 
      
      - [x] Sync groups
      - [x] Sync admins
      - [x] Make it work with all type of LDAP groups (with member, member_uid, etc. attributes)
      - [x] Update tests
      - [ ] Document
      - [x] Add scheduled job? (and associated config)
      
      Do these in another merge request
      
      - [ ] Answer: Do we still need some sort of sync on user sign in?
      - [ ] Answer: Should sync time be configurable?
      - [ ] Answer: Should the group button to 'Reset cache' be changed to 'Sync now'?
      
      Can the last 3 questions be addressed in a subsequent MR?
      Are there other things we're not considering yet?
      
      See merge request !229
      bf417c06
    • Douwe Maan's avatar
      Fix specs · 503244eb
      Douwe Maan authored
      503244eb
    • Douwe Maan's avatar
      Address feedback · 31266c5b
      Douwe Maan authored
      31266c5b
    • Gabriel Mazetto's avatar
      Fixed geo service specs · da2b55fd
      Gabriel Mazetto authored
      da2b55fd
    • Douwe Maan's avatar
      Merge branch 'master' into issue_12658 · ae7b2ef6
      Douwe Maan authored
      # Conflicts:
      #	app/models/issue.rb
      #	app/views/projects/_home_panel.html.haml
      #	app/views/shared/projects/_project.html.haml
      #	db/schema.rb
      #	spec/models/project_spec.rb
      ae7b2ef6
    • Gabriel Mazetto's avatar
      Refactored Backoff strategy to a concern · d48249b2
      Gabriel Mazetto authored
      d48249b2
    • Felipe Artur's avatar
      8d544645
    • Drew Blessing's avatar
    • Achilleas Pipinellis's avatar
      Remove blockquotes · 72517915
      Achilleas Pipinellis authored
      72517915