1. 10 Aug, 2016 2 commits
    • Douwe Maan's avatar
      Merge branch 'revert-host-header-overwrite' into 'master' · 7bdcc712
      Douwe Maan authored
      Revert "Defend against 'Host' header injection"
      
      We reverted this in omnibus but forgot to do it in the source NGINX template.
      
      See merge request !5706
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      7bdcc712
    • Douwe Maan's avatar
      Merge branch '20568-fix-member-data-again' into 'master' · 61ef2d31
      Douwe Maan authored
      Add a data migration to fix some missing timestamps in the members table (again)
      
      Repeats an earlier migration to fix historic bad data in the members table (missing created_at and updated_at fields)
      
      I'm expecting the WHERE clauses to be fast enough, and to return few enough rows, that the migration doesn't need to use batches, but I'm not too familiar with the size of these tables in the wild, so perhaps that's a poor assumption.
      
      8.10 introduced a dependency on the  `members.created_at` field in the project and namespace member view. If bad data is present, viewing the list of members now results in an NoMethodError and a 500 response from GitLab. Although the previous migration should have fixed all bad rows, we have evidence that it didn't in at least one case, despite the migration claiming to have run in the past.
      
      Closes #20568
      
      See merge request !5670
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      61ef2d31
  2. 04 Aug, 2016 6 commits
  3. 01 Aug, 2016 12 commits
  4. 28 Jul, 2016 2 commits
  5. 27 Jul, 2016 18 commits