BigW Consortium Gitlab

  1. 02 Aug, 2017 1 commit
  2. 27 Jul, 2017 2 commits
  3. 18 May, 2017 1 commit
  4. 03 Apr, 2017 2 commits
  5. 05 Jul, 2016 1 commit
    • Support wildcard matches for protected branches at the model level. · f51af496
      Timothy Andrew authored
      1. The main implementation is in the `ProtectedBranch` model. The
         wildcard is converted to a Regex and compared. This has been tested
         thoroughly.
      
          - While `Project#protected_branch?` is the main entry point,
            `project#open_branches` and
            `project#developers_can_push_to_protected_branch?`
            have also been modified to work with wildcard protected branches.
      
          - The regex is memoized (within the `ProtectedBranch` instance)
      
      2. Improve the performance of `Project#protected_branch?`
      
          -  This method is called from `Project#open_branches` once _per branch_
             in the project, to check if that branch is protected or not.
      
          -  Before, `#protected_branch?` was making a database call every
             time it was invoked (in the above case, that amounts to once
             per branch), which is expensive.
      
          -  This commit caches the list of protected branches in memory, which
             reduces the number of database calls down to 1.
      
          -  A downside to this approach is that `#protected_branch?` _could_
             return a stale value (due to the caching), but this is
             an acceptable tradeoff.
      
      3. Remove the (now) unused `Project#protected_branch_names` method.
      
          - This was previously used to check for protected branch status.
  6. 03 Jun, 2016 2 commits
  7. 09 May, 2016 1 commit
    • Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen authored
      In 8278b763 the default behaviour of annotation
      has changes, which was causing a lot of noise in diffs. We decided in #17382
      that it is better to get rid of the whole annotate gem, and instead let people
      look at schema.rb for the columns in a table.
      
      Fixes: #17382
  8. 09 Dec, 2015 1 commit
  9. 12 Feb, 2015 1 commit
  10. 22 Jan, 2015 1 commit
  11. 26 Jun, 2014 1 commit
  12. 09 Apr, 2014 1 commit
  13. 05 Feb, 2013 1 commit
  14. 05 Jan, 2013 1 commit
  15. 04 Jan, 2013 1 commit
  16. 19 Nov, 2012 1 commit
  17. 09 Oct, 2012 2 commits
  18. 26 Sep, 2012 1 commit
  19. 02 Sep, 2012 1 commit
  20. 29 Aug, 2012 2 commits
  21. 10 Aug, 2012 1 commit
  22. 02 Aug, 2012 1 commit
  23. 26 Jun, 2012 1 commit
  24. 26 May, 2012 1 commit
  25. 10 May, 2012 1 commit
  26. 15 Feb, 2012 1 commit