1. 31 Jan, 2017 1 commit
  2. 06 Jan, 2017 1 commit
  3. 21 Dec, 2016 3 commits
  4. 16 Dec, 2016 2 commits
    • Timothy Andrew's avatar
      Implement review comments from @dbalexandre. · 3e144276
      Timothy Andrew authored
      - Don't define "allowed environment variables" in two places.
      - Dispatch to different arities of `Popen.open` without an if/else block.
      - Use `described_class` instead of explicitly stating the class name within a
      - spec.
      - Remove `git_environment_variables_validator_spec` and keep the validation inline.
      3e144276
    • Timothy Andrew's avatar
      Validate environment variables in `Gitlab::Git::RevList` · a2b39feb
      Timothy Andrew authored
      The list of environment variables in `Gitlab::Git::RevList` need to be validate
      to make sure that they don't reference any other project on disk.
      
      This commit mixes in `ActiveModel::Validations` into `Gitlab::Git::RevList`, and
      validates that the environment variables are on the level (using a custom
      validator class). If the validations fail, the force push is still executed
      without any environment variables set.
      
      Add specs for the validation using shared examples.
      a2b39feb
  5. 23 Nov, 2016 1 commit
  6. 11 Oct, 2016 1 commit
  7. 29 Sep, 2016 1 commit
  8. 01 Jul, 2016 1 commit
  9. 30 Jun, 2016 2 commits
  10. 24 Jun, 2016 1 commit
  11. 23 Jun, 2016 1 commit
  12. 20 Jun, 2016 4 commits
  13. 17 Jun, 2016 1 commit
  14. 26 Feb, 2016 1 commit
  15. 09 Feb, 2016 2 commits
  16. 08 Jan, 2016 1 commit
  17. 07 Dec, 2015 8 commits