BigW Consortium Gitlab

  1. 18 Jul, 2013 1 commit
    • Merge Request on forked projects · 3d7194f0
      Izaak Alpert authored
      The good:
      
       - You can do a merge request for a forked commit and it will merge properly (i.e. it does work).
       - Push events take into account merge requests on forked projects
       - Tests around merge_actions now present, spinach, and other rspec tests
       - Satellites now clean themselves up rather then recreate
      
      The questionable:
      
       - Events only know about target projects
       - Project's merge requests only hold on to MR's where they are the target
       - All operations performed in the satellite
      
      The bad:
      
        -  Duplication between project's repositories and satellites (e.g. commits_between)
      
      (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos)
      
      Fixes:
      
      Make test repos/satellites only create when needed
      -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap)
      -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually
      -fixed remote removal
      -How to merge renders properly
      -Update emails to show project/branches
      -Edit MR doesn't set target branch
      -Fix some failures on editing/creating merge requests, added a test
      -Added back a test around merge request observer
      -Clean up project_transfer_spec, Remove duplicate enable/disable observers
      -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well
      -Signifant speed ups for tests
      -Update formatting ordering in notes_on_merge_requests
      -Remove wiki schema update
      Fixes for search/search results
      -Search results was using by_project for a list of projects, updated this to use in_projects
      -updated search results to reference the correct (target) project
      -udpated search results to print both sides of the merge request
      
      Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
  2. 10 Apr, 2013 1 commit
  3. 01 Apr, 2013 1 commit
  4. 26 Mar, 2013 1 commit
  5. 21 Mar, 2013 1 commit
  6. 10 Mar, 2013 1 commit
  7. 21 Feb, 2013 2 commits
  8. 11 Feb, 2013 1 commit
  9. 04 Feb, 2013 1 commit
  10. 09 Jan, 2013 1 commit
  11. 07 Jan, 2013 1 commit
  12. 02 Jan, 2013 2 commits
  13. 20 Dec, 2012 1 commit
  14. 21 Nov, 2012 1 commit
  15. 16 Nov, 2012 1 commit
  16. 26 Sep, 2012 1 commit
  17. 04 Sep, 2012 2 commits
  18. 02 Sep, 2012 1 commit
  19. 29 Aug, 2012 2 commits
  20. 28 Aug, 2012 1 commit
    • Use similar interface to access gitolite · 7cdc5b9e
      randx authored
      Simplified gitolite handle logic
      Stubn over monkeypatch
      Stub only specific methods in Gitlab:Gitolite
      Moved grach auth to lib
      added specs for keys observer
      removes SshKey role
  21. 25 Aug, 2012 2 commits
    • Add a simple `api` method to ApiHelpers, replacing api_prefix · b2a5344a
      Robert Speicher authored
      See docs for usage
    • Cleanup spec/support folder and spec/spec_helper · fba174e9
      Robert Speicher authored
      Changes:
      * Move spec/monkeypatch to spec/support
      * Remove unused support/shared_examples
      * Move support/api to support/api_helpers to match module name
      * Move support/login to support/login_helpers to match module name
      * Move API specs to requests/api (convention over configuration)
      * Remove unused support/js_patch
      * Simplify login_as helper
      * Move DatabaseCleaner stuff to its own support file
      * Remove unnecessary configuration and requires from spec_helper
  22. 23 Aug, 2012 1 commit
  23. 19 Aug, 2012 1 commit
  24. 13 Aug, 2012 1 commit
  25. 10 Aug, 2012 1 commit
  26. 28 Jun, 2012 1 commit
  27. 20 Jun, 2012 1 commit
    • Disable observers in specs. Enable only when observer is under test. · dfb5da9d
      Robb Kidd authored
      Used the built-in observer enable/disable feature in ActiveModel[1].
      ActiveRecord::Base includes ActiveModel::Observing which provides this
      behavior.
      
      Simple wraps to enable the observer under test were added to the specs
      for: ActivityObserver, IssueObserver, Admin::Users and Issues.
      
      The spec for Project.last_activity was refactored to separate the tests
      for #last_activity and #last_activity_date. Each had doubles added to
      isolate the spec from the hidden dependency on the ActivityObserver
      action to create an Event for the project when an Issue is created. This
      ActivityObserver behavior is already tested by its spec.
      
      [1] http://api.rubyonrails.org/classes/ActiveModel/ObserverArray.html
  28. 16 May, 2012 1 commit
  29. 14 Dec, 2011 1 commit
    • Added web hooks functionality · edab46e9
      Ariejan de Vroom authored
      This commit includes:
      
       * Projects can have zero or more WebHooks.
       * The PostReceive job will ask a project to execute any web hooks defined for that project.
       * WebHook has a URL, we post Github-compatible JSON to that URL.
       * Failure to execute a WebHook will be silently ignored.
  30. 16 Nov, 2011 1 commit
  31. 26 Oct, 2011 1 commit
    • clean-up code · d62200ca
      Nihad Abbasov authored
        * Remove trailing whitespace
        * Converts hard-tabs into two-space soft-tabs
        * Remove consecutive blank lines
  32. 13 Oct, 2011 2 commits
  33. 08 Oct, 2011 1 commit